Seems to be a few different errors. I've attached the Dedicated log with errors. Read them and my eyes went sideways.
For some reason, your Empyrion is not responding to PlayerAPI requests. Code: 03-09:38:54.626 20_38 -LOG- {:EmpyrionModClient} **OpenBackpack 5:/vb 1 number/1 03-09:38:57.607 20_38 -LOG- Booting PfServer (PID 4548) starts preparation after 14.0 seconds... 03-09:38:59.646 20_38 -LOG- New reserve PfServer (PID 4548) ready after 16.0 seconds - count is now: 1 03-09:39:04.759 20_39 -LOG- {:EmpyrionModClient} backpack open failed for player 2140 :System.TimeoutException: The operation has timed out. .. ff this is how it should look (for the first open command) Code: 03-14:00:41.168 16_00 -LOG- {:EmpyrionModClient} **OpenBackpack 5:\vb 1 number/1 03-14:00:41.288 16_00 -LOG- {:EmpyrionModClient} NameIdMapping:'Saves\Games\DefaultRE\Mods\EmpyrionScripting\NameIdMapping.json' CurrentDirectory:C:\steamcmd\empyrion.server 03-14:01:25.809 16_01 -LOG- INFO: Uptime=10h56m 60,000 2381 heap= 864MB fps=40,0 players= 2 pfs=r0/i1/a1 ticks=123628666 nwqueue=Net:0/2 03-14:02:25.829 16_02 -LOG- INFO: Uptime=10h57m 60,019 2381 heap= 864MB fps=39,8 players= 2 pfs=r0/i1/a1 ticks=123629866 nwqueue=Net:0/2 03-14:03:25.840 16_03 -LOG- INFO: Uptime=10h58m 60,011 2385 heap= 864MB fps=39,8 players= 2 pfs=r0/i1/a1 ticks=123631066 nwqueue=Net:0/2 ... ff Also I find it strange that you have to recompile it. Take the complete ModLoader package from the beginning of this thread, delete your ModLoader directory and replace it with its contents, because that works fine so far.
I've downloaded the latest one and tried it multiple times since you released it. It loads the ModLoader and I can see in EWA the BackpackExtender mod is loaded but I get no response from any /vb commands and I've just checked and nothing in the Dedicated logs at all. If I use my compiled version then /vb commands works but errors as attached that seem to occur 8 seconds after opening the "/vb 1" or "/vb 2"window. It then allows normal use of the windows and I can put items in/out and it saves it in the .json file on the server. Tried it on my other machine and it's happening there too. Could there be anything running on Windows 10 that could be causing the issues. Do I need any software running on the machine or anything specific in the hosts file?
I've attached the full Dedicated Log using your .dll. Here is a selection of code that looks like the error when I use your .dll. Code: 04-02:20:50.681 13_20 -LOG- {:EmpyrionModClient} ModClientDll: start host 'D:\Empyrion_Test\dedicatedserver\Content\Mods\ModLoader\Client\..\Host\EmpyrionModHost.exe' 04-02:20:50.682 13_20 -LOG- {:EWAModClient} ModClientDll: start host 'D:\Empyrion_Test\dedicatedserver\Content\Mods\EWALoader\Client\..\EWA\EmpyrionModWebHost.exe' 04-02:20:50.686 13_20 -LOG- {:EmpyrionModClient} ModClientDll: host started 'D:\Empyrion_Test\dedicatedserver\Content\Mods\ModLoader\Client\..\Host\EmpyrionModHost.exe/32848' 04-02:20:50.700 13_20 -LOG- {:EWAModClient} ModClientDll: host started 'D:\Empyrion_Test\dedicatedserver\Content\Mods\EWALoader\Client\..\EWA\EmpyrionModWebHost.exe/12860' -> StartInfo:'D:\Empyrion_Test\dedicatedserver\Content\Mods\EWALoader\Client\..\EWA\EmpyrionModWebHost.exe' in 'D:\Empyrion_Test\dedicatedserver\Content\Mods\EWALoader\Client\..\EWA' with '-EmpyrionToModPipe EmpyrionToEWAPipe6678a9e0645a4104ae746a222de03c9f -ModToEmpyrionPipe EWAToEmpyrionPipef34cde7c83034353aac64198d9e354f0 -GameDir "D:\Empyrion_Test\dedicatedserver" "DedicatedServer/EmpyrionDedicated.exe" -batchmode -nographics -dedicated "dedicated_aphrodite6.yaml" -logFile "../Logs/3511/Dedicated_211004-132033-98.log" ' 04-02:20:51.681 13_20 -LOG- {:ModExtenderCommunication} ServerPipe: ModToEmpyrionPipeaacdfe49625141efb79ddaef92f51832 connected 10485760 04-02:20:51.699 13_20 -LOG- {:EmpyrionModClient} Try load within: D:\Empyrion_Test\dedicatedserver -> D:\Empyrion_Test\dedicatedserver\Content\Mods\ModLoader\Host\..\MODs\EmpyrionBackpackExtender 04-02:20:51.699 13_20 -LOG- {:EmpyrionModClient} ModDispatcher: ..\MODs\EmpyrionBackpackExtender\EmpyrionBackpackExtender.dll -> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence) at System.Reflection.Assembly.LoadFile(String path) at EmpyrionModHost.ModDispatcher.TryLoadAssembly(String aAssembly) in C:\MapDirectories\Projekte\C#\Empyrion\EmpyrionModHost\EmpyrionModHost\ModDispatcher.cs:line 147 at EmpyrionModHost.ModDispatcher.LoadAssembly(String aFileName) in C:\MapDirectories\Projekte\C#\Empyrion\EmpyrionModHost\EmpyrionModHost\ModDispatcher.cs:line 90 04-02:20:51.699 13_20 -LOG- {:EmpyrionModClient} ModDispatcher(finish:0): D:\Empyrion_Test\dedicatedserver\Content\Mods\ModLoader\Host\DllNames.txt 04-02:20:52.682 13_20 -LOG- {:EWAExtenderCommunication} ServerPipe: EWAToEmpyrionPipef34cde7c83034353aac64198d9e354f0 connected 10485760 The screenshot is from the machine I'm compiling on. The other machine also fails with the same error and it's running .NET 4.5
What about the other mods from the ModLoader.zip? You obviously did not delete the entire ModLoader directory and simply replaced it with the contents of the ZIP? Furthermore, your system seems to think that the DLL is a "foreign" DLL - either because something is wrong with the .NET installation or because the system thinks that this file comes from the network (or the DLL is marked as "not safe" because the download comes from the Internet).
Resolved your DLL not loading. Open File Properties and click the UNBLOCK Checkbox to fix. But we're back to the error I had from my compile version. Log attached. Happens on 2 different servers. One running .NET 5.0 and the other .NET 4.5
The log doesn't match the screenshot because in the log I don't see that it tries to load the EmpyrionBaseAlign.dll. To the log before deliver. There all ModDLLs deliver this error. Since this seems to be unique to your server, it must be related somehow. I have never seen this error reported by any other server operator. Maybe the link Microsoft gives in the error description helps to find a solution for your computer.
EmpyrionBaseAlign.dll screenshot shows how to UNBLOCK the .ddl. It doesn't show after you select it so I wasn't able to show the BackPack .dll. This fixes the issue with the Microsoft link. We're on the first error I reported which is the error when the /vb 1 command is run and gives error 10 seconds after it is opened. The error in the Dedicated log file. Here is the snippet: Code: 04-06:29:56.117 17_29 -LOG- Thread 'Reader_127.0.0.1:56405' ThreadId=38808 ManagedId=35 04-06:29:56.117 17_29 -LOG- Thread 'Writer_127.0.0.1:56405' ThreadId=37932 ManagedId=36 04-06:30:04.241 17_30 -LOG- CHAT Player/Global from 6001/Player.6001 to -1/Faction.0 (-): '/vb help' 04-06:30:07.293 17_30 -LOG- Booting PfServer (PID 40600) starts preparation after 13.3 seconds... 04-06:30:09.348 17_30 -LOG- New reserve PfServer (PID 40600) ready after 15.4 seconds - count is now: 1 04-06:30:11.500 17_30 -LOG- CHAT Player/Global from 6001/Player.6001 to -1/Faction.0 (-): '/vb 1' 04-06:30:11.505 17_30 -LOG- {:EmpyrionModClient} **OpenBackpack 3:/vb 1 number/1 04-06:30:26.734 17_30 -LOG- INFO: Uptime=00h00m 60.268 2196 heap= 553MB fps=40.0 players= 1 pfs=r0/i1/a1 ticks=42712 nwqueue=Net:0/1 04-06:30:29.371 17_30 -LOG- CHAT Player/Faction from 6001/Faction.102 to -1/Faction.102 (-): '/vb 1' 04-06:30:29.372 17_30 -LOG- {:EmpyrionModClient} **OpenBackpack 5:/vb 1 number/1 04-06:30:31.470 17_30 -LOG- {EPM} Timelog: Send to Dedi: 11/min 04-06:30:31.470 17_30 -LOG- {EPM} Timelog: Received from Dedi: 24/min 04-06:30:39.494 17_30 -LOG- {:EmpyrionModClient} backpack open failed for player 6001 :System.TimeoutException: The operation has timed out. at EmpyrionNetAPITools.Extensions.TaskTools.<For>d__4`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at EmpyrionNetAPITools.Extensions.TaskTools.<For>d__4`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at EmpyrionNetAPIAccess.Broker.<Request_Player_ItemExchange>d__144.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at EmpyrionNetAPIAccess.EmpyrionModBase.<Request_Player_ItemExchange>d__143.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at EmpyrionBackpackExtender.EmpyrionBackpackExtender.<OpenBackpackItemExcange>d__34.MoveNext() 04-06:30:50.029 17_30 -LOG- NET: Raknet player disconnected CId=1/16413057694261353036 04-06:30:50.029 17_30 -LOG- [CM] Player 76561198155777683/'[TOG] Xukisy' logged off 04-06:30:50.030 17_30 -LOG- Client CId=1, EId=6001, 76561198155777683/=/'[TOG] Xukisy' disconnected from Haven, now empty -> delayed unload enqueued
If I'm not mistaken it's coming from the line 307 in EmpyrionBackpackExtender.cs : Code: try { await Request_Player_ItemExchange(Timeouts.NoResponse, exchange); } // ignore Timeout Exception Am I correct in saying you coded this in to ignore the Timeout exception I'm seeing in the logs?
I did a complete update of the mods yesterday - could you please test this version to see if it addresses the bugs?
Sorry about the delay. Work got in the way of play. I see an error in Dedicated log when the mod first loads on server start but it's error free otherwise. No errors in game or in the logs after running any of the /vb commands.
Update. The server transfer including item transfer using Extended Backpack from my old to new server was a success. Thank-you @ASTIC
Hallo Zusammen, ich hoffe jemand kann mir weiter helfen: LCD1: "Script:BAY1" Code: {{~setcache 'BAY1' 'false'}} {{~#each E.S.DockedE}} {{#globaltostructpos @root.E.S Pos}} {{#test ~y in '127-132'}} {{#test ~z in '14-21'}} {{#test ~x in '6-14'}} {{~setcache 'BAY1' 'true'}} Docked Ship: {{Name}} {{/test}} {{/test}} {{/test}} {{/globaltostructpos}} {{/each}} {{#test @root.CacheData.BAY1 eq 'true'}} {{setswitch @root.E.S 'SWITCHBAY1' true}} {{else}} {{setswitch @root.E.S 'SWITCHBAY1' false}} {{/test}} Anzeige auf dem LCD "BAY1": Docked Ship: Wieso kommt hier der Name des Schiffes nicht? den cashe respektive Switch teil führt es korrekt aus. Grüsse
'Name' kommt von dem DockedE Objekt welches 4 Ebenen über der liegt in der du es benutzen willst (jedes Blockkommando erzeugt eine neue Ebene mit 'seinem' Objekt) also musst du mit ../ die Ebenen 'hochgehen' . Anmerkung:; Vermutlich 4 wen ich mich nicht verzählt habe Code: Docked Ship: {{../../../../Name}}
How can I apply FillBox script and another scripts of my choice at a RE 16 dedicated server so ppl don't have to install EmpyrionScripting a their client ? Also, without having to add code to their ships. I have seen servers that have done it.
Like "ActiveRadar" or "SendData" in https://github.com/GitHub-TC/EmpyrionScripting-Collection you can do this automatic fill with SaveGameScripts