Fix for Nine Spirit's Egg Dragon not appearing for TetraSEA.

Newbie Spellweaver
Joined
Oct 9, 2008
Messages
13
Reaction score
3
Hello,
This is simple fix for those who have a problem with the Nine spirit dragon not appearing after losing the nine spirit's egg on TetraSEA.
If you have no problems. Good for you then
Problem:


Replace summondragon.js in scripts > Portal with
Code:
function enter(pi) {
    if (pi.haveItem(4001094)) {
	pi.playerMessage(5, "The Egg of Nine Spirit, which was comfortably nested, has emitted a mysterious light and has returned to its nest.");
	pi.gainItem(4001094, -1);
        pi.spawnNpc(2081008, -6, -227);
    } else {     
    }
}
Save and restart!
There you have it


Additional:
If you wanna block players from entering once the quest has been completed,
Replace dragonNest.js in Scripts > Portal with:
Code:
function enter(pi) {
    if (pi.haveItem(4001094)) {
	if (pi.getQuestStatus(3706) > 0) {
            if (pi.getQuestStatus(3706) > 2) {
	    if (pi.getPlayerCount(240040611) == 0) {
		pi.removeNpc(240040611, 2081008);
		pi.resetMap(240040611);
		pi.playPortalSE();
		pi.warp(240040611, "sp");
	    } else {
		pi.playerMessage(5, "Someone else is already inside in an attempt to complete the quest. Please try again later.");
	    }
            } else {
                pi.playerMessage(5, "The quest for the Nine Spirit's Egg has already been done.");
            }
	} else {
	    pi.playerMessage(5, "You do not have the quest started. Please try again later.");
	}
    } else {
	pi.playerMessage(5, "In order to enter the premise, you'll need to have the Nine Spirit's Egg in possession.");
    }
}
Have a nice day!
 
Newbie Spellweaver
Joined
Mar 12, 2011
Messages
46
Reaction score
2
thanks man
cool release :

its very simple for the guys who know what they are doing