The Questlog... but how?
Re: The Questlog... but how?
The second is better for dynamic quests. The first would require character variables to store everything needed to recreate all details of the dynamic quest, which could be a lot (if the description can vary significantly). Of course, if character variables can store strings, we can just store descriptions that way.
Re: The Questlog... but how?
Short note, though this is bit offtopic probably: Manaserv character variables can _only_ store strings (well you can store numbers as strings and convert them, but in the database only strings exists)Jaxad0127 wrote:Of course, if character variables can store strings, we can just store descriptions that way.
Regards,
Ablu
Re: The Questlog... but how?
Do we need the "state" field? Since while quests arn't finished, they are active, when they gets finished for whatever reason (success, failure, cancelation, ...) they are destroyed on server side.Bjørn wrote:
Quest Update { Quest Id, Flags [ State, Title, Description, Goal ] }
- Bjørn
- Manasource
- Posts: 1483
- Joined: 09 Dec 2004, 18:50
- Location: North Rhine-Westphalia, Germany
- Contact:
Re: The Questlog... but how?
Hmm, I mainly put that there cause I thought it would be confusing to put it in the flags. Possibly values are New, Finished, Failed or Canceled. And indeed it's not something that needs to be stored server-side.atheros wrote:Do we need the "state" field? Since while quests arn't finished, they are active, when they gets finished for whatever reason (success, failure, cancelation, ...) they are destroyed on server side.Bjørn wrote: Quest Update { Quest Id, Flags [ State, Title, Description, Goal ] }