downthecrop / betterdgg

Better Better Destiny.gg // Make Destiny.gg Great Again!
http://downthecrop.xyz/bbdgg
Other
2 stars 3 forks source link

Better 2017 Super Spooks #73

Open PinkishCow opened 8 years ago

PinkishCow commented 8 years ago

We should make the spooker better. List of things for next year that would be cool.

Also, if a user has high ping and one message arrives before another, in a different order from the rest of chat, could that mess up the chance for that and the previous message? (Saraghz brought this up and I didnt have a good answer except from "That rarely happens")

Another also, Does a combo have a chance to be rare with every emote count added, or just for the start of the combo because no more actual emotes are added to the screen?

xDashh commented 8 years ago

For he first "also": As far as I know, websocket messages from the chat server should always arrive in order. They contain the timestamp as seen by the server which is the same for everyone in chat. So this shouldn't be a problem.

Second "also": Not sure how the css stuff works, but I never saw a combo be rare after the n-th (for n>2) emote was added to it, which is an okay behaviour I'd say.

Syncing animations could be very easily done with our current setup.

9inevolt commented 8 years ago

Sorry didn't realize you guys didn't have the latest syncing code from SpookerZ 2015 until I checked back and made those updates last month.

For "self" messages, it's possible a user's own message appears in chat ahead of the order other people will see. So a user may not see the correct procs on his own message either which is a poor user experience.

Chat server globally timestamps every message so that timestamp should be used to seed the rng. You can get the seed for self messages too by hooking into destiny.chat.gui.resolveMessage. See the code in spooky.js