Warning: The author of this contribution does not provide support for it anymore.

Snow over phpBB

Having more than six types of flake - Snow over phpBB

Having more than six types of flake

by Dragonwolf » Thu Dec 01, 2011 11:15 pm

Hi, I really like this mod and have used it to make a dedicated Christmas theme, but I had a lot of requests to make it snow other things (such as characters from a popular TV show). Unfortunately your mod won't work with more than 5 pics, no matter how high you increase var flakeTypes. I went ahead and asked on the forum and AmigoJack worked out that there was a small bug in the code (something about 'undefined array elements').

Code: Select all

this.vAmp = this.vAmpTypes[this.type];


Should read:

Code: Select all

this.vAmp = this.vAmpTypes[this.type% this.vAmpTypes.length];


I hope this helps! :D
User avatar
Dragonwolf
Registered User
Posts: 603
Joined: Mon Aug 20, 2007 7:46 pm
Contact:

Re: Having more than six types of flake

by AmigoJack » Thu Dec 08, 2011 7:32 am

He's refering to this topic ;)
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.
User avatar
AmigoJack
Registered User
Posts: 5639
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact: