![]() |
"Kick Bot" and AMX
sPlOrYgOn, remember I started a thread talking about using "kick bot" would disable lots of features of amx? and you said that this had happened to you.
When I was looking at the FakeFull (from OLO) code last night, I noticed FF uses different method to kick bots and that would not affect anything of AMX. I tried to use that on PB, but I failed...:( Here is the code PB Code:
sprintf (cmd, "kick \"%s\"\n", STRING (bots[i].pEdict->v.netname)); Code:
Void RemoveFakeClient() { |
Re: "Kick Bot" and AMX
well all he does is instead of using the standard library function he made his own that does pretty much the same thing.. except return it instead of putting it into a variable which we pass to it..
|
Re: "Kick Bot" and AMX
hummm...OK, but why that problem doesn't happen when FF kick a bot?
|
Re: "Kick Bot" and AMX
probably something with freeing the bot's info from the game after the kick...
FF doesn't do much except have a "client" stay in spectator mode.. Maybe it's because we don't clear the address of the bot's edict from the bot array when the bot leaves.. |
Re: "Kick Bot" and AMX
Thanks for the quick replies sPlOrYgOn.
Since lots of bot servers use AMX/AM/... and with auto-kick enabled, I hope this can be fixed in the near future. :) |
Re: "Kick Bot" and AMX
I would advise to reset cleanly the whole bot structure immediately after a bot is kicked... and check for any pending external dependencies that could cause trouble.
|
Re: "Kick Bot" and AMX
heres a test dll for you g4s
I've memset the bot's slot on the array to 0 when he leaves... http://www.mapzap.org/podbot/podbotBETA.zip |
Re: "Kick Bot" and AMX
thanks sPlOrYgOn, unfortuantly it doesn't work, just same as before.
it can be simply tested by the welcome message. after I kick a bot and join the server, welcome display doesn't show up, and the respawn stops working,... i think there's something wrong with player id handling. after a bot is kicked, player ids are messed up so that amx is not enable to find such a player with certain playerid. anyways, thank you for compiling the test dll. i'll try to go through the source and see what i can find out. damn i cant help too much!>:( |
All times are GMT +2. The time now is 06:51. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.