Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Pages: 1 2 [3]  All

Author Topic: WeatherGod 0.2 (real time snow/rain)  (Read 22341 times)

0 Members and 1 Guest are viewing this topic.

deadworm222

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 197
  • Wintermute Army
    • View Profile
Re: WeatherGod 0.2 (real time snow/rain)
« Reply #30 on: May 24, 2004, 03:59:44 PM »

True to my habits, I posted that, then went to download a new version of WinRar and then disconnected.

Why do I do stupid stuff like that?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5674
    • View Profile
    • Dead:Code Site
WeatherGod BUG
« Reply #31 on: June 24, 2004, 09:26:32 PM »

I found a bug in the WeatherGod script. The array of snowlakes in initialized incorrectly which results in sort of an unpredictable behaviour. I won't go into details for now, but the final result is very long saving/loading time.
To fix the bug edit the makesnow.script file, go to line 180, and replace the old line:

for(var counter=1; counter<max_flakes; counter=counter+1)

with

for(var counter=0; counter<max_flakes; counter=counter+1)

(change 1 to 0). This should do the trick. Jerrot, please update the package when you have a spare minute, thank you.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 688
    • View Profile
Re: WeatherGod BUG
« Reply #32 on: June 25, 2004, 09:03:34 AM »

Ugh, I'm ashamed... anyway thanks for figuring that out of course. :)

Package and link are updated.
Logged
Mooh!
Pages: 1 2 [3]  All
 

Page created in 0.347 seconds with 22 queries.