Hi guys! im using figment v4 and i hate the members.... so can someone either tell me one of 2 things how to make it to were it makes everyone who logs in a member or how to takr it all out!
Thanks
IMAKELEGENDS!
Hi guys! im using figment v4 and i hate the members.... so can someone either tell me one of 2 things how to make it to were it makes everyone who logs in a member or how to takr it all out!
Thanks
IMAKELEGENDS!
search for this in player.java -
take this code "playerRights = 0; // player rights" and change it to the playerRights you want the player to start with.Code:public Player(int _playerId) {
playerId = _playerId;
KilledBy = new int[PlayerHandler.maxPlayers];
// playerName = "player"+playerId;
playerRights = 0; // player rights
lastPacket = System.currentTimeMillis();
for (int i = 0; i < playerItems.length; i++) {
// Setting player items
playerItems[i] = 0;
}
heres the member part -
still in player.java search for this -
playerIsMember = 1; change it to 0 or 1 to make him/her start as member or without.Code:}
// Setting Welcomescreen information
Calendar cal = new GregorianCalendar();
int day = cal.get(Calendar.DAY_OF_MONTH);
int month = cal.get(Calendar.MONTH);
int year = cal.get(Calendar.YEAR);
int calc = ((year * 10000) + (month * 100) + day);
playerLastLogin = calc;
playerLastConnect = "";
playerIsMember = 1;
playerMessages = 0;
try that, if it doesnt work, ill try see if theres some other code thats the right one lol...
no it didnt work someone help me!! plz
Wtf then that tut was right..:S
Look for:
Change the 0 to a 1Code:outStream.createFrame(249);
outStream.writeByteA(0); // 1 for members, zero for free
outStream.writeWordBigEndianA(playerId);
This is under public void initialize() {
ya but what do i change to a 1? like where at ?