Pychnight / TshockRpgToolKit

Master Controller for distrubtion of quests, custom npcs, custom items and skills, housing, leveling, npcshops, etc.
GNU General Public License v2.0
11 stars 1 forks source link

[Custom Quests] Improve Party Handling to prevent errors. #49

Closed Pychnight closed 2 years ago

Pychnight commented 5 years ago

Currently sometimes when players leave the server and rejoin Custom Quests party system starts to malfunction and continues to think that the player is still within a party

Error log [05/27/19 19:45:08] [CustomQuests] Error: System.ArgumentException: Party is already in a Quest. Parameter name: party at CustomQuests.Quests.QuestRunner.Start (CustomQuests.Quests.QuestInfo info, CustomQuests.Quests.Party party, CustomQuests.Sessions.Session session) [0x00013] in <8e5fa3194d2944409350082cce0f60a3>:0 at CustomQuests.Sessions.Session.LoadQuest (CustomQuests.Quests.QuestInfo questInfo) [0x0005a] in <8e5fa3194d2944409350082cce0f60a3>:0 at CustomQuests.CustomQuestsPlugin.QuestAccept (TShockAPI.CommandArgs args) [0x004b1] in <8e5fa3194d2944409350082cce0f60a3>:0