Hey guys. At the beginning I wanted to say that I do really suck at programming well I hope it will be better. So now, I wanted to implement some kind of perma morph on my server. I've found custom script to make it working and it looks like this http://pastebin.com/f621dL1T. On a forum which I found it there was a simple guide which just said to replace InitDisplayIds(); with this code in Player.cpp. I've found two lines like this there, but I've found information that I have to look in function LoadFromDB. So I do replace it there, but I'm not sure if I did it right. That's how my code looks like:
Before replace: http://scr.hu/0j3a/2bf2l
After replace: http://scr.hu/0j3a/tllw0
I just want to know if it's ok.