Error loop run out of limit
#2

Okay so lets take a look..

Firstly, You're saying..
i = 0..
While i < 5001
Count++,

You're then getting House Info[i]
i = 0..

You're basically telling it to destroy ID's that don't exist..

So It's looking through all "HouseInfo[i]"
an If It doesn't find a house that matches [i]..
It will stop an skip to the end...

You should define the maximum number of houses when a player logs in...
So when your server starts up..
It should count each house an assign an ID.
then you call the house ID its self..

So try this...
PHP код:
for(new 0HouseInfoi++) { 
That's just guess code..
because I have no way of knowing how your enum / array structure is setup.
Reply


Messages In This Thread
Error loop run out of limit - by meocahat - 11.07.2015, 03:59
Re: Error loop run out of limit - by Prokill911 - 11.07.2015, 06:21
Re: Error loop run out of limit - by DarkLouis - 11.07.2015, 08:08
Re : Error loop run out of limit - by KillerDVX - 11.07.2015, 12:42
Re: Error loop run out of limit - by meocahat - 11.07.2015, 14:25
Re: Error loop run out of limit - by liquor - 11.07.2015, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)