.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#1)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default PlayerTrack (by Terran for AMX)/Botmixing - 16-03-2004

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!
--------------------------------------------------------------------------
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!
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 17-03-2004

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



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#3)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 17-03-2004

oh the pres is offline, and perhaps deaf by driving to fast (loud) *g*


sunny morning view from my balcony:

see our WIKI!
see our filebase!
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#4)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 17-03-2004

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!
--------------------------------------------------------------------------
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!
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#5)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 17-03-2004

the sma compiles fine, it just doesn't function properly...
counts bots as humans (except real-WIP)!
I'll try some more tests tomorrow!
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#6)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 17-03-2004

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
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#7)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 17-03-2004

whats the hlds command to dump your cvarlist to a txt file???
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#8)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 18-03-2004

cvarlist log
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 18-03-2004

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: PlayerTrack (by Terran for AMX)/Botmixing
Old
  (#10)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: PlayerTrack (by Terran for AMX)/Botmixing - 18-03-2004

Well, neither RealBot nor JoeBot or YaPB did that, therefore I never noticed that a bot could use anything else as an authid
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com