Raised This Month: $ Target: $400
 0% 

error help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-27-2012 , 20:55   Re: error help
Reply With Quote #7

Quote:
Originally Posted by AngeIII View Post
check your arrays sizes.

falling_speed[id], PlayerLevel[id],exp[id],LEVELS[PlayerLevel[id]], LEVELS[PlayerLevel[id]] - exp[id]
some of them is wrong.
you try to call cell number Y but array size is X and Y>=X (last index number of array X is X-1), array[32]=first index 0 last 31.

Array sizes are not likely the issue (meaning making the array bigger won't fix the issue). He needs to prevent indexing arrays with values larger than the size of the array.

Because it's not this simple, we need the WHOLE code.
__________________

Last edited by fysiks; 12-27-2012 at 20:55.
fysiks 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 13:44.


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