.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   PlayerTrack (by Terran for AMX)/Botmixing (http://forums.bots-united.com/showthread.php?t=1112)

dead bwoy 16-03-2004 22:32

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! :)

Pierre-Marie Baty 17-03-2004 00:32

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 ;)

Onno Kreuzinger 17-03-2004 17:40

Re: PlayerTrack (by Terran for AMX)/Botmixing
 
oh the pres is offline, and perhaps deaf by driving to fast (loud) *g*

Terran 17-03-2004 22:22

Re: PlayerTrack (by Terran for AMX)/Botmixing
 
Quote:

Originally Posted by dead bwoy
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...

What error message do you get when you try to compile the .sma?

Quote:

Originally Posted by dead bwoy
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
--------------------------------------------------------------------------
...

This is really odd. I don't rely on any FL_FAKECLIENT flag (as I don't have access to it using AMX). What I do is simply parsing the log events. Whenever a human or bot triggers "entered the game" I check if the authid is "BOT" or not and based on that information I do my counts...
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!

dead bwoy 17-03-2004 22:38

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!

Terran 17-03-2004 22:46

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

dead bwoy 17-03-2004 22:57

Re: PlayerTrack (by Terran for AMX)/Botmixing
 
whats the hlds command to dump your cvarlist to a txt file???

Terran 17-03-2004 23:20

Re: PlayerTrack (by Terran for AMX)/Botmixing
 
cvarlist log

Pierre-Marie Baty 18-03-2004 00:55

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. :)

Terran 18-03-2004 14:36

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.