.:: 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 ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
EPB Stuck on Linux server?
Old
  (#1)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default EPB Stuck on Linux server? - 06-05-2006

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.
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: EPB Stuck on Linux server? - 06-05-2006

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
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#3)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: EPB Stuck on Linux server? - 07-05-2006

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.
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#4)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: EPB Stuck on Linux server? - 07-05-2006

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.
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#5)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: EPB Stuck on Linux server? - 07-05-2006

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 ?

Last edited by The Storm; 07-05-2006 at 22:23..
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#6)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: EPB Stuck on Linux server? - 08-05-2006

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.
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#7)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: EPB Stuck on Linux server? - 11-05-2006

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.
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#8)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: EPB Stuck on Linux server? - 13-05-2006

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.
  
Reply With Quote
Re: EPB Stuck on Linux server?
Old
  (#9)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: EPB Stuck on Linux server? - 13-05-2006

I don't have idea who are the problematic functions that cause that too.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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