![]() |
![]() ![]() |
![]() |
Cheeseh |
![]()
Post
#221
|
||||
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Your problem must be that the bot program can't find the profiles, they should be in the half-life/rcbot/botprofiles folder. You should also have all the rcbot files in half-life/rcbot. If you can't put them in that folder you can enter the folder you installed the bot (With all the folders that came with it) in rcbot_folder.ini and put that in the mod folder. ![]() |
||||
guurk |
![]()
Post
#222
|
Newbie ![]() Group: Members Posts: 6 Joined: 17-July 06 Member No.: 798 ![]() |
Setting min_bots is no good. There are times that the bot doesn't get added to the right team. I want RCBots only on the marine side since I have WhichBot for the Alien side.
However, just having the add in the map config doesn't work either. When humans join the rcbots go away and don't come back. I have to say that I'd also like to have the ability to allow humans to join any side they like and then just kick one of the bots on that side. I'm thinking maybe a scripted AmxModX plugin would allow me to do things just as I like. ------------ Oh yeah, there's also a commander AI plugin for amxmodx that I'd like to know if anyone has tried. That with the RCBot might actually give the WhichBots a run for thier money without having to have a human commander. see: http://forums.alliedmods.net/showthread.php?p=231693 |
DeadEyeSavage |
![]()
Post
#223
|
||
Member ![]() ![]() Group: Members Posts: 15 Joined: 21-June 06 Member No.: 768 ![]() |
So in the plugin.ini ia vhe to put the path for every fodler inside the rcbot folder? WHY? i didn't have to for my windows server i jsut put ns/rcbot and it worked fine. Right now the mod directory for NS is: instances/ns/ns So i put ns/rcbot in that directory in that file. So now i have to put each fodler inside of the rcbot folder? |
||
RR99i |
![]()
Post
#224
|
||||
![]() Member ![]() ![]() Group: Members Posts: 25 Joined: 28-July 05 From: Indiana, USA Member No.: 608 ![]() |
Yes, I don't think the NS developer will be focusing on NS1. But if there was anyway to get a bot to be commander, on and off. That would be great! When it's just me playing it, it's hard to have fun shooting. But when I'm playing with my brother, he will be commander on and off. But it would be so great to have a bot be commander sometimes. |
||||
DeadEyeSavage |
![]()
Post
#225
|
Member ![]() ![]() Group: Members Posts: 15 Joined: 21-June 06 Member No.: 768 ![]() |
yeah now rcbot stoped running again even after i put it backbefore when it was running and now its gone again! ARG!!!!!
well i think i will jsut delet allt he damn rcbot shit and start over. P.S. I AHTE LINUX I AM SO FUCKING PISSED OFF RIGHT NOW WITH IT!!! |
LordSkitch |
![]()
Post
#226
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
That's most peoples views on Linux, unless they're running something like Knoppix and never have to go to the shell for any reason.
Try your hand at Gentoo, now there's a beast ![]() |
guurk |
![]()
Post
#227
|
Newbie ![]() Group: Members Posts: 6 Joined: 17-July 06 Member No.: 798 ![]() |
I Love Linux
![]() I have all my bots working just right now. I've created an amxmodx plugin that monitors my bots and adds and kicks them as human players join up and drop off. Feel free to try out my server: resonus.net (65.102.85.22) You can set it up for yourself and get the plugin and compiled linux RCBot library from my website: http://resonus.net/index.php/Natural_Selection Enjoy. |
LordSkitch |
![]()
Post
#228
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
What distro do you run?
|
IHQ-Reima[DWMH] |
![]()
Post
#229
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 67 Joined: 7-June 06 From: Finland Member No.: 737 ![]() |
Latest dll update works great! silenced&cloaked skulk is a killer
![]() ![]() |
LordSkitch |
![]()
Post
#230
|
||||||||
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
Due to popular demand (ie constant bitching) on my server, I dug around the code and found the squad stuff. in bot_const.h I added
in bot_commands.cpp I added
and in the class CBotSquad *CBotSquads :: AddSquadMember in bot.cpp I added/changed
that little bit there and at the end of it
so now you can put in bot_config.ini config disable_all_squads 1 and disable the squads, to keep the marines from squad whoring. Note - It probably doesn't work right, as the code I put in is simple, and it's not fancy like Cheeseh's. But it seems to have killed the squads. |
||||||||
zodiac |
![]()
Post
#231
|
||
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 23-March 04 From: California Member No.: 276 ![]() |
I followed the directions on your website and got this:
Any recommendations? Z |
||
LordSkitch |
![]()
Post
#232
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
Gonna have to take guurk's compile (http://resonus.net/images/rcbot_mm_i486.so) and go from there.
Cheeseh hasn't compiled a linux binary, and the rest of us use windows cause linux sucks.. ![]() |
Cheeseh |
![]()
Post
#233
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
never knew you could understand my code skitch
![]() btw this could cause mem leaks ![]() theSquad = NULL; return theSquad; free theSquad if it isnt null I think theres a RemoveSquad( <bot squad type>) function. |
LordSkitch |
![]()
Post
#234
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
I looked for memory leaks during gameplay and I haven't seen any yet, and I woulda figured out a better way to do it, but good lord there's just soooo muuuuch coooode! lol
What would you replace the "don't make a squad" part of the code with? |
LordSkitch |
![]()
Post
#235
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
...i just realized, im using the old source code! upload your new stuff, so i can re-add the no squad thing, cause my bots aint upgrading, god knows what theyre sposda be doing!
|
Cheeseh |
![]()
Post
#236
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
![]() |
LordSkitch |
![]()
Post
#237
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
soooooooooooo, when ya gonna upload it? lol
![]() |
Cheeseh |
![]()
Post
#238
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
already done it
![]() |
LordSkitch |
![]()
Post
#239
|
||||||||||||||||
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
it was probably freakin firefox caching the old one not letting me download the new one... opened it in IE and BAM! right there. [edit!] to make it easier, as even I just got confused updating the newer source, this is CBotSquad *CBotSquads :: AddSquadMember ( edict_t *pLeader, edict_t *pMember )
[edit again!] im now looking for the impulses for the bots, so the chuckle when they kill stuff, and say "enemy spotted" instead of "need healing" cause the NS devs are retards and changed the impulses.. but
[edit once more] so theres no enemy spotted for aliens anymore. they've got follow defend taunt heal and then 2 noises i dont know what they are. i actually made the bots say the impulses one at a time and watched to see what it did, and i still dont know what those two are, 11 is like "im bored" and 12 is the noise you make when you get done gestating or whatever. so... i dunno wtf to make the bots say when they see an enemy, i guess the "im bored" one, cause they dont normally say that.
so, Impulse(SAYING_4); should be Impulse(SAYING_2);
the alien/marine check should be able to be taken out, and just pev->impulse = SAYING_3; break; should be left [EDIT AGAIN! holy crap.] on second thought, im thinkin
should be changed to
cause the hissing noise the aliens make isnt very cool, and serves no tactical purpose. AND due to the new code that makes it so you cant spam those impulses, they're not likely to chuckle after they kill someone... and the chuckle when they kill someone is so much cooler anyhow. now that im looking at it more, m_fNextUseSayMessage = gpGlobals->time + RANDOM_FLOAT(4.0,8.0); is declared regardless of whether they actually talk or not, so there'd need to be more code like
would change to something better than
it works, but its probably not the best way to do it ![]() |
||||||||||||||||
Cheeseh |
![]()
Post
#240
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
ah thats alright actually.
what else are you going to do with the code then? ![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 21st June 2025 - 05:32 PM |