Jump to content

KaXaK

Members
  • Posts

    23
  • Joined

Posts 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#. :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!

  2. 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)

     

    :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:

  3. 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)

     

    :frown-new:

×
×
  • Create New...