HPB_bot2_i486.so, HPBot2 ver 0.5 release 106 |
HPB_bot2_i486.so, HPBot2 ver 0.5 release 106 |
RMCvik |
Nov 3 2013, 03:43 PM
Post
#101
|
Member Group: Members Posts: 12 Joined: 13-October 13 Member No.: 2,311 |
ok on my server
main folder that houses my rented server i have bin orangebox HL2 recbot folder inside orangebox i have dod and inthe bin for dod is my iso ALSO the server providor placed a vdf file for the rcbots inthe metamod folder so as far as i know its all in the right place the ini i removed the hash marks before dod etc here:- mod = DOD steamdir = orangebox gamedir = dod bot = DOD |
madmax2 |
Nov 4 2013, 02:42 AM
Post
#102
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
okay, this is the way I think it should be, some of that does not seem correct to me?
the bin folder next to the orangebox folder should be inside the orangebox folder, next to the dod folder. there is also a bin folder inside the dod mod folder, leave it there & move the .so into the bin folder next to the dod mod folder. the rcbot2.vdf should be in the addons folder inside the dod mod folder. If the vdf is found & executed by the game, that will load the rcbot plugin automaticlly on launch. it does the same as using plugin load from the console. you might want to remove it for now, so as not to possibly load the plugin twice... I'm not sure what to tell you to do with the rcbot2 folder, i think the .75r2 .so will look for it to be in something like \home\[your user account]\rcbot2 this has been the problem for rented dedi servers from what i have read. I think the bot_mods.ini is ok, if the folders & files are in the correct place... I'm still not sure this will work? You probably need to have a rcbot2 .76 so, to make it work? |
Cheeseh |
Nov 4 2013, 03:00 AM
Post
#103
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
The DLL is loading which means there is nothing wrong with the VDF and dedicated servers do not need -insecure.
The bot is crashing which means rcbot_runplayer_cmd_dods is wrong.The .SO file uses an older number as default. The problem is changing rcbot_runplayer_cmd_dods in the config.ini won't help in dedicated server. you must do this yourself before adding bots the first time. As far as I know rcbot_runplayer_cmd_dodsis now 417, correct me if I'm wrong you must use the command rcbot_runplayer_cmd_dods 417 and then rcbotd addbot |
RMCvik |
Nov 4 2013, 08:45 AM
Post
#104
|
Member Group: Members Posts: 12 Joined: 13-October 13 Member No.: 2,311 |
just says unknown command
|
Cheeseh |
Nov 6 2013, 05:28 AM
Post
#105
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
|
RMCvik |
Nov 6 2013, 05:21 PM
Post
#106
|
Member Group: Members Posts: 12 Joined: 13-October 13 Member No.: 2,311 |
no i mean when i did this
rcbot_runplayer_cmd_dods 417 it said unknown command |
Cheeseh |
Nov 7 2013, 01:47 AM
Post
#107
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
no i mean when i did this rcbot_runplayer_cmd_dods 417 it said unknown command Before you said you loaded the bot here: http://rcbot.bots-united.com/forums/index....ost&p=12412 although looking back, you've loaded the bot for SVENCOOP (Half-life 1), not HL2 Day of defeat Source. the .SO file you need is here http://sourceforge.net/projects/rcbot2/fil...tar.gz/download |
RMCvik |
Nov 7 2013, 09:15 AM
Post
#108
|
Member Group: Members Posts: 12 Joined: 13-October 13 Member No.: 2,311 |
ok cheesh to confirm
hers the loctions of all my files in the main folder i have the following (this is a rented linux server) 429996734494077ef75e662b9716c73688057293 folder bin hl2 orange box platform rcbot2 next in side orange box i have another folder with long serial number (these i cant access ) bin <<< the HPB_bot2_i486.so is in this folder hl2 dod platform in dod i have addons bin and all the other folders that are not mentioned inthe instructins in addons i have rcbot2.vdf so i have downloaded the iso yo mentioned just above i ran the command line rcbot_runplayer_cmd_dods 417 and it is stillcoming up as unknown command i also tried rcon plugin_load rcbot_mm_i486.so and this was the response in console Unable to load plugin "rcbot_mm_i486.so" so one of my folders mus be in wrong place or something |
Cheeseh |
Nov 7 2013, 10:21 AM
Post
#109
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
QUOTE so i have downloaded the iso yo mentioned just above i ran the command line rcbot_runplayer_cmd_dods 417 and it is stillcoming up as unknown command i also tried rcon plugin_load rcbot_mm_i486.so and this was the response in console Unable to load plugin "rcbot_mm_i486.so" the plugin load command must be first of course try plugin_load ../bin/HPB_bot2_i486 as far as i know you don't need .SO after the name here also it's linux so all filenames are case-sensitive also make sure its hpb bot, not rcbot |
RMCvik |
Nov 8 2013, 09:53 AM
Post
#110
|
Member Group: Members Posts: 12 Joined: 13-October 13 Member No.: 2,311 |
ok i tired this
and this came up on console failed to dlopen /home/games/dods/1071250/178.32.80.157:27015/orangebox/dod/../bin/HPB_bot2_i486.so error=/home/games/dods/1071250/178.32.80.157:27015/orangebox/dod/../bin/HPB_bot2_i486.so: ELF file OS ABI invalid failed to dlopen /home/games/dods/1071250/178.32.80.157:27015/orangebox/hl2/../bin/HPB_bot2_i486.so error=/home/games/dods/1071250/178.32.80.157:27015/orangebox/hl2/../bin/HPB_bot2_i486.so: ELF file OS ABI invalid failed to dlopen /home/games/dods/1071250/178.32.80.157:27015/orangebox/bin/../bin/HPB_bot2_i486.so error=/home/games/dods/1071250/178.32.80.157:27015/orangebox/bin/../bin/HPB_bot2_i486.so: ELF file OS ABI invalid Unable to load plugin "../bin/HPB_bot2_i486" Unable to load plugin "../bin/HPB_bot2_i486" i cant eve begine to understand what that script means lol this is way above my head |
Cheeseh |
Nov 8 2013, 01:36 PM
Post
#111
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
ok i tired this and this came up on console failed to dlopen /home/games/dods/1071250/178.32.80.157:27015/orangebox/dod/../bin/HPB_bot2_i486.so error=/home/games/dods/1071250/178.32.80.157:27015/orangebox/dod/../bin/HPB_bot2_i486.so: ELF file OS ABI invalid failed to dlopen /home/games/dods/1071250/178.32.80.157:27015/orangebox/hl2/../bin/HPB_bot2_i486.so error=/home/games/dods/1071250/178.32.80.157:27015/orangebox/hl2/../bin/HPB_bot2_i486.so: ELF file OS ABI invalid failed to dlopen /home/games/dods/1071250/178.32.80.157:27015/orangebox/bin/../bin/HPB_bot2_i486.so error=/home/games/dods/1071250/178.32.80.157:27015/orangebox/bin/../bin/HPB_bot2_i486.so: ELF file OS ABI invalid Unable to load plugin "../bin/HPB_bot2_i486" Unable to load plugin "../bin/HPB_bot2_i486" i cant eve begine to understand what that script means lol this is way above my head From the sound of things here http://stackoverflow.com/questions/7647818...-os-abi-invalid The server needs to have some extra packages installed or something for it to run so it looks like you wont be able to run it on your server |
Ted |
Jan 18 2014, 11:29 PM
Post
#112
|
Member Group: Members Posts: 13 Joined: 20-February 13 Member No.: 2,257 |
I've built the latest version of RCBot2 on LINUX. I've tested it with the steam and dedicated server version of DODS and TF2. Here's the link.
|
d3m0n |
May 2 2014, 03:16 AM
Post
#113
|
Member Group: Members Posts: 25 Joined: 2-May 14 Member No.: 2,333 |
Hey everyone,
So I am having on hell of a time trying to get the folder structure right. I know there's been a big update since the last posts on here as far as the dedicated servers go. hldsupdatetool.bin is no longer used and switched to the steamcmd downloader. I am using Ted's latest build and running a dedicated linux server with Ubuntu 12.04 but I am not exactly sure if it's even suppose to work. Although the bots do load and work on certain maps. My folder structure is as follows: /home/srcds/steamcmd/dods/dod. The folder dods has the srcds_run file and dod is the mod folder with the cfg and other files. My rcbot2 folder is: /home/srcds/steamcmd/rcbot2 Here is my server start up log: http://pastebin.com/8p5pWd6p The following is my bot_mods.ini: CODE # mod = DOD steamdir = dods gamedir = dod bot = DOD # It shows that it loads properly and reading the bot profiles correctly on start-up: CODE [RCBot] Reading bot profile "../rcbot2/profiles/1.ini" [RCBot] Reading bot profile "../rcbot2/profiles/2.ini" [RCBot] Reading bot profile "../rcbot2/profiles/3.ini" [RCBot] Reading bot profile "../rcbot2/profiles/4.ini" [RCBot] Reading bot profile "../rcbot2/profiles/5.ini" [RCBot] Reading bot profile "../rcbot2/profiles/6.ini" When bots join they are named: Bot01...Bot02...Bot03 and so on with what looks like no bot profiles being loaded. It also seems that my waypoints are not being loaded. On certain maps like dod_avalanche the bots just sit in the spawn area not moving at all. On other maps, they seem to work okay. It gives me an error about failing to create folder/files for the waypoints: CODE [RCBot] file not found/opening error '../rcbot2/waypoints/dods/dod/dod_flash2.rcb' mode rb [RCBot] Trying to create folder '../' failed [RCBot] Trying to create folder '../rcbot2/' failed [RCBot] Trying to create folder '../rcbot2/waypoints/' failed [RCBot] Trying to create folder '../rcbot2/waypoints/dods/' failed [RCBot] Trying to create folder '../rcbot2/waypoints/dods/dod/' failed [RCBot] failed to make folders for ../rcbot2/waypoints/dods/dod/dod_flash2.rcb *** Can't open Waypoint belief array for reading! *** working out visibility 45 percent*** *** working out visibility 57 percent*** *** working out visibility 68 percent*** *** working out visibility 79 percent*** *** working out visibility 91 percent*** *** finished working out visibility *** *** saving waypoints with visibility information *** I also noticed an error that it was looking for the waypoints in the same folder as the bot_mods.ini was stated as eg: ../rcbot2/waypoints/dods/dod/ so I renamed the folder Day of Defeat Source to dods to hopefully make it work but still doesn't seem correct. Like I said though, some maps they will work. It seems dod_avalanche is one of the rare ones it doesn't work and also doesn't log "*** working out visibility 45 percent***" on the server. Any help would be greatly appreciated, thanks! I've seen RCBot2 on other servers running I just don't know if they're on linux or not. |
madmax2 |
May 4 2014, 08:38 AM
Post
#114
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Welcome to the Rcbot2 forums...
I'm not a linux guy so can't be much help there, but your folders look correct to me. The bots appear to be loading correctly, but there may still be a bug in the linux build, with bot names & profiles. See the last few posts in this topic about that... http://rcbot.bots-united.com/forums/index.php?showtopic=1862 I believe the linux build is either .76 or .79, so you still need sv_cheats 1. It sounds like bots are working on most maps, but won't move on just a few maps? I assume you have already tried replacing the waypoints on the effected maps. You could try deleteing the temporary files in the waypoints folder and let them regenerate (rcv, rcd, rcb) on those maps. If that doesn't help, you could try loading the waypoint manually, then add the bots, such as: rcbot waypoint load dod_avalanche (rcbotd on dedi) I have noticed when loading a waypoint manually after bots join, they may not recognize the capture areas, but a map restart will fix that. It looks like you renamed the waypoints folder properly, and bots are working on many maps, so it must be related to the specific wpts it would seem, wierd file corruption maybe, very odd??? With rcbot1, sometimes the temp files need to be refreshed to correct odd behavior, so maybe thats the case here too? |
d3m0n |
May 7 2014, 02:42 AM
Post
#115
|
Member Group: Members Posts: 25 Joined: 2-May 14 Member No.: 2,333 |
Hi madmax2,
Thanks for the reply. I actually found out after the post that it was exactly what you had mentioned. For some reason, some the waypoint files that came with the bot where not working properly from the latest RCBOT download package. So I found some other waypoint on the forum, tried them, and seemed to work. A little buggy as the bots get stuck on certain points but much better than sitting in the spawn area. Now the main problem is the bot profiles/names. I looked over the the forum topic you linked and the only solution was to do a mass rename but from what it looks like my bot names go up to around 500. eg: I have 4 bots join at a time with "max_bots 4" the initial bot names start out with Bot01...Bot02 and every map change the numbers go up. Also when the server is empty they leave and rejoin with +4 ... Bot06... Bot07...Bot08... all the way up to around 500 so mass rename would be out of the question as I would have to make 500 rename requests. I am currently working on a sourcemod plugin that would enable/disable cheats and send addbot command with the names but when RCBOT reads the cfg file it's acting very weird. The config looks like the following: CODE rcbotd config min_bots 0 rcbotd config max_bots 4 rcbotd addbot 2 2 DeathFromAbove rcbotd addbot 2 3 v0x rcbotd addbot 3 2 Wall-E rcbotd addbot 1 3 stealth But for some reason it will add 4 bots with the name "stealth" is if it repeated the last command 4 times. If I can fix that, I can fix the cheats and bot names which I would be happy to release it here for anyone else that would like to use bots with a linux dedicated server. Updates: I actually just found this in my server log: CODE [RCBot] No bot profiles are free, creating a default bot... More Updates: Okay, so when I run the command in my console: CODE rcbotd addbot 0 2 Foo; rcbotd addbot 0 3 Bar; RCBOT doesn't acknowledge the first command and executes the last command twice. If I send the commands one at a time in my console it works fine. |
madmax2 |
May 7 2014, 07:18 PM
Post
#116
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Hi d3mOn,
Now I know what was happening on the waypoints problem you had... QUOTE For some reason, some the waypoint files that came with the bot where not working properly from the latest RCBOT download package. You were using the waypoints from the latest release (.85), and a few of those waypoints appear to of been loaded and saved in the new waypoints version4 format, making them incompatible with the current linux build (version3 format waypoints). I see 2 "official" dod map waypoints in .85 that would be incompatible, dod_avalanche and dod_colmar, their file size changed from the .76 release. All waypoints in the .76 installer will work, and currently all waypoints in the waypoints forum should work on the linux build. Check the forum for the latest updated waypoints and patches, etc. QUOTE I actually just found this in my server log: CODE [RCBot] No bot profiles are free, creating a default bot... I did confirm on windows, with the profiles folder removed, bots will still join and function, using defaults. I have suspected that this is what has been happening with the linux build, that RCbot is not actually reading in the bot profiles at all, even though the console suggests otherwise. Bots should join with just a "rcbotd config max_bots 4" setting or using "rcbotd addbot". Try one or the other, not both, and see what happens... You can put either command in the rcbot config.ini file and bots should join from that on map load. But the "rcbot_runplayer_cmd_dods 417" must be set manually before the first map or thru a server cfg file (modsettings.cfg http://rcbot.bots-united.com/forums/index....st&p=12667) on dedi's. |
d3m0n |
May 9 2014, 04:28 AM
Post
#117
|
Member Group: Members Posts: 25 Joined: 2-May 14 Member No.: 2,333 |
Do you know if there is a way to manually reload the bot config.ini via rcon/console? If so, I think I can fix my problem by just adding the commands inside that config file because it executes it with the names correctly.
|
madmax2 |
May 9 2014, 06:40 PM
Post
#118
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Do you know if there is a way to manually reload the bot config.ini via rcon/console? If so, I think I can fix my problem by just adding the commands inside that config file because it executes it with the names correctly. It would have to be thru a rcbot command, and I don't see it, so I don't think it's possible . But since you can load bots with names one at a time on the console, doe's it not work to execute a cfg file with addbot commands after map load. I believe most rcbot commands/cvars can be done this way... Try creating a cfg file like this, name it something like rcbotsadd.cfg and place it in the /dod/cfg folder... QUOTE rcbotd addbot 2 2 DeathFromAbove rcbotd addbot 2 3 v0x rcbotd addbot 3 2 Wall-E rcbotd addbot 1 3 stealth rcbotd addbot 0 2 Foo rcbotd addbot 0 3 Bar After the map has loaded, you should be able to type exec rcbotsadd.cfg in the console and 6 bots should join. Now I thought this wasn't working for names on linux servers, but maybe it was just a problem of reading names from the profiles? On listen server, I add bots this way from the rcbot config.ini, but without the names, names get added from the profiles the way I have it set up. If this works, you should be able to exec this file from a server cfg file that executes after map load, I'm just not sure what server cfg does that. On HL1 engine, you can have map cfg files for each map in the maps folder, I would think source has this too, but I'm not sure if the timing of execution is late enough to work? Idea: If it does work then you might be able to put the addbot commands in the map cfg's, and customize it for each map??? |
d3m0n |
May 15 2014, 07:21 AM
Post
#119
|
Member Group: Members Posts: 25 Joined: 2-May 14 Member No.: 2,333 |
Yeah, that's what I first tried with creating a plugin/loading a custom cfg with the commands. It just named them all the same name/class/team as the last "rcbot addbot 3 2 _stealth_" command.
I guess I am going to just go a head and accept this is bot is pretty broken on Linux. A lot of things don't work. They won't plant bombs, they seem to walk slow compared to the windows listen server version. I also tried creating a waypoint on my listen server in windows and save and copy it to my linux dedicated server but it doesn't seem to work. Although porting ones from my server onto the listen server does. I'd be willing to throw someone a few paypal bucks if they're willing to compile the newest RCBot2 for linux and get it working. |
d3m0n |
May 20 2014, 04:00 AM
Post
#120
|
Member Group: Members Posts: 25 Joined: 2-May 14 Member No.: 2,333 |
I've built the latest version of RCBot2 on LINUX. I've tested it with the steam and dedicated server version of DODS and TF2. Here's the link. How can one build the 0.85 version? UPDATE: The linux version of the bot is now broken for DOD. After the May 2014 update there is now a segment fault that crashes the server quite often and unplayable with the bots. CODE ---------------------------------------------- CRASH: Thu May 22 14:18:25 SGT 2014 Start Line: ./srcds_linux -console -game dod +map dod_donner +port 27015 +maxplayers 22 +plugin_load ../bin/HPB_bot2_i486 -debug [New LWP 10960] [New LWP 10966] [New LWP 10965] [New LWP 10968] [New LWP 10982] [New LWP 10964] [New LWP 10983] [New LWP 10979] [New LWP 10961] [New LWP 10962] [New LWP 10963] [New LWP 10971] [New LWP 10969] [New LWP 11040] #0 0xa9960ed0 in ?? () End of Source crash report ---------------------------------------------- |
Lo-Fi Version | Time is now: 22nd December 2024 - 12:54 PM |