Solved New cluster added to existing ArkBot instance

Status
Not open for further replies.

smooreace

Member
Messages
345
Points
18
Website
steamcommunity.com
Finally got around to adding the 4th cluster to ArkBot.... getting a rather non-informative error though.


2018-06-11 15:13:01,336 [7] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 70678743
2018-06-11 15:13:01,356 [7] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 70685203
2018-06-11 15:13:25,027 [15] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 50446112
2018-06-11 15:14:42,069 [41] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:14:42,071 [45] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:15:30,514 [41] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server rules (could not connect)
2018-06-11 15:15:30,515 [41] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:15:30,516 [62] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server rules (could not connect)
2018-06-11 15:15:30,516 [62] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:15:41,445 [57] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 50427286
 
Advertisement

Official Game Server Partner

Foppa

Administrator
Staff member
Messages
983
Points
43
Website
foppasgaming.com
Finally got around to adding the 4th cluster to ArkBot.... getting a rather non-informative error though.


2018-06-11 15:13:01,336 [7] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 70678743
2018-06-11 15:13:01,356 [7] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 70685203
2018-06-11 15:13:25,027 [15] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 50446112
2018-06-11 15:14:42,069 [41] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:14:42,071 [45] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:15:30,514 [41] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server rules (could not connect)
2018-06-11 15:15:30,515 [41] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:15:30,516 [62] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server rules (could not connect)
2018-06-11 15:15:30,516 [62] DEBUG ArkBot.Steam.SteamManager - Exception attempting to get server players (could not connect)
2018-06-11 15:15:41,445 [57] WARN ArkSavegameToolkitNet.Data.ExtraDataCharacterHandler - Expected int after properties to be 1 but found 0 at 50427286
The problem is quite clear: "Exception attempting to get server players (could not connect)"
The bot can't connect to the server...
 

smooreace

Member
Messages
345
Points
18
Website
steamcommunity.com
The problem is quite clear: "Exception attempting to get server players (could not connect)"
The bot can't connect to the server...
Thats almost funny! I never paid much attention to that set of lines. My tunnel vision honed in on the first 2 so thats all I really saw.
 

smooreace

Member
Messages
345
Points
18
Website
steamcommunity.com
OK.. so to make this a more intelligent question... the individual errors broken down are as follows -

JSON:
Exception attempting to get server rules
[GetServerRules(C:\Repos\ArkBot\ArkBot\Steam\SteamManager.cs:272)]

<Exception>
  <QueryMaster.InvalidHeaderException>
    <Current />
    <Message>A2S_RULES message header is not valid</Message>
    <TargetSite>QueryMaster.QueryMasterCollection`1[QueryMaster.GameServer.Rule] getRules()</TargetSite>
    <Source>QueryMaster</Source>
    <StackTrace><![CDATA[at QueryMaster.GameServer.Server.getRules()
at QueryMaster.QueryMasterBase.Invoke[T](Func`1 method, Int32 attempts, AttemptCallback attemptcallback, Boolean throwExceptions)
at QueryMaster.GameServer.Server.GetRules(AttemptCallback callback)
at ArkBot.Steam.SteamManager.<>c__DisplayClass23_0.<<GetServerRules>b__0>d.MoveNext()]]></StackTrace>
    <Data>
      <ReceivedData>System.Byte[]</ReceivedData>
    </Data>
  </QueryMaster.InvalidHeaderException>
</Exception>
Its referencing a file location that doesnt, and shouldnt, exist "C:\Repos\ArkBot\ArkBot\Steam\SteamManager.cs"
But I dont understand a damn thing in the rest of it. This is a log file named "ignoredexception_GetServerRules"
 

smooreace

Member
Messages
345
Points
18
Website
steamcommunity.com
Something else I noticed... Its showing the server key, but not the maps name for the Island server


https://gyazo.com/e0b4565aaa6ae0dd10dfa976345a941d


