Heartbeat: Your server could not be contacted. - wat?

edited June 2013 in Server Support
Ok, so I am trying to set up a dedicated server. I followed this thread: http://www.tribesnext.com/forum/index.php?topic=306.0

When I start the server it all seems to start smoothly but then my server does NOT show up in the T2 server list && I get the error shown in my screenshot below.

I am running this on a fresh install of Windows 7 SP2 && Tribes 2.
I am running no AV and the only firewall is Windows Firewall(unmodified).
I have NO extra scripts or mods installed. This install is on a dedicated machine to be used ONLY for a dedicated T2 server.

Here is my serverprefs.cs: (located in "base/autoexec")
$Host::AdminList = "witakr\jase-on";
$Host::AdminPassword = "*omitted*";
$Host::allowAdminPlayerVotes = 0; //1 here will allow admin voting
$Host::AllowMapScript = 1;
$Host::AllowMPBTeleporter = 0;
$Host::BanTime = 180000;
$Host::BotCount = 0; //how many bots u want
$Host::BotsEnabled = 0; //1 if u want bots, 0 if not
$Host::ConnectLogging = 1;
$Host::CRCTextures = 1;
$Host::Dedicated = 1;
$Host::FloodProtectionEnabled = 1;
$Host::GameName = "Savage Hunting Grounds";
$Host::HiVisibility = "0"; //do not set this to enabled 1, it always crashes the server eventualy
$Host::holoName1 = "Storm";
$Host::holoName2 = "Inferno";
$Host::holoName3 = "Starwolf";
$Host::holoName4 = "DSword";
$Host::holoName5 = "BloodEagle";
$Host::holoName6 = "Harbinger";
$Host::Info = "Welcome to the Savage Hunting Grounds... Now die, please.";
$Host::KickBanTime = 30000;
$Host::LoadTR2Gametype = 0; //keeps from loading rabbit, clients join faster
$Host::Map = "Sanctuary";
$Host::MapPlayerLimitsAbominable_CnH = "-1 -1";
$Host::MapPlayerLimitsAgentsOfFortune_TeamHunters = "-1 32";
$Host::MapPlayerLimitsAlcatraz_Siege = "-1 48";
$Host::MapPlayerLimitsArchipelago_CTF = "16 -1";
$Host::MapPlayerLimitsAshesToAshes_CnH = "16 -1";
$Host::MapPlayerLimitsBeggarsRun_CTF = "-1 32";
$Host::MapPlayerLimitsCaldera_Siege = "-1 48";
$Host::MapPlayerLimitsCasernCavite_Bounty = "-1 32";
$Host::MapPlayerLimitsCasernCavite_DM = "-1 32";
$Host::MapPlayerLimitsCasernCavite_Hunters = "-1 32";
$Host::MapPlayerLimitsDamnation_CTF = "-1 32";
$Host::MapPlayerLimitsDeathBirdsFly_CTF = "8 -1";
$Host::MapPlayerLimitsDesiccator_CTF = "-1 -1";
$Host::MapPlayerLimitsDustToDust_CTF = "-1 32";
$Host::MapPlayerLimitsDustToDust_Hunters = "-1 32";
$Host::MapPlayerLimitsDustToDust_TeamHunters = "-1 32";
$Host::MapPlayerLimitsEquinox_CnH = "-1 -1";
$Host::MapPlayerLimitsEquinox_DM = "-1 32";
$Host::MapPlayerLimitsEscalade_Bounty = "16 32";
$Host::MapPlayerLimitsEscalade_DM = "16 -1";
$Host::MapPlayerLimitsEscalade_Hunters = "8 -1";
$Host::MapPlayerLimitsEscalade_Rabbit = "16 -1";
$Host::MapPlayerLimitsEscalade_TeamHunters = "8 -1";
$Host::MapPlayerLimitsFirestorm_CnH = "-1 24";
$Host::MapPlayerLimitsFirestorm_CTF = "-1 24";
$Host::MapPlayerLimitsFlashpoint_CnH = "-1 -1";
$Host::MapPlayerLimitsGauntlet_Siege = "-1 32";
$Host::MapPlayerLimitsGehenna_Hunters = "-1 -1";
$Host::MapPlayerLimitsGehenna_TeamHunters = "-1 -1";
$Host::MapPlayerLimitsIcebound_Siege = "-1 -1";
$Host::MapPlayerLimitsInsalubria_CnH = "-1 32";
$Host::MapPlayerLimitsJacobsLadder_CnH = "-1 -1";
$Host::MapPlayerLimitsKatabatic_CTF = "-1 48";
$Host::MapPlayerLimitsMasada_Siege = "-1 32";
$Host::MapPlayerLimitsMinotaur_CTF = "-1 32";
$Host::MapPlayerLimitsMyrkwood_DM = "-1 32";
$Host::MapPlayerLimitsMyrkwood_Hunters = "-1 32";
$Host::MapPlayerLimitsMyrkwood_Rabbit = "-1 32";
$Host::MapPlayerLimitsOasis_DM = "-1 32";
$Host::MapPlayerLimitsOverreach_CnH = "8 -1";
$Host::MapPlayerLimitsQuagmire_CTF = "-1 -1";
$Host::MapPlayerLimitsRasp_Bounty = "-1 32";
$Host::MapPlayerLimitsRasp_TeamHunters = "-1 32";
$Host::MapPlayerLimitsRecalescence_CTF = "16 -1";
$Host::MapPlayerLimitsRespite_Siege = "-1 32";
$Host::MapPlayerLimitsReversion_CTF = "-1 -1";
$Host::MapPlayerLimitsRimehold_Hunters = "8 -1";
$Host::MapPlayerLimitsRiverdance_CTF = "-1 -1";
$Host::MapPlayerLimitsSanctuary_CTF = "-1 -1";
$Host::MapPlayerLimitsSirocco_CnH = "8 -1";
$Host::MapPlayerLimitsSlapdash_CTF = "-1 -1";
$Host::MapPlayerLimitsSunDried_Bounty = "8 -1";
$Host::MapPlayerLimitsSunDried_DM = "8 -1";
$Host::MapPlayerLimitsTalus_Bounty = "-1 32";
$Host::MapPlayerLimitsThinIce_CTF = "-1 -1";
$Host::MapPlayerLimitsTombstone_CTF = "-1 -1";
$Host::MapPlayerLimitsUltimaThule_Siege = "8 -1";
$Host::MapPlayerLimitsUnderhill_Bounty = "-1 32";
$Host::MapPlayerLimitsUnderhill_DM = "-1 -1";
$Host::MapPlayerLimitsWhiteout_Bounty = "8 -1";
$Host::MapPlayerLimitsWhiteout_DM = "8 -1";
$Host::MarkDnDObjectives = 1;
$Host::MarkHybridObjectives = 0;
$Host::MaxBotDifficulty = 0.99; //.99 is as tough as they get
$Host::MaxMessageLen = 120;
$Host::MaxPlayers = 32;  //total players allowed, bots included
$Host::MinBotDifficulty = 0.99; //no one wants stupid bots, set to .99
$Host::MissionType = "CTF";
$Host::NoSmurfs = 1; //if enabled (1) denies smurfing, no fake names allowed
$Host::PlayerRespawnTimeout = 60;
$Host::Port = 28000; //can be set to any port above 1024 and below 65535 not in use
$Host::PureServer = 0; //this was an effort by sierra to make all pure servers exactly the same, set it to 0
$Host::RandomMissions = 0; //set to 1 if you want a mission to be selected at random
$Host::Siege::Halftime = 20000;
$Host::SuperAdminList = "123321"; //set this number to your guid
$Host::SuperAdminWhois = 1;
$Host::TeamDamageOn = 1; //durr
$Host::TeamName0 = "Unassigned"; //do not mess with team names
$Host::TeamName1 = "Storm";
$Host::TeamName2 = "Inferno";
$Host::TeamName3 = "Starwolf";
$Host::TeamName4 = "Diamond Sword";
$Host::TeamName5 = "Blood Eagle";
$Host::TeamName6 = "Phoenix";
$Host::TeamSkin0 = "blank";
$Host::TeamSkin1 = "base";
$Host::TeamSkin2 = "baseb";
$Host::TeamSkin3 = "swolf";
$Host::TeamSkin4 = "dsword";
$Host::TeamSkin5 = "beagle";
$Host::TeamSkin6 = "cotp";
$Host::TimeLimit = "30";
$Host::TN::beat = 3;
$Host::TN::echo = 1;
$Host::TournamentMode = 0;
$Host::VotePassPercent = 51;
$Host::VoteSpread = 20;
$Host::VoteTime = 30;
$Host::warmupTime = 15;

