Repository navigation
Update TShock for Terraria 1.4.6.0 - #3331
KRWCLASSIC wants to merge 1 commit into
Conversation
[Medium impact] The changes reach TShock server startup and player networking. Supply the missing build inputs before merging; clean launcher builds currently fail. Findings
SummaryUpdates TShock to
Reviews (1) · Last reviewed commit: "Update TShock for Terraria 1.4.6.0" · Reviewed by Greptile |
| <None Include="..\prebuilts\OpenNAT.dll"> | ||
| <Link>OpenNAT.dll</Link> | ||
| <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
There was a problem hiding this comment.
TShockLauncher.csproj now copies prebuilts/OpenNAT.dll, but that file is not committed and CI never downloads it. A clean build fails when MSBuild tries to copy the missing file. The new native-library folders are also absent, so their wildcards copy nothing. Commit the required files or add a reproducible download step before building.
Knowledge Base Used:
|
Hii, I opened PRs against your branches with some 1.4.6/1.4.6.1 fixes, tested on Linux and Windows:
plz take a look 💟 |
those should be individual PR's to original repo's not mine, get your claude working on gta 6 |
|
tho if they dont pull those PR's in time i might just fork it and do some work for few weeks till they catch up |
|
Found a couple of things while testing this: "has left" is never announced On 1.4.6, // TShockAPI/TShock.cs (OnLeave)
-if (!tsplr.SilentKickInProgress && tsplr.State >= (int)ConnectionState.RequestingWorldData && tsplr.FinishedHandshake)
+if (!tsplr.SilentKickInProgress && tsplr.FinishedHandshake)This only shows up with SignatureBeef/Open-Terraria-API#175, which hooks the new 1.4.6 join/leave announcements. Without it, players see "has joined" twice (vanilla + TShock) and only vanilla's "has left". Both changes should go together. GNS natives are not in the repo TShockLauncher.csproj includes prebuilts/OpenNAT.dll and prebuilts/native/*, but .gitignore excludes *.dll and *.so, so a fresh clone builds without them and GNS can't load. OpenNAT already comes from the OTAPI 3.3.15 package. For the GNS natives, you can do SignatureBeef/Open-Terraria-API#176, which ships them in the nupkg.. or taking them from the vanilla server zip at build time I think. Duplicate "is connecting" in the console 1.4.6 prints // TShockAPI/Sockets/LinuxTcpSocket.cs
ISocket socket = new LinuxTcpSocket(this._listener.AcceptTcpClient());
-Console.WriteLine(Language.GetTextValue("Net.ClientConnecting", socket.GetRemoteAddress()));
this._listenerCallback(socket);I'm not opening separate PRs to the main repo for these because they depend on this one, and I'd rather they get fixed here before 1.4.6 lands in the main branch than have it merged with these bugs. |
bumps OTAPI to
3.3.15, fixes the 3 small 1.4.6 API changes, and adds nativeGNS_Wrapperloading (Windows x64 wrapper here: https://github.com/KRWCLASSIC/Relogic-GNS-Wrapper-Recomp).