It's nothing ABOUT group, it's about the field named TYPE in the table ACCOUNTS.
Look:
Code:
if(acc.accountType > 4)
player->defaultOutfit.lookType = 266;
else
player->defaultOutfit.lookType = 75;
If player's type is bigger than 4 it'll use outfit looktype 266, else, it'll use 75 (of course just if it's bigger than 0). It's wrong. If > 4 THEN USE 75 else USE 266. So change this part of the code to:
Code:
if(acc.accountType > 4)
player->defaultOutfit.lookType = 75;
else
player->defaultOutfit.lookType = 266;
Hope it works.
Yours,
Rafael Hamdan;