Dastgir 1246 Posted February 4, 2013 prontera,141,168,5 shop CustomShop948,501:50 - script CustomShop -1,{OnInit:npcshopdelitem "CustomShop",501;for (.i = 22000; .i <= 23030; .i = .i+1){ npcshopadditem "CustomShop",.i,rand(10000000,20000000);}end;} Why this have Infinity Loop Error? Quote Share this post Link to post Share on other sites
0 Ind 945 Posted February 4, 2013 Sometimes I think that if a loop goes on for TOO long it's marked as infinite even if it's really not. I had that problem a few months back, I had to separate my code into 2 different loops. yes thats exactly what it does, if you know you'll loop for long you can usefreeloop(1);to disable the infinity loop fail-safe. Quote Share this post Link to post Share on other sites
0 michaelsoftman 0 Posted February 4, 2013 Sometimes I think that if a loop goes on for TOO long it's marked as infinite even if it's really not. I had that problem a few months back, I had to separate my code into 2 different loops. Quote Share this post Link to post Share on other sites
Why this have Infinity Loop Error?
Share this post
Link to post
Share on other sites