.:: 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
Re: BotAim 2 crashes my server!
Old
  (#11)
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! - 23-02-2005

Everything seems to be working just fine.

I went ahead and loaded up all of the Metamod plugins I had disabled in order to test BotAim 2 with PODBot 2.6 (namely RealBot, AMX, and JabaTV) to see if they were causing the problem. I'm happy to say the server is still going strong after a number of hours of playing. I've tried just about everything I can to replicate the problem, but the plugin sems to be working perfectly.

I'll continue trying different things with the bots to see if the problem happens again, but I'm almost 100% sure we're good to go for a new release.

Nice work!

Last edited by The Goomba Mattress; 24-02-2005 at 01:36..
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#12)
robbob4
Member
 
Status: Offline
Posts: 117
Join Date: Jan 2005
Default Re: BotAim 2 crashes my server! - 24-02-2005

fixed my server! it was causing my bots to crash on bot plant or defuse. I resolved it by isntalling the updated verison of this and deleted the pvp and pxp files of podbot mm.


  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#13)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: BotAim 2 crashes my server! - 24-02-2005

These invisible bots (and also players) are made by gore plugin. Execatly - the problem is , when someone does a headshot or knifekill on the bot/player. Since next round he stays invisible. It's because of this line in Your gore plugin.
Code:
static fx_trans(player,amount) 
{ 
   set_user_rendering(player,kRenderFxNone,0,0,0,kRenderTransAlpha,amount) 
   return PLUGIN_CONTINUE 
}
Becasuse of some reason the rendering isn't reseted at the player respawn.
The solution is change a bit the function event_respawn in gore plugin in this way (add the line with 'set_user_rendering'):
Code:
public event_respawn(id) 
{ 
   gHealthIndex[id] = get_user_health(id) 
   set_user_rendering(id,kRenderFxNone,255,255,255,kRenderNormal,16) 
   return PLUGIN_CONTINUE 
}
After this You need to recompile the plugin, copy its recompiled version (gore.amx) to amx\plugins and start the server again.

[EDIT] Pierre, how many times I need to say this CODE function still doesn't work correctly? 'kRenderTransAlpha" and 'kRenderNormal' - they should be one words (not divided). And bolding in 'code' and in 'php' doesn't work.
[/EDIT]

Last edited by KWo; 24-02-2005 at 09:58..
  
Reply With Quote
Re: BotAim 2 crashes my server!
Old
  (#14)
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! - 24-02-2005

I hear you, KWo... but...
  • The PHP tags are the ones from vBulletin, I did not change them at all
  • The CODE tags were made by me based on the code for the PHP tags, with some improvements for C/C++ syntax (the original CODE tags from vBulletin were roughly equivalent to QUOTE).
  • Both of these rely on the PHP function highlight_string(), which does all the job of putting colors on a code string. This is an intrinsic function of PHP, I cannot change it
What happens in your case was that the line
Code:
set_user_rendering(player,kRenderFxNone,0,0,0,kRenderTransAlpha,amount)
has no space in it and is thus considered as one single word ; but, since it exceeds the maximum line width PHP attempts to cut it by the 73th character.
If you had put spaces
Code:
set_user_rendering (player, kRenderFxNone, 0, 0, 0, kRenderTransAlpha, amount)
it would have worked



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
  (#15)
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! - 24-02-2005

I have made a new release of botaim2. Same URL



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
  (#16)
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! - 24-02-2005

Thanks for the info KWo. I've fixed the problem with the bots disappearing since my last post. Since I'm no coder, though, I just got myself a new gore plugin.

I'll keep that in mind if anyone ever has any questions about it on the AMX Mod X board.
  
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