Windows
Server executed: /map.
: Unhandled exception
System.UnhandledExceptionEventArgs
[Server API] Error ===================================================================================
[Server API] Error An unhandled exception has occured in TSAPI, and a crash report will be generated
[Server API] Error Generating a crash report, please wait...
[Server API] Error Could not generate a crash report.
[Server API] Error Please upload the crash file and report it at http://tshock.co/
[Server API] Error The process will terminate.
[Server API] Error ===================================================================================
================
3/28/2026 2:37:55 PM: Unhandled Exception
Thread: 12 [Mapper]
Culture: en-US
Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Map.MapPlugin.mapWorld2()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003d6a+0x40
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003d6a+0x7c
HResult: -2147024894
================
Saving world data:
Validating world save:
Backing up world file
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Drawing.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Map.MapPlugin.mapWorld2()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003d6a+0x40
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003d6a+0x7c
CA1416 amongst build warnings; without experience of successful .NET 6 build - guessing 71e9e1c is latest to confirm /map as expected.
TShock.Log.Info is expected to add entry to ServerLog.txt, right? If putting TShock.Log.Error in plugin constructor, tshock doesn't load plugin; not same result if in Initialize() as map.properties was filed in linux. Is it the SYSLIB0006 warnings? ('Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006 ))
To function /map requires pre-command compute, eg. PostInitialize; seems API call not happening even though post-init=True as map.debug filed -
|
List<string> argz = argzz.Parameters; |
is reached in Linux. (updating to
10.0.5 for
System.Drawing.Common wasn't windows fix)
With Visual Studio 2026 (Community),
is not reached in Windows 11 as
|
imagethread = new Thread(mapWorld2); |
is.
gdb ./TShock.Server can't happen if ./TShock.Installer is needed, right? (If non-issue, also need to load in plugin debugging symbols after gdb ./TShock.Installer at gdb prompt, right?)
add-symbol-file /opt/map/Map/bin/Debug/net9.0/Map_TShock.pdb asks add symbol table from file "/opt/map/Map/bin/Debug/net9.0/Map_TShock.pdb", so in affirmative, can't read symbols: file format not recognized. is presently the blocker as info functions mapCommand and info functions mapWorld2 don't have results meaning while enable breakpoints may have no error, not sure how to set by line number instead of function.
Terraria Server v1.4.5.6
Listening on port 7777
Type 'help' for a list of commands
...
: /worldinfo
Server executed: /worldinfo.
Information about the currently running world
Name: file
Size: 8400x2400
ID: 1287687928
Seed: 1430926217
Mode: 1
Path: /home/garner/.local/share/Terraria/Worlds/file.wld
: /serverinfo
Server executed: /serverinfo.
Memory usage: 603639808
Allocated memory: 281083539456
Total processor time: 00:51:00.9799350
Operating system: Unix 6.17.0.19
Proc count: 8
Machine name: os
: /setup
You must use this command in-game.
character reset
Seemingly forgot to "move to cloud" last time, perhaps in windows 10.
permission(s)

file (N/A) has joined.
file has joined. IP: 127.0.0.1
file executed (args omitted): /login.
file authenticated successfully as user: perceus.
file tried to execute /map reload.
file executed: /sudo /map reload.
file executed: /map reload.
/map
Server executed: /map.
: file tried to execute /map.
file executed: /sudo /map.
file executed: /map.
Should be:
|
utils.SendLogs("Saving Image...", Color.WhiteSmoke); |
map/map.properties
mapoutput-path=/opt/tshock
color-scheme=Terrafirma
autosave-enabled=False
Plugin should support lack of infomation if not needed. Is /displaylogs a factor?
/map
Server executed: /map.
: Unhandled exception
System.UnhandledExceptionEventArgs
[Server API] Error ===================================================================================
[Server API] Error An unhandled exception has occured in TSAPI, and a crash report will be generated
[Server API] Error Generating a crash report, please wait...
[Server API] Error Could not generate a crash report.
[Server API] Error Please upload the crash file and report it at http://tshock.co/
[Server API] Error The process will terminate.
[Server API] Error ===================================================================================
================
3/29/2026 12:17:39 PM: Unhandled Exception
Thread: 5 [Mapper]
Culture: en-US
Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Drawing.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Map.MapPlugin.mapWorld2()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003c81+0x40
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003c81+0x7c
HResult: -2147024894
================
Saving world data:
Validating world save:
Backing up world file
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Drawing.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at Map.MapPlugin.mapWorld2()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003c81+0x40
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Private.CoreLib.dll:token 0x6003c81+0x7c
[New Thread 0x7fbf4b54e6c0 (LWP 12221)]
[New Thread 0x7fbf3bfff6c0 (LWP 12222)]
[New Thread 0x7ffff4ca26c0 (LWP 12223)]
[New Thread 0x7fbf3b7fe6c0 (LWP 12224)]
[Thread 0x7fbf3b7fe6c0 (LWP 12224) exited]
[Thread 0x7fbf3bfff6c0 (LWP 12222) exited]
[Thread 0x7fbf4b54e6c0 (LWP 12221) exited]
[Thread 0x7ffff4ce36c0 (LWP 12187) exited]
[Thread 0x7fbf489ff6c0 (LWP 12180) exited]
[Thread 0x7ffff57fb6c0 (LWP 12178) exited]
[Thread 0x7ffff5ffc6c0 (LWP 12177) exited]
[Thread 0x7ffff67fd6c0 (LWP 12176) exited]
[Thread 0x7ffff6ffe6c0 (LWP 12175) exited]
[Thread 0x7ffff77ff6c0 (LWP 12174) exited]
[Thread 0x7ffff7bff240 (LWP 12173) exited]
[Thread 0x7ffff4ca26c0 (LWP 12223) exited]
[New process 12173]
[Inferior 1 (process 12173) exited normally]
(gdb) bt
No stack.
(gdb)
lack of player-side confirmation
How does the permission node map.create get added on a tshock server?
Windows
CA1416 amongst build warnings; without experience of successful .NET 6 build - guessing 71e9e1c is latest to confirm
/mapas expected.TShock.Log.Infois expected to add entry toServerLog.txt, right? If puttingTShock.Log.Errorin plugin constructor, tshock doesn't load plugin; not same result if inInitialize()asmap.propertieswas filed in linux. Is it theSYSLIB0006warnings? ('Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006))To function
/maprequires pre-command compute, eg.PostInitialize; seems API call not happening even thoughpost-init=Trueasmap.debugfiled -map/Map/MapPlugin_Commands.cs
Line 46 in b30fc0b
10.0.5forSystem.Drawing.Commonwasn't windows fix)With Visual Studio 2026 (Community),
map/Map/MapPlugin_Mapper2.cs
Line 100 in b30fc0b
map/Map/MapPlugin_Commands.cs
Line 258 in b30fc0b
gdb ./TShock.Servercan't happen if./TShock.Installeris needed, right? (If non-issue, also need to load in plugin debugging symbols aftergdb ./TShock.Installerat gdb prompt, right?)add-symbol-file /opt/map/Map/bin/Debug/net9.0/Map_TShock.pdbasksadd symbol table from file "/opt/map/Map/bin/Debug/net9.0/Map_TShock.pdb", so in affirmative,can't read symbols: file format not recognized.is presently the blocker asinfo functions mapCommandandinfo functions mapWorld2don't have results meaning whileenable breakpointsmay have no error, not sure how to set by line number instead of function.character reset
permission(s)
Should be:
map/Map/MapPlugin_Mapper2.cs
Line 129 in b30fc0b
map/map.properties
Plugin should support lack of infomation if not needed. Is
/displaylogsa factor?lack of player-side confirmation
How does the permission node
map.createget added on a tshock server?