The Questlog... but how?

The 2009 Mana project went dormant around 2014 and was revived in 2023; it currently develops a client implementation for TMW and potentially other games.


User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: The Questlog... but how?

Post 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.
Image
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: The Questlog... but how?

Post 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
atheros
Manasource
Manasource
Posts: 9
Joined: 09 May 2013, 15:41

Re: The Questlog... but how?

Post 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.
User avatar
Bjørn
Manasource
Manasource
Posts: 1483
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: The Questlog... but how?

Post 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.
Post Reply