There is a documented "colors[5]" - on a normal Graal body, it doesn't exist.
Okay, I can live with (seemingly) useless values, but it seems serverside showcharacter npcs need it. For example, this shows up as the default no-colors-set character (red and black outfit with orange skin):
NPC Code:
function onCreated() {
showcharacter();
head = "head0.png";
body = "body.png";
colors[0] = "orange";
colors[1] = "white";
colors[2] = "blue";
colors[3] = "red";
colors[4] = "black";
nick = "Placeholder";
shield = "shield1.gif";
shieldpower = 1;
dir = 2;
}
This, however:
NPC Code:
function onCreated() {
showcharacter();
head = "head0.png";
body = "body.png";
colors[0] = "orange";
colors[1] = "white";
colors[2] = "blue";
colors[3] = "red";
colors[4] = "black";
colors[5] = "";
nick = "Placeholder";
shield = "shield1.gif";
shieldpower = 1;
dir = 2;
}
Displays correctly. Why?
Not sure if this should be in the Tech Support section, move it if you like o.O