Commit graph

52 commits

Author SHA1 Message Date
Luke
3e08982e73 Merge branch 'general-devel' into net9-upgrade 2025-01-29 22:03:08 +10:00
Lucas Nicodemus
0516428f88
Merge branch 'general-devel' into feature/detect-installations-in-client-directory 2025-01-27 21:56:48 +09:00
renovate[bot]
9aba57dab6
Update dependency MySql.Data to 8.4.0 2025-01-25 13:31:02 +00:00
Luke
0c4c7db52e Update nuget packages 2025-01-11 19:56:38 +10:00
Luke
6a3e8c3d5d Improve launcher assembly resolution
This addresses dev instances unable to resolve binaries, and types being requested by the plugin manager before the resolver is attached
2025-01-11 14:32:24 +10:00
Luke
d404b5a64c Update to OTAPI 3.2.4 2025-01-11 11:20:51 +10:00
Luke
91c578815c Update net6 refs to net9 2025-01-11 11:19:16 +10:00
James Puleo
8b57f32125
Detect invalid TShock installations
There are two common mistakes made by those installing/updating TShock:
- Extracting TShock into the Terraria client directory
- Extracting TShock 5 or newer into a legacy (TShock 4 or older) install

By checking for the existence of a file named `TerrariaServer.exe`, we
can potentially detect these invalid installations, and prompt the user
with a more useful diagnostic, rather than (likely) crashing moments
later.
2022-12-20 22:35:22 -05:00
ATFGK
1435066745
Update Program.cs 2022-12-13 12:05:44 +08:00
Janet Blackquill
be8e51959f Introduce integrated package manager
This commit introduces an integrated package manager into TShock
for the purpose of fetching and installing plugins and their dependencies
from NuGet repositories.

