Announcement

Collapse
No announcement yet.

Improvements for the dedicated server

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Improvements for the dedicated server

    Hi there,

    as it was always an annoyance to me that a) you have no chance to get the IP clients use and b) the Telnet part of the server was unstable and only allowed a single connection at a time I started a 7dtd-server-fixes project.

    I think this could be useful to anyone running a dedicated server
    Note that this only works with the new dedicated server build of 7dtd.

    I also added three new console commands (getgameprefs, gettime, listplayersextended).

    A more detailed information on what this project currently includes, where to download (both precompiled and sources), and release notes for future updates can be found on:

    https://7dtd.illy.bz/wiki/Server%20fixes

    Regards,
    Chris


    PS: People running a Linux server and using my scripts to manage it do not need to download this manually as I will integrate it in the next release of the scripts.
    Last edited by Alloc; 07-17-2014, 08:49 PM.

    #2
    Originally posted by kernel
    so "getgameprefs" does the same like "sg" command?
    Mostly. It does not allow to read sensitive data like passwords. This way you can allow normal users to run this command without fearing they could do anything bad but they would be able to check what e.g. LandClaimSize is on your server.

    Comment


      #3
      Just updated the files to rev.83. Release notes on the wiki page.

      I won't always post here from now on when I upload new revisions so if you're interested in updates check the wiki page every now and then.

      Regards,
      Chris

      Comment


        #4
        Originally posted by Alloc View Post
        Just updated the files to rev.83. Release notes on the wiki page.

        I won't always post here from now on when I upload new revisions so if you're interested in updates check the wiki page every now and then.

        Regards,
        Chris
        Is it compatible with this one? http://7daystodie.com/forums/showthr...amecrash-fixes

        Comment


          #5
          As long as you use the exe and not the patched Assembly-CSharp it should be fine. If you want to use DerPopo's Assembly-CSharp you have to apply my patches manually.

          Comment


            #6
            Good job!

            Originally posted by BoQsc View Post
            I always release a patcher in case somebody wants to combine my Assembly-CSharp patch with other mods. You just have to drag and drop an Assembly-CSharp into my patcher and it will do its magic (if it doesn't copy UnityEnginePatcher.dll to the Assembly-CSharp path, you have to do that manually). It will create a Assembly-CSharp.unityfix.dll which you then can rename into Assembly-CSharp.dll.
            If you don't have windows, it should also work with Wine.
            Last edited by DerPopo; 07-18-2014, 05:45 PM.

            Comment


              #7
              Thanks for the info DerPopo

              @Linux users: Just released a new version of the scripts which also integrates the server fixes.

              @All: As I'm posting anyway just a note: a new version of the server fixes is released.


              Regards,
              Chris

              Comment


                #8
                As this might be quite interesting for you admins out there:

                Just added a command "showinventory" which allows to look at the bagpack/belt of a given player.

                Comment


                  #9
                  Originally posted by Alloc View Post
                  As this might be quite interesting for you admins out there:

                  Just added a command "showinventory" which allows to look at the bagpack/belt of a given player.

                  That's a huge deal for admins trying to figure out if someone they're seeing doing "odd" behavior is in the process of ramping their ♥♥♥♥ up in prep for an assault - crap load of safes, claims and any other damn thing they're using to ♥♥♥♥ with servers.

                  TFP should (already... ) provide admins the power to do this (and much more) but until then, damn nice job

                  Comment


                    #10
                    Maybe it will be a noob question, BUT, how can i install it? i download 2 files, Assembly-CSharp.dll & 7dtd-server-fixes.dll. Put them into Steam\SteamApps\common\7 Days To Die\7DaysToDie_Data\Managed folder and...it does not work...

                    Comment


                      #11
                      Well, first of all:
                      Originally posted by Alloc View Post
                      Note that this only works with the new dedicated server build of 7dtd.
                      Your path suggest you tried to use it with the client. This would work if you patched the Assembly-CSharp yourself but you can not simply use the dedicated server's DLL with the client.

                      If you put it in the dedi server and it still does not change anything there's another problem that I am not aware of right now

                      Regards,
                      Chris

                      Comment


                        #12
                        When helping av55545 with using this mod I noticed that I had made two mistakes (fixed in rev.96):
                        • I had only registered the new commands when the Telnet server was enabled
                        • I actually had used the client DLL ... too many DLLs on my PC


                        So looks like noone else tried the stuff up to now?
                        Would be happy for any feedback

                        Regards,
                        Chris

                        Comment


                          #13
                          Originally posted by Alloc View Post
                          When helping av55545 with using this mod I noticed that I had made two mistakes (fixed in rev.96):
                          • I had only registered the new commands when the Telnet server was enabled
                          • I actually had used the client DLL ... too many DLLs on my PC


                          So looks like noone else tried the stuff up to now?
                          Would be happy for any feedback

                          Regards,
                          Chris
                          Hello,

                          it's just wonderful !
                          I have to take more time to test everything.

                          Thank you for this essential mod and for source sharing

                          ketchu

                          Comment


                            #14
                            Glad you like it

                            @all: To my shame I must admit that I made a mistake with the inventory-code. Looks like the previous release threw an exception if a player had multiple stacks of the same item in his inventory. .Net sees Lists as collections that cannot have a single key multiple times ... That's the way I notice I have only been working with .Net since last monday ;D

                            Rev.98 fixes this and everything in it should be stable atm.

                            Regards,
                            Chris

                            Comment


                              #15
                              yes it's the only "bug" that I have found.

                              I have added some command like "heal" and others things. I must try it before sharing to you my suggestions ( If you want to have some suggestions of course)

                              Comment

                              Working...
                              X