View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000667 | The Dark Mod | Coding | public | 06.05.2008 02:45 | 29.08.2008 14:15 |
Reporter | SneaksieDave | Assigned To | greebo | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | SVN | ||||
Fixed in Version | SVN | ||||
Summary | 0000667: Divide by zero error in rand_osc.script | ||||
Description | Each time I turn the player lantern, I get the following three warnings: WARNING: script\rand_osc.script(112): Thread 'idlight_light_lantern_moving_49': Divide by zero WARNING: script\rand_osc.script(113): Thread 'idlight_light_lantern_moving_49': Divide by zero WARNING: script\rand_osc.script(114): Thread 'idlight_light_lantern_moving_49': Divide by zero | ||||
Tags | No tags attached. | ||||
This is due to the lantern light still being a "moving" light with all oscillation frequencies set to 0. I'd suggest making the lantern light a non-moving one. | |
Ah, that makes sense. Okay, I'll take on the fix to the lantern, and when that's finished, will open this back up for a general fix to the script (I assume it's a good idea to handle that for other purposes). | |
I've fixed the problem with the player lantern; it no longer throws the warnings. Now submitting this bug back to the pool for the general fix of the potential for div by zero in the script (low priority; for all I know maybe this exists everywhere in Doom3, and that's why they catch it). |
|
The script is now terminating if all frequencies are zero and a warning is emitted, suggesting to convert this light to a non-moving one. | |
Confirmed for pre- and post- oscillation versions of lamp. | |
Date Modified | Username | Field | Change |
---|---|---|---|
06.05.2008 02:45 | SneaksieDave | New Issue | |
06.05.2008 05:17 | greebo | Note Added: 0001195 | |
06.05.2008 05:18 | greebo | Status | new => acknowledged |
06.05.2008 18:18 | SneaksieDave | Status | acknowledged => assigned |
06.05.2008 18:18 | SneaksieDave | Assigned To | => SneaksieDave |
06.05.2008 18:19 | SneaksieDave | Note Added: 0001196 | |
06.05.2008 18:42 | SneaksieDave | Note Added: 0001197 | |
06.05.2008 18:42 | SneaksieDave | Assigned To | SneaksieDave => |
06.05.2008 18:42 | SneaksieDave | Status | assigned => feedback |
06.05.2008 18:43 | SneaksieDave | Priority | normal => low |
06.05.2008 18:43 | SneaksieDave | Severity | normal => minor |
06.07.2008 07:46 | greebo | Status | feedback => assigned |
06.07.2008 07:46 | greebo | Assigned To | => greebo |
06.07.2008 07:47 | greebo | Note Added: 0001441 | |
06.07.2008 07:47 | greebo | Status | assigned => resolved |
06.07.2008 07:47 | greebo | Fixed in Version | => SVN |
06.07.2008 07:47 | greebo | Resolution | open => fixed |
29.08.2008 14:15 | SneaksieDave | Note Added: 0001529 | |
29.08.2008 14:15 | SneaksieDave | Status | resolved => closed |