Invader: arcade strategy game
Re: Invader: arcade strategy game
the newer version work 100% for me. And this version is much better.
Re: Invader: arcade strategy game
I had played invader p2 | p3 for a while , it often kick me out in my slow PC.
I add print to view what's happend:
And I found arr==nil is a bug, But I have no iead about how and when arr means and became nil.
So I hard code (cheat code ?) like this :
And now I can play to success, once in console I have seen 12 times nil (fast large)
How can I fix the right place?
I add print to view what's happend:
Code: Select all
local newamount = math.max(sel.pop-dt * ARROW_SPEED, 0.01) --line152
if arr==nil then print("arr=nil") end
if sel.pop==nil then print("sel.pop=nil") end
if newamount ==nil then print("newamount") end
And I found arr==nil is a bug, But I have no iead about how and when arr means and became nil.
So I hard code (cheat code ?) like this :
Code: Select all
if arr ~=nil then
arr[3] = arr[3] + sel.pop - newamount --zdx add if then , found arr==nil error --line 153
end
How can I fix the right place?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Invader: arcade strategy game
Interesting. I have no idea, and frankly no time to fix this. Thanks for the effort, the results will probably be very useful when I get around to fixing it.
Help us help you: attach a .love.
Re: Invader: arcade strategy game
Reminds me of Lords of Space.
Woah, that's been more than three years.
Woah, that's been more than three years.
Who is online
Users browsing this forum: Amazon [Bot] and 0 guests