Commit Graph

1668 Commits (05981a3598af1e4ef55661abc1be06b8af3eff38)

Author SHA1 Message Date
MysterD 97fa7b15ea Refactoring lua sync table 2022-01-31 21:32:57 -08:00
MysterD eeb9a68529 Lua networking improvements
More types can be sent over the network
SyncTables are synchronized on client join
2022-01-31 19:09:03 -08:00
MysterD 71fe842121 Made globalIndex able to be determined by just localIndex
refactored the ugly spaghetti mess that was network_player_connected()
2022-01-31 00:29:44 -08:00
MysterD 598e8b5bed Initial foundation for lua networking 2022-01-30 23:11:33 -08:00
MysterD f55677c1c8 Updated README.md 2022-01-30 00:16:32 -08:00
MysterD 96310b7c87 Added hooks to Lua documentation 2022-01-30 00:07:50 -08:00
MysterD a854889fa5 Removed ACT_(MARIO_ACTION) Lua functions from API (useless) 2022-01-29 23:02:36 -08:00
MysterD fd88c77dfa Removed unimplemented functions from documentation 2022-01-29 22:59:36 -08:00
MysterD eefb52880c Autogenerated Lua documentation 2022-01-29 22:47:22 -08:00
MysterD 7dd157bfbf Made Lua log to console outside of DEBUG builds 2022-01-29 15:42:33 -08:00
MysterD ad328b8f57 Improvements to Character Movesets
Luigi:
  Added spin ground pound
  Restored air movement
  Prevented wing flutter and scuttle from stacking

Toad:
  Prevented jump from sticking to platforms
  Made side flip's height slightly higher
2022-01-29 15:20:01 -08:00
MysterD ce83f08451 Re-enabled DEVELOPMENT flag's handling of keep alive packets 2022-01-29 01:16:23 -08:00
MysterD 5957097174 Made faster-swimming's vertical swimming fast 2022-01-29 01:15:59 -08:00
MysterD fd3854785b Fixed bubble behavior for character movesets and made Luigi's vertical swimming fast 2022-01-29 01:15:45 -08:00
MysterD 015383b0dd Fixed Discord join and download problems 2022-01-28 23:29:55 -08:00
MysterD 1549081539 Revert "Prevented rare Discord crash on Linux"
This reverts commit 00f41aed38.
2022-01-28 22:05:15 -08:00
MysterD 9bf0b9abca Merge branch 'lua' into unstable 2022-01-28 19:16:21 -08:00
MysterD 2c437a233e Bumped version to unst 14 2022-01-28 19:16:05 -08:00
MysterD 96ddc36c52 Resynchronize Yoshi to fix softlock, synchronized special triple jump better 2022-01-28 19:13:23 -08:00
MysterD 622e026c75 Prevented packets from overrunning their buffers 2022-01-28 19:12:18 -08:00
MysterD 514cd369e2 Made discord/socket use the right format types on Linux vs Windows 2022-01-28 00:15:06 -08:00
MysterD 6c258bced4 Prevent 'exit course' from doing the wrong warp sometimes 2022-01-28 00:03:39 -08:00
MysterD 9224bc4293 Prevent crash and end-of-level corruption when someone collects a non-course star 2022-01-28 00:01:34 -08:00
MysterD 00f41aed38 Prevented rare Discord crash on Linux 2022-01-28 00:00:54 -08:00
MysterD 77dd5d7788 Prevent rendering of unimplemented characters 2022-01-28 00:00:25 -08:00
MysterD 4974b9d9c8 Adjusted player enter/exit level popup 2022-01-27 23:59:46 -08:00
MysterD a3dcfff923 Adjusted bouncing on players 2022-01-27 23:59:18 -08:00
MysterD 40db37afc1 Fixed incompatible tag comparisons, added two simple mods 2022-01-27 23:56:44 -08:00
MysterD 4c573dda2a Refactored interactable djui elements 2022-01-27 23:55:42 -08:00
MysterD 913ea4c5c0 Reading headers from lua files
Fix up warnings on Linux
Disabled mod checkboxes when an incompatible one is enabled
Display descriptions when hovering over a mod
2022-01-27 23:53:58 -08:00
MysterD b26f3e43fc More improvements to Lua
autogenerated functions for characters.h

Fixes in autogen:
	improvements to LVT/LOT conversion
	improvements to immutability status

Updates to character-movesets.lua, every character has a moveset now

Added .type to stuct Character

Prevented unimplemented actions from crashing the game
2022-01-26 20:35:13 -08:00
MysterD a606c99cd1 More Lua improvements
convert_functions.py no longer hardcodes acceptable LOT_ values
Added characters.h and surface_collision.h to convert_structs.py
Prevented mod filenames with a slash in it from being considered acceptable
Sanitized mod filenames when received from the server
2022-01-25 20:28:34 -08:00
MysterD 5a0a2eb9e0 Lua: autogenerated cobjects 2022-01-25 19:28:10 -08:00
MysterD 776c13e978 More lua improvements
Added hooks: ON_SET_MARIO_ACTION, BEFORE_PHYS_STEP
Working on Luigi's character abilities
Autogen lua functions for surface_collision.h
2022-01-24 19:19:19 -08:00
MysterD 1094f2dd50 Fixed Mac Lua library 2022-01-23 23:00:44 -08:00
MysterD c4ce0f0fdc Added missing lua libs 2022-01-23 20:51:05 -08:00
MysterD ea13c38da6 Merge branch 'dev/lua' of github.com:djoslin0/sm64ex-coop into lua 2022-01-23 20:11:24 -08:00
MysterD b846c55850 Fixed linux compile errors 2022-01-23 20:05:31 -08:00
MysterD 6d3efdd0ba Switched from dynamic to static Lua lib 2022-01-23 20:04:53 -08:00
MysterD 1741d0a5c4 Lua will try to load from writable-path/mods before ./mods 2022-01-23 18:47:06 -08:00
MysterD 56574b82eb Lua: more typechecking (converted lua_to* to smlua_to_*) 2022-01-23 17:15:04 -08:00
MysterD b03e32daf1 Added Lua function param count checking 2022-01-23 17:00:13 -08:00
MysterD 1cc94c21cb Added Lua allow-list for cobject pointers 2022-01-23 16:35:43 -08:00
MysterD a28dcb3c45 Allowed enabling/disabling of mods through the UI 2022-01-23 15:45:42 -08:00
MysterD 71ff2a3924 Added download progress bar 2022-01-23 11:32:03 -08:00
MysterD 4b65d0b897 Decreased the amount of back and forth for downloads
Server sends 5 chunks before waiting for another request
Download packets resend at a slower rate
2022-01-23 02:33:25 -08:00
MysterD d25bcaef2f Networking improvements
Reliable packets now save the actual remote address
Clients now only accepts server packets from the desired server
2022-01-23 01:55:43 -08:00
MysterD 90691ee89d Lua mod table and download
Mods are now loaded into a table
Clients now request a mod list from the server, then download each file one at a time before joining
Embedded constants.lua into the program
2022-01-22 23:59:49 -08:00
MysterD 9dba5b3917 Fixed linux compile errors 2022-01-22 15:06:14 -08:00
MysterD 64438413c5 Sandboxed Lua scripts 2022-01-21 20:06:45 -08:00