• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Improvements for the dedicated server

Patch for what?

/EDIT: Ah, the saveworld issue? That's not part of my mod but the game and will be included in the next hotfix.

 
I have released an Alpha 10 compatibility update for the deobfuscator.
The problems you are encountering probably are because Windows doesn't trust these files (it automatically doesn't trust files from the internet, using software like 7-Zip to unpack the .zip should also solve the problem).

Right click on every .dll file in the patchers subfolder, click on Properties and then click Unblock. Also try this with Deobfuscate-Main.exe.
Ok I tried that, seems more progress was made after unblocking

Still I get these errors after using the windows dedicated: Assembly-CSharp.dll -2.42 MB (2,547,712 bytes)

log_ManualDeobfuscator.txt: http://pastebin.com/84zmdN61

log_NameSimplifier.txt: INFO : Patching 1272 type ...

log_PacketOrNotRelatedStuffPatcher.txt: http://pastebin.com/fy4wDAJ0

mainlog.txt: http://pastebin.com/6j2UC2Nf

Assembly-CSharp.deobf.dll -2.43 MB (2,554,880 bytes)

World w = CommonMappingFunctions.GetGameManager ().World; (World is not found?)

Error 1 'GameManager' does not contain a definition for 'World' and no extension method 'World' accepting a first argument of type 'GameManager' could be found (are you missing a using directive or an assembly reference?) C:\7dtd.tk\7dtd\binary-improvements\7dtd-server-fixes\src\CustomCommands\ListLandProtection.cs 41 56 7dtd-server-fixes

 
Not sure what's happening there but it looks like it still fails to run two of the deob modules.

 
when I run the debug version it stops at

http://i.imgur.com/D9LWWVA.png

running 7dtd-fixes.exe shows this..

__EXCEPTION_OBJECT__ {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 from HRESULT: 0x80131044) File name: 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Signature..ctor(IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeMethodInfo.get_Signature() at System.Reflection.RuntimeMethodInfo.get_CallingConvention() at Mono.Cecil.MetadataImporter.HasCallingConvention(MethodBase method, CallingConventions conventions) at Mono.Cecil.MetadataImporter.ImportMethod(MethodBase method, IGenericContext context, ImportGenericKind import_kind) at Mono.Cecil.ModuleDefinition.Import(MethodBase method) at dtdfixer.MainClass.addHook(TypeDefinition type, String methodName, Boolean addThisRef, Int32 opCount, Boolean atEnd, MethodBase targetMethod) at dtdfixer.MainClass.mappingPatch(ModuleDefinition module) at dtdfixer.MainClass.Main(String[] args) } System.IO.FileLoadException

also tried with the deob ac you sent alloc, so no idea why.. and the files .dll files are all unblocked.

 
Is there a command that displays players' entityIDs without also displaying sensitive information, such as coords?

Currently not but this sounds like a good idea. Added another ticket for that task :)
Any news on this? I want to add moderators and entrust them with the ability to kick and ban, but some players have impossible-to-type names and I don't want the moderators to have the ability to see everyone's location with lp.

 
Not yet but I might do so shortly after the hotfix is released :)

(You might want to remind me if it's done one day after hotfix)

 
Sure can do, but this will be when I get back to work on the webstuff. It doesn't make sense to just randomly drop limited functionality things in there and later on having to redesign everything because the webinterface will require something totally different ;)

 
Hey is this working still for 10.1 hotfix update your file is 207 and when i load it it tells me im running a alpha 10 version and not 10.1 any ideas and also i can get the allocs map to show anything on the server manager i just have a colored screen in the box nothing else thanks.

 
Hey is this working still for 10.1 hotfix update your file is 207 and when i load it it tells me im running a alpha 10 version and not 10.1 any ideas and also i can get the allocs map to show anything on the server manager i just have a colored screen in the box nothing else thanks.
The current one (rev.207) is for 10.1 and also shows 10.1 in the log. Have it running on my own server that way ;)

Server manager: Not on my reach, that's FRT's business ;)

Well, I can't tell you what you do in your code, the code as it is on the SVN compiles + works fine with A10.1 :)

 
I just want to execute a command on the player just right after he joins the game, after the game creates his ID and everything and puts him ingame. For example kill Player or kick or ban doesnt matter. Where should i put the code?

 
Might be a good place in there. But as I said: My code works fine as it is in SVN so if you can't compile I can't help you with the amount of information you gave.

 
Maybe I wasnt clear, all I would like to know if where I could put my code in order for the server to execute it after a player connects to the game.

The code works very well, i would like to know if you could help by telling me where to insert the code in order for it to be executed after a player joins the game. The code doesnt wait for the client to join so it executes the command resulting in a null error, Thread.Sleep(5000);

helps but is unreliable and want to make it as simple as possible.

 
Back
Top