Updated several npcs, updated quests.lua - only changed CHASING_QUATAS to CHASING_QUOTAS
Updated the mob_spawn_points.sql to include the spawn point for the NM Sturmtiger
I tested script using Ceraulian.lua to read only a minute passing by rather than an entire day.
realday = tonumber(os.date("%M")); -- %M for next minute, %j for next
But I changed it back to be a day rather than a minute before I upload, haven't tested the entire day thing.
Tested, everything else. Worked flawlessly.
DRG AF2 Drachen Brais Completed
DRG AF2 Drachen Brais Completed
- Attachments
-
- DRG AF2.zip
- (686.25 KiB) Downloaded 324 times
Re: DRG AF2 Drachen Brais Completed
I'd like to add that, according to what I read about the quest, it says 24 hours, but it could be as little as 12 hours. However, being as I'm a noob at lua, I don't know what has to be done to the date in order for it to have any kind of range. The only 2 ways I knew how to use the command were what was already listed by someone else, from a different quest (RDM AF feet quest). And that was Minute being %M and day being %j
Re: DRG AF2 Drachen Brais Completed
I guess you could pass a rand() into the function and make it random, but would that even work? Anyway, just some things I was thinking about.
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: DRG AF2 Drachen Brais Completed
Samurai AF quests have a LOT of "wait until JP midnight" segments, if that's necessary.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: DRG AF2 Drachen Brais Completed
Found that if you finished the quest Pickpocket, you never enter into the Esca cutscene for CHASING QUOTA. Added one line and modified another (changes are in bold) so that I could continue with Chasing Quotas if Pickpocket had been completed. However, the quest still takes priority over The Pickpocket if both Quests are flagged.
function onTrigger(player,npc)
-- "The Pickpocket" Quest status
thePickpocket = player:getQuestStatus(SANDORIA, THE_PICKPOCKET);
chasingQuota = player:getQuestStatus(SANDORIA, CHASING_QUOTA);
-- "The Pickpocket" Quest Dialog
if (thePickpocket == 1 and player:getVar("thePickpocketGiltGlasses") == 1) then
player:startEvent(0x0080);
elseif (thePickpocket == 1) then
player:startEvent(0x0078);
elseif (thePickpocket == 2 and chasingQuota == 2) then
player:startEvent(0x007b);
elseif(player:getVar("chasingQuotas_Event") == 6) then
player:startEvent(0x0089);
else
player:startEvent(0x0077);
end;
end;
function onTrigger(player,npc)
-- "The Pickpocket" Quest status
thePickpocket = player:getQuestStatus(SANDORIA, THE_PICKPOCKET);
chasingQuota = player:getQuestStatus(SANDORIA, CHASING_QUOTA);
-- "The Pickpocket" Quest Dialog
if (thePickpocket == 1 and player:getVar("thePickpocketGiltGlasses") == 1) then
player:startEvent(0x0080);
elseif (thePickpocket == 1) then
player:startEvent(0x0078);
elseif (thePickpocket == 2 and chasingQuota == 2) then
player:startEvent(0x007b);
elseif(player:getVar("chasingQuotas_Event") == 6) then
player:startEvent(0x0089);
else
player:startEvent(0x0077);
end;
end;
- Attachments
-
- Esca.lua.zip
- (2.47 KiB) Downloaded 309 times
Server running on Ubuntu 12.04 Server 64-bit on VirtualBox
Client running on Windows 7 64-bit iMac
Client running on Windows 7 64-bit iMac
Re: DRG AF2 Drachen Brais Completed
Modified qm3.lua, added the player:messageSpecial(KEYITEM_OBTAINED,RANCHURIOMES_LEGACY); message. Otherwise, worked great. Got my DRG AF2 tonight. Thanks!
- Attachments
-
- Batallia_Downs.zip
- (4.38 KiB) Downloaded 299 times
Server running on Ubuntu 12.04 Server 64-bit on VirtualBox
Client running on Windows 7 64-bit iMac
Client running on Windows 7 64-bit iMac