![]() |
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. |
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).
|
Re: Team detection problems.
Quote:
|
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.
|
Re: Team detection problems.
|
All times are GMT +2. The time now is 03:26. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.