Shadow Ranqe
June 18th, 2010, 11:43
Okay So I finally figured out where I was going wrong with my old code. The client part was coded right, it was what I put in the server.
// mod/admin level crown fix -bakatool
if (playerRights == 3)
out.write(6);
else if (playerRights == 2)
out.write(2);
else if (playerRights == 1)
out.write(1);
else if(donator == 1 && playerRights == 0)
out.write(7);
else if(theowner == 1 && playerRights == 0)
out.write(5); <--------------------WHAT SHOULD THAT BE?
else
out.write(playerRights);
out.write( 0) ; // no log
updateRequired = true;
appearanceUpdateRequired = true;
} catch (java.lang.Exception __ex) {
// error at finalizer means auto destruct no exceptions
// -bakatool
disconnected = true;
destruct();
}
}
out.write(5); is what I changed it to. It was out.write(7); and it would show the donator crown. And I don't know what it's writing out O_o What should I change/add?
// mod/admin level crown fix -bakatool
if (playerRights == 3)
out.write(6);
else if (playerRights == 2)
out.write(2);
else if (playerRights == 1)
out.write(1);
else if(donator == 1 && playerRights == 0)
out.write(7);
else if(theowner == 1 && playerRights == 0)
out.write(5); <--------------------WHAT SHOULD THAT BE?
else
out.write(playerRights);
out.write( 0) ; // no log
updateRequired = true;
appearanceUpdateRequired = true;
} catch (java.lang.Exception __ex) {
// error at finalizer means auto destruct no exceptions
// -bakatool
disconnected = true;
destruct();
}
}
out.write(5); is what I changed it to. It was out.write(7); and it would show the donator crown. And I don't know what it's writing out O_o What should I change/add?