MysterD
2f7d432143
Synchronized Eyerok, add SSL to supported levels
...
Eyerok was synchronized, but I'm still not super pleased with the
result. I had to sacrifice dialog to prevent weird states and he's
completely controlled by the server. His synchronization should be
revisited in the future.
SSL should be fully synchronized now.
2020-09-30 18:20:13 -07:00
MysterD
356029abf6
Forget all reliable packets on network shutdown
...
Prevents strange case where one instance of a game could connect to
itself.
2020-09-29 23:30:51 -07:00
MysterD
4ade00ac78
Prevent bug where Luigi can't jump if Mario is holding something
2020-09-29 00:01:18 -07:00
MysterD
9401a79cdc
Fix chat so remote is filled-in and local is non-filled-in star
2020-09-28 20:13:44 -07:00
MysterD
8c7f55a1fb
Synchronize instant warps
2020-09-28 19:58:37 -07:00
anzz1
4ff85f8719
fix copying and erasing saves
2020-09-27 14:54:13 +03:00
MysterD
168a41f0f6
Drop various types of packets if level/area doesn't match
2020-09-26 15:52:00 -07:00
MysterD
e0bdaa1229
Fade remote players into level/area, drop player packets when in different area
2020-09-26 15:13:46 -07:00
MysterD
f5df807a0c
Additional synchronization fixes for end cutscene.
2020-09-26 12:07:43 -07:00
MysterD
7869473e95
Make radius for collecting red coin packets smaller
2020-09-24 23:15:00 -07:00
MysterD
a75113c665
Removed huge/tiny mario and exit anywhere cheats
2020-09-24 23:10:51 -07:00
MysterD
1536ce87c8
Synchronized WDW initial water level
2020-09-24 22:18:04 -07:00
MysterD
333a77b647
Synchronized TTC speed setting
2020-09-24 21:59:03 -07:00
MysterD
9c8a58fa5b
Synchronize warp checkpoints
...
Prevents softlock when dying inside volcano in LLL and pyramid in SSL
2020-09-24 21:34:36 -07:00
MysterD
20631abc7f
Make Bowser 2 less likely to fall through floor
2020-09-24 20:53:32 -07:00
MysterD
e1933e5f78
Improvements to Bowser 2 (still not fully supported)
2020-09-23 22:00:20 -07:00
MysterD
999ccccc77
Synchronize peak height to prevent random yelling of remote
2020-09-23 21:13:03 -07:00
MysterD
20ab5ec9f6
When client selects to save, server will save
2020-09-23 20:44:44 -07:00
MysterD
82484b5d08
Synchronized end cutscene, prevented crash
2020-09-23 19:48:24 -07:00
MysterD
5ee4a1ed0d
Suppress incorrect player connected message
2020-09-23 00:13:34 -07:00
MysterD
608670e0a9
Synchronized Pokey
2020-09-22 23:35:05 -07:00
MysterD
e1cc0aa065
Synchronized bouncing fireball spawners
2020-09-22 21:37:26 -07:00
MysterD
47f5e2315e
Synchronized LLL puzzle
2020-09-22 18:25:17 -07:00
MysterD
c515ccd427
Added 'unsupported level' warning on HUD
2020-09-22 18:05:15 -07:00
MysterD
4acbbb4db7
Made Discord asserts more descriptive
2020-09-21 23:50:22 -07:00
MysterD
378ab6edc1
Resynchronized piranha plants
2020-09-21 18:15:49 -07:00
MysterD
c5888aff50
Synchronized mips
2020-09-20 17:28:24 -07:00
MysterD
bbe95efaa2
Hotfix for discord servers
2020-09-20 00:47:00 -07:00
MysterD
bbdc3180cd
Made celebration star appear above correct player
...
Celebration sparkles appear around all players
2020-09-19 17:28:11 -07:00
MysterD
09a1390d8d
Allow players to join while server is waiting in level transition
2020-09-19 15:07:27 -07:00
MysterD
74c44d3053
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
5472f3d13a
Add development flag for easier testing
2020-09-19 02:12:49 -07:00
MysterD
64732308f4
Prevent useless keep-alive packets
2020-09-19 01:56:45 -07:00
MysterD
4a7b9736b4
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
f8bffd3b2a
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
3a37b79286
Renamed packet_save_file to packet_join
2020-09-15 23:07:00 -07:00
MysterD
2a10cca29a
Refactored packet code out of network.c/h
2020-09-15 22:58:16 -07:00
MysterD
eaaab8850f
Added exponential backoff to reliable packets
2020-09-15 22:45:17 -07:00
MysterD
275d6444b1
Added chat button bind, prevented chat from disabling other binds
2020-09-15 22:22:39 -07:00
MysterD
a0d5deceff
Fix DirectX builds
2020-09-15 21:48:14 -07:00
MysterD
128b3f2b33
Prevented chat start event from disabling alt-enter fullscreen
2020-09-15 09:54:04 -07:00
MysterD
6d89ed5a9f
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
7497e42364
Damn it, fixed Linux builds (this time for real?)
2020-09-14 23:34:19 -07:00
MysterD
a675f4efd5
Fixed Linux builds
2020-09-14 23:26:55 -07:00
MysterD
9a0c07e53c
Added in-game chat
...
Fixes #35
2020-09-14 22:05:20 -07:00
MysterD
5abd0ca1ab
Complete rewrite of custom main menu
...
The vanilla main menu is an awful pile of code that is extremely painful
to make additions to. So I've side-stepped the problem by writing an
entiely new menu system without all of vanilla's quirks. I've separated
the custom menu system from the menus I want to make, which allows for
easy additions and a clear separation of responsibilities.
Along with this rewrite comes a host menu, adding the missing
configuration options in-game.
Fixes #29
2020-09-13 23:57:14 -07:00
MysterD
3e1b193ea8
Add Discord Game SDK networking system
...
Allows players to host without forwarding their ports or using a program
like Hamachi.
2020-09-13 03:27:35 -07:00
MysterD
fc9d7022b5
Fix Linux build
2020-09-12 19:27:25 -07:00
MysterD
6c8050a564
Abstracted all socket code behind a NetworkSystem
...
In preparation for other forms of communication, I have abstracted all
of the socket code (which needs direct connections) behind a struct
whose calls can be swapped out for other systems if desired.
2020-09-12 17:56:42 -07:00
MysterD
388470d579
Fixed softlocks when one player runs out of lives, or death by lava
...
Also bubbles player when falling into quicksand
Fixes #36
2020-09-12 14:32:50 -07:00