Jump to content

KaXaK

Members
  • Posts

    23
  • Joined

Everything posted by KaXaK

  1. 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 : 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#. 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!
  2. 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!
  3. 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!
  4. 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! 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)
  5. Master Alloc! you forget 'src\CustomCommands\webstat.cs' in your last revision.
  6. root#: apt-get install lib32stdc++6 thx thats working! ::
  7. Why i did not thought about that!
  8. hi Alloc, (maybe a noob question ^^')What do you think about running a server in 64bits? Is it possible? and what could we expect from performance gain? Thx again for that awesome script/mod
  9. Hi Alloc, Is there a way to change XX country server?
  10. Hi, I am trying to compile (svn ver.140/visual studio 2012) 7dtd-server-fixes.dll from the server-fixes.sln but it is missing a file named 'src\CustomCommands\EnableRendering.cs'. Many thanks for this awesome script. ^^
×
×
  • Create New...