View Issue Details

IDProjectCategoryView StatusLast Update
0004870Spring engineGeneralpublic2015-07-02 13:24
Reporterjamerlan Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionnot fixable 
Product Version99.0+git 
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.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

hokomoko

2015-07-02 11:52

developer   ~0014830

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

2015-07-02 13:01

reporter   ~0014831

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

2015-07-02 13:03

developer   ~0014832

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

Kloot

2015-07-02 13:23

developer   ~0014833

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.

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