Commit Graph

1404 Commits (015383b0dd21a011a387659b6e97a03ef8b1644a)

Author SHA1 Message Date
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
MysterD c802ffea4e Lua: moved hook functions into their own file 2022-01-21 19:40:26 -08:00
MysterD 6d1f5637cb Merge branch 'unstable' into lua 2022-01-21 19:19:21 -08:00
MysterD bb4ae0abf1 Bump version to unst 13 2022-01-21 19:15:51 -08:00
MysterD cac892f792 Added headless server compile mode 2022-01-21 19:13:41 -08:00
MysterD 63473eca21 Notify players where other players go with a popup 2022-01-21 18:24:53 -08:00
MysterD 414e96cebc Added ability to exit course, exiting out of the painting 2022-01-21 00:56:54 -08:00
MysterD 29a7a1d1c4 Added define guards around controller bind mappings 2022-01-20 23:35:38 -08:00
MysterD 4a1b080ad4 Allow players to change name/model/palette while connected 2022-01-20 22:23:57 -08:00
MysterD 8a07740706 Removed server enforcement of unique player palettes 2022-01-20 21:52:14 -08:00
MysterD a0f01090ce Added key/bind names to controls menu 2022-01-20 21:46:22 -08:00
MysterD bc431deb4e Lua stuff
Added HOOK_BEFORE_MARIO_UPDATE
Added support for Vec3f/Vec3s in autogenerated lua functions
Added more lua functions from mario_actions_submerged.c, and thread6.c
Renamed animation-related fields in CObject wrappers
Moved coss and sins to wrapper

Extended Moveset:
  Fixed rolling angle bug
  Added rumble calls
  Set facing direction when spinning
  Added ledge parkour
  Corrected ground pound animation
2022-01-20 19:04:34 -08:00
MysterD 652e29b679 Even more Lua improvements
Added support for structs: Surface, GraphNodeObject_sub, Animation
Generated lua wrapper functions for more functions in mario_actions_submerged.c
Fixed play_sound() wrapper to use a vec3f
Extended Moveset:
	ported wall slide and water ground pound
2022-01-20 18:02:12 -08:00
MysterD 4ff49cbca7 Even more Lua improvements
Reorganized autogenerated lua functions into their own file
Grouped up COBJECT LVTs
Partially implemented: struct MarioBodyState, Object, ObjectNode, GraphNodeObject
Reimplemented lua function wrappers for: camera.h, mario.h, mario_actions_*.c, mario_step.h
2022-01-19 19:20:57 -08:00
MysterD b217e359fb More Lua improvements
Added Lua wrapper functions for mario_actions_moving.c, mario_step.h, mario_actions_airborne.c, camera.h, mario_actions_stationary.h

Extended Moveset Mod:
Started porting spin jump from extended moveset
Added act_ground_pound_jump, act_spin_pound, act_spin_pound_land,
2022-01-19 01:00:56 -08:00