Page 1 of 141 1231151101 ... LastLast
Results 1 to 15 of 2106

Thread: Improvements for the dedicated server

  1. #1
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1

    Lightbulb 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 at 08:49 PM.

  2. #2
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    Quote Originally Posted by kernel View Post
    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.

  3. #3
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    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

  4. #4
    Refugee
    Join Date
    Jul 2014
    Posts
    1
    Rep Power
    0
    Quote 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

  5. #5
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    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.

  6. #6
    Zombie Hunter DerPopo's Avatar
    Join Date
    Nov 2013
    Location
    Next to my PC
    Posts
    454
    Rep Power
    1
    Good job!

    Quote 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 at 05:45 PM.

  7. #7
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    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

  8. #8
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    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.

  9. #9
    Inventor BloodSlinger's Avatar
    Join Date
    Mar 2014
    Posts
    782
    Rep Power
    1
    Quote 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

  10. #10
    Refugee
    Join Date
    Mar 2014
    Posts
    8
    Rep Power
    0
    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...

  11. #11
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    Well, first of all:
    Quote 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

  12. #12
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    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

  13. #13
    Scavenger ketchu13's Avatar
    Join Date
    Jan 2014
    Posts
    50
    Rep Power
    0
    Quote 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

  14. #14
    Fun Pimps Staff
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,003
    Rep Power
    1
    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

  15. #15
    Scavenger ketchu13's Avatar
    Join Date
    Jan 2014
    Posts
    50
    Rep Power
    0
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •