RCBot for Gmod |
RCBot for Gmod |
xenon |
Jan 3 2015, 10:30 PM
Post
#1
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
Hi again
Been a while since I've been here...Or used RCbot... Just yesterday I tried RCbot for Hl2DM, it's actually decent. But thanks to VOLVO and how they treat that game, it's...broken beyond belief. So I was wondering, would it be possible to convert those bots for Gmod? It already has some bots, they're lousy, and nobody works on Nextbots AFAIK. I tried to put the dlls in but there's no plugin_load command. |
The HHH |
Jan 5 2015, 09:00 AM
Post
#2
|
Member Group: Members Posts: 30 Joined: 26-October 13 Member No.: 2,313 |
Maybe converting them into a .VPK file would work? hell, I don't know, There's actually some decent Nextbot NPCs out there (Witch from L4D, That weird SCP which spooks you when you look at it's face.) But yes, I agree with you, It would be nice to have RCBot in Garry's Mod, Keep in mind you'd need to waypoint the maps you use for them to navigate them properly, And since RCBot has a Waypoint limit, This could be problematic.
I wonder if Cheeseh had any plans for this? |
Cheeseh |
Jan 5 2015, 10:02 AM
Post
#3
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
I wonder if Cheeseh had any plans for this? I never really had any plans for Gmod but if you tweak bot_mods.ini a little you could probably do it. try add this mod to bot_mods.ini mod = CUSTOM steamdir = GarrysMod gamedir = garrysmod bot = HL2DM and put rcbot dll in garrysmod/bin then plugin_load ../bin/HPB_Bot2 as usual |
The HHH |
Jan 5 2015, 12:19 PM
Post
#4
|
Member Group: Members Posts: 30 Joined: 26-October 13 Member No.: 2,313 |
I never really had any plans for Gmod but if you tweak bot_mods.ini a little you could probably do it. try add this mod to bot_mods.ini mod = CUSTOM steamdir = GarrysMod gamedir = garrysmod bot = HL2DM and put rcbot dll in garrysmod/bin then plugin_load ../bin/HPB_Bot2 as usual Now, This would probably work, But as mentioned abover there really is no "plugin_load" command. |
daunknownman2010 |
Jan 5 2015, 05:06 PM
Post
#5
|
Newbie Group: Members Posts: 9 Joined: 2-October 14 Member No.: 2,359 |
I don't think Garry's Mod has anymore traces of old plugin loading. Probably because there is lua that people can use.
EDIT: Though what actually confuses me is they reference this in one of their changelists even though plugin_load doesn't exist for their dev branch: "Fixed plugin_load not loading plugins if no file extension is given" EDIT2: The dedicated server version of Garry's Mod actually has plugin_load. |
xenon |
Jan 6 2015, 08:29 PM
Post
#6
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
EDIT2: The dedicated server version of Garry's Mod actually has plugin_load. Hmm...have you tried it then? Does it work? I'm still not quite sure why plugin_load doesn't exist in gmod anymore. A bummer, really, I think these bots could work out pretty well in gmod. EDIT: Well I quickly installed dedicated server and edited the ini... "] plugin_Load HPB_Bot2.dll [RCBOT] Found interface INTERFACEVERSION_PLAYERINFOMANAGER IPlayerInfoManager playerinfomanager [RCBOT] Found interface INTERFACEVERSION_VENGINESERVER IVEngineServer engine Trying... VFileSystem022 [RCBOT] Found interface "VFileSystem" IFileSystem filesystem, ver = 022 [RCBot] HL2 MODIFICATION "gmodserver/garrysmod" NOT FOUND, EXITING... see bot_mods.ini in bot config folder [BOT ERROR] Mod not found. Please edit the bot_mods.ini in the bot config folder steamdir = gmodserver gamedir = garrysmod Failed to load plugin "HPB_Bot2.dll" Unable to load plugin "HPB_Bot2.dll" " Basically I installed the server in a different folder from steam (so it wouldn't mess it up), edited ini a few times but still can't get it to load. Any ideas? I also tried cheeseh suggestion but it's the same thing |
madmax2 |
Jan 6 2015, 10:56 PM
Post
#7
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Try using the HPB_Bot2o.dll instead of the HPB_Bot2.dll.
Move or install the rcbot2 folder down inside the server folder... Like this... /gmodserver/rcbot2 I think the rcbot2 folder should be next to the bin folder that has the HPB_Bot2o.dll So path would be like this... /gmodserver/bin/HPB_Bot2o.dll If my path to the HPB_Bot2o.dll is not what you have, just put the RCbot2 folder next to that bin folder... Try this bot_mods.ini mod = CUSTOM steamdir = gmodserver gamedir = garrysmod bot = HL2DM |
xenon |
Jan 6 2015, 11:16 PM
Post
#8
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
Try using the HPB_Bot2o.dll instead of the HPB_Bot2.dll. Move or install the rcbot2 folder down inside the server folder... Like this... /gmodserver/rcbot2 I think the rcbot2 folder should be next to the bin folder that has the HPB_Bot2o.dll So path would be like this... /gmodserver/bin/HPB_Bot2o.dll If my path to the HPB_Bot2o.dll is not what you have, just put the RCbot2 folder next to that bin folder... Try this bot_mods.ini mod = CUSTOM steamdir = gmodserver gamedir = garrysmod bot = HL2DM Right here's what I've done. RCBot2_094 rcbot2 folder went into the server root folder .dll files went into bin changed the config file "# #mod = CUSTOM #steamdir = gmodserver #gamedir = garrysmod #bot = HL2DM #" scrds.exe and then straight to console ... "] plugin_load HPB_bot2.dll [RCBOT] Found interface INTERFACEVERSION_PLAYERINFOMANAGER IPlayerInfoManager playerinfomanager [RCBOT] Found interface INTERFACEVERSION_VENGINESERVER IVEngineServer engine Trying... VFileSystem022 [RCBOT] Found interface "VFileSystem" IFileSystem filesystem, ver = 022 [RCBot] HL2 MODIFICATION "gmodserver/garrysmod" NOT FOUND, EXITING... see bot_mods.ini in bot config folder [BOT ERROR] Mod not found. Please edit the bot_mods.ini in the bot config folder steamdir = gmodserver gamedir = garrysmod Failed to load plugin "HPB_bot2.dll" Unable to load plugin "HPB_bot2.dll" ] plugin_load HPB_bot2o.dll [RCBOT] Found interface INTERFACEVERSION_PLAYERINFOMANAGER IPlayerInfoManager playerinfomanager [RCBOT] Found interface INTERFACEVERSION_VENGINESERVER IVEngineServer engine Trying... VFileSystem022 [RCBOT] Found interface "VFileSystem" IFileSystem filesystem, ver = 022 [RCBot] HL2 MODIFICATION "gmodserver/garrysmod" NOT FOUND, EXITING... see bot_mods.ini in bot config folder [BOT ERROR] Mod not found. Please edit the bot_mods.ini in the bot config folder steamdir = gmodserver gamedir = garrysmod Failed to load plugin "HPB_bot2o.dll" Unable to load plugin "HPB_bot2o.dll"" same thing |
madmax2 |
Jan 6 2015, 11:24 PM
Post
#9
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Remove the hash tags # from that section of the bot_mods.ini
Also this plugin_load HPB_bot2o.dll Not plugin_load HPB_bot2.dll |
xenon |
Jan 6 2015, 11:59 PM
Post
#10
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
Remove the hash tags # from that section of the bot_mods.ini Also this plugin_load HPB_bot2o.dll Not plugin_load HPB_bot2.dll The hashtags ARE included in all the mod definitions before it. So, why should be this an exception...let me try... Edit: the hell...I removed the # and it loads just fine with plugin_load HPB_bot2o.dll . oh i get it, those are like...comments i guess... However, new problem... ] rcbot addbot Unknown command "rcbot" Gonna try something else... Well I tried rcon and still the same message..."unknown command "rcbot"". |
madmax2 |
Jan 7 2015, 12:09 AM
Post
#11
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Cool
Try rcbotd addbot If bot joins then you are almost there It will just stand there with no waypoints, so you will need to make one to test it... This part could be a problem, cause rcbot2 waypointing doesn't fully work on a dedicated server. You may not be able to see the waypoints and it may crash??? hmmm |
xenon |
Jan 7 2015, 12:11 AM
Post
#12
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
Cool Try rcbotd addbot If bot joins then you are almost there It will just stand there with no waypoints, so you will need to make one to test it... ] rcon rcbotd addbot [RCBot] Error, no map running or not dedicated server hmm...It's gm_construct right now and the server is definitely up. Any ideas? |
madmax2 |
Jan 7 2015, 12:17 AM
Post
#13
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
This might be obvious, but others have have done the same thing, did you load a map before rcbotd addbot?
also, see my edit above about waypoints problem on dedicated server... |
xenon |
Jan 7 2015, 12:22 AM
Post
#14
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
This might be obvious, but others have have done the same thing, did you load a map before rcbotd addbot? also, see my edit above about waypoints problem on dedicated server... Loaded plugin "HPB_Bot2o.dll" ] map gm_flatgrass Error loading cfg/trusted_keys_base.txt Error loading cfg/pure_server_minimal.txt PREP OK Level "gm_flatgrass" has been loaded [RCBot] file not found/opening error 'rcbot2\waypoints\gmodserver\garrysmod\gm_flatgrass.rcw' mode rb [RCBot] failed to make folders for rcbot2\waypoints\gmodserver\garrysmod\gm_flatgrass.rcw Executing dedicated server config file server.cfg clientMax is 6 Nav File is wrong or something (1) Initializing Steam libraries for LAN server Logging into anonymous gameserver account. If I add a bot now it crashes the server. :/ I'll try to make those folders and that file, see if that works out... edit: folder is created already, just missing that file... edit2: folder was read only, unchecked and got .rcd when i reload the map? It's pretty huge, too...4 megs compared to the others edit3: it still crashes... |
madmax2 |
Jan 7 2015, 12:41 AM
Post
#15
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Hmmm, may need some input from cheeseh, but I don't think it should crash without a waypoint or folders... It may need a runplayercmd offset setting if it crashes as soon as adding a bot? Then making waypoints could be a problem if it won't work as listenserver...
|
xenon |
Jan 7 2015, 12:45 AM
Post
#16
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
Hmmm, may need some input from cheeseh, but I don't think it should crash without a waypoint or folders... It may need a runplayercmd offset setting if it crashes as soon as adding a bot? Then making waypoints could be a problem if it won't work as listenserver... Yeah, I think so as well... I edited the message too regarding the files |
madmax2 |
Jan 7 2015, 12:50 AM
Post
#17
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
|
xenon |
Jan 7 2015, 12:56 AM
Post
#18
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
Well it was a good try, gota go eat, I'm starved.... [edit] Anyways, seems the plugin_load function on dedi is still there... Yeah, I'm off to bed now, work tomorrow... The command works, I also have put a few HL2DM maps and their waypoints in (and faked an .rcv file...), got to this point: Loaded plugin "HPB_Bot2o.dll" ] map dm_lockdown Error loading cfg/trusted_keys_base.txt Error loading cfg/pure_server_minimal.txt PREP OK Level "dm_lockdown" has been loaded *** No waypoint visibility file *** *** Working out waypoint visibility information... *** Executing dedicated server config file server.cfg clientMax is 6 Nav File is wrong or something (1) Initializing Steam libraries for LAN server Logging into anonymous gameserver account. Assigned anonymous gameserver Steam ID [A-1:3154115592(5069)]. VAC secure mode disabled. ...aaaannd...crashed again. |
xenon |
Jan 8 2015, 03:07 PM
Post
#19
|
Member Group: Members Posts: 33 Joined: 20-September 14 Member No.: 2,356 |
So is this a lost cause then? I don't see how waypointing should be an issue considering I can do them in HL2DM directly and then just copy it...
Cheeseh, what do you say? Yeah.avi or Nope.avi? |
Cheeseh |
Feb 2 2015, 10:47 AM
Post
#20
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
So is this a lost cause then? I don't see how waypointing should be an issue considering I can do them in HL2DM directly and then just copy it... Cheeseh, what do you say? Yeah.avi or Nope.avi? a fasked rcv file can cause crashes, just delete it, it will automatically generate one |
Lo-Fi Version | Time is now: 18th October 2024 - 08:58 PM |