Page 2 of 2
Re: The Questlog... but how?
Posted: 10 May 2013, 15:43
by Jaxad0127
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?
Posted: 10 May 2013, 18:02
by Ablu
Jaxad0127 wrote:Of course, if character variables can store strings, we can just store descriptions that way.
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)
Regards,
Ablu
Re: The Questlog... but how?
Posted: 12 May 2013, 07:09
by atheros
Bjørn wrote:
Quest Update { Quest Id, Flags [ State, Title, Description, Goal ] }
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.
Re: The Questlog... but how?
Posted: 12 May 2013, 09:56
by Bjørn
atheros wrote:Bjørn wrote:
Quest Update { Quest Id, Flags [ State, Title, Description, Goal ] }
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.
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.