VoidWatch
Posted: Wed Sep 16, 2015 11:22 pm
what did i do wrong
errori get is :
[16/Sep] [23:16:53][1;36m[Debug][0m [1;36mparse: SmallPacket is not implemented Type<112>
[0m[16/Sep] [23:16:53][1;37m[Info][0m parse: 05A | 0003 0002 02 from user: Shadow
[16/Sep] [23:17:02][1;37m[Info][0m parse: 01A | 0015 0014 0E from user: Shadow
Code: Select all
-----------------------------------
-- Zone: KRT
-- NPC: ??? (Planar Rift)
-- Spawns Hahava (???)
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,npc)
if (GetMobAction(17555903) == ACTION_NONE) then
-- NM not already spawned from this, so checking KI
if (player:hasKeyItem(CRIMSON_STRATUM_ABYSSITE_IV) and player:hasKeyItem(VOIDSTONE_TEMP)) then
-- Ask if player wants to use KIs
player:startEvent(6000, CRIMSON_STRATUM_ABYSSITE_IV, VOIDSTONE_TEMP);
else
-- Do not ask, because player is missing at least 1.
player:startEvent(6001, CRIMSON_STRATUM_ABYSSITE_IV, VOIDSTONE_TEMP);
end
end
end;
-----------------------------------
-- onEventUpdate
-----------------------------------
function onEventUpdate(player,csid,option)
-- printf("CSID2: %u",csid);
-- printf("RESULT2: %u",option);
end;
-----------------------------------
-- onEventFinish
-----------------------------------
function onEventFinish(player,csid,option)
-- printf("CSID: %u",csid);
-- printf("RESULT: %u",option);
if (csid == 6000 and option == 1) then
-- Spawn NM, Despawn after inactive for 3 minutes (pt has to reclaim within 3 mins of a wipe)
SpawnMob(17555903, 180):updateEnmity(player);
player:delKeyItem(VOIDSTONE_TEMP);
end
end;
errori get is :
[16/Sep] [23:16:53][1;36m[Debug][0m [1;36mparse: SmallPacket is not implemented Type<112>
[0m[16/Sep] [23:16:53][1;37m[Info][0m parse: 05A | 0003 0002 02 from user: Shadow
[16/Sep] [23:17:02][1;37m[Info][0m parse: 01A | 0015 0014 0E from user: Shadow