PlaneShift

Gameplay => General Discussion => Topic started by: Tontow on November 18, 2007, 11:55:03 pm

Title: Completed Quest names and Quest descriptions are stored?
Post by: Tontow on November 18, 2007, 11:55:03 pm
I'm currently working on a little something that will be kept private for my guild.

I know that the quest notes are stored client side, but I wasn't able to find the quest names and descriptions.

Where are the quest names and quest Quest descriptions stored?  (Obviously I mean the ones that are either completed or in progress.)
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Caarrie on November 19, 2007, 12:28:03 am
Where are the quest names and quest Quest descriptions stored?  (Obviously I mean the ones that are either completed or in progress.)

on the server
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Tontow on November 19, 2007, 12:53:11 am
on the server

But last I heard, there where 400 + quests and counting.  If that data is stored server side, then that can potentially wind up being allot of data being transmitted to the client each time the user looks at his completed quests.
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Eodun on November 19, 2007, 12:57:34 am
I've got some lag when checking my quests, so I assume it's done that way (as you say, not nice)
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Jeraphon on November 19, 2007, 06:19:53 am
Quote
But last I heard, there where 400 + quests and counting.

Not QUITE that many.
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: neko kyouran on November 19, 2007, 03:35:23 pm
yet......
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: kougaro on November 19, 2007, 06:27:57 pm
May be off-topic, but i think that the actual number of quests available to players is somewhat near 150.

That also means that it would not take more than a few kbs to store the whole list of quests names...
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Under the moon on November 19, 2007, 07:21:41 pm
The server needs to store the names whether or not the client could do the same. Why? Trust not the client. If that data was stored clientside, a simple change of your saved list would alow you to skip a bunch of quests that are required to get to the last one.

You could make a mod that would store the quest info clientside, or record it somewhere, but it would still load it from the server while playing.
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Tontow on November 19, 2007, 10:08:20 pm
The server needs to store the names whether or not the client could do the same. Why? Trust not the client. If that data was stored client side, a simple change of your saved list would allow you to skip a bunch of quests that are required to get to the last one.
You don't store every single bit of quest data client side, just the text of the name and description.  The progress of the quest should still be stored server side to prevent skipping a step; that way, even if you did manage to add the right name and description client side (without doing the prerequisites) you wouldn't be able to do the quest because the NPCs wouldn't respond to you.


Quote
You could make a mod that would store the quest info client side, or record it somewhere, but it would still load it from the server while playing.
Yes, kind of.  Your just store a copy of the quests, that you have either completed or are in progress, names and descriptions client side.
And then perhaps a /refreshquest command if the names and descriptions get messed up.
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: ThomPhoenix on November 19, 2007, 10:27:00 pm
No, Tontow. That wouldn't allow easy adding of new quests. You'd need to update your client every time.
Title: Re: Completed Quest names and Quest descriptions are stored?
Post by: Eodun on November 19, 2007, 11:23:12 pm
Well, you could store a slave copy client side, that would be loaded when looking at Quests panel and to check when not playing (useful for different things: chatting when not in PS, forum talks -no spoilers of course, but easier for RP here for short memories like mine), and the master one server side that overrides client one when connecting (or when exiting the game, if preferred). That would save a nice amount of net load.

Any cons I don't see?