Raised This Month: $ Target: $400
 0% 

Index out of Bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 12-20-2011 , 15:51   Re: Index out of Bounds
Reply With Quote #3

Oh I'm sorry, I posted the wrong one I will just post the ones relayed to it.

PHP Code:
enum NONE 0MagePaladinNinjaDemon_Hunter}
new 
Race[5][18] = { "None","Mage","Paladin","Ninja","Demon Hunter" }
new 
race_heal[5] = { 100,150,150,150,150 }
new 
LevelXP[153] = { 0,50,125,225,350,500,700,950,1250,1600,                        //10
        
2000,2450,2950,3500,4100,4750,5450,6200,7000,7850,                            //20
        
8750,9700,10700,11750,12850,14000,15200,16400,17750,19100,                    //30
        
20500,20500,21200,21950,23450,25000,27600,29250,30950,32700,                //40
        
34500,36350,38250,40200,44250,46350,48500,50700,52950,55250,                //50
        
57600,57600,60000,62500,65100,67800,70600,73500,76500,79600,                //60
        
82800,86100,89500,93000,96600,100300,104100,108000,112000,116100,            //70
        
120300,124600,129000,133500,138100,142800,147600,152500,157500,162600,        //80
        
173100,178400,183900,195200,201000,206900,212900,219000,225200,232500,        //90
        
238900,245400,252000,258700,265500,272400,279400,286500,293700,301000,        //100
        
316000,323800,331800,340000,348400,357000,365800,374800,384000,393400,        //110
        
403000,412800,422800,433000,443400,443400,454000,464800,475800,487000,        //120    
        
498400,510000,521800,533800,546000,558400,571000,583800,596800,610000,        //130
        
623400,637000,650800,664800,679000,693400,708000,722800,737800,753000,        //140
        
768400,768400,784000,799800,815800,832000,848400,865000,881800,898800,        //150
        
916000,99999999999,999999999999                                                //151    
}
new 
player_class_lvl[33][5]
new 
player_class_lvl_save[33]
new 
player_xp_old[33]
new 
database_user_created[33]
new 
srv_avg[5] = {1,1,1,1,1
The [18] is from the default script. I am not sure why it is there. But with the default one it works so I thought it was better to leave it be. If you suggest to remove it then I will remove it
egbertjan 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 11:49.


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