Commit Graph

2574 Commits (7b47eaec518114f420052a9ea839fb32ad2faf5b)

Author SHA1 Message Date
MysterD 7b47eaec51 Make ping unreliable 2023-03-27 22:16:21 -07:00
MysterD f6f22b1629 Allow pings through unknown players 2023-03-27 22:12:48 -07:00
MysterD 2fa5d68260 Fix crash when removing a sync objects and iterating at the same time 2023-03-27 20:25:35 -07:00
MysterD 8a24a2dd84 Added ñ and Ñ to coop 2023-03-27 18:35:39 -07:00
MysterD 307c9d39fb Revert audio makefile change 2023-03-27 16:32:30 -07:00
MysterD c21ba97eef Added another missing header 2023-03-27 16:06:55 -07:00
MysterD f7e95053f8 Add missing header for hashmaps 2023-03-27 15:58:53 -07:00
Agent X 4f0b958f6e Make cheats much better and add new ones (#305)
* Make cheats much better and add new ones

Improved some, added some.
- Formatted cheats code to fit with the rest of sm64's naming style of things like structs
- Cheats will now always check for gServerSettings.enableCheats instead of its own variable
- Moon Jump: Increased vertical speed, automatically exit bonks
- God Mode: Tiny code improvements
- Super Speed: Exponentially improved, moved to step code and now works as it always should have
- Rapid Fire (New): When on, A will become rapid fire
- Always Triple Jump (New): When on, Mario will triple jump regardless of forwards velocity
- BLJ Anywhere (New): When on, spam A while BLJing to BLJ anywhere

* Add m->playerIndex == 0 checks
2023-03-27 15:53:12 -07:00
PeachyPeach d34e33904d /luaf; fix compilation issues with audio and debug + dev (#328)
/luaf command to execute lua code from a file. Note that this command doesn't load the file the same way mod files are loaded, so no access to gGlobalSyncTable and gPlayerSyncTable. hook_chat_command cannot be called, but hook_event can.

Fix some compilation issues
2023-03-27 15:50:49 -07:00
Isaac0-dev 6253241e4a revert crash fix (#331)
revert crash fix, causing more serious issues in star road
2023-03-27 15:49:29 -07:00
MysterD b563a96886 Bump version 2023-03-27 15:36:37 -07:00
MysterD 13079a03c3 Fixed sync ID assignments 2023-03-27 15:34:22 -07:00
MysterD 29dfecbec3 Fix spawned objects on soccer 2023-03-27 14:36:07 -07:00
MysterD d21d2bbfba Swapped out hashmap to C++ for sync objects 2023-03-27 14:29:15 -07:00
MysterD 90478c6e0f More sync object fixes 2023-03-27 12:51:10 -07:00
MysterD 83beb23b2c Fix some sync ID bugs 2023-03-27 12:29:20 -07:00
MysterD 2dc74815ad Increase max packets per second to 100 2023-03-27 11:59:06 -07:00
MysterD c1322b7aa1 Figure out a ping between every player, adjust resend rate based on it 2023-03-27 11:50:32 -07:00
MysterD f74702fe97 More shadow adjustments 2023-03-27 01:04:30 -07:00
MysterD 283d7e45a5 Possible fix for shadows going wonky on moving platforms 2023-03-27 00:59:19 -07:00
MysterD 384903e610 Skip animation interpolation more often
(hands no longer swap places after side jumping)
2023-03-27 00:24:06 -07:00
MysterD d19b7802d3 Fixed bug in romhacks where coins re-appear when re-entering 2023-03-26 22:05:22 -07:00
MysterD 836ae7692a Deterministically set the syncId of child objects of level objects 2023-03-26 21:35:04 -07:00
MysterD 2daa6edaa4 Deterministically set the sync ID for level objects that spawn from spawninfo, macros, and special 2023-03-26 21:10:38 -07:00
MysterD 3477206253 Remove old sync id reservation system 2023-03-26 19:06:18 -07:00
MysterD 34dd9fee0d Rewrite syncID allocation and memory structure 2023-03-26 18:43:35 -07:00
MysterD bac62f7bca Fix debug builds on linux 2023-03-26 14:53:01 -07:00
Isaac0-dev cc330121b3 fix version string buffer overflow (#327) 2023-03-26 14:52:13 -07:00
Agent X db940ef1dd Beta 32.0.2 (#330) 2023-03-26 15:17:58 -04:00
Agent X 45c2d3852f Fix envfx not resetting (#329) 2023-03-26 12:50:21 -04:00
Isaac0-dev ac6f2b2ad0 Beta 32.0.1 (#325)
* patch for beta 32

* require the development flag for Lua profiler

* autogen
2023-03-26 01:15:28 -04:00
Agent X c2fe38cfe6 Fix boxes (#324) 2023-03-24 18:59:46 -04:00
Prince Frizzy 89f15586d4 Hopefully fix boat being incorrect in Star Road (#323) 2023-03-24 01:31:49 -04:00
Agent X c0dfc37e21 Turn off rounded corners SM74 (#322) 2023-03-23 22:21:49 -04:00
Agent X fe61e50af4 Show players on star select toggle (#321)
* Show players on star select toggle

* Make only toggleable by mods

* Allow player list to also be disabled
2023-03-23 21:12:26 -04:00
Agent X 82dbb19fae Fix extended pause display (#319) 2023-03-23 17:42:53 -04:00
Sunk a55d11e958 Remove duplicate hook documentation (#318) 2023-03-23 17:13:08 -04:00
Agent X 0e1726f254 Clarify README (#317) 2023-03-23 17:12:50 -04:00
Agent X 3d80dc7f16 Override envfx from Lua (#316)
* Override envfx from Lua

set_override_envfx(-1) to reset override

* Fix type mismatch
2023-03-23 14:46:15 -04:00
Agent X 2d10c50ccd Make fixed collision rounded corners toggleable (#315) 2023-03-22 21:02:43 -04:00
eros71 4d1376c292 Add Extended Soundbank (#254)
* Add Extended Soundbank

This PR adds a soundbank to the game with every instrument in the game, so there's no need to only use one set of instruments for m64 sequences.

Use the soundbank ID "42" when replacing sequences with lua to use it.

* Remove hardcoded.h include duplicate

There's a duplicated line that shouldn't be there since hardcoded.h is already included.

* Reinclude duplicate include

I'm still learning the commits system and I've noticed I should push this into a different PR instead by making a fork, sorry about that
2023-03-22 19:04:16 -04:00
Agent X b53654adad Clean up pause menu code and fix player menu bug (#314)
* Clean up pause menu code and fix player menu bug

* Final fixes to player panel bugs
2023-03-22 18:57:23 -04:00
Agent X 05687b838e Fix compilation warnings and stop demos when hosting (#313)
* [WIP] fix warnings

Committing now as is for Isaac to take a look at this.
Having issues with VERSION_TEXT

* Fix VERSION_TEXT crash and stop demos on host
2023-03-21 22:41:43 -04:00
Isaac0-dev 5911cc4d18 fixes and other improvements (#309)
* HOOK_JOINED_GAME

* expose VERSION_TEXT, and two more adjusments

* show if a constant type is a string with autogen

* fix another blunder by that guy

* should use an or operator here

* fix frame limiter stuff
2023-03-21 19:43:29 -04:00
Agent X 33585f00ea Move everything over (#280) 2023-03-20 22:36:25 -04:00
Agent X 26b8f74f1b Fix NaN position bug with fixed collision (#312)
* Fix fixed collision NaN position

Thanks to @Marioiscool246 for figuring this out.
Sometimes Mario's position will become NaN when doing specific things, this fixes that.

Co-Authored-By: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>

* Formatting

Co-Authored-By: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>

* Fix ordering

* Final fix(?)

---------

Co-authored-by: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>
2023-03-20 21:13:02 -04:00
Agent X ad7a632115 get_ttc_speed_setting and set_ttc_speed_setting (#307) 2023-03-20 20:20:11 -04:00
Agent X 00129619c0 Merge pull request #303 from Sunketchupm/coop
Fix inaccuracies in hooks.md
2023-03-20 20:13:55 -04:00
Agent X c3034da34c Merge pull request #306 from Agent-11/smlua-exec-str
/lua (Run Lua from chat IF you compiled with DEVELOPMENT)
2023-03-20 20:12:52 -04:00
Agent X e088679bbd Merge pull request #301 from Agent-11/hooks
Touch up new hooks
2023-03-20 20:07:14 -04:00