.:: 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 > Common Questions
Common Questions Are you seeking help ? Get it here !

Reply
 
Thread Tools
Team killing
Old
  (#1)
useronator
Member
 
Status: Offline
Posts: 2
Join Date: Apr 2008
Default Team killing - 24-04-2008

Hi, I have plugin in amxx that changes player's team without ending of round (using cs_set_user_team), but pod bots still "thinks" that they're in previous team and trying to kill team mates ignoring enemies.
Is it possible to fix this in pod-bot ?

Or maybe, what can I add to plugin (what message to send to bots) to force them to check in what team they are ?

Thanks,
sorry for my bad english
  
Reply With Quote
Re: Team killing
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Team killing - 25-04-2008

During transfering the player to the other team AMX X is sending the message TeamInfo - so all other AMX X plugins can handle, the player is now in the new team. Unfortunatelly, if that message is just sent by any of metamod plugins, the metamod is blocking that message to be send to other mm plugins, so none of them (like metamod bots, like StatsMe, like AdminMod etc) can know that (since they cannot see blocked messages).
The only way to do this right is - switch the player to the other team and just respawn him (for example in the Spawn area of the new team). Then the right TeamInfo message is sent by the game Engine, which is catchable for all metamod plugins (also for this bot).

More info read here:
http://forums.alliedmods.net/showthread.php?t=51171

[EDIT]
And this is not a bug in podbot mm, but You didn't need to know that. I'm moving the question to Common Questions forum.
[/EDIT]

Last edited by KWo; 25-04-2008 at 08:37..
  
Reply With Quote
Re: Team killing
Old
  (#3)
useronator
Member
 
Status: Offline
Posts: 2
Join Date: Apr 2008
Default Re: Team killing - 25-04-2008

Is it possible to just spawn bot in same place, without model / money count changing and without freeze time ?

and can you maybe in future, port a module to amxx to have more control over bots in amxx plugins ?

Last edited by useronator; 25-04-2008 at 19:33..
  
Reply With Quote
Re: Team killing
Old
  (#4)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Team killing - 25-04-2008

I remember AMX 2006.x was doing that, so - yes - it is possible. But You need to ask this man at AMX X forum. He was interrested with solving the problem, so I believe he already has got somewhere the fixed version of the plugin You are talking about.
  
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