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";
}