This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
raF
Hello guys. I am using Service NPC and AIO System, both by SweeTs. The problem is that i can not add AIO as service. (1. & 2.)
Here is the code, but I am missing the most important - doAio method.
// AIO Items int aioItemId = 57; int aioItemCount = 10;else if (event.equals("setaio")) { if (!player.isAio()) { if (st.getQuestItemsCount(aioItemId) >= aioItemCount) { st.takeItems(aioItemId, aioItemCount); 1. // player.setAio(true); 2. // player.setEndTime("aio", 1); player.setTarget(player); player.broadcastPacket(new MagicSkillUse(player, 5103, 1, 1000, 0)); player.broadcastUserInfo(); return "AioServices-Success.htm"; } return "AioServices-NoItems.htm"; } return "AioServices-AlredyNoble.htm"; }8 answers to this question
Recommended Posts