Seriously sources? I bet this can be easily done via edit tibia.dat and items.otb files.I see 2 approaches XD
1st: make a script that checks if player is on snow, if is on snow then do addspeed +xxx (you will need to know how much snow decreases your speed)
2nd: Edit sources
hmm if i edit walk speed it may only make speed in all floors? or can i just make it speed up in snow floor?Edit walk speed in tibia.dat
well mate i really greatful that you can do it for me but can you explain i want to learn myself how do do it so next time i dont have to askI can do it for you in like 2 minutes.
Hmm wow i did not knew it was so hard to do it, what chould i do the easiyst way ?Both he DAT file and OTB file have to be edited and they both have to match. If you do not do this your Client will crash whenever it encounters snow.
There is nothing that nightmarish about building a script like this, the server checks what tile you are on regardless how do you think it knows what speed to set the player to when it walks on a tile anyway?Easiest: Make a quick script like Xanteria said, or do it in the source code. However this is going to be a real nightmare because you will have a script checking every player for every step they make. If its not made well it will being your server to its need because this script will be executing thousands of times every minute.
Best: Edit DAT and OTB; dont forget to distribute this edited DAT file in a "custom client"
There is nothing that nightmarish about building a script like this, the server checks what tile you are on regardless how do you think it knows what speed to set the player to when it walks on a tile anyway?
I've created a similar script and could alter it to check for the players current speed and then set it to that speed when the player walks on the tile the script would be not more then (with proper indentation for clarity) 6 lines of code without having to set any action or unique id's not everything has to be complicated.
But lets let matti450 make an attempt at coding it rather than just giving him the answer straight away.