Let me start by saying I am a beginner on working on maplestory servers. And I am somewhat clueless about OOP programming. (Google is my best friend)
Ok so, I wanted to fix the 1st drill hall on a Solaxia source for Cygnus knights.
Once the quest is accepted you head to the drill hall and upon trying to enter the portal it gives you an error where it tells you that you need the quest.
I was like, Oh okay ill look at the portal script.
Everything is fine here as long as the 20701 status == 1Code:var mapp = -1;var map = 0; function enter(pi) { if (pi.getQuestStatus(20701) == 1) { map = 913000000; } else if (pi.getQuestStatus(20702) == 1) { map = 913000100; } else if (pi.getQuestStatus(20703) == 1) { map = 913000200; } if (map > 0) { if (pi.getPlayerCount(map) == 0) { var mapp = pi.getMap(map); mapp.resetFully(); mapp.respawn(true); pi.warp(map, 0); } else { pi.playerMessage(5, "Someone is already in this map."); } } else { pi.playerMessage(5, "Hall #1 can only be entered if you're engaged in Kiku's Acclimation Training."); } }
Yet i'm getting at the bottom of the Else tree.. Which means there is no status.
Okay! Neat, this is also the quest ID! Should be easy to fix if I go in the quest and add a status. Lets go see in the scripts folder... And nope. Nothing there.
Then i thought to myself.. It has to be somewhere? The client sends packets and the quest goes in the quest log?
I think there's something I clearly don't understand.
EDIT: I decided to find out the NPC that gives the quest, 1102000
I do find his entry in the WZ xml but again, there doesn't seem to be any server side script for him.


Reply With Quote![[Solved] Confused with quest scripts](http://ragezone.com/hyper728.png)