Config for both looks identical where it should.

JSON:
    {
      "key": "monster-crystal",
      "saveFilePath": "E:\\Game Server\\Monster Ark\\Monster Crystal\\ShooterGame\\Saved\\SavedArks\\CrystalIsles.ark",
      "ip": "10.182.207.201",
      "queryPort": 27079,
      "clusterKey": "monster-pve",
      "displayAddress": "104.3.203.227:27079",
      "rconPort": 32325,
      "rconPassword": "password",
      "serverManagement": {
        "enabled": true,
        "serverExecutablePath": "E:\\Game Server\\Monster Ark\\Monster Crystal\\ShooterGame\\Binaries\\Win64\\ShooterGameServer.exe",
        "serverExecutableArguments": "CrystalIsles?RCONEnabled=True?RCONPort=32325?bRawSockets?QueryPort=27079?Port=7820?bAllowUnlimitedRespecs=true?CrossARKAllowForeignDinoDownloads=true?PreventOfflinePvP=true?PreventOfflinePvPInterval=9 -webalarm -NoTransferFromFiltering -AutoDestroyStructures -servergamelog -ForceAllowCaveFlyers -UseBattlEye -useallavailablecores -clusterid=monster -ClusterDirOverride=E:\\Game Server\\Monster Ark\\ -usecache -log -servergamelog -ServerRCONOutputTribeLogs -serverkey=monster-crystal",
        "steamCmdExecutablePath": "E:\\Game Server\\Monster Ark\\steamcmd\\steamcmd.exe",
        "serverInstallDirPath": "E:\\Game Server\\Monster Ark\\Monster Crystal",
        "usePowershellOutputRedirect": false
      },
      "disableChatNotifications": false
    },
    {
      "key": "monster-island",
      "saveFilePath": "E:\\Game Server\\Monster Ark\\Monster Island\\ShooterGame\\Saved\\SavedArks\\TheIsland.ark",
      "ip": "10.182.207.201",
      "queryPort": 27281,
      "clusterKey": "monster-pve",
      "displayAddress": "104.3.203.227:27081",
      "rconPort": 32326,
      "rconPassword": "password",
      "serverManagement": {
        "enabled": true,
        "serverExecutablePath": "E:\\Game Server\\Monster Ark\\Monster Island\\ShooterGame\\Binaries\\Win64\\ShooterGameServer.exe",
        "serverExecutableArguments": "TheIsland?RCONEnabled=True?RCONPort=32326?bRawSockets?QueryPort=27081?Port=7797?bAllowUnlimitedRespecs=true?CrossARKAllowForeignDinoDownloads=true?PreventOfflinePvP=true?PreventOfflinePvPInterval=9 -webalarm -NoTransferFromFiltering -AutoDestroyStructures -servergamelog -ForceAllowCaveFlyers -UseBattlEye -useallavailablecores -clusterid=monster -ClusterDirOverride=E:\\Game Server\\Monster Ark\\ -usecache -log -servergamelog -ServerRCONOutputTribeLogs -serverkey=monster-island",
        "steamCmdExecutablePath": "E:\\Game Server\\Monster Ark\\steamcmd\\steamcmd.exe",
        "serverInstallDirPath": "E:\\Game Server\\Monster Ark\\Monster Island",
        "usePowershellOutputRedirect": false
      },
      "disableChatNotifications": false
    },
 

Foppa

Administrator
Staff member
Messages
983
Points
43
Website
foppasgaming.com
Something else I noticed... Its showing the server key, but not the maps name for the Island server


https://gyazo.com/e0b4565aaa6ae0dd10dfa976345a941d


Config for both looks identical where it should.

