View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004870 | Spring engine | General | public | 2015-07-02 02:35 | 2015-07-02 13:24 | ||||
Reporter | jamerlan | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | not fixable | ||||||
Product Version | 99.0+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004870: bomber with -nan HP - impossible to kill | ||||||||
Description | orange 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? | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hokomoko (developer) 2015-07-02 11:52 |
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) 2015-07-02 13:01 |
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) 2015-07-02 13:03 |
This error is probably only present in the debug build, so it's possible you haven't fixed it after all. |
Kloot (developer) 2015-07-02 13:23 |
http://imolarpg.dyndns.org/trac/balatest/changeset/3721 math.huge is math::SimplePositiveInfinity which will infect the engine with NaN's if passed to callouts. |
![]() |
|||
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 |