[DiscordArchive] to the recompile question right?
[DiscordArchive] to the recompile question right?
Archived author: <o> • Posted: 2021-09-12T13:49:52.357000+00:00
Original source
game event mgr does have that function to send worldstates corresponding to its own internal counters for war efforts (even though it doesn't actually use them for storing it, but that doesn't matter to us), so I don't think there's any issue with using that function. It does what it advertises
Archived author: <o> • Posted: 2021-09-12T13:50:11.264000+00:00
Original source
(it's really just a shortcut to `PlayerSendUpdateWorldState`)
Archived author: Jinnai • Posted: 2021-09-12T13:50:33.792000+00:00
Original source
exactly, it does save everything correctly but it isnt made to show it to the client
Archived author: <o> • Posted: 2021-09-12T13:51:51.034000+00:00
Original source
yeah, from where do you actually send the updates to players? I've been thinking of making SAI extensions to make it easy (would make sense to allow sending it as part of a gossip request, but not sure if the packets would mess up)
Archived author: <o> • Posted: 2021-09-12T13:52:25.904000+00:00
Original source
at least for us, I don't think it's a good idea to always send all updates every change / every login, since we're making a generalized system
Archived author: Jinnai • Posted: 2021-09-12T13:53:01.979000+00:00
Original source
performance is also an important factor for my project
Archived author: Jinnai • Posted: 2021-09-12T13:53:16.929000+00:00
Original source
im grabbing them only on interaction with this npc via creaturescript
Archived author: <o> • Posted: 2021-09-12T13:53:39.377000+00:00
Original source
cool, I think that'd correspond to an SAI extension, so i'll try it out
Archived author: <o> • Posted: 2021-09-12T13:54:00.714000+00:00
Original source
was mostly worrying the request might be queued or something, I haven't so much as looked at emulator netcode haha
Archived author: Jinnai • Posted: 2021-09-12T13:54:46.496000+00:00
Original source
if i remember correctly, sai has no action to read or write worldstates / force a update for the player