JSON:
    {
      "key": "monster-crystal",
      "saveFilePath": "E:\\Game Server\\Monster Ark\\Monster Crystal\\ShooterGame\\Saved\\SavedArks\\CrystalIsles.ark",
      "ip": "10.182.207.201",
      "queryPort": 27079,
      "clusterKey": "monster-pve",
      "displayAddress": "104.3.203.227:27079",
      "rconPort": 32325,
      "rconPassword": "password",
      "serverManagement": {
        "enabled": true,
        "serverExecutablePath": "E:\\Game Server\\Monster Ark\\Monster Crystal\\ShooterGame\\Binaries\\Win64\\ShooterGameServer.exe",
        "serverExecutableArguments": "CrystalIsles?RCONEnabled=True?RCONPort=32325?bRawSockets?QueryPort=27079?Port=7820?bAllowUnlimitedRespecs=true?CrossARKAllowForeignDinoDownloads=true?PreventOfflinePvP=true?PreventOfflinePvPInterval=9 -webalarm -NoTransferFromFiltering -AutoDestroyStructures -servergamelog -ForceAllowCaveFlyers -UseBattlEye -useallavailablecores -clusterid=monster -ClusterDirOverride=E:\\Game Server\\Monster Ark\\ -usecache -log -servergamelog -ServerRCONOutputTribeLogs -serverkey=monster-crystal",
        "steamCmdExecutablePath": "E:\\Game Server\\Monster Ark\\steamcmd\\steamcmd.exe",
        "serverInstallDirPath": "E:\\Game Server\\Monster Ark\\Monster Crystal",
        "usePowershellOutputRedirect": false
      },
      "disableChatNotifications": false
    },
    {
      "key": "monster-island",
      "saveFilePath": "E:\\Game Server\\Monster Ark\\Monster Island\\ShooterGame\\Saved\\SavedArks\\TheIsland.ark",
      "ip": "10.182.207.201",
      "queryPort": 27281,
      "clusterKey": "monster-pve",
      "displayAddress": "104.3.203.227:27081",
      "rconPort": 32326,
      "rconPassword": "password",
      "serverManagement": {
        "enabled": true,
        "serverExecutablePath": "E:\\Game Server\\Monster Ark\\Monster Island\\ShooterGame\\Binaries\\Win64\\ShooterGameServer.exe",
        "serverExecutableArguments": "TheIsland?RCONEnabled=True?RCONPort=32326?bRawSockets?QueryPort=27081?Port=7797?bAllowUnlimitedRespecs=true?CrossARKAllowForeignDinoDownloads=true?PreventOfflinePvP=true?PreventOfflinePvPInterval=9 -webalarm -NoTransferFromFiltering -AutoDestroyStructures -servergamelog -ForceAllowCaveFlyers -UseBattlEye -useallavailablecores -clusterid=monster -ClusterDirOverride=E:\\Game Server\\Monster Ark\\ -usecache -log -servergamelog -ServerRCONOutputTribeLogs -serverkey=monster-island",
        "steamCmdExecutablePath": "E:\\Game Server\\Monster Ark\\steamcmd\\steamcmd.exe",
        "serverInstallDirPath": "E:\\Game Server\\Monster Ark\\Monster Island",
        "usePowershellOutputRedirect": false
      },
      "disableChatNotifications": false
    },
Is the ArkBot running on the same server as the Ark instances?
 

Foppa

Administrator
Staff member
Messages
983
Points
43
Website
foppasgaming.com
Well, for a start. It officially doesn't support other maps than the official maps if don't remember it wrong.
But since you are running the arkbot on the same machine it's always good to use the loopback interface (127.0.0.1) but if you have double network NIC (interface) then I understand why you are using the IP of the machine.
 

smooreace

Member
Messages
345
Points
18
Website
steamcommunity.com
While what you're saying makes sense, both in the IP and map portions... The other server, also running 2 clusters, also has unofficial (Skies of Nazca and Chrystal Isles) maps and IPs configured the same way. There doesn't appear to be anything identifying what server is causing the issue, but in the web interface, the only one NOT acting properly is an official map.
 
Status
Not open for further replies.
Top