.:: 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 > Bug Reports
Bug Reports Post any bug you experience with the latest release of this bot here

Reply
 
Thread Tools
R2b43 wired error messages
Old
  (#1)
g4s
Member
 
g4s's Avatar
 
Status: Offline
Posts: 102
Join Date: May 2004
Default R2b43 wired error messages - 22-09-2004

I updated my bots to R2b43 (Windows DS) days ago. But the server crashes very often. Then I tried it under linux. At first I thought there might be something wrong with my amxx plugins. After disabling amxx, and did a fresh install of podbot, the problem is still there. The error messages I got:
Quote:
Got a NaN velocity on grenade
Got a NaN origin on grenade
PM Got a NaN velocity 0
PM Got a NaN origin on 0
PM Got a NaN velocity 1
PM Got a NaN origin on 1
PM Got a NaN velocity 2
PM Got a NaN origin on 2
Got a NaN velocity on weaponbox
Got a NaN origin on weaponbox
... ...
These messages are endless.

I compiled both R2b1 and R2b43, R2b1 just works with no problems. But with R2b43, I got these messages right after I add bots.

any ideas?


Last edited by g4s : Tomorrow at 12:01.

Last edited by g4s; 22-09-2004 at 13:55..
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: R2b43 wired error messages - 22-09-2004

What the version of metamod do You use? Don't use under linux mm1.17.2 because there are some "memory leaks". I was reading it at some other forum. The problem with this mm is only under linux.
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#3)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: R2b43 wired error messages - 23-09-2004

yes Dethpod also mentioned this problem to me but I was unable to fix it or even surpress it..
I couldn't figure it out but perhaps a memory leak in metamod(linux) could explain it.. since Dethpod owns 2 linux servers..
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#4)
g4s
Member
 
g4s's Avatar
 
Status: Offline
Posts: 102
Join Date: May 2004
Default Re: R2b43 wired error messages - 23-09-2004

Yes, I'm using 1.17.2. But if it's the problem of metamod, it doesn't make sense that r2b43 has problems while r2b1 works ok.

sPlOrYgOn, is there anywhere I can download previous versions of podbot, like b41, b40...? Just want to see if I get same problems with those versions.

I'll first try to downgrade metamod and post the result here. Thanks for the info guys.


Last edited by g4s : Tomorrow at 12:01.
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#5)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: R2b43 wired error messages - 23-09-2004

an estimate of which build number it started at is probably around build 10 - build 36..
it's probably something stupid I added...
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#6)
g4s
Member
 
g4s's Avatar
 
Status: Offline
Posts: 102
Join Date: May 2004
Default Re: R2b43 wired error messages - 23-09-2004

nope, nothing to do with metamod. I downgraded metamod to 1.17.1, got those messages again.

sPlOrYgOn, if you still have backup of those old versions, I got time now to test them. Or I'll just stick with my modified version of b1 and wait for the next beta.


Last edited by g4s : Tomorrow at 12:01.
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#7)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: R2b43 wired error messages - 23-09-2004

Dethpod has been getting these messages for quite a long time.. I think even before 1.17.1 came out..
[edit]
and the only place that would have backup until build 38 would be the CVS..
I should probably keep backups but I'm sort of low on HDD space..
[/edit]
[edit2]
Dethpod has source code from 06/27/04 and this does not produce the NaN stuff.. maybe you can change one thing at a time until those messages appear and see what is wrong..
http://www.mapzap.org/files/podbot/p...rc-6-27-04.zip
[/edit2]

Last edited by sPlOrYgOn; 23-09-2004 at 03:20..
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#8)
g4s
Member
 
g4s's Avatar
 
Status: Offline
Posts: 102
Join Date: May 2004
Default Re: R2b43 wired error messages - 23-09-2004

thanks but it seems the link is broken.

I switched back to r2b1, tested under linux, everything seems ok. But I'm pretty sure the recent releases are much better. so could you please check that zip file?


Last edited by g4s : Tomorrow at 12:01.
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#9)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: R2b43 wired error messages - 23-09-2004

lol sorry when I tested the link it worked but when I wrote the link there i forgot the s in files
[edit]
using this code as test code is better since it's not as far back as b1...
[/edit]
  
Reply With Quote
Re: R2b43 wired error messages
Old
  (#10)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: R2b43 wired error messages - 25-09-2004

I found something...
I wonder when this gets called..
I'll see what I can do when I have time..
this is found in the HLSDK in a file called pm_shared.c
PHP Code:
/*
================
PM_CheckVelocity

See if the player has a bogus velocity value.
================
*/
void PM_CheckVelocity ()
{
    
int        i;

//
// bound velocity
//
    
for (i=i<i++)
    {
        
// See if it's bogus.
        
if (IS_NAN(pmove->velocity[i]))
        {
            
pmove->Con_Printf ("PM  Got a NaN velocity %i\n"i);
            
pmove->velocity[i] = 0;
        }
        if (
IS_NAN(pmove->origin[i]))
        {
            
pmove->Con_Printf ("PM  Got a NaN origin on %i\n"i);
            
pmove->origin[i] = 0;
        }

        
// Bound it.
        
if (pmove->velocity[i] > pmove->movevars->maxvelocity
        {
            
pmove->Con_DPrintf ("PM  Got a velocity too high on %i\n"i);
            
pmove->velocity[i] = pmove->movevars->maxvelocity;
        }
        else if (
pmove->velocity[i] < -pmove->movevars->maxvelocity)
        {
            
pmove->Con_DPrintf ("PM  Got a velocity too low on %i\n"i);
            
pmove->velocity[i] = -pmove->movevars->maxvelocity;
        }
    }

[EDIT]
The code tags really need help...
[/EDIT]
  
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