Raised This Month: $51 Target: $400
 12% 

[Fixed] Bazooka Run time error


  
 
 
Thread Tools Display Modes
Author Message
Winged Dragon
BANNED
Join Date: May 2005
Location: Egypt
Old 05-30-2005 , 15:14   [Fixed] Bazooka Run time error
#1

[AMXX] Run time error 11 (divide) on line 480 (file "sh_bazooka.sma").
CVS 1.18
AMXX 1.01
METAMOD 1.17.4
CS
Winged Dragon is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-30-2005 , 15:42  
#2

You must post correctly in Bug Reports, read the rules supply the info or this gets ignored - http://forums.alliedmods.net/showthread.php?t=31346
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-30-2005 , 16:10  
#3

this *should* fix it, but you still need to provide all the info please.

Code:
    length = sqroot(radarvec1[0]*radarvec1[0]+radarvec1[1]*radarvec1[1]+radarvec1[2]*radarvec1[2])     if (length == 0) length = 1

thats right around line 480, the second line in the paste above I added.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Winged Dragon
BANNED
Join Date: May 2005
Location: Egypt
Old 06-03-2005 , 00:11  
#4

ok, big thnx , it works fine now.
Winged Dragon is offline
 



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


All times are GMT -4. The time now is 20:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode