I want to see if one number is divisible by another number
Re: I want to see if one number is divisible by another numb
Great library. I had cron.lua in my game to spawn zombies each few seconds, but it made the game crash seemly randomly. Seems like the garbage collector didn't find the zombie list in use and deleted it (a wild guess, I'm not sure of it). Removing cron.lua fixed the issue, so I ended up with the usual timer thing.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: I want to see if one number is divisible by another numb
I had no idea! You should have sent me the .loveEllohir wrote:Great library. I had cron.lua in my game to spawn zombies each few seconds, but it made the game crash seemly randomly. Seems like the garbage collector didn't find the zombie list in use and deleted it (a wild guess, I'm not sure of it). Removing cron.lua fixed the issue, so I ended up with the usual timer thing.
I will do some tests then.
When I write def I mean function.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: I want to see if one number is divisible by another numb
Unless you removed every reference to that list, that can't be the case. And if you did, you can't blame the GC, since it was impossible to get to that list anyway.Ellohir wrote:Seems like the garbage collector didn't find the zombie list in use and deleted it
Help us help you: attach a .love.
Re: I want to see if one number is divisible by another numb
It was my guess but as I said I was not sure. A shame I didn't save that version, that list became nil after a random time playing and never could figure what was it. But the error stopped when I used a timer instead of cron.lua, at least I got that right.Robin wrote:Unless you removed every reference to that list, that can't be the case. And if you did, you can't blame the GC, since it was impossible to get to that list anyway.
Who is online
Users browsing this forum: Bing [Bot] and 7 guests