1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00
Commit graph

10 commits

Author SHA1 Message Date
Sophie Hamilton
0902d31980 Fix quest completion for questId > 2047 (67583)
It's currently impossible to permanently store quest completion flags
for quests beyond questId 2047 (67583) due to the code using a type
that's too small. This manifests in the correct quest completion packet
being sent, but as soon as you move to another zone the quest disappears
from the journal (and is probably replaced by another quest you didn't
ask for).

This fixes the issue by using an appropriately-sized index variable, and
also increases the flag storage so that all currently-available quests
can be stored.
2020-05-28 05:55:22 +01:00
collett
cc95097fbe Add LootMessage packet to fix old ItemObtainIcon. 2020-05-12 02:30:21 +09:00
NotAdam
ca102697f4 move to new service locator 2020-03-01 11:58:26 +11:00
Adam
024b5c31b8 Merge pull request #618 from collett8192/quest_reward
Fix quest reward choice.
2020-01-05 09:24:40 +11:00
collett
159aafadf6 Fix quest reward choice.
Quest scripts need to call player.giveQuestRewards( getId(), result.param3 ) for it to work.
2020-01-05 05:25:35 +09:00
collett
20f854b36f Move quest finish packet to where it belongs to so we can abandon quests. 2020-01-05 05:19:05 +09:00
mordred
d6bc118ee8 Repaired quest rewards 2019-03-28 11:59:02 +01:00
Mordred
11e06540b2 Added SubWil020
Changed the way QuestFlags are indexed to directly mimic retail.
This should make implementing new quests more straight forward as
indices can be used as they appear in the decompiled scripts.
2019-03-17 22:25:52 +01:00
Mordred
199d7a6ec6 More fw cleanup 2018-12-25 01:57:50 +01:00
mordred
ea64b65331 Restructured project slightly 2018-12-13 12:40:42 +01:00
Renamed from src/servers/sapphire_zone/Actor/PlayerQuest.cpp (Browse further)