Great! I got it working! Using a C program to do the reading of the files (which is WAY faster than having PHP do it) and let PHP create the picture, I have successfully hued gumps!
But I have a problem, how do you go about reading the strange hues? The ones from 1152 to 1170 or so. Ingame they display fine, but in my program it reads it with the black colors, displaying a weird gump. Any ideas on this?
PS. Once I finish this, I plan on releasing it so all those people who wanted to use Zulu's MyUO on a PHP platform will be able to.
EDIT: AHHHHHHH!!!!!!
I fixed it!!!! And it's working! Thanks for the help.
