![]() |
PlayerTrack (by Terran for AMX)/Botmixing
I downloaded Terran's playertrack AMX plugin for use on my server (CS 1.6, HLDS STEAM WIN32, AMX 0.9.8a, Metamod 1.17)
Neither the sma compiled nor the amx file included in the zip work correctly... the plugin loads, yes, but; ================================================== ======== Realbot: Works correctly! :D -------------------------------------------------------------------------- Joebot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 5 with 5 bots on ???:( -------------------------------------------------------------------------- Realbot vs Joebot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 10 with 10 bots on (5 real / 5 joe) o_O -------------------------------------------------------------------------- IVPbot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 10 with 10 bots on :| -------------------------------------------------------------------------- Realbot vs IVPbot: CRASH! Probably not playertrack problem... ;) -------------------------------------------------------------------------- JOEbot vs IVPbot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 10 with 10 bots on 9_9 -------------------------------------------------------------------------- PODbot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 5 with 5 bots on :( -------------------------------------------------------------------------- Realbot vs PODbot CRASH! Probably not playertrack problem... ;) -------------------------------------------------------------------------- JOEbot vs PODbot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 10 with 10 bots on (5 POD / 5 JOE) >:( -------------------------------------------------------------------------- IVPbot vs PODbot: Counts all players as humans! tn_pt_bots = 0 & tn_pt_humans = 10 with 10 bots on (5 POD / 5 IVP) :'( :'( :'( ================================================== ======== I've been tinkering with the botmixer5000 source code to make it work with STEAM WIN32 HLDS. I do not know C++ well (ok, AT ALL), but it is a small plugin that shouldn't be too hard to figure out... I already fixed the error on fakedll: error determining mod directory! I'm pretty sure this was made for Linux, cause all I did to fix the dir problem was change a "\" to "/" Any advice, help, or otherwise, welcomed! :) |
Re: PlayerTrack (by Terran for AMX)/Botmixing
The problem comes that since the Steam update that broke all bots a long time ago, all bots developers had to change the bit used to flag their bots. They used to take FL_FAKECLIENT for that, but after the update all of them had to define another bit (FL_THIRDPARTYBOT or 1<<27) and despite the fact that Steam corrected the mistake recently, some bot authors are still using FL_THIRDPARTYBOT instead of reverting to the normal FL_FAKECLIENT.
This is why some utilities that count the number of bots and the number of players are confused, because they usually know about FL_FAKECLIENT but aren't aware that some bots don't have the FL_FAKECLIENT set but the FL_THIRDPARTYBOT one. Despite this fact, the FL_THIRDPARTYBOT flag should be abandoned by all bot authors now. And in order to make their bot "mixable", they must NOT rely on it to identify a bot as THEIR bot but instead they must keep track of which bots are theirs and which are not internally. I'm singing this to Stefan on all possible tones but he seems not to have heard me yet ;) |
Re: PlayerTrack (by Terran for AMX)/Botmixing
oh the pres is offline, and perhaps deaf by driving to fast (loud) *g*
|
Re: PlayerTrack (by Terran for AMX)/Botmixing
Quote:
Quote:
And it shouldn't matter what kind of bot is used. I'm using joebot and yapb together at my server and never got wrong numbers from this plugin! |
Re: PlayerTrack (by Terran for AMX)/Botmixing
the sma compiles fine, it just doesn't function properly...
counts bots as humans (except real-WIP)! I'll try some more tests tomorrow! |
Re: PlayerTrack (by Terran for AMX)/Botmixing
This is REALLY odd.
Could you send me the cvarlist of your server? And a logfile (with joebot running) so that I can see what might happen? Send it to terran@cs4us.de |
Re: PlayerTrack (by Terran for AMX)/Botmixing
whats the hlds command to dump your cvarlist to a txt file???
|
Re: PlayerTrack (by Terran for AMX)/Botmixing
cvarlist log
|
Re: PlayerTrack (by Terran for AMX)/Botmixing
ah ok, you rely on the AuthID of the client to tell whether it's a bot or not...
Then you have to know that some bots overwrite their bot's AuthID and put "0" instead of "BOT", because having "BOT" as AuthID would mess up stats servers and bot stats could not be logged. To count the number of bots then, check whether the AuthID is "BOT" OR whether it is "0". If it's one of both, then it's a bot. :) |
Re: PlayerTrack (by Terran for AMX)/Botmixing
Well, neither RealBot nor JoeBot or YaPB did that, therefore I never noticed that a bot could use anything else as an authid :D
|
All times are GMT +2. The time now is 10:46. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.