Commit Graph

1256 Commits (2bd85a8ea45a4223fc7a43d5d3cd4b2d97955174)

Author SHA1 Message Date
MysterD a1aefef4ed Change main menu disclaimer 2020-09-22 22:09:05 -07:00
MysterD 936926aba8 Fixed synchronization of rolling log 2020-09-22 21:54:41 -07:00
MysterD 64991bdc86 Synchronized bouncing fireball spawners 2020-09-22 21:37:26 -07:00
MysterD 6a46a52160 Synchronized LLL puzzle 2020-09-22 18:25:17 -07:00
MysterD ad915b76a2 Added 'unsupported level' warning on HUD 2020-09-22 18:05:15 -07:00
anzz1 d2952ffadd Custom menu improvements
* Remove Discord references if DISCORD_SDK=0
* Disallow non-valid ports > 65535
* Only print last attempt's port in direct connection screen if it's non-default
2020-09-22 23:22:58 +03:00
MysterD 1d9ba1d9ef Made Discord asserts more descriptive 2020-09-21 23:50:22 -07:00
MysterD c38c7614e7 Fix deduplication check for spawning stars
Stay in level after star option revealed that the deduplication
checking I was doing previously is no longer a valid way to do it.
The old way would prevent a second star from spawning.
2020-09-21 19:11:27 -07:00
MysterD 2801ddbbea Prevent drowning alert from playing for remote players 2020-09-21 18:24:17 -07:00
MysterD 4b2576b760 Prevent remote player damage from shaking local screen 2020-09-21 18:22:58 -07:00
MysterD 6ba3b4ecd5 Prevent chain chomp from hurting people in cutscene 2020-09-21 18:18:19 -07:00
MysterD 16fd34a75b Resynchronized piranha plants 2020-09-21 18:15:49 -07:00
MysterD 9e11d51a8f Fixed copy/paste error 2020-09-21 00:35:04 -07:00
MysterD 61b3f603b4 Synchronize various LLL platforms 2020-09-21 00:32:14 -07:00
MysterD 066220a49d Synchronized Bullies 2020-09-20 23:30:49 -07:00
MysterD 7650a44734 Disable bettercam's fixed camera at the bridge 2020-09-20 17:58:20 -07:00
MysterD 0897889ba7 Allow players to enter the 70 star door early 2020-09-20 17:54:25 -07:00
MysterD 836fef0608 Synchronized mips 2020-09-20 17:28:24 -07:00
MysterD 96261cafa8 Hotfix for discord servers 2020-09-20 00:47:00 -07:00
MysterD 67acc0d09d Improve bettercam's collision detection and avoidance
The precision of ray casting was too low previously, causing the
collision checks to skip right past a wall sometimes. There was also
nothing to prevent the camera from getting too close to a wall
horizontally or vertically.
2020-09-19 19:35:05 -07:00
MysterD 0ad4f9ad6a Made celebration star appear above correct player
Celebration sparkles appear around all players
2020-09-19 17:28:11 -07:00
MysterD de8e3f05a2 Prevent Boos from being brought back from the dead through desync 2020-09-19 17:13:46 -07:00
MysterD c5b63e69a1 Fix boo cage desync
The BBH cage could get in a weird state when it was synchronized. By
desynchronizing it, it will perform properly. Weird, I know.
2020-09-19 17:02:01 -07:00
MysterD 4c81438a48 Prevent mother tuxie softlock
Fixes #6
2020-09-19 16:43:37 -07:00
MysterD 757bd4a5c6 Prevent new bug where stars just flood out lol 2020-09-19 16:35:32 -07:00
MysterD f18f777194 Prevented remote players from spawning tons of stars when unlocking door 2020-09-19 16:27:38 -07:00
MysterD 9928662f2c Prevented rare unlocking door crash 2020-09-19 16:19:47 -07:00
MysterD 55e4ce34fb Prevented more NPC dialog soft locks 2020-09-19 16:09:52 -07:00
MysterD d08e8ffe54 Allow players to join while server is waiting in level transition 2020-09-19 15:07:27 -07:00
MysterD ace89d2afd Allow other players to update entities grabbing you
In theory this should fix a rare King Bobomb softlock
2020-09-19 14:30:19 -07:00
MysterD 68389a3a8f Synchronized Boo's tangibility field
I believe this fixes #58
2020-09-19 10:38:58 -07:00
MysterD 42d1d681a6 Fix bubbled vanilla-camera behavior
Fixes #66
2020-09-19 10:20:46 -07:00
MysterD ae48a9df5f Prevented star from spawning mid-level-change
Now CCM's slide star spawns correctly.
2020-09-19 10:03:36 -07:00
MysterD 67342de794 Add development flag for easier testing 2020-09-19 02:12:49 -07:00
MysterD 587b52f1be Prevent useless keep-alive packets 2020-09-19 01:56:45 -07:00
MysterD fa0f195c92 Rewrote synchronization for treasure chests
Fixes #63
2020-09-19 01:40:42 -07:00
MysterD ee6efd9d05 Prevented enemies/events from considering disconnected players 2020-09-19 01:05:19 -07:00
MysterD a946694da6 Prevent exclamation box from opening multiple times
Fixes #57
2020-09-19 00:59:54 -07:00
MysterD df6cac3cab Added compile-time flag to disable Discord SDK
In order to support ARM/Mac, discord must be disabled.
To disable compile with:
make DISCORD_SDK=0

Fixes #62
2020-09-19 00:53:56 -07:00
MysterD 69742f7f2f Unconnected players are now hidden/intangible 2020-09-18 23:16:07 -07:00
MysterD 28b06da7e1 Added player connected/disconnected events
Changed synchronizing text to be more descriptive
Added 'player connected', 'player disconnected', 'network shutdown' chat messages
Prevented someone from joining through Discord while in another lobby
Added the distinction of sending a packet to all vs to a specific player
Enforced lobby size of 2, multiple joiners in a direct connection will be booted
Stored network destination for each player
Detected network drops
2020-09-18 23:06:26 -07:00
MysterD f71c2900a0 Add missing 'Chat' text 2020-09-16 01:01:29 -07:00
MysterD dc1f689a6e Renamed packet_save_file to packet_join 2020-09-15 23:07:00 -07:00
MysterD dc8b84a66d Refactored packet code out of network.c/h 2020-09-15 22:58:16 -07:00
MysterD 12213967cd Added exponential backoff to reliable packets 2020-09-15 22:45:17 -07:00
MysterD efe8c91909 Added chat button bind, prevented chat from disabling other binds 2020-09-15 22:22:39 -07:00
MysterD 663da861cb Fix DirectX builds 2020-09-15 21:48:14 -07:00
MysterD d44ae27393 Prevented chat start event from disabling alt-enter fullscreen 2020-09-15 09:54:04 -07:00
MysterD 7f1a3631b1 Added warning when Discord isn't detected. Added missing sounds to buttons and events in menu 2020-09-15 09:47:26 -07:00
MysterD cd0f889e3d Damn it, fixed Linux builds (this time for real?) 2020-09-14 23:34:19 -07:00