Native Linux server (with management scripts)

Not with the Linux one. There was a problem in the first ~16hrs though so people who received the *second* key of a 2pack could not access the Linux client and dedicated.
I was definitely updating within the first 16 hours.

 
I have Ubuntu 14x and my instance is crashing a few times an hour. I used to run 9.3 on here without many problems, and deleted that instance after updating to A10. Do you guys recommend not using Ubuntu? Not sure if that's where the problem is.

Or maybe everyone is having crash issues with this A10?

 
I don't get any crashing with it, also ubuntu14, can find the output log files in the log folder of the instance you made

 
I can compile (delete webstat.cs) but when I run 7dtd-fixer.exe...

I get this strange error... I am not advanced dev in c# but there is the UnityEngine.dll in the folder!

Code:
System.IO.FileLoadException: Could not load file or assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception de HRESULT : 0x80131044)
Nom de fichier : 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  à System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
  à System.Reflection.RuntimeMethodInfo.get_CallingConvention()
  à Mono.Cecil.MetadataImporter.HasCallingConvention(MethodBase method, CallingConventions conventions)
  à Mono.Cecil.MetadataImporter.ImportMethod(MethodBase method, IGenericContext context, ImportGenericKind import_kind)
  à dtdfixer.MainClass.replaceMethod(TypeDefinition type, String methodName, Boolean addThisRef, Int32 opCount, MethodBase targetMethod)
  à dtdfixer.MainClass.mappingPatch(ModuleDefinition module)
  à dtdfixer.MainClass.Main(String[] args)
:frown-new:

 
I have Ubuntu 14x and my instance is crashing a few times an hour. I used to run 9.3 on here without many problems, and deleted that instance after updating to A10. Do you guys recommend not using Ubuntu? Not sure if that's where the problem is.
Or maybe everyone is having crash issues with this A10?
Just speaking for myself, but I host my 7dtd servers on a Ubuntu 14.04.1 box and everything runs smoothly, no crash since the update to A10.

 
Not with the Linux one. There was a problem in the first ~16hrs though so people who received the *second* key of a 2pack could not access the Linux client and dedicated.
Success today, It downloaded way more files than before and put a bunch of stuff in the engine folder that wasn't there. And the server starts. This is still on arch linux, didn't switch to ubuntu after all.

I haven't tried logging in yet or tested for crashes but I'll see after work.

 
Success today, It downloaded way more files than before and put a bunch of stuff in the engine folder that wasn't there. And the server starts. This is still on arch linux, didn't switch to ubuntu after all.
Could you go a bit more into detail on what "the bunch of stuff" is you added to the folder? ;)

 
Could you go a bit more into detail on what "the bunch of stuff" is you added to the folder? ;)
I think you misunderstood, the download process resulted in a bunch more stuff being in the engine folder as opposed to what was there when I tried updating Saturday. Not that I put anything there manually.

So steamcmd wasn't downloading everything in my case.

 
Hi, so A10 release seems to be working fine, updating etc. was no problem.

However I am experiencing a weird bug on the server. After a while, people cant join correctly anymore. The Client joins and loads the game, however the client can never press ENTER to join the game.

The server is just spamming the following message into the ouput-log (140Mb logfile):

2014.11.24 09:29:23: at C87AA.9AAA0 (System.Random 0AAAA) [0x00000] in <filename unknown>:02014.11.24 09:29:23: at C87AA.397AA (ArraySegment`1 _activeChunks, .EntityPlayer _thePlayer, System.Random _rnd) [0x00000] in <filename unknown>:0

2014.11.24 09:29:23: at World.C77AA (ArraySegment`1 _activeChunks) [0x00000] in <filename unknown>:0

2014.11.24 09:29:23: at GameManager.Update () [0x00000] in <filename unknown>:0
I could even issue a shutdown command, so the server seems to be responding to telnet commands, its just that no one can join, any ideas?

 
I think you misunderstood, the download process resulted in a bunch more stuff being in the engine folder as opposed to what was there when I tried updating Saturday. Not that I put anything there manually.
So steamcmd wasn't downloading everything in my case.
Yeah, rereading your message I see that now ;) I probably added an "I" after the "and" when reading it.

Just wondering, do you actually use the second key of a 2pack for the server?

Hi, so A10 release seems to be working fine, updating etc. was no problem.However I am experiencing a weird bug on the server. ...
The error is all over the forum already ;)

Going to be fixed with an upcoming hotfix.

 
I can compile (delete webstat.cs) but when I run 7dtd-fixer.exe...I get this strange error... I am not advanced dev in c# but there is the UnityEngine.dll in the folder!

Code:
System.IO.FileLoadException: Could not load file or assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception de HRESULT : 0x80131044)
Nom de fichier : 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  à System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
  à System.Reflection.RuntimeMethodInfo.get_CallingConvention()
  à Mono.Cecil.MetadataImporter.HasCallingConvention(MethodBase method, CallingConventions conventions)
  à Mono.Cecil.MetadataImporter.ImportMethod(MethodBase method, IGenericContext context, ImportGenericKind import_kind)
  à dtdfixer.MainClass.replaceMethod(TypeDefinition type, String methodName, Boolean addThisRef, Int32 opCount, MethodBase targetMethod)
  à dtdfixer.MainClass.mappingPatch(ModuleDefinition module)
  à dtdfixer.MainClass.Main(String[] args)
:frown-new:
for C# modders. I solved my problem by removing the strong name signature of the Assembly-CSharp.dll as explained here : http://resources.infosecinstitute.com/dot-net-assemblies-and-strong-name-signature/

Yeah! My autokickhightping will be back soon! :excitement:

 
Last edited by a moderator:
1.dump Assembly-CSharp.dll with ildsam.exe to an .il file.

2.search for RSA1 string in the .il

and delete :

.publickey ...RSA1....

.hash algorithm

3.reassemble with ilasm.exe /dll "path/to/the/file.il"

enjoy the modding! :encouragement:

 
Alloc!

Did you commit your last revision (current is 205)?

Because when I patch the assembly only with my custom fixes, the server work well!

But when I try to compile only with your fixes, can not connect with telnet or 7DTD client!

and the output.log spam this :

Code:
MissingMethodException: Method not found: 'System.Threading.Monitor.Enter'.
 at ConsoleSdtd.Run () [0x00000] in <filename unknown>:0 

 at GameManager.Update () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)
test server runing on windows 7 x64

I leave the post just in case someone is noob as me in c#. :D

so I get this because i changed earlier the target .NET to 4.0 when the strong signature blocked me to patch assembly!

So just target the 3.5 .NET to 7dtd-server-fixes project to fixe this!

 
Last edited by a moderator:
Back
Top