Opened 6 years ago

Closed 6 years ago

#832 closed defect (fixed)

[f=0001701] [UnitScript] Error: division by zero by corcrw

Reported by: Bluestone Owned by: Nixtux
Priority: major Milestone:
Component: BAR Version:
Keywords: Cc:

Description

/give all & move all, doesn't happen instantly/always

Change History (6)

comment:1 by abma, 6 years ago

with a debug build / floating point exceptions enabled:

http://paste.springfiles.com/view/raw/40f60a9e

-> gdb:

$ print script:

http://paste.springfiles.com/view/raw/58020b2f

-> scripts/corcrw.cob

(i hope thats correct)

Last edited 6 years ago by abma (previous) (diff)

comment:2 by abma, 6 years ago

/cheat /give corcrw

attack ground seems to cause this as well...

comment:3 by Bluestone, 6 years ago

Owner: set to Nixtux

comment:4 by abma, 6 years ago

very likely this is causing the error:

http://imolarpg.dyndns.org/trac/balatest/browser/branches/BAR/scripts/corcrw.bos#L127

x*x gets larger then 1000000... baaam!

sorry i'm bos noob, no clue how to fix this. it should be really replaced by lua because the bos compiler is dying i guess. afaik no useable compiler on linux for that :-|

Last edited 6 years ago by abma (previous) (diff)

comment:5 by abma, 6 years ago

Summary: [f=0001701] [UnitScript] Error: division by zero[f=0001701] [UnitScript] Error: division by zero by corcrw

comment:6 by abma, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.