BLM AF2 complete

Post Reply
ex0r
Posts: 83
Joined: Wed Aug 29, 2012 10:08 pm

BLM AF2 complete

Post by ex0r » Tue Sep 11, 2012 11:01 pm

I finished up AF 2 for BLM tonight, by request of Lithorn. Tested, seems to work completely. Let me know if there are any problems i'll fix them.
Attachments
ex0r.patch
(3.65 KiB) Downloaded 235 times

Ezekyel
Developer
Posts: 62
Joined: Sat Jul 21, 2012 11:42 pm

Re: BLM AF2 complete

Post by Ezekyel » Wed Sep 12, 2012 8:52 am

Second part of this quest is missing in your script:
Bring the key to Castle Zvahl Keep and head to the "Ore Door" @(H-7) on first map. Hug the right wall to the first "Iron Bar Gate". Head past it, turn right and continue to the northeastern "Iron Bar Gate." Just before that "Iron Bar Gate" there is an "Ore Door" on the left. Use the key at the "Ore Door" for a cutscene, at which point you will obtain the key item Foe Finder Mark I.
New Gilgamesh Server --> http://gilgamesh.servegame.com

Ezekyel
Developer
Posts: 62
Joined: Sat Jul 21, 2012 11:42 pm

Re: BLM AF2 complete

Post by Ezekyel » Wed Sep 12, 2012 9:42 am

Thank you for your help
See my modifications, i have found some error.
http://code.google.com/p/onetimexi/source/detail?r=1726
New Gilgamesh Server --> http://gilgamesh.servegame.com

ex0r
Posts: 83
Joined: Wed Aug 29, 2012 10:08 pm

Re: BLM AF2 complete

Post by ex0r » Wed Sep 12, 2012 3:28 pm

hmm, afaik the cutscene was done by itself without scripting, didn't even think to include it in the script. Did you fix it, or does it still need to be implemented?

Ezekyel
Developer
Posts: 62
Joined: Sat Jul 21, 2012 11:42 pm

Re: BLM AF2 complete

Post by Ezekyel » Wed Sep 12, 2012 3:34 pm

np i have scripted this part
New Gilgamesh Server --> http://gilgamesh.servegame.com

ex0r
Posts: 83
Joined: Wed Aug 29, 2012 10:08 pm

Re: BLM AF2 complete

Post by ex0r » Wed Sep 12, 2012 3:52 pm

thanks, also I noticed you changed some other stuff I had in, was there a reason why? From the different scenarios I tested, it seems to have worked.

Ezekyel
Developer
Posts: 62
Joined: Sat Jul 21, 2012 11:42 pm

Re: BLM AF2 complete

Post by Ezekyel » Wed Sep 12, 2012 4:44 pm

my modification:
source: http://wiki.ffxiclopedia.org/wiki/Recollections
You do not need Black Mage set as your main job to complete any part of the quest, aside from the first cutscene with Chumimi. You will need to be Black Mage to start it.
lvl and job condition is just needed for the first cs (when you accept the quest)
..Zoning out of the tower is required after finishing the previous quest.
you need to add player:needToZone(true); (previous quest) / player:needToZone() == false

Code: Select all

player:tradeComplete();
After a trade, else item return in your inventory

Code: Select all

player:getVar("recollectionsQuest");
You need to use variable, else player can take second part of the quest without the first

Code: Select all

player:delKeyItem(FOE_FINDER_MK_I);
Delete KI and variable when the quest is finished, add fame too.
for keyitems use variable of the global keyitems.lua (and add require, it's very important)
Add commentary for another scripter ^^
completeQuest is always at the end
New Gilgamesh Server --> http://gilgamesh.servegame.com

ex0r
Posts: 83
Joined: Wed Aug 29, 2012 10:08 pm

Re: BLM AF2 complete

Post by ex0r » Wed Sep 12, 2012 5:09 pm

im not understanding? I already had player:tradeComplete() in the script, and as far as the variable I don't see why that's needed when I have a check that checks to see if the first quest was completed or not before continuing? Seems a bit redundant to replace code with the same code.

Only real thing I can see that you did add was the delKeyItem() which slipped my mind and I forgot to add. The level requirement and job requirement IIRC, are also only checked when you first try to accept the quest.

Thanks for the edit though, and correcting. Just trying to clear up exactly why it was changed when it worked how it was.

Post Reply