Quests like the one you mention are activated by changing an NPC reference Variable in game.
Some change automatically due to actions of the AIP files in the server.client but some require a hard change which they will retain until changed back.
By hard change I don't mean hard coded. I mean changed one time in the server via a GM command (only in some server versions though)
KTRose has the capability of doing this while in game without a server reboot. Most other versions do not.
You also need to know which NPC needs to be changed in order to activate the quests.
So let's do a little detective work to figure out how to activate the "Santa Suit Heist" that you asked about.
Here is what I did to track this event down.
First of all I look up the quests and find that the quest ID for this one is 5061
Next I look in my dump of all the QSD files to find which QSD file starts that quest. It starts in QE001.qsd from Quest Trigger 5061-01 so we need to find out where that trigger is called.
And that's where I run out of options on this one in the QSD. There is no further mention of trigger 5061 in any of the QSDs or AIP.
But that isn't the end of it. We have other avenues to explore. The CON files. As I recall we usually talk to Judy in Zant in order to begin this quest chain so let's look at her CON file.
(Yeah it's kind of complicated finding this stuff out)
So anyway Judy uses EM01-101.con (you can find that in the IFO files if you want) I have a list
so we open the CON and see that Judy needs to have this option enabled
"
Wow, is that a Snow Crystal you have there? If you give me one of those, I'll send you to Santa's Planetoid. So would you like to fly over there?"
Unfortunately it is disabled right now by calling LUA function
TA_hideMenu on loadup of the CON
We need to change the CON file such that the LUA script on start is
TA_5062_start(hID)But that isn't all. You chose a really complicated quest
That script will only get you to Santa's Planetoid. And it will also only work if the player has a snow crystal in their possession. Those do not normally drop so we have to figure that out first. The most likely place to find this is going to be in the AIP files.
Snow crystal has the id 12416 (from LIST_NATURAL.STB) so we look in all the AIPs to find out if it is dropped there.
And we find that pretty much every monster has the following code in their AIP file
-
- Select ObjVar reference by NPC number. refvar = 1201
- Check ObjVar[1201][0] = 304
- Drop one of these items 12416 Item has no owner
-
That tells us that we need to set NPC variable [1201][0] (otherwise known as a dialog id) to a value of 304 to kick off this event
NPC 1201 is Judy in Zant (no big surprise there)
the easiest way to set this is by editing your database. open table list_npc and change the dialogid for Judy (1201) to 304 then restart the server.
That will get the ice crystals dropping
If you are running KTRose then you can do this ingame with the GM command
/dialog 1201 304 WARNING. Do not abuse that command. if you do it wrong you can cause some serious damage. Luckily all it will take is a server reset to fix it though.If you change the DB value make sure you remember what to set it back too after your event is over.
Now we move on to Santa as he is the dude who will actually give you the quest.
Santa uses EM01-105.CON so we open that and look for his dialogs. One of them will be
You?re the hero that has been collecting Snow Crystals, right? I've been looking for you! Would you please do me a favor? We've been putting the Rudolphs under rigorous training recently, so some of them ran away and stole the Elifedora that's used to power the Santa Factory. Without any fuel to power the Santa Factory, Christmas is ruined!And then what do I discover?
This is completely the wrong quest!!!!!!
I guess I just showed you how to start the Elfidora collection quest instead of the Santa Suit Heist so back to the drawing board of the investigation.
It seems that the one who actually starts this quest is
[event] Stand in SantaHis CON file is EM01-100.CON and it clearly shows the correct text. The LUA in that CON is clearly what starts the 5061 quest
- function AT_5061_start()
- if (QF_checkQuestCondition("5061-01") == 1) then
- QF_doQuestTrigger("5061-01");
- end
- end
I think that all you will have to do is spawn this NPC to make the quest work.
And that is where I hit a brick wall because I cannot find any reference of this NPC in any version of rose that I have installed. Strange that I do have all the files associated with him though. I can only assume that he was added for a short time and then removed completely by NARose.
Sorry. Can't help further. Hopefully you can follow the trail that I left here though so you can see what is sometimes involved with these events.
Also note that none of this will work with rev 80 since it doesn't parse QSD or AIP files at all in the server.