[Pogamut-list] Bug projectile comming

michal.bida pogamut-forum at artemis.ms.mff.cuni.cz
Fri Mar 27 13:29:42 CET 2009


Re: Bug projectile comming

Author: michal.bida

Hey!

What GameBots version do you have? If you get the latest GB version from our repository: svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project/gamebots/ this should fix the issue (if it is not in the client, what I doubt). In the latest trunk GB version (also distributed with Pogamut v2.3) the PRJ message is sent when
1) You see the shooter
2) you see the projectile coming

No other conditions need to be met, so it doesn't matter the side the projectile is coming from. Check it and tell me if it works. 

To be honest I don't understand why there is the check if you see the shooter - it is not necessary - I can hot fix it, if it would bother you too much. 

Best,
Michal

> Hi!
> 
> The bot just detect the misil comming when it comes from his left side, if you shoot at him from his right side, the event is not caught...and he eats the misil X-)
> 
> If someone wants to reproduce the bug, please keep in mind that the left and right side is from his direction vector, not the visual one. I mean, when the bot stands, it can have the body, or head, looking at one side, while the legs, and his direction vector, are looking ahead. 
> 
> Cheers!





More information about the Pogamut-list mailing list