.:: 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 > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Closed Thread
 
Thread Tools
Re: POD-bot back into shape.
Old
  (#111)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: POD-bot back into shape. - 09-03-2004

I just got this error with PODbot on a linux server.


hlds_i686: bot.cpp:8084: void BotThink(bot_t *): Assertion `(pEdict->v.v_angle.x > -181.0) && (pEdict->v
.v_angle.x < 181.0) && (pEdict->v.v_angle.y > -181.0) && (pEdict->v.v_angle.y < 181.0) && (pEdict->v.ang
les.x > -181.0) && (pEdict->v.angles.x < 181.0) && (pEdict->v.angles.y > -181.0) && (pEdict->v.angles.y
< 181.0) && (pEdict->v.ideal_yaw > -181.0) && (pEdict->v.ideal_yaw < 181.0) && (pEdict->v.idealpitch > -181.0) && (pEdict->v.idealpitch < 181.0)' failed.


Any idea on a solution to this. Any help would be appreciated and nice work on the new version Pierre-Marie Baty.

Cooley
  
Re: POD-bot back into shape.
Old
  (#112)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 10-03-2004

Dethpod is trying to put together a Linux bot to help debugging the bot. Once this will be done I'll have a quick look and fix all the Linux issues that have been mentioned. I can't devote much time to this bot as I already have mine to grow, hope you understand.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Re: POD-bot back into shape.
Old
  (#113)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: POD-bot back into shape. - 10-03-2004

Try YaPB, you can find it in the Off-Topic forum. It's a modified podbot and works very well at my linux server
  
Re: POD-bot back into shape.
Old
  (#114)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 10-03-2004

Actually I redid the ClampAngle() functions in a nicer way
Code:
void UTIL_ClampAngle (float *fAngle)
{
   if (*fAngle >= 180)
	  *fAngle -= 360 * ((int) (*fAngle / 360) + 1);
   if (*fAngle < -180)
	  *fAngle += 360 * ((int) (-*fAngle / 360) + 1);
}

void UTIL_ClampVector (Vector *vecAngles)
{
   if (vecAngles->x >= 180)
	  vecAngles->x -= 360 * ((int) (vecAngles->x / 360) + 1);
   if (vecAngles->x < -180)
	  vecAngles->x += 360 * ((int) (-vecAngles->x / 360) + 1);
   if (vecAngles->y >= 180)
	  vecAngles->y -= 360 * ((int) (vecAngles->y / 360) + 1);
   if (vecAngles->y < -180)
	  vecAngles->y += 360 * ((int) (-vecAngles->y / 360) + 1);
   vecAngles->z = 0.0;
}
And I added two ClampAngle() calls on idealpitch and ideal_yaw at the bottom of BotThink(), this way the assertion can't fail anymore.

I updated the podbot DLL

http://racc.bots-united.com/releases/podbot.zip
uploading now



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Re: POD-bot back into shape.
Old
  (#115)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: POD-bot back into shape. - 10-03-2004

Unfortunately I am still getting the same error, but thanks for working on it.
  
Re: POD-bot back into shape.
Old
  (#116)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 10-03-2004

Pisses me off. I've added this barbarian fix.
Code:
void UTIL_ClampAngle (float *fAngle)
{
   if (*fAngle >= 180)
	  *fAngle -= 360 * ((int) (*fAngle / 360) + 1);
   if (*fAngle < -180)
	  *fAngle += 360 * ((int) (-*fAngle / 360) + 1);
 
   // if we're still above the limit then something's REALLY fuckedup!!!
   if ((*fAngle >= 180) || (*fAngle < -180))
	  *fAngle = 0; // no mercy.
}
try this one now.
http://racc.bots-united.com/releases/podbot.zip
still uploading as I write this.

*edit* upload finished, go for it.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 10-03-2004 at 19:23..
  
Re: POD-bot back into shape.
Old
  (#117)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: POD-bot back into shape. - 10-03-2004

Sorry still getting


hlds_i686: bot.cpp:8089: void BotThink(bot_t *): Assertion `(pEdict->v.v_angle.x
> -181.0) && (pEdict->v.v_angle.x < 181.0) && (pEdict->v.v_angle.y > -181.0) &&
(pEdict->v.v_angle.y < 181.0) && (pEdict->v.angles.x > -181.0) && (pEdict->v.an
gles.x < 181.0) && (pEdict->v.angles.y > -181.0) && (pEdict->v.angles.y < 181.0)
&& (pEdict->v.ideal_yaw > -181.0) && (pEdict->v.ideal_yaw < 181.0) && (pEdict->v.idealpitch > -181.0) && (pEdict->v.idealpitch < 181.0)' failed.

Now when I try to kill the server with the exit command I get the following error:

L 03/10/2004 - 12:17:56: "Make me Laugh<-1><><CT>" disconnected
Dropped Make me Laugh from server
Reason: Server shutting down
L 03/10/2004 - 12:17:56: "Hemp Invader<-1><><TERRORIST>" triggered "Dropped_The_Bomb"
./hlds_run: line 423: 17448 Segmentation fault $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem



Thanks for the continued work.

Cooley

Last edited by Cooley; 10-03-2004 at 20:33..
  
Re: POD-bot back into shape.
Old
  (#118)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 10-03-2004

heck, it's IMPOSSIBLE!!! ???
can you try this one ?
http://racc.bots-united.com/podbot_mm_i386.so
it won't work any better but it will help me locate the bug.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Re: POD-bot back into shape.
Old
  (#119)
Cooley
Guest
 
Status:
Posts: n/a
Default Re: POD-bot back into shape. - 11-03-2004

Here is the new error


hlds_i686: bot.cpp:8088: void BotThink(bot_t *): Assertion `(pEdict->v.ideal_yaw > -181.0) && (pEdict->v.ideal_yaw < 181.0)' failed.
./hlds_run: line 423: 17605 Aborted $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem

Could these error be related to other metamod plugins (just checking, no programing background). I am running adminmod 2.50.58-beta and StatsMe 2.8.0.

Cooley
  
Re: POD-bot back into shape.
Old
  (#120)
walten
Guest
 
Status:
Posts: n/a
Default Re: POD-bot back into shape. - 11-03-2004

I am running linux and i have no problem getting it up and running. The plugin that is.

[ 1] AMX, v0.9.7, Nov 28 2003, by OLO, see http://www.amxmod.net
[ 2] FUN, v0.9.8, Nov 28 2003, by OLO, see http://www.amxmod.net
[ 3] CS STATS, v0.9.7, Nov 28 2003, by OLO, see http://www.amxmod.net
[ 4] WebMod, v0.47, 2003/05/19, by dJeyL, see http://djeyl.net/w
[ 5] Vexd Util. Module, v0.2.0.7, Nov 28 2003, by Vexd, see No Website
[ 6] POD-Bot, v2.5, 20/02/2004, by Count Floyd, Austin, Wei Mingzhi, Pierre-Marie Baty, see http://www.bots-unite

That is my meta list.

When i hit my podbotmenu key it says that it is an unknown command.

any ideas

-walten
  
Closed Thread


Currently Active Users Viewing This Thread: 3 (0 members and 3 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