Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-08-21 07:46:21

Anatoly
Guest

Secrets don't get saved in campaigns.

Till now a minor thing, as they're not really used in campaigns, but after you rejoin they disappear.

#2 2018-08-21 14:48:48

peace
Member
From: admin land
Joined: 2015-08-10
Posts: 9,226

Re: Secrets don't get saved in campaigns.

i think its because theyre clientsided and the saving is sever sided btut i might be wrong nrever felt it/was an isue for me er wait does switches asave? theyre clientsided too...


peace.png

thanks hg for making this much better and ty for my avatar aswell

Offline

#3 2018-08-21 17:12:51, last edited by LukeM (2018-08-21 17:13:51)

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Re: Secrets don't get saved in campaigns.

peace wrote:

i think its because theyre clientsided and the saving is sever sided btut i might be wrong nrever felt it/was an isue for me er wait does switches asave? theyre clientsided too...

The first bit is right //forums.everybodyedits.com/img/smilies/smile

Currently secrets are purely client sided, and there are often lots of them, so it doesn't really make sense to keep the server updated whenever you touch one (this could mean hundreds of messages sent per second)...

Switches have to be serversided though (well the actual switches are client sided, but the server keeps track of them all too), as other clients need to know which switches you have enabled so that they can render you falling through them correctly etc. (And theres not usually that many switches, so it doesn't require much data to keep them updated).

Offline

#4 2018-08-21 17:32:46

Anatoly
Guest

Re: Secrets don't get saved in campaigns.

LukeM wrote:

Currently secrets are purely client sided, and there are often lots of them, so it doesn't really make sense to keep the server updated whenever you touch one (this could mean hundreds of messages sent per second)...

I disagree. When you leave the client could sent the array of opened secrets to the server, and then it wouldn't be a problem.

#5 2018-08-21 17:42:47

TaskManager
Formerly maxi123
From: i really should update this
Joined: 2015-03-01
Posts: 9,465

Re: Secrets don't get saved in campaigns.

Anatoly wrote:
LukeM wrote:

Currently secrets are purely client sided, and there are often lots of them, so it doesn't really make sense to keep the server updated whenever you touch one (this could mean hundreds of messages sent per second)...

I disagree. When you leave the client could sent the array of opened secrets to the server, and then it wouldn't be a problem.

is it really that important? most of the time you will remember where the secrets were when you left, besides, i dont think there are any campaigns that use them abundantly


i8SwC8p.png
signature by HG, profile picture by bluecloud, thank!!
previous signature by drstereos

Offline

Wooted by:

#6 2018-08-21 17:46:07, last edited by LukeM (2018-08-21 17:46:38)

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Re: Secrets don't get saved in campaigns.

Anatoly wrote:
LukeM wrote:

Currently secrets are purely client sided, and there are often lots of them, so it doesn't really make sense to keep the server updated whenever you touch one (this could mean hundreds of messages sent per second)...

I disagree. When you leave the client could sent the array of opened secrets to the server, and then it wouldn't be a problem.

But it can't. The point of the save feature is that it works if the client disconnects completely (for example if you close the page), in which case the server would have no chance to ask the client for the secret blocks, as the client would have already disconnected. For it to work the server needs to be kept up to date in real time, so at any point if the client disconnects it can restore the player from what it already knows.

Offline

Wooted by:

#7 2018-08-21 21:05:16

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,854

Re: Secrets don't get saved in campaigns.

strictly speaking, one could make a separate sort of save feature where the player must physically say "hey man, save my secrets right now because I will leave soon." That's not seamless like the constant saving but it would do the trick, no?

Offline

hummerz51534881916720859

Board footer

Powered by FluxBB

[ Started around 1739995604.3464 - Generated in 0.056 seconds, 10 queries executed - Memory usage: 1.48 MiB (Peak: 1.61 MiB) ]