Commit Graph

2184 Commits (38cef3b77e308f51c3bfb09f5bd8bf53528f2c63)

Author SHA1 Message Date
MysterD 26edb7b483 Fix djui interactable crash when they get destroyed 2023-04-22 02:12:03 -07:00
MysterD 03316ec0a4 Fixed crash in geo_switch_mario_cap_on_off() 2023-04-22 01:53:04 -07:00
MysterD ffc47be223 Piranha plant music only plays if local player is nearby 2023-04-22 01:51:12 -07:00
MysterD 71280a7496 Prevent custom audio sequences from filling up all available memory 2023-04-22 01:47:24 -07:00
MysterD 2a3e9fdc18 Fix osPiStartDma() crash - force sound entries to stay in bounds 2023-04-22 01:30:41 -07:00
MysterD 9f4c663206 Fix DirectX memory leak (thanks integerbang) 2023-04-21 22:53:32 -07:00
MysterD 2f06769ce7 Clear all interp variables when processing root (may fix various displaylist corruption crashes) 2023-04-20 21:56:37 -07:00
MysterD 4dc9f0f776 Fixed crash in note_pool_clear() 2023-04-20 21:43:42 -07:00
MysterD 1d93bdae0b Fixed crash in get_mario_spawn_type() 2023-04-20 21:40:35 -07:00
MysterD 80be6784ac Fixed crash in init_mario_after_warp() 2023-04-20 21:37:22 -07:00
MysterD 296ecdfe17 Fixed crash in bhv_chain_chomp_chain_part_update() 2023-04-20 21:30:46 -07:00
MysterD 3a3df63a2c Fixed text rendering again 2023-04-20 20:57:09 -07:00
MysterD 275fa0fb0a Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-20 20:54:28 -07:00
MysterD eac324c6f8 Added cyrillic to normal/tiny fonts 2023-04-20 20:54:19 -07:00
PeachyPeach a66293b56a obj_init_animation_with_accel_and_sound + fix collision_find_surface_on_ray parameter names (#352) 2023-04-20 19:43:37 -04:00
MysterD 07f70e094a Made font-normal kerning consistent 2023-04-20 12:58:17 -07:00
MysterD f30cea3f61 Fixed some text rendering issues 2023-04-20 12:41:34 -07:00
MysterD 60e88ed02c Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-20 11:21:24 -07:00
MysterD 37c3b437cb Remove old code that tracked 'patches' 2023-04-20 11:21:15 -07:00
Agent X da5a8875a2 Remove Share Lives (#351)
it's a leftover from the very early betas, it isn't needed and isn't even fully functional anyway.
Also potentially fixed mario_get_floor_class crash
2023-04-20 07:02:00 -04:00
MysterD dfbbddf66b Re-ran autogen 2023-04-20 01:28:42 -07:00
Isaac0-dev 3defbf5943 allow interact type to be 0 in hook_mario_action (#350)
* allow interact type to be 0 in hook_mario_action
2023-04-20 01:28:23 -07:00
MysterD 256b4ad16f Restore old version code 2023-04-20 00:51:34 -07:00
MysterD 4fcbecd0cb Fix crash in pole_base_loop() 2023-04-20 00:26:17 -07:00
MysterD ffc2b431ec Fix some audio corruption 2023-04-20 00:20:31 -07:00
MysterD cc17ff7347 Merge branch 'coopnet' into coop 2023-04-19 00:23:37 -07:00
MysterD 258e1ceca2 Change ordered packet information to u16, prevent clearing ordered packets during join 2023-04-18 23:50:11 -07:00
MysterD b779e03606 Fix warning 2023-04-18 23:13:28 -07:00
MysterD 9fc508e4a3 Increase np timeout, amount of rx seq ids, and don't clear ordered packets on connected 2023-04-18 21:47:19 -07:00
MysterD 8a96b24cba Enable more logs for debugging 2023-04-18 21:03:31 -07:00
MysterD 632c4f37c1 Another attempt at connection issue fix 2023-04-18 20:45:33 -07:00
MysterD 230e861672 Test fix 2023-04-18 20:09:52 -07:00
MysterD d81f44534c Fix bug where you sometimes couldn't type to change player name 2023-04-18 12:40:51 -07:00
MysterD 79d2fd0ad3 DJUI paginated element fixes 2023-04-18 12:12:31 -07:00
PeachyPeach e7e59d6f60 Expose globally custom behaviors defined with hook_behavior (#345)
* Expose globally custom behaviors defined with hook_behavior; macros for mod strings max length

* fixes

* made customBehaviorIndex a mod field to be more relevant
2023-04-17 21:54:55 -07:00
MysterD 87afac957e Whoops 2023-04-17 21:03:30 -07:00
MysterD a458530cc7 Improve peer failure notification 2023-04-17 20:58:57 -07:00
MysterD a45bc9b63f Add peering failure notification 2023-04-17 20:54:40 -07:00
MysterD 2e3ed22ad6 Clear credits flags on network shutdown 2023-04-17 17:59:29 -07:00
MysterD d96255610d Disable discord error popups 2023-04-17 17:56:06 -07:00
MysterD 3bc666fe3b Notify of coopnet incompatibility 2023-04-17 17:17:55 -07:00
MysterD b38d044cde Refactor version stuff a bit 2023-04-17 16:54:30 -07:00
MysterD e43ef39206 Add lobby descriptions 2023-04-17 16:34:56 -07:00
MysterD 25c2cc12cd Merge branch 'coop' into coopnet 2023-04-17 15:51:06 -07:00
MysterD 91d2993d9e Use up all of the discord activity space for mods, list them more intelligently 2023-04-17 14:43:22 -07:00
MysterD 44b5fa2b98 Only allow clients to send discord invites of public lobbies 2023-04-16 22:03:46 -07:00
MysterD 7ea4ad86e3 Fix joining a discord invite while already in game 2023-04-16 21:04:11 -07:00
MysterD f02904446c Fix discord lobby joining 2023-04-16 20:48:19 -07:00
Isaac0-dev df81a96505 clean up paginated, and fix a bug (#348)
fix bug where text would show when there is only 1 page
2023-04-16 23:10:45 -04:00
Agent X 3eb1e96219 Forced 4:3 (#346)
Turn on forced 4:3 in Options -> Display
Forced 4:3 activates in-game and doesn't affect the pause menu but does apply to the game's viewport and mods using DJUI
I've made complete sure this is mod compatible with both RESOLUTION_N64 as well as RESOLUTION_DJUI

Also fixed a small discrepancy with how object count text was rendered on the crash screen.
2023-04-16 23:10:09 -04:00
MysterD 78f9f581d8 Update lobby info on rehost 2023-04-16 19:36:27 -07:00
MysterD 75e3be3fdf Make password inputboxes display '#'s 2023-04-16 18:43:07 -07:00
MysterD c916e01a26 Restored how player packets are sent, they're compressed elsewhere 2023-04-16 18:21:54 -07:00
MysterD 4dc694279b Compressed all game packets 2023-04-16 18:18:18 -07:00
MysterD 52c46a831e Added error handling for coopnet 2023-04-16 16:06:30 -07:00
MysterD de895af1cf Do not display the socket page when hosting on coopnet 2023-04-16 15:10:21 -07:00
MysterD a39efe7a60 Compressed and reduced rate of Player packets
Now player packets are only sent immediately if their inputs or actions changed.
Otherwise, it waits a bit before sending out another one
2023-04-16 02:29:59 -07:00
MysterD c8a0cfc5ab Actually fix discord crash 2023-04-15 23:43:51 -07:00
MysterD b530459f8c Fix discord crash 2023-04-15 23:34:54 -07:00
MysterD 2bf016c844 Test 2023-04-15 22:25:58 -07:00
MysterD 71c3c24d28 Restore functionality of network_discord_id_from_local_index(0) 2023-04-15 21:09:26 -07:00
MysterD 3fd75eacd0 Set default coopnet ip 2023-04-15 20:40:29 -07:00
MysterD 2d0cdabe13 Fix case when joining discord lobby without a password 2023-04-15 20:27:28 -07:00
MysterD 73bf1d1e72 Clear discord party id and secrets when not in-game 2023-04-15 20:18:20 -07:00
MysterD 1112c4e03f Attempt to enable discord invites 2023-04-15 20:12:06 -07:00
MysterD a17841106c Change how discord secrets are sent 2023-04-15 20:05:04 -07:00
MysterD f2591bd5b4 Ripped out discord network system, started re-adding invites 2023-04-15 19:53:34 -07:00
MysterD 384d7e60ae Made it so changing server settings works in CoopNet 2023-04-15 15:54:44 -07:00
MysterD 8fab9b1e9a Added ability to set lobby password 2023-04-15 15:11:39 -07:00
MysterD 2a1ab2a072 Fix bug where replies to unknown players went to the wrong place 2023-04-15 01:16:59 -07:00
MysterD 3cd10634e5 Increased starting ping 2023-04-15 00:33:56 -07:00
MysterD c13888d50f Made banning work on CoopNet 2023-04-14 22:06:56 -07:00
MysterD 362546a81a Added messages to lobby list when no lobbies found, or coopnet connection fails 2023-04-14 19:58:36 -07:00
MysterD de8761120d Make lobby hosting detect the largest mod by lua size 2023-04-14 11:59:35 -07:00
MysterD 71f590f390 Made version mismatch lobbies more obvious 2023-04-14 11:25:45 -07:00
MysterD bc946aa3b3 Fix how languages detect the lang file path 2023-04-14 11:04:22 -07:00
MysterD 9114aff9cd Merge branch 'coop' into coopnet 2023-04-14 10:53:58 -07:00
MysterD 60c6cc0b40 Make sure coopnet always sets callbacks 2023-04-13 23:39:00 -07:00
MysterD 416dfe33a7 Make coopnet IP and Port configurable (Isaac) 2023-04-13 22:58:58 -07:00
MysterD 71b616c76c Ran autogen 2023-04-13 22:39:42 -07:00
MysterD 98cdfcb8e1 Bumped version 2023-04-13 22:39:25 -07:00
MysterD 8eece1572a Fixed crash in void geo_process_node_and_siblings() 2023-04-13 22:38:32 -07:00
MysterD 78d1fea9cc Fixed crash in network_send_spawn_objects_to() 2023-04-13 22:36:47 -07:00
MysterD 2ce229a818 Fixed crash in reset_camera() 2023-04-13 22:32:18 -07:00
MysterD f39144fb9a Fixed crash in network_receive_lua_custom() 2023-04-13 22:29:10 -07:00
MysterD 9608796c44 Increased max lag compensation to 1s 2023-04-13 22:23:56 -07:00
MysterD 816f595fcc Clear interaction's invulnerable flag after each player has been processed 2023-04-13 22:17:01 -07:00
MysterD e6343238db Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-13 21:35:08 -07:00
Isaac0-dev 3336be7bbd improve djui paginated panels and fix some typos (#347)
* improve djui paginated panels and fix some typos

* naming
2023-04-13 21:33:34 -07:00
MysterD b4223013c2 Add lobby refresh button 2023-04-13 18:27:18 -07:00
MysterD 9217979788 Added menus for public and private lobbies 2023-04-11 21:38:17 -07:00
MysterD a98bb1c9b4 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-11 20:07:12 -07:00
MysterD a90a268462 Add single-lua-file mods to mod cache 2023-04-11 20:07:09 -07:00
Agent X d534010fb2 Flying triple jump off players if wing cap (#344) 2023-04-11 18:41:41 -04:00
MysterD 787efc0ce8 Fixed crash in smlua_set_sync_table_field_from_network() 2023-04-11 15:02:51 -07:00
MysterD 6d13e010d8 Make sure lag_compensation_get_local_state() always returns a MarioState 2023-04-11 14:53:04 -07:00
MysterD 9b9f09b4c6 Made cur_obj_call_action_function safer 2023-04-11 14:40:24 -07:00
Agent X 24e92e9925 Hopefully fix passes_pvp_interaction_checks crash (#343)
* Hopefully fix passes_pvp_interaction_checks crash
* Hopefully fix cur_obj_call_action_function crash
2023-04-11 14:32:47 -07:00
MysterD c8cf2a45b0 Use the correct resolution for djui hud interpolation 2023-04-11 14:26:42 -07:00
MysterD 84147a223e Fixed coopnet disconnect, separated coopnet_id, started adding password stuff 2023-04-11 14:07:58 -07:00