.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   EPB Stuck on Linux server? (http://forums.bots-united.com/showthread.php?t=5234)

The Storm 06-05-2006 16:14

EPB Stuck on Linux server?
 
One friend run EPB on linux server and he told me that sometimes one of the bots stuck until the round over. The bot is stucked half in the ground or in some wall. I though that this maybe is from the msec val way that I use so I changed in to many other algoritms but no differense. So I backed again to the way that I posted in to the other topic...
On windows servers there is no problem, the bots run very good but on linux sometimes they stuck. I think maybe that is from the compile flags or something like that.
Here the linux makefile. If you see something wrong please tell me.

KWo 06-05-2006 23:07

Re: EPB Stuck on Linux server?
 
Read patiently these topic:
http://forums.bots-united.com/showthread.php?t=2694
http://forums.bots-united.com/showthread.php?t=2688
and You should get some help ;)

The Storm 07-05-2006 10:01

Re: EPB Stuck on Linux server?
 
It seems that EPB stuck on the same place (0, 0, 0) but I'm not sure if this happens when they try to trow a grenade. The screenshot that the guy shows there with the two stucked bots in de_dust is same what happens with EPB.
Finally I read that PM_CheckVelocity()cause the problem but I didn't found good solution how to fix that.

KWo 07-05-2006 15:46

Re: EPB Stuck on Linux server?
 
There was some problem with calculation velocity of grenade - look into yapb or current pb mm code - and use some of these or pb mm R2B46d solution.

The Storm 07-05-2006 16:12

Re: EPB Stuck on Linux server?
 
Ok I taked the needed code from the latest pb_mm that you had gived me.
Vector VecCheckToss ()
Vector VecCheckThrow ()
Lets hope that it will work. :)

EDIT: They again stuck. Any other ideas ?

KWo 08-05-2006 08:48

Re: EPB Stuck on Linux server?
 
Prepare for Your colleague the test binary without bots throwing nades at all (comment out that part). If they will not stuck - You will know at leats You need to check that throwing nades code more carefully or - if they will stuck again - You need to check something else.

The Storm 11-05-2006 20:40

Re: EPB Stuck on Linux server?
 
So it seems that its not grenade related. The friend told that there is always one stucked but (sometimes two) when a new round start. I hope this have solution, it happens linux only.

KWo 13-05-2006 13:55

Re: EPB Stuck on Linux server?
 
Try to find in all epb code any problematic functions they may cause a call of PM_CheckVelocity() - like these You found in Vec_CheckToss or something.Disable these parts of code and compile for Your friend again. No idea how to help You more. :(

The Storm 13-05-2006 17:22

Re: EPB Stuck on Linux server?
 
I don't have idea who are the problematic functions that cause that too. :(


All times are GMT +2. The time now is 01:52.

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