Page 7 of 7
Re: Invader: arcade strategy game
Posted: Sat Feb 25, 2012 4:00 pm
by Larsii30
the newer version work 100% for me. And this version is much better.
Re: Invader: arcade strategy game
Posted: Mon Apr 02, 2012 3:54 pm
by cattail
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:
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
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?
Re: Invader: arcade strategy game
Posted: Mon Apr 02, 2012 8:26 pm
by Robin
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.
Re: Invader: arcade strategy game
Posted: Tue Apr 03, 2012 8:52 pm
by Skasi
Reminds me of Lords of Space.
Woah, that's been more than three years.