.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Bug Reports (http://forums.bots-united.com/forumdisplay.php?f=49)
-   -   R2b43 wired error messages (http://forums.bots-united.com/showthread.php?t=2688)

[NvT]_KaszpiR_ 27-09-2004 11:23

Re: R2b43 wired error messages
 
i was trying to compile too , just wanted to reported it but i was offline

as mentiones it is in hlsdk pm_shared
the function check velocity is called fe wilens above (as i rember) when throwing grenade

i remeber this bug occurs since the may, i got some sources by pmb and they are working well, all newer are not so good


when bot tries to throw grenade the function says the velocity is NaN and also it is later inherited to user
so the grenade does not show up and finally the bot gets teleported to [0,0,0] , because the position (origin) is also NaN)

best viewed de_dust when bots are teleprted near to the ct spawn point


i was wondering if this can be cuased by compilation flags that are used for increading the speed of the executable, but old make has exackly the same lines and the error did not occur

i thought at first it was a architecutre error, but it is not (i guess :D )


in conclusion - this was added to source :/

solution
1. for now add a var to disable bot grenade throwing
2. fix the source, i guess not the hlsdk :D but podbot code that is responsible for grenades (btw maybe the g_ZeroVecros should be changed or more checks if the values are acceptable, cause i guess maybe there is a float with very low value that is rounded to zero...)

[NvT]_KaszpiR_ 01-10-2004 15:20

Re: R2b43 wired error messages
 
sources from 2004-06-27 does not have this error, they work very well


All times are GMT +2. The time now is 13:02.

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