View Issue Details

IDProjectCategoryView StatusLast Update
0001236FSSCPscriptingpublic2007-02-05 05:06
ReporterNukebomb Overkill Assigned ToWMCoolmon  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionno change required 
Product Version3.6.9 
Summary0001236: extra line breaks sometimes prevent game run
Descriptionon occasion after making changes to a script the game refuses to run. often simply adding or removing an extra return in the scripting.tbl will fix the problem. i used to think it was caused by an ] after a line but i think something else is causing it. last seen on C01142007b.
TagsNo tags attached.

Activities

WMCoolmon

2007-01-21 08:48

developer   ~0007504

Do you have an example script? (Preferably short)

Nukebomb Overkill

2007-01-21 14:02

reporter   ~0007508

not a short one but i can post an excerpt just to explain whats going on

this wont work

if target:isValid() then
    drawdamage(xtarg, ytarg, target.HitpointsLeft, target.HitpointsMax, target.Shields )

    shield = tb.ShipClasses["Shield"]
    player.Class:renderTechModel(100,100,300,300,0,85,0,11)
    shield:renderTechModel(100,100,300,300,0,85,0,20)
    shield:renderTechModel(100,100,300,300,0,-85,0,20)

end

but this will

if target:isValid() then
    drawdamage(xtarg, ytarg, target.HitpointsLeft, target.HitpointsMax, target.Shields )

    shield = tb.ShipClasses["Shield"]
    player.Class:renderTechModel(100,100,300,300,0,85,0,11)
    shield:renderTechModel(100,100,300,300,0,85,0,20)

    shield:renderTechModel(100,100,300,300,0,-85,0,20)

end

Nukebomb Overkill

2007-02-02 15:34

reporter   ~0007579

i dont know if you fixed it but i havent encountered this problem at all in your latest scripting build. you could probly close this bug for now, il let you know if this reapears.

WMCoolmon

2007-02-05 05:06

developer   ~0007595

Closing this for now, then.

Issue History

Date Modified Username Field Change
2007-01-21 08:16 Nukebomb Overkill New Issue
2007-01-21 08:16 Nukebomb Overkill Status new => assigned
2007-01-21 08:16 Nukebomb Overkill Assigned To => WMCoolmon
2007-01-21 08:48 WMCoolmon Note Added: 0007504
2007-01-21 08:50 WMCoolmon Status assigned => feedback
2007-01-21 14:02 Nukebomb Overkill Note Added: 0007508
2007-02-02 15:34 Nukebomb Overkill Note Added: 0007579
2007-02-05 05:06 WMCoolmon Status feedback => closed
2007-02-05 05:06 WMCoolmon Note Added: 0007595
2007-02-05 05:06 WMCoolmon Resolution open => no change required