it's also possible that the sprites were renamed at some point since it appears the default crowns were replaced, and only part of the code was changed to replace them. in the client I'm looking at the crown admin crown is named "MODICONS 2.PNG" is that the same for yours? I point this out because in client.java there's this section of code in the client I'm looking at:
Code:
for(int i = 0; i <= 6; i++){
modIcons[i] = new Sprite("Player/MODICONS "+i+"");
}
for(int i = 0; i <= 6; i++){
chatImages[i] = new Sprite("Player/MODICONS "+i+"");
}
and in my TextDrawingArea.java there's (you said you don't have the "startImage" variable, so yours may look different)
Code:
if (effectString.startsWith(startImage)) {
try {
int imageId = Integer.valueOf(effectString.substring(4));
Sprite icon = chatImages[imageId];
int iconModY = icon.maxHeight;//maxHeight
this tells me if the sprites names were changed, and only the path for modicons was changed and chatimages wasn't, you'd probably be facing the issue you currently are.
After looking through what you sent me, it appears the above was correct.
Client.java replace:
Code:
chatImages[i] = new Sprite("Player/icon "+i+"");
with
Code:
chatImages[i] = new Sprite("Player/MODICONS "+i+"");
That enables the crowns