This makes getting new plugins easier for users, as well as simplifiying
more advanced deployment scenarios.
2022-11-28 08:16:11 -05:00
renovate[bot]
7afd866644
Update OTAPI things 2022-11-17 21:26:07 +00:00
renovate[bot]
6f8d434ef1
Update OTAPI things 2022-11-10 21:12:20 +00:00
renovate[bot]
4a7971519d
Update dependency Microsoft.Data.Sqlite to v6.0.11 2022-11-10 07:02:44 +00:00
renovate[bot]
afb966dcff
Update OTAPI things 2022-11-10 01:32:45 +00:00
Luke
02694fcec0 Exclude GeoIP.dat from single file 2022-11-02 15:17:57 +10:00
renovate[bot]
f9ef09f861
Update OTAPI things 2022-10-25 07:29:36 +00:00
renovate[bot]
045115ca7a
Update dependency GetText.NET to v1.7.14 2022-10-24 11:10:52 +00:00
Luke
0c2d194d02 Include geoip.dat file again
This should allow the GeoIP.dat file to be found, and used the same way it used to on TShock 4.
It appears I had missed including this in the upgrade, and simply allowing it to copy to the output will allow the system to start working again.
Confirmed by enabling in config and joining via mobile (external network) and my country has appeared, N/A otherwise (local network)
Note: only ipv4 was tested.
2022-10-22 21:45:31 +10:00
renovate[bot]
dc505474b0
Update OTAPI things 2022-10-22 00:05:00 +00:00
Janet Blackquill
77be338e46 Add i18n system 2022-10-20 02:09:29 -04:00
renovate[bot]
730060e8de
Update OTAPI things 2022-10-17 08:37:00 +00:00
renovate[bot]
44ae34f06e
Update dependency Microsoft.Data.Sqlite to v6.0.10 2022-10-13 05:53:52 +00:00
renovate[bot]
8bff6edfdc
Update dependency MySql.Data to v8.0.31 2022-10-13 05:44:50 +00:00
renovate[bot]
71a5573143
Update OTAPI things 2022-10-11 04:06:58 +00:00
renovate[bot]
69007832d3
Update OTAPI things 2022-10-09 18:29:13 +00:00
renovate[bot]
92ba036bb9
Update dependency OTAPI.Upcoming to v3.1.10-alpha 2022-10-08 23:23:49 +00:00
renovate[bot]
82008437c2
Update dependency OTAPI.Upcoming to v3.1.9-alpha 2022-10-08 00:04:50 +00:00
Lucas Nicodemus
06a631af7e
Merge branch 'general-devel' into dependency_base_path 2022-10-07 01:43:49 -07:00
renovate[bot]
dd54f11c73
Update dependency Microsoft.Data.Sqlite to v6.0.9 2022-10-06 16:22:58 +00:00
Luke
c76b144b0a Fix #2674 - Change the use of current directory to match the server assembly location
This will allow dependencies to be resolved beside the assembly as intended when startup scripts are used outside the working directory.
I am not sure why or how many people would do this, as TSAPI wont load plugins (existing issue), but this is a step in the direction of opening up to allow considerations for that.
2022-10-06 20:24:41 +10:00
renovate[bot]
fd07f93734
Update OTAPI things 2022-10-06 08:42:57 +00:00
Luke
10fddf41c3 Update copyright year range in launcher 2022-10-05 18:31:46 +10:00
Luke
ee4a57c102 Terraria 1.4.4.4 / OTAPI 3.1.7-alpha 2022-10-05 08:01:21 +10:00
Luke
b498e471a3 Terraria 1.4.4.3 / OTAPI 3.1.6-alpha 2022-10-04 16:06:12 +10:00
Luke
dcf9a220dc 1.4.4.2 changes / OTAPI 3.1.5-alpha 2022-09-30 15:33:33 +10:00
Luke
841c383ce5 1.4.4.1 changes
This is 1.4.4.1 changes using a new branch away from the DI changes.
2022-09-29 21:39:56 +10:00
Luke
521eeacd73 OTAPI 3.1.3-alpha - Fix world deletions 2022-09-08 16:06:20 +10:00
Luke
3a77388c06 TSAPI update for OTAPI 3.1.2-alpha
Fix loading from ./modifications (some plugins already use this)
2022-09-06 20:22:20 +10:00
Luke
e0f20f92b3 Extract out ModFramework.dll 2022-09-05 22:02:05 +10:00
Luke
76c39c2f59 Fix wording in Program.cs comments 2022-09-05 22:01:49 +10:00
Luke
99ddcb247b Dependency updates, OTAPI 3.1 & ModFw 1.1 2022-09-05 22:01:33 +10:00
Luke
b15528c691 Exclude OTAPI from being packed into the launcher 2022-07-29 17:36:36 +10:00
Luke
578df18901 Redo launcher csproj and action to use framework dependent builds
This also includes package updates across the entire solution, which shouldn't matter at this stage on this branch.
2022-07-27 21:53:09 +10:00
Luke
c063aabbc0 Switch to Microsoft.Data.Sqlite for arm64
There is a slight change the the way QueryResult works in order to satisfy the variances in the new library.
Disposing of the command with the reader appears to solve this, and hopefully, with minimal impact to plugins.
2022-03-27 21:38:58 +10:00
Luke
699047d119 Bump TSAPI/OTAPI & other deps for arm64
This should allow monomod hooks to run on a raspberrypi (no apple silicon yet)
2022-03-27 19:31:43 +10:00
Luke
0ef79230a6
Update TShockLauncher/Program.cs
Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2021-12-07 18:18:34 +10:00
Luke
2c36dacfd2 Single file publish support, test project and simple build CI
This also adds remote raspberry pi debugging with default install details. More testing is required as MonoMod may not be working for arm64 still

CI might not work yet either
2021-12-03 00:07:11 +10:00
Luke
c159f2b388 Add newline to TShock.sh + add linux-arm64 to launcher release 2021-12-02 15:55:26 +10:00
Luke
9a2aa5e825 Add ubuntu runtime identifier 2021-12-01 21:14:34 +10:00
Luke
63eda6771c Correct windows launching in debug mode, and dont move the TShock.sh in osx 2021-12-01 09:27:15 +10:00