arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
685 stars 144 forks source link

Problem with map mod and ports #395

Closed Ulthrin closed 8 years ago

Ulthrin commented 8 years ago

After getting bored with Theisland map i wanted to try Valhalla map but ran into some problems. made a clean tool and server installation and everything was good and no problem getting on the server.

After i changed to Valhalla map the server wont go online.

I changed back to original map and it came online again.

After reading over what issues other people have had i started to compare the infos with either map running.

the only changes i made to arkmanager.cfg:

and right after i installed 
serverMap="Valhalla"                                           
serverMapModId="504122600" 

and after i used the install mod command

Downloading item 504122600 ...
Success. Downloaded item 504122600 to "/media/server200/ark/Softcore/steamapps/workshop/content/346110/504122600" (1826164269 bytes) Mod 504122600 downloaded
Copying files to /media/server200/ark/Softcore/CraftWorld/ShooterGame/Content/Mods/504122600
Mod 504122600 installed

Before i started the server with Valhalla map i deleted the old saved map.

**Theisland**
root@server200:/home/server200# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:32330
ACCEPT     udp  --  anywhere             anywhere             udp dpt:7780
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:7780
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:27030
ACCEPT     udp  --  anywhere             anywhere             udp dpt:27030

**Valhalla**
root@server200:/home/server200# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:32330
ACCEPT     udp  --  anywhere             anywhere             udp dpt:7780
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:7780
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:27030
ACCEPT     udp  --  anywhere             anywhere             udp dpt:27030

**Theisland**
root@server200:/home/server200# netstat -tunlp | grep Shooter
tcp        0      0 0.0.0.0:32330           0.0.0.0:*               LISTEN      26707/ShooterGameSe
udp        0      0 0.0.0.0:7777            0.0.0.0:*                           30351/ShooterGameSe
udp        0      0 0.0.0.0:7779            0.0.0.0:*                           13404/ShooterGameSe
udp        0      0 0.0.0.0:7780            0.0.0.0:*                           14237/ShooterGameSe
udp        0      0 0.0.0.0:7781            0.0.0.0:*                           14577/ShooterGameSe
udp        0      0 0.0.0.0:7782            0.0.0.0:*                           14909/ShooterGameSe
udp        0      0 0.0.0.0:7783            0.0.0.0:*                           15239/ShooterGameSe
udp        0      0 0.0.0.0:7784            0.0.0.0:*                           15511/ShooterGameSe
udp        0      0 0.0.0.0:7785            0.0.0.0:*                           16101/ShooterGameSe
udp        0      0 0.0.0.0:7786            0.0.0.0:*                           16378/ShooterGameSe
udp        0      0 0.0.0.0:7787            0.0.0.0:*                           16658/ShooterGameSe
udp        0      0 0.0.0.0:7788            0.0.0.0:*                           17192/ShooterGameSe
udp        0      0 0.0.0.0:7789            0.0.0.0:*                           26707/ShooterGameSe
udp        0      0 0.0.0.0:27030           0.0.0.0:*                           26707/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           17192/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           16658/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           16378/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           16101/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           15511/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           15239/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           14909/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           14577/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           14237/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           13404/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           30351/ShooterGameSe

**Valhalla**
root@server200:/home/server200# netstat -tunlp | grep Shooter
udp        0      0 0.0.0.0:7777            0.0.0.0:*                           30351/ShooterGameSe
udp        0      0 0.0.0.0:7779            0.0.0.0:*                           13404/ShooterGameSe
udp        0      0 0.0.0.0:7780            0.0.0.0:*                           14237/ShooterGameSe
udp        0      0 0.0.0.0:7781            0.0.0.0:*                           14577/ShooterGameSe
udp        0      0 0.0.0.0:7782            0.0.0.0:*                           14909/ShooterGameSe
udp        0      0 0.0.0.0:7783            0.0.0.0:*                           15239/ShooterGameSe
udp        0      0 0.0.0.0:7784            0.0.0.0:*                           15511/ShooterGameSe
udp        0      0 0.0.0.0:7785            0.0.0.0:*                           16101/ShooterGameSe
udp        0      0 0.0.0.0:7786            0.0.0.0:*                           16378/ShooterGameSe
udp        0      0 0.0.0.0:7787            0.0.0.0:*                           16658/ShooterGameSe
udp        0      0 0.0.0.0:7788            0.0.0.0:*                           17192/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           17192/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           16658/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           16378/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           16101/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           15511/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           15239/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           14909/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           14577/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           14237/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           13404/ShooterGameSe
udp        0      0 0.0.0.0:14001           0.0.0.0:*                           30351/ShooterGameSe
(clearly something is wrong here)

**Theisland**
root@server200:/home/server200# nmap 89.239.192.151 -p 27030,7780

Starting Nmap 6.47 ( http://nmap.org ) at 2016-02-14 20:18 CET
Nmap scan report for static-89-239-192-151.seas-nve.net (89.239.192.151)
Host is up (0.00027s latency).
PORT      STATE  SERVICE
7780/tcp  closed unknown
27030/tcp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 0.64 seconds

**Valhalla**
Starting Nmap 6.47 ( http://nmap.org ) at 2016-02-14 21:28 CET
Nmap scan report for static-89-239-192-151.seas-nve.net (89.239.192.151)
Host is up (0.00028s latency).
PORT      STATE  SERVICE
7780/tcp  closed unknown
27030/tcp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 0.94 seconds

**Theisland**
root@server200:/home/server200# nmap -sU 89.239.192.151 -p 27030,7780

Starting Nmap 6.47 ( http://nmap.org ) at 2016-02-14 20:19 CET
Nmap scan report for static-89-239-192-151.seas-nve.net (89.239.192.151)
Host is up (0.00022s latency).
PORT      STATE         SERVICE
7780/udp  open|filtered unknown
27030/udp open|filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 1.73 seconds

**Valhalla**
root@server200:/home/server200# nmap -sU 89.239.192.151 -p 27030,7780

Starting Nmap 6.47 ( http://nmap.org ) at 2016-02-14 21:29 CET
Nmap scan report for static-89-239-192-151.seas-nve.net (89.239.192.151)
Host is up (0.00022s latency).
PORT      STATE         SERVICE
7780/udp  open|filtered unknown
27030/udp closed        unknown

Nmap done: 1 IP address (1 host up) scanned in 2.39 seconds

All ports is still forwarded and no changes have been made there

I really hope someone have a idea whats going on.

thanks for a awsome tool....tested LSGM and didnt like it so i came straight back to ASL

StevenB83 commented 8 years ago

I found that I had to comment out the serverMapModId and just specify serverMap="Valhalla" to get it working for my servers.

Steven

klightspeed commented 8 years ago

@StevenB83 this sounds like you have mod 504122600 included in your GameModIds. Either that, or another mod is providing Valhalla.umap.

StevenB83 commented 8 years ago

Hi @klightspeed

I can't see anything that would indicate that. I have never gotten it to work if I have serverMapModId uncommented.

config:

serverMap="Valhalla"
#serverMapModId="504122600"
ark_GameModIds="580718120,590665112,567659264,533175507,533828549,510590313,539464369,520879363,534952636,558651608,536247310,519998112,581683725,576504995,489596581,516096294"

looked for extra Valhalla.umap files:

steam@ARK:~/Valhalla$ find .|grep Valhalla.umap
./ShooterGame/Content/Mods/504122600/Valhalla.umap

Edit: and yes I have checked my ini files, nothing in them that isn't in the arkmanager config files. This goes for my test server which I yesterday set up with nothing but the instance.cfg file and manually installing Valhalla with arkmanager installmod 504122600

Steven

klightspeed commented 8 years ago

@StevenB83 that would suggest that ShooterGameServer Valhalla?... works while ShooterGameServer -MapModID=504122600?... does not.

StevenB83 commented 8 years ago

I have tried without ark manager and I get the same results then. I don't know why it works for some and not for others. I have seen others report the same when I was diagnosing my server. Was just suggesting that he could try it since it works for my servers.

Ulthrin commented 8 years ago

Was able to fix it yesterday. installed the map as a mod and not mapmod:

serverMap="Valhalla"

serverMapModId="504122600"

ark_GameModIds="504122600"

shouldnt be rigght but it works

18:45:26: start 18:45:26: Running /media/server200/ark/Softcore/CraftWorld/ShooterGame/Binaries/Linux/ShooterGameServer Valhalla\?GameModIds=504122600\?MaxPlayers=40\?Port=*\?QueryPort=**\?RCONEnabled=True\?RCONPort=32330\?ServerAdminPassword=**\?ServerPassword=*******\?SessionName=CraftWorld\?listen -DisableDeathSpectator -OnlyAdminRejoinAsSpectator 18:45:26: Server PID: 7259

klightspeed commented 8 years ago

@Ulthrin @StevenB83 Does serverMapModId=504122600 (or -MapModID=504122600?... when directly running the ARK server) work if you apply #430 and either update or re-install mod 504122600 (the Valhalla mod)?

StevenB83 commented 8 years ago

@klightspeed Sorry for the late reply, I haven't updated arkmanager since last test, I cleaned out my testserver Mods and Saved folders to get a clean start, tested with serverMapModId="504122600" and -MapModID=504122600? when running directly. Neither worked. It either stops loading and uses about 3,4G memory (waited at least 10 minutes) or loads and none of the instance settings get applied, so server is named ARK #277531 and it's not password protected and so on. If I do the same with only the serverMap="Valhalla" or Valhalla? when launching manually everything works fine.

I edited in the changes (I still had the same version of arkmanager) and did some more testing with the same results. However like I previously stated this should have nothing to do with arkmanager since launching manually doesn't change anything :)

Here are the launch commands I used (which are exactly the same arkmanager produces) This one doesn't work:

/home/steam/Valhalla/ShooterGame/Binaries/Linux/ShooterGameServer -MapModID=504122600?AllowThirdPersonPlayer=True?GameModIds=590665112,567659264,533175507,536214294,510590313,539464369,520879363,534952636,558651608,536247310,519998112,632097668,576504995,489596581,516096294?MapPlayerLocation=True?MaxPlayers=70?Port=7807?QueryPort=27045?RCONEnabled=True?RCONPort=32360?RCONServerGameLogBuffer=1200?ServerAdminPassword=MyAwesomePassword?ServerCrosshair=True?ServerPassword=modtesting?SessionName=Norwegian Vikings Valhalla [:.TEST.:]?bRawSockets?listen -servergamelog

This one works:

/home/steam/Valhalla/ShooterGame/Binaries/Linux/ShooterGameServer Valhalla?AllowThirdPersonPlayer=True?GameModIds=590665112,567659264,533175507,536214294,510590313,539464369,520879363,534952636,558651608,536247310,519998112,632097668,576504995,489596581,516096294?MapPlayerLocation=True?MaxPlayers=70?Port=7807?QueryPort=27045?RCONEnabled=True?RCONPort=32360?RCONServerGameLogBuffer=1200?ServerAdminPassword=MyAwesomePassword?ServerCrosshair=True?ServerPassword=modtesting?SessionName=Norwegian Vikings Valhalla [:.TEST.:]?bRawSockets?listen -servergamelog

This one also works:

/home/steam/Valhalla/ShooterGame/Binaries/Linux/ShooterGameServer Valhalla?AllowThirdPersonPlayer=True?GameModIds=504122600,590665112,567659264,533175507,536214294,510590313,539464369,520879363,534952636,558651608,536247310,519998112,632097668,576504995,489596581,516096294?MapPlayerLocation=True?MaxPlayers=70?Port=7807?QueryPort=27045?RCONEnabled=True?RCONPort=32360?RCONServerGameLogBuffer=1200?ServerAdminPassword=MyAwesomePassword?ServerCrosshair=True?ServerPassword=modtesting?SessionName=Norwegian Vikings Valhalla [:.TEST.:]?bRawSockets?listen -servergamelog