.:: 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 ::. > Cyborg Factory > POD-Bot mm > Bug Reports
Bug Reports Post any bug you experience with the latest release of this bot here

Reply
 
Thread Tools
Team detection problems.
Old
  (#1)
ot_207
Member
 
Status: Offline
Posts: 7
Join Date: Jun 2008
Default Team detection problems. - 17-08-2008

On my server I use CSDM with CSDM Teamballancer.
When I'm transfered to the other team the bots that are on my teammates are trying to shoot me, and the other team ignores me, so I think that it would be better if you could detect the team of each player using the offset found by JGHG in the cstrike module.
  
Reply With Quote
Re: Team detection problems.
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Team detection problems. - 20-08-2008

The problem exists in metamod. It blocks teaminfo messages sent by cs_set_user_team, so the bot doesn't know the player has changed his team. When I'll have time I'll post a version of csdm_teambalancer which solves this problem (using emessage_xx instead message_xx).
  
Reply With Quote
Re: Team detection problems.
Old
  (#3)
ot_207
Member
 
Status: Offline
Posts: 7
Join Date: Jun 2008
Default Re: Team detection problems. - 25-08-2008

Quote:
Originally Posted by KWo View Post
The problem exists in metamod. It blocks teaminfo messages sent by cs_set_user_team, so the bot doesn't know the player has changed his team. When I'll have time I'll post a version of csdm_teambalancer which solves this problem (using emessage_xx instead message_xx).
Yes but would't be easyer to use the offset???
  
Reply With Quote
Re: Team detection problems.
Old
  (#4)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Team detection problems. - 25-08-2008

Yes and no. To get the info about bot's team I would have to check everytime that offset when I'm checking bot's team in the code (in each function at least once). Currently I'm checking the team based on this what is stored by teaminfo messages (they are send only when the player changes the team and at player's respawn). So I'm using somehow buffered info about the bot's/player's (if checking enemies) team.
  
Reply With Quote
Re: Team detection problems.
Old
  (#5)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Team detection problems. - 27-08-2008

http://forums.alliedmods.net/showthr...648#post676648
  
Reply With Quote
Reply


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

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