Jump to content

SylenThunder

Moderators
  • Posts

    7,167
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by SylenThunder

  1. Well, yeah, you are running the 32 bit server ;)

    Ok dangit. I commented it out to run in 64-bit. So I guess that's not working.


    Ok, I went and double-checked, and as far as I can see, it should be loading 64-bit.

     

    Here's what my startserver.sh looks like.

     

    #!/bin/sh

    cd "`dirname "$0"`"

     

     

    PARAMS=$@

     

     

    CONFIGFILE=

    while test $# -gt 0

    do

    if [ `echo $1 | cut -c 1-12` = "-configfile=" ]; then

    CONFIGFILE=`echo $1 | cut -c 13-`

    fi

    shift

    done

     

     

    if [ "$CONFIGFILE" = "" ]; then

    echo "No config file specified. Call this script like this:"

    echo " ./startserver.sh -configfile=serverconfig.xml"

    exit

    else

    if [ -f "$CONFIGFILE" ]; then

    echo Using config file: $CONFIGFILE

    else

    echo "Specified config file $CONFIGFILE does not exist."

    exit

    fi

    fi

     

     

    export LD_LIBRARY_PATH=.

    #export MALLOC_CHECK_=0

     

     

    if [ "$(uname -m)" == "x86_64" ]; then

    ./7DaysToDieServer.x86_64 -logfile 7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS

    else

    ./7DaysToDieServer.x86 -logfile 7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS

    fi

     

     

    So if that's not working, how do I fix it? :bull_head:

  2. Just to update. Despite the crashes (lol) the server is running with four to five players so far so good.

     

    I found an VPS with 8 gb, on OVH. How many players you recommend to me? I'll keep you informed by the performance, and lets see what happens.

    I would keep it under 10. Technically MP only supports 8, but I can do 20 with 16GB RAM on a dedicated Linux blade. Once we get past 15, and a lot are exploring, there is a bit of latency though. (Which truly, could be a result of the very high active zed settings I have, and not the number of players.)

  3. Your server is most likely crashing due to a lack of RAM. I really cannot stress enough that for a dedicated server, you must have 8GB to expect to run it, and 12-16GB if you want it to run well. (32-bit Linux is limited to 4GB of RAM usage, but you must have all 4GB of RAM available and not shared with the system. Even then, I would not recommend that for more than 4 people on a Navezgane map)

     

    Are you renting a server, or do you have your own hardware?

  4. Darn. 4GB addressable RAM for the 32bit Linux client is proving to be constraining. If Unity/Steam would fix whatever the 64bit issue is then I'd be very happy. The 64bit server seems to work fine except such a server won't show up in the browser list...it seems like such a small thing :-|

    Odd. Mine does.

     

    Although sometimes it doesn't, but I think that was my ISP.

  5. NOTE: If you have a PC Bug Report, or are a Console player, you are in the wrong section!

     

    Howdy folks,

     

    If you're reading this, you're probably thinking about starting a thread for help with an issue. This post is intended for you to understand what we need in order to assist you properly, and how you can give it to us.

     

    Threads created without the information outlined in this post are not likely to get you a good resolution. (Most likely you will simply be re-directed to this thread to get instruction on posting the information we need to help you.)

    Also note, some of this posts content is blatantly copied from Alloc's sticky in the Bug Report forum.

     

    Generic Stuff

    First of all if you are having a problem running the game on Windows make sure to try out the "Launch without AntiCheat" (EAC) option and see if that fixes your problem. If it does still continue with the reporting process but indicate that your problem seems to be related to running the game with the AntiCheat.

     

    Also make sure to get answers to the following question before posting if the problem is related to an in-game aspect:

    • Did you start a new game and re-create the issue?
    • Have you validated your files through Steam?
    • After validation, did you re-try with a brand new game?

     

    Basic Rules for Posts

    • Use the search first! (I know, the engine sucks. Try wording it a couple of different ways.)
    • One issue per thread please.
    • Short thread title giving a quick info on what the issue is.
    • Try to select the thread Prefix that is fitting most to your system/issue. (Mac, Windows, Dediated, Linux, EAC)
    • Be as concise as possible, e.g. what happened / is the problem, how did you get to that point.
    • Please provide full information on the game type. SP, MP local, MP dedi. If MP, are you hosting it, or is someone else?
    • Please state if you, (or the hosted server), are using any mods. Also state what they are.
    • Provide the log file of the game (see below)
    • Provide the log file of the server (if applicable)
    • If it is about a performance, compatibility issue or anything like that provide system stats (Speccy is an excellent tool to publish system information.)

     

    Log Files

    Depending on where you were experiencing a problem, please provide either the log from the client, the server, or both.

    • If you were playing single-player, hosting a multiplayer game with the game or were playing a multiplayer game but do not have any way to get a copy of the server's log: provide your client's log
    • If you were playing multiplayer on a server that you can get the log of: Provide both your client's and the server's log
    • There is an error hosting a server: Provide the server's log

     

    The logs typically reside in these locations:

    • Windows client
      • C:\Users\yourname\AppData\Roaming\7DaysToDie\logs a.k.a. %userdata%\7DaysToDie\logs
        Before A20.4 the logs were in the client folder. <gamefolder>/7DaysToDie_Data/output_log.txt

       

    • Windows client as dedicated started through startdedicated.bat

      • <gamefolder>/7DaysToDie_Data/output_log__<DATETIME>.txt

       

    • Windows dedicated server

      • <gamefolder>/7DaysToDieServer_Data/output_log.txt

       

    • Windows dedicated server started through startdedicated.bat

      • <gamefolder>/7DaysToDieServer_Data/output_log__<DATETIME>.txt

       

    • MacOS

      • <homefolder>/Library/Logs/Unity/Player.log

       

    • Linux client calling the executable manually

      • <homefolder>/.config/unity3d/The Fun Pimps/7 Days To Die/Player.log

       

    • Linux client using the default start scripts (or through Steam)

      • <gamefolder>/7DaysToDie_Data/output_log__<DATETIME>.txt

       

    • Linux dedicated server calling the executable manually

      • <homefolder>/.config/unity3d/The Fun Pimps/7 Days To Die - Dedicated/Player.log

       

    • Linux dedicated server using the default start scripts (or through Steam)

      • <gamefolder>/7DaysToDieServer_Data/output_log__<DATETIME>.txt

       

    • Linux dedicated server with management scripts

      • /home/sdtd/instances/<instancename>/logs/output_log__<DATETIME>.txt

     

    Please find the appropriate file, open it, copy everything. Then go to http://pastebin.com, paste all the text in there, click Submit and then post the link in the thread itself. If the log content is too big to be pasted on pastebin.com, try https://justpaste.it/ or attach the log file to the thread.

     

    Please, make sure you read the stuff above and provide as much information as possible in your thread. This makes life easier for everyone, and makes it much more likely for you to get the help you need.

     

    Regards,

    SylenThunder

  6. Re-install the mods folder. I had this happen once and apparently I had messed up the files in the 13.6 patch somehow. Killing the server, copying over the Mods folder again and restarting resolved it.

     

    Don't forget to check the console when you start it to make sure Allocs mods load correctly.

  7. Planned for a future release, especially when adding the more playerlist centric stuff. For now there is no easy way without changing the JS code.

     

    Thanks. That's what I figured. I tried looking into the code, but it's way beyond my capabilities.

     

    Definitely not with a client update and also for the server only if there are changes to the server code that break compatibility which again should only happen for major releases. Doesn't hurt to update though whenever there is a new release of the mod ;)

    I have noticed that with my Linux dedi, if I do not re-copy the Mod folder fixes over to the server after I update the engine, it throws an error at startup and they don't function correctly.

     

    Next time it happens I'll post my logs. (Or I may force it later and post it, but I'm at work atm.)

  8. Alloc i need your help. I want to start A12.5 server and i need you fixes for them, can you help me? I read that i need rev. 250 files.

    I went digging through my backups and found I still have rev. 250 (5_7_9), which was the version used in a12.5. You can download the Zip file here. I may have modded the web map background, but I can't recall offhand.

     

     

    Does anyone know if there is a way to make it center the map on the selected player and keep it centered? I'd like to select a player and have it "track", but it only moves the map when they are at the edge, and they just stay at the edge unless they turn around.

  9. @Follo What happens if you use a much lower port, like the default for the control panel?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

     

    - - - Updated - - -

     

    @Follo What happens if you use a much lower port, like the default for the control panel?

     

    Also, did you update the mod files to the A13 version?

  10. If it's a linux server, you should have "Engine" which is where pretty much everything for the game is. Config folder, 7DaysToDieServer_Data folder, ect.

     

    Inside Engine, you would make a folder called "Mods" and all of the files from inside the server_fixes.tar.gz go inside it. (Make certain you don't get a double mods folder. "Engine/mods/Mods")

     

    If you have that done, then the server fixes should run just fine.

     

    If you're on a Windows system, then it would just be in "7 Days to Die Server\Mods". I'm assuming you're running a Linux dedi since it's hosted though.

  11. Hi, I was curious if there were any chances of implementing these fixes, in particular the custom spawn point location in one of the next patch releases so I can update it from my dedicated server panel without having to go through what is described here: https://7dtd.illy.bz/wiki/Server%20fixes , not comfortable with playing with my server files like this lol

    Updating it is super easy. I don't even use the script anymore. Just download the file and extract it into the /engine/Mods folder. Start server, and it's good to go.

  12. Hello Alloc.

     

    Just FYI, I'm getting sometimes this error, when I use rendermap command:

     

    2015-08-04T03:40:33 1033.317 INF Error in MapTileCache.SaveTile: System.IO.IOException: Sharing violation on path D:\Games\7DTD\Random Gen\JITA\map\0\-3\-2.png
     at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
     at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [0x00000] in <filename unknown>:0
     at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
     at System.IO.File.Create (System.String path, Int32 bufferSize) [0x00000] in <filename unknown>:0
     at System.IO.File.Create (System.String path) [0x00000] in <filename unknown>:0
     at System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) [0x00000] in <filename unknown>:0
     at AllocsFixes.FileCache.MapTileCache.SaveTile (Int32 zoomlevel, System.Byte[] content) [0x00000] in <filename unknown>:0
    2015-08-04T03:40:33 1033.632 INF RenderMap: 6192/32240 (19%)
    

     

    Neto

    Is anyone online when you run that, because they shouldn't be. Also, you should only run it if you had an existing map when you added the mods, or if you need to refresh it after removing a lot of region files.

  13. hi alloc, how i can retrieve the map?

     

    always have this error:

     

    "An error occured or you do not have any permissions on this WebPanel. Log in with the link on the lower left!"

     

    but ive loged with steam and have the permission 0 on serveradmin.xml

    Your webpermissions.xml should look something like this...

    <?xml version="1.0" encoding="UTF-8"?><webpermissions>
       <admintokens>
           <!-- <token name="adminuser1" token="supersecrettoken" permission_level="0" /> -->
       </admintokens>
    
    
       <permissions>
           <!-- <permission module="webapi.executeconsolecommand" permission_level="0" /> -->
           <permission module="webapi.getplayersonline" permission_level="2000" />
           <permission module="webapi.getstats" permission_level="1000" />
           <permission module="web.map" permission_level="2000" />
           <permission module="webapi.getlandclaims" permission_level="2000" />
       </permissions>
    
    
    </webpermissions>
    

     

    It's not serveradmin, it's a completely different file.

  14. "webpermission list" and you'll see what's there. Also note that while 2000 means visible to anyone (even without logging in) 1000 means only those that logged in as described on the wiki page ;)

    Straight answer.....

     

    Here's what I get from my console.

    >webpermission list

    Defined web function permissions:

    Level: Web function

    2000: web.map

    0: webapi.getlandclaims

    0: webapi.getplayersonline

    0: webapi.getplayerslocation

    0: webapi.getplayersinventory

    1000: webapi.getstats

     

     

    Alloc, the wiki page could really use a lot more detail.

×
×
  • Create New...