Here is my autoprefs.cs: (also located in "base/autoexec")
$pref::Net::PacketRateToClient = "20"; //determines how many packets per second sent to each client
$pref::Net::PacketRateToServer = "32"; //may determine how many packets are allowed from each client
$pref::Net::PacketSize = "256"; //size of each packet sent to each client, maximum.has no effect on size of packets client send to the server


setlogmode(0);
// leave this set to zero unless you are coding and need a log it will make a huge file...!!!

$logechoenabled=0;
//set to 1 you can now see game details in console.  Thanks to tubaguy.

SetPerfCounterEnable(0); //server stutter fix


That being said, this is what I get:
http://i.imgur.com/pfKdmwz.png

What am I doing wrong?

Thanks for your help!

jase-on

EDIT: It seems configuring my ports and modem and router have fixed the Heartbeat error but the server still doesn't show up in the server list.

Comments

  • Quick update:

    I configured my modem's and router's port forwarding configurations and I now get this in the T2 command Prompt:
    Heartbeat confirmed.

    Seems promising to me BUT I am still not able to see my server in the TN master server list.

    What do I do?
  • I'm not sure. I have the same problem. Always make sure your computer has all the security disabled, and make sure you don't have a firewall on your router. Also, it could very well simply be a problem with your location on the map. I think that's my problem, tbh.

    -rJay
  • have you tried hitting the insert key when your looking at the server list, then type in your local ip 192.168.2.10:28000 ?
    If that works and you see your server, mark it as a favorite then next time you wont have to do it manually.
  • edited June 2013
    I'm not sure. I have the same problem. Always make sure your computer has all the security disabled, and make sure you don't have a firewall on your router. Also, it could very well simply be a problem with your location on the map. I think that's my problem, tbh.

    -rJay

    Yeah, I have had it running for 10.5 hours now and there has been no change since my last update. It says "Heartbeat Confirmed" and gives no other errors but it is still not showing in the server list. My modem FW is completely disabled. Windows FW is up and running though I don't seem to be having a problem getting through it . As far as I can tell, anyhow. Windows FW is set to it's default settings. Should I make changes to it or possible complete disable it as well? I'd like to have SOMETHING up and running for security but honestly, like I said this machine is ONLY for a dedicated T2 server so if it goes down I COULD just reinstall Win7 and Tribes 2, starting over again.

    EDIT: Added more info and asked a question.

    have you tried hitting the insert key when your looking at the server list, then type in your local ip 192.168.2.10:28000 ?
    If that works and you see your server, mark it as a favorite then next time you wont have to do it manually.

    I just tried hitting the insert key on the server list like you said but it does nothing as far as I can tell and I can't see any other place to enter an IP.

    Are YOU able to see my server on the list?

    Should be named "Savage Hunting Grounds"

    EDIT: I figured out why it wasn't working. You have to click on an existing server THEN hit insert and you can enter the IP. I did this and from the looks of it the server is NOT using my "serverprefs.cs" because it is titled "Tribes 2 Server" and when I join I am not an admin and to become admin I have to vote myself as admin. All these things are changed in MY serverprefs.cs. Any ideas? I have the serverprefs.cs file in my /base/autoexec folder. Should it be somewhere else?
  • edited June 2013
    Ok so to update you guys one whats going on.

    I have done a little digging around and found that my serverprefs.cs file was in the wrong place so that seems to have fixed the issue of my server not having my settings assigned.

    I am still not seeing my server unless I add it manually by local IP.

    I tried adding my actual server IP of 96.226.100.234:28000 and all I get is a timeout message.


    EDIT: I forgot to mention the location requirment of the serverprefs.cs file: It should be located in /GameData/Classic/prefs
  • You will only receive the "Heartbeat confirmed" response if the server is responding to an information request from the master, in which case it will add your server to the master list. When attempting to query the list, there is a very short window in which players may receive a cached version of the list, after which your server will be sent with every master query up until around 15 minutes after its last successful heartbeat.
    Even if you can't see the server in the list yourself, the confirmation message indicates that it is in the list for everyone else, and is (most likely) connectable.

    Some routing setups do not allow querying your external address from within the same network, so adding your internal address manually may be necessary in these cases - just make sure to add it to your favourites list by clicking in the column marked "Favourites" on your server and it won't be a hassle. Normally the listing query would look for servers in the internal network running on the default port, but I must have left that out of the currently distributed version of the patch.
  • edited June 2013
    You will only receive the "Heartbeat confirmed" response if the server is responding to an information request from the master, in which case it will add your server to the master list. When attempting to query the list, there is a very short window in which players may receive a cached version of the list, after which your server will be sent with every master query up until around 15 minutes after its last successful heartbeat.
    Even if you can't see the server in the list yourself, the confirmation message indicates that it is in the list for everyone else, and is (most likely) connectable.

    Some routing setups do not allow querying your external address from within the same network, so adding your internal address manually may be necessary in these cases - just make sure to add it to your favourites list by clicking in the column marked "Favourites" on your server and it won't be a hassle. Normally the listing query would look for servers in the internal network running on the default port, but I must have left that out of the currently distributed version of the patch.

    Thanks for this information. I just disabled ALL my security for a moment to see if something there was causing the problem and I saw no change. I will re-enable my FW as it seems to have worked while it was on before.

    Could someone possibly see if they are able to see my server and see if your are able to connect to it? Just to make sure its connectable.

    Thanks


    EDIT: Well, a "Mr Smith" joined my server, sadi "Hi", and left...lol I suppose that means it's working correctly... That's awesome. Thanks for all of your help. I really appreciate it.
  • Another thing you'll probably want to do is set:
    $Host::CRCTextures = 0;
    
    In your ServerPrefs.
    Otherwise it may tend to cause a lot of players to lose connection to the server shortly after loading.
  • Another thing you'll probably want to do is set:
    $Host::CRCTextures = 0;
    
    In your ServerPrefs.
    Otherwise it may tend to cause a lot of players to lose connection to the server shortly after loading.

    Ok, I'll do that. Thanks for the heads up. That might be what happened to Mr Smith because he connected and was only there for a couple minutes then suddenly left the game. Or maybe he quickly grew bored with me. I don't know. lol

    ---

    Mr Smith joined while my FW was off. I have since re-enabled it. If someone might be able to connect to it and make sure they don't get blocked by my FW that would be amazing. Thank you again
Sign In or Register to comment.