296297298299300301302303304305306
} private void removeSkillsPage(L2PcInstance activeChar, int page) { //TODO: Externalize HTML L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;
385386387388389390391392393394395
target = null; } private void showMainPage(L2PcInstance activeChar) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;
412413414415416417418419420421422
target = null; } private void adminGetSkills(L2PcInstance activeChar) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;
458459460461462463464465466467468
player = null; } private void adminResetSkills(L2PcInstance activeChar) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;
515516517518519520521522523524525
target = null; } private void adminAddSkill(L2PcInstance activeChar, String val) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { if(target==activeChar || (target!=activeChar && activeChar.getAccessLevel().getLevel()<3))
598599600601602603604605606607608
target = null; } private void adminRemoveSkill(L2PcInstance activeChar, int idval) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;
643644645646647648649650651652653
target = null; } private void adminAddClanSkill(L2PcInstance activeChar, int id, int level) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;
7071727374757677787980
* @param command * @param activeChar */ private void snoop(String command, L2PcInstance activeChar) { L2Object target = null; if (command.length() > 12) { target = L2World.getInstance().getPlayer(command.substring(12)); } if (target == null)
112113114115116117118119120121122
{ player.sendMessage("You selling items too fast"); return; } L2Object object = L2World.getInstance().findObject(_storePlayerId); if (object == null || !(object instanceof L2PcInstance)) return; L2PcInstance storePlayer = (L2PcInstance) object; if (storePlayer.getPrivateStoreType() != L2PcInstance.STORE_PRIVATE_BUY)
7172737475767778798081
return ADMIN_COMMANDS; } private void disconnectCharacter(L2PcInstance activeChar) { L2Object target = activeChar.getTarget(); L2PcInstance player = null; if(target instanceof L2PcInstance) { player = (L2PcInstance) target;