Abyss-kon force pop nm (help)

Post Reply
shadowuz
Posts: 26
Joined: Mon May 18, 2015 9:46 am

Abyss-kon force pop nm (help)

Post by shadowuz » Fri Jul 24, 2015 11:00 am

Code: Select all

-----------------------------------
-- Zone: Abyssea-Konschtat
--  NPC: ??? (qm)
-- Spawns Ashtaerth the Gallavexd
-----------------------------------

require("scripts/globals/status");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
    if (trade:hasItemQty(2914,1) == false) then
        -- Player is missing at least one required item.
        -- Inform payer what items they need.
        player:startEvent(1010, 2914);
    elseif (GetMobAction(16838718) == ACTION_NONE) then
        -- mob not already spawned from this
        if (trade:hasItemQty(2914,1) and trade:getItemCount() == 1) then
            -- Player has all the required items so Spawn NM. 
            -- Despawn after inactive for 180 sec (pt has to reclaim within 3 min of a wipe)
            SpawnMob(16838718, 180):updateEnmity(player); 
            player:tradeComplete();
        end
    end
end;

haveing trouble getting this to work not sure if it from me copying the pm or the code itself
the game server error i get is:
[24/Jul] [10:57:32][1;31m[Error][0m [1;31mluautils::GetMobAction: mob <16838718> was not found

User avatar
tabitaru
Posts: 99
Joined: Sun Apr 12, 2015 4:49 am

Re: Abyss-kon force pop nm (help)

Post by tabitaru » Fri Jul 24, 2015 3:05 pm

!
Last edited by tabitaru on Sun Oct 18, 2015 7:13 am, edited 1 time in total.

shadowuz
Posts: 26
Joined: Mon May 18, 2015 9:46 am

Re: Abyss-kon force pop nm (help)

Post by shadowuz » Fri Jul 24, 2015 4:58 pm

thx that fixed it, now just gotta find a site that has all mobs/nm's lvls on most of sites i've found has them as ???

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: Abyss-kon force pop NM (help)

Post by TeoTwawki » Fri Jul 24, 2015 5:39 pm

ffxidb can get you a lot of mob/drop info and links back to the wiki's. In general anything quest/mission guide style is better at ffxiclopedia and math related will be better at BG wiki, but both are missing a lot. Your going to find that mob LV and other stats are missing from all possible places you can look for many mobs, so you will have to guesstimate sometimes.

Note: The 3rd wiki, Gamer Escape, is not much more than a duplicate of an outdated version of ffxiclopedia being as it is a "fork" run by the folks who started ffxiclopedia.. Since ffxiclopedia doesn't see much updating anymore, this gives you the choice of avoiding either that moron Charitwo or the vile Wikia!
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

Post Reply