Raised This Month: $ Target: $400
 0% 

AMXX 0.20 TP4 outputs odd runtime errors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-11-2004 , 01:35   AMXX 0.20 TP4 outputs odd runtime errors
Reply With Quote #1

Code:
L 09/10/2004 - 23:08:00: [AMXX] Run time error 10 on line 3297 (plugin "superheromod.amxx")
here is code around this error (this is the very last function in the plugin)

Code:
public createINIFile() {   if ( file_exists(gSHFile) ) delete_file(gSHFile)   write_file(gSHFile,"## NUMLEVELS  - The total Number of levels to award players",0)   write_file(gSHFile,"## XPLEVELS   - How much XP does it take to earn each level (0..NUMLEVELS)",1)   write_file(gSHFile,"## XPGIVEN    - How much XP is given when a Level(N) player is killed (0..NUMLEVELS)", 2)   write_file(gSHFile,"## LTXPLEVELS - Same as XPLEVELS but for Long-Term mode (sh_savexp 1)",3)   write_file(gSHFile,"## LTXPGIVEN  - Same as XPGIVEN but for Long-Term mode (sh_savexp 1)", 4)   // Straight from WC3 - but feel free to change it in the INI file...   write_file(gSHFile,"NUMLEVELS 10" , 5)   write_file(gSHFile,"XPLEVELS   0 100 300 600 1000 1500 2100 2800 3600 4500 5500", 6)   write_file(gSHFile,"XPGIVEN    60 80 100 120 140 160 180 200 220 240 260", 7)   write_file(gSHFile,"LTXPLEVELS 0 100 200 400 800 1600 3200 6400 12800 25600 51200", 8)   write_file(gSHFile,"LTXPGIVEN  6 8 10 12 14 16 20 24 28 32 40", 9) }

the very last "write_file" line is line# 3297

it seems to be getting errors elsewhere but outputs the last line number every time. I had this happen on a hero also, it was reporting the last line as the error line, but I fixed the error elsewhere in the plugin.

Any ideas?

Sorry if this is known already, I looked in the forums and could not find any info. Could not figure out a good way to search for this either.
__________________
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
 


Thread Tools
Display Modes

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 17:26.


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