.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Bug Reports (http://forums.bots-united.com/forumdisplay.php?f=49)
-   -   Team detection problems. (http://forums.bots-united.com/showthread.php?t=6894)

ot_207 17-08-2008 07:44

Team detection problems.
 
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.

KWo 20-08-2008 08:50

Re: Team detection problems.
 
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).

ot_207 25-08-2008 11:41

Re: Team detection problems.
 
Quote:

Originally Posted by KWo (Post 58871)
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???

KWo 25-08-2008 14:08

Re: Team detection problems.
 
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.

KWo 27-08-2008 17:02

Re: Team detection problems.
 
http://forums.alliedmods.net/showthr...648#post676648


All times are GMT +2. The time now is 03:26.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.