.:: 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 ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
BotAim 2 crashes my server!
Old
  (#1)
The Goomba Mattress
Member
 
The Goomba Mattress's Avatar
 
Status: Offline
Posts: 45
Join Date: Mar 2004
Location: The Mushroom Kingdom
Default BotAim 2 crashes my server! - 21-02-2005

Hello,

I've been using the BotAim 1.5 MetaMod plugin for a while now, and it's just about the best thing since, well, sliced bread. However, after I upgraded to BotAim 2, my server crashes after each map change. Not only that, but random bots turn invisible through the course of each round o_O

I really hate to point fingers and blame it on the plugin, as it is most likely my own fault that this is happening. I just can't seem to find out what the problem is. I initially just replaced the BotAim 1.5 dll with the BotAim 2 one, and ran the server as usual. After experiencing the problem, I commented all plugins out of MetaMod's plugins.ini except for PODBot 2.6 mm and BotAim 2. I thought the problem might have been caused by one of my AMX Mod X plugins, or even a conflict of some sort with RealBot, which I was also running on my server at the time. Even after doing this, however, the problem persists.

I can't figure it out. A few rounds into the game, random bots on each team suddenly turn completely invisible. Also, as I said before, the server crashes shortly after a map changes. For now, I'm just sticking with BotAim 1.5, which still seems to work flawlessly for me. It's a shame, since BotAim 2 seems like such a great improvement.

If anyone can help, I'd really appreciate it.
Thanks
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#2)
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: BotAim 2 crashes my server! - 21-02-2005

Windows or Linux ?

Does it crash with the default aiming settings ?

There is no safety check for the settings, and the aiming equation can happen to enter in "resonance" and produce vector overflows...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#3)
The Goomba Mattress
Member
 
The Goomba Mattress's Avatar
 
Status: Offline
Posts: 45
Join Date: Mar 2004
Location: The Mushroom Kingdom
Default Re: BotAim 2 crashes my server! - 21-02-2005

Windows.

And all setting are currently on the defaults.
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#4)
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: BotAim 2 crashes my server! - 21-02-2005

yea I was crashing with pbmm and botaim2 but it only happens when both plugins are loaded in the plugins.ini..
I commented out botaim2 then did "meta load addons/botaim/dlls/botaim_mm.dll" and there was no crash..
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#5)
The Goomba Mattress
Member
 
The Goomba Mattress's Avatar
 
Status: Offline
Posts: 45
Join Date: Mar 2004
Location: The Mushroom Kingdom
Default Re: BotAim 2 crashes my server! - 21-02-2005

Just finished trying the meta load method, and still no luck. Bots still disappear and the server still crashes

As much as I hate to put the blame on it, I'm convinced there is something wrong with the plugin itself. That, or my machine is screwy. Any ideas, PMB?

I apreciate the help.
Thanks
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#6)
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: BotAim 2 crashes my server! - 21-02-2005

There's nothing wrong in putting the blame on me

I must have forgotten to check something. I'll have to dig into that again. Thanks for your patience



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#7)
The Goomba Mattress
Member
 
The Goomba Mattress's Avatar
 
Status: Offline
Posts: 45
Join Date: Mar 2004
Location: The Mushroom Kingdom
Default Re: BotAim 2 crashes my server! - 21-02-2005

Just make sure you keep us updated.

With all the work you've already put into this plugin, it would be a shame if it turned out less than perfect.

UPDATE: Upon further investigation, I discovered that the problem with the bots turning invisible was not caused by the BotAim 2 plugin. I had a mixup and had my MetaMod plugins.ini opened in two different Notepad windows. In other words, AMX actually was running when I thought it wasn't. :o A rogue AMX plugin was apparently causing the problem, and I have since fixed it. Nothing gets by this hard-boiled detective.

However, BotAim 2 is indeed what is still causing the server to crash, so we're not a-ok just yet. I'm relying on you PMB!

Last edited by The Goomba Mattress; 22-02-2005 at 02:12..
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#8)
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: BotAim 2 crashes my server! - 22-02-2005

Would you mind trying this plugin DLL ?
Attached Files
File Type: zip botaim_mm.zip (31.1 KB, 426 views)



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#9)
The Goomba Mattress
Member
 
The Goomba Mattress's Avatar
 
Status: Offline
Posts: 45
Join Date: Mar 2004
Location: The Mushroom Kingdom
Default Re: BotAim 2 crashes my server! - 22-02-2005

Works like a charm!

I've been running it for a few hours now without a single problem. You're a genius.

May I ask what the problem was?
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#10)
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: BotAim 2 crashes my server! - 23-02-2005

Probably an angle overflow

I added angle wrapping checks everywhere, all the angles in a row before modifying them, and all the angles in a row again after botaim2 changed them.

Can you confirm it still works okay after a few more hours testing ? If you tell me it's working well enough for you I'll make a new release



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