View Single Post
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