We will actually need to see the code and command you are using.
Is it by chance noclip or clientdrop? As most servers these days that have them commands either freeze you, kick you or ban you.
|
hi guys, i was just on my friends server and im second owner on it. and every time i try to use certain commands, my account will freeze and disconnect. is there any way i can fix this so it does not happen ????
if so, please tell me.
thanks for reading
We will actually need to see the code and command you are using.
Is it by chance noclip or clientdrop? As most servers these days that have them commands either freeze you, kick you or ban you.
u need to see if u right 2 u can do command
if its the command codes you need to see, then here they are.
Code:if (command.equalsIgnoreCase("bank") && playerRights > 1 && !isInPitGame()) { openUpBank(); } if (command.startsWith("empty")) { long now = System.currentTimeMillis(); if (now - lastAction < 60000) { sM("You must wait 60 seconds after an action to ::empty!"); lastAction = now; } else { removeAllItems(); } }
show me removeAllItems() and openUpBank() methods.
okay.
Code:public void removeAllItems() { for (int i = 0; i < playerItems.length; i++) { playerItems[i] = 0; } for (int i = 0; i < playerItemsN.length; i++) { playerItemsN[i] = 0; } resetItems(3214); } public void openUpBank() { if(bankPin != 0) { changeText126("@gre@Set", 15105); } else { changeText126("@red@NONE", 15105); } if(!hasPin() || pinCorrect()) { sendFrame248(5292, 5063); resetItems(5064); IsBanking = true; } else { showInterface(7424); } }
i hope that helps
What source are you using? Delta?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |