2023-04-01 10:32 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004870Spring engineGeneralpublic2015-07-02 13:24
Assigned ToKloot 
StatusclosedResolutionnot fixable 
Product Version99.0+git 
Target VersionFixed in Version 
Summary0004870: bomber with -nan HP - impossible to kill
Descriptionorange bomber at 18:15 - impossible to kill
replay here: https://www.dropbox.com/s/h4dxkx1mk0a0lwr/20150702_021457_DeltaSiegeDry_99.0.1-42-g64c24b0%20develop.sdf?dl=0

is it a game or engine bug?
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




hokomoko (developer)

I get errors like:
[f=0006896] Error: LuaRules::RunCallIn: error = 2, UnitDestroyed, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_target_on_the_move.lu..."]:275: bad argument 0000004 to 'spSetUnitTarget' (number expected, got NAN (check your code for div0))
stack traceback:
    [C]: in function 'spSetUnitTarget'
    [string "LuaRules/Gadgets/unit_target_on_the_move.lu..."]:275: in function 'removeUnit'
    [string "LuaRules/Gadgets/unit_target_on_the_move.lu..."]:336: in function 'UnitDestroyed'
    [string "LuaRules/gadgets.lua"]:1257: in function <[string "LuaRules/gadgets.lua"]:1254>
    (tail call): ?

all throughout the game and in the 18:15 mark I desync.

I think it might be the game.


jamerlan (reporter)

hokomoko, which BA version are you using? that error should be fixed in the version we used. And we had that error during the games before and it was not causing anything bad


hokomoko (developer)

This error is probably only present in the debug build, so it's possible you haven't fixed it after all.


Kloot (developer)


math.huge is math::SimplePositiveInfinity which will infect the engine with NaN's if passed to callouts.

-Issue History
Date Modified Username Field Change
2015-07-02 02:35 jamerlan New Issue
2015-07-02 02:35 jamerlan File Added: infolog.txt
2015-07-02 11:52 hokomoko Note Added: 0014830
2015-07-02 13:01 jamerlan Note Added: 0014831
2015-07-02 13:03 hokomoko Note Added: 0014832
2015-07-02 13:23 Kloot Note Added: 0014833
2015-07-02 13:24 Kloot Status new => closed
2015-07-02 13:24 Kloot Assigned To => Kloot
2015-07-02 13:24 Kloot Resolution open => not fixable
+Issue History