|
Some checks are pending
This pr fixes an issue on linux where the function ns_socket_get_id_str always returns empty string. See glibc implementation of vsnprintf : [vsnprintf implementation](https://elixir.bootlin.com/glibc/glibc-2.36/source/libio/vsnprintf.c#L112). First string parameter is "emptied" before starting the copy. And I suspect the original snprintf to rewrite twice the same value in id_str (except if I missed something) so we can just remove it. This issue gives moderator access to all players when they connect/reconnect after adding one player as moderator because all players have the same id : "". How to reproduce : Host server (via socket, not coopnet) on sm64coopdx linux version Add moderator to one player All new connected or reconnected player are promoted to moderator |
||
|---|---|---|
| .github | ||
| actors | ||
| assets | ||
| autogen | ||
| bin | ||
| data | ||
| developer | ||
| docs | ||
| dynos/packs | ||
| include | ||
| lang | ||
| levels | ||
| lib | ||
| mods | ||
| palettes | ||
| res | ||
| sound | ||
| src | ||
| text | ||
| textures | ||
| tools | ||
| updater | ||
| .clang-format | ||
| .clang-tidy | ||
| .gitattributes | ||
| .gitignore | ||
| assets.json | ||
| CHANGES | ||
| charmap.txt | ||
| charmap_menu.txt | ||
| credits.txt | ||
| Dockerfile | ||
| dynos.mk | ||
| extract_assets.py | ||
| format.sh | ||
| Makefile | ||
| Makefile.split | ||
| README.md | ||
| sm64.eu.sha1 | ||
| sm64.jp.sha1 | ||
| sm64.sh.sha1 | ||
| sm64.us.sha1 | ||
| util.mk | ||
| windows.ld | ||
sm64coopdx is an online multiplayer project for the Super Mario 64 PC port that synchronizes all entities and every level for multiple players. The project was started by the Coop Deluxe Team. The purpose is to actively maintain and improve, but also continue sm64ex-coop, created by djoslin0. More features, customization, and power to the Lua API allow modders and players to enjoy Super Mario 64 more than ever!
Feel free to report bugs or contribute to the project.
Initial Goal (Accomplished)
Create a mod for the PC port where multiple people can play together online.
Unlike previous multiplayer projects, this one synchronizes enemies and events. This allows players to interact with the same world at the same time.
Interestingly enough though, the goal of the project has slowly evolved over time from simply just making a Super Mario 64 multiplayer mod to constantly maintaining and improving the project (notably the Lua API.)
Documentation
sm64coopdx is moddable via Lua, similar to Roblox and Garry's Mod's Lua APIs. To get started, click here to see the Lua documentation. If you want to contribute to the repo, you can view the C documentation here.
Wiki
The wiki is made using GitHub's wiki feature, you can go to the wiki tab or click here.
Community
We have an official Discord server open to the public here.
