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 2019-03-01 22:05:00

leogiaco
New Member
Joined: 2017-01-30
Posts: 2

m.Type == "saved" not working(?)

Shouldn't an event with message type "saved" be fired when you save the world?

Offline

#2 2019-03-01 22:17:27

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

Re: m.Type == "saved" not working(?)

iirc its only sent to the player that saved the world

Offline

Wooted by: (3)

#3 2019-03-02 18:33:30

leogiaco
New Member
Joined: 2017-01-30
Posts: 2

Re: m.Type == "saved" not working(?)

Makes sense now thanks.

Offline

#4 2019-03-02 18:58:24

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: m.Type == "saved" not working(?)

You could probably bring it up as a suggestion and they'd add it.

In the meantime, as an alternative you could do a direct comparison with TSON using the  open-source Venture library (shameless plug) and a bit of interval polling.

var client = PlayerIO.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "email", "password", "simpleUsers");
var world_data = client.BigDB.Load("Worlds", "PW01").GetArray("worlddata").ToString();
var world_data_hash = string.Concat(new SHA256Managed().ComputeHash(Encoding.UTF8.GetBytes(world_data)).Select(b => b.ToString("X2")));

signature.png
*u stinky*

Offline

Wooted by:
XxAtillaxX1551549504741698

Board footer

Powered by FluxBB

[ Started around 1711687021.4041 - Generated in 0.042 seconds, 13 queries executed - Memory usage: 1.36 MiB (Peak: 1.45 MiB) ]