View Single Post
  #8  
Old 02-09-2014, 02:33 AM
DrakePhoenix
Fire Beetle
 
Join Date: Jan 2014
Posts: 22
Default

Quote:
Originally Posted by Uleat View Post
It's sounding like this is turning into a 'shroud' pre-cursor.

Just remember, that not all npc types have textures for armor types.

So, if you try changing their armor, you may run into these issues all over again..though, you can probably just check to see if the npc type is a
playable race before sending a wearchange packet.
I was thinking of making that check in the command process itself. Basically, if textureparam is provided, then check race to see if it is standard playable race or not. If it is standard playable race, then check textureparam value against acceptable values, and if it is not an acceptable value, then send error message to client and provide information about acceptable values. I know some acceptable values include 0, 1, 2, 3, 255, and some robe textures, like 16. I've seen a list somewhere before, but I can't remember where and can't seem to find it (guess I shouldn't have cleared my internet history this morning). If anyone knows where to find such a list, please let me know.

Then for non-standard races, I'm going to add in a "#bot help spawn" command that provides a lot of additional information about the command and how to use it, plus a warning that not all textures will work for all races.

Anyway, this is going to take some work and may or may not be finished before I go back to work on Monday, so I guess we'll see if I get it done before next weekend or not .

Later,
Drake Phoenix
Reply With Quote