I looked at the DB to see how I could work this in with minimal structure changes. And am running some test code right now.
I am currently looking at a command:
#bot armorcolor <slot> <color>
This will write to the botinventory and alter the color column. Simple enough. Will most likely require a redying when the armor item changes, but bots require no regeants so shouldnt be an issue.
My question is: Does anyone know how to translate the color ##s?
For instance "4280012197" is used quite a bit. It is a 10 digit number. So it isn't R ### B ### G ### which is what I was hoping. Any ideas?
I can always summon some prismatic dyes and note changes as I mess with a piece of armor and derive what is happening but figured someone would know.
Criimson
EDIT: I am posting some code changes to the "Server Code Submissions" section later tonight and will add this if I finish it.
|