View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001236 | FSSCP | scripting | public | 2007-01-21 08:16 | 2007-02-05 05:06 |
| Reporter | Nukebomb Overkill | Assigned To | WMCoolmon | ||
| Priority | normal | Severity | minor | Reproducibility | random |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.6.9 | ||||
| Summary | 0001236: extra line breaks sometimes prevent game run | ||||
| Description | on 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. | ||||
| Tags | No tags attached. | ||||
|
|
Do you have an example script? (Preferably short) |
|
|
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 |
|
|
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. |
|
|
Closing this for now, then. |
| 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 |