View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004223 | Spring engine | Lua | public | 2013-12-26 17:06 | 2013-12-26 20:00 |
| Reporter | IthoughtWeBannedHim | Assigned To | Kloot | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 95.0 | ||||
| Summary | 0004223: Turn Unitpiece is broken | ||||
| Description | I use the following lua code to create the firestorm effects for the fireflowers in jw. http://paste.springfiles.com/view/99f019c7 Basically is a piece, that gets rotated in 360 steps in a for loop. Each step there is a chance a firesfx is spawned (this is dertimnated by pseudo random nr array, not the lua math.random()). If i use the for loop as it is in the pastebin code.. the fire is spawned from one side only. If i insert a sleep after every Step, the whole thing gets executed correctly. This is how it looked not long ago.. http://springrts.com/phpbb/download/file.php?mode=view&id=8525&sid=ec69ebd11568cf2d46bae7bb082a9325 Assumption: Optimizations kick in? These are after all invisible pieces, who get rotated with a speed of 0, so i guess somewhere those turns are accumulated, and only executed on loopleaving. If thats the case, please add EmitSfx by piece as loobreaking.. Thanks for optimizing hard, were i throw performance out of the window Pica | ||||
| Steps To Reproduce | DL my mod. /cheat /give jfireflower /give bg 2 | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-12-26 17:06 | IthoughtWeBannedHim | New Issue | |
| 2013-12-26 20:00 | Kloot | Note Added: 0012500 | |
| 2013-12-26 20:00 | Kloot | Status | new => closed |
| 2013-12-26 20:00 | Kloot | Assigned To | => Kloot |
| 2013-12-26 20:00 | Kloot | Resolution | open => no change required |