Author Topic: NOTICE: NWN Authentication Server Down  (Read 9166 times)

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #90 on: July 09, 2011, 05:46:12 pm »


               

Marflarian wrote...

Dunno if this is the proper place for this but I've yet to hear of anyone else experiencing this problem, right now as it stands I'm unable to gain access to the master server which is fine n all, but everyone else tells me (stateside and non) are able to play just fine right now, yet for some reason no servers pop up under my history or favorites and direct connect does not work either, I'm not sure if this has anything to do with me being in Afghanistan or not but if everyone else can play, why can't I?


Any help would be greatly appreciated as I was hoping this problem would have settled by now.

Thank you.

PS: Good to see ya Funky, Baldy, hopefully if I get some help I'll be able to play HG again lol


Good to see you too. This doesn't really have anything to do with the topic, if your direct connect is also not working, since it doesn't rely on the MS. Sounds like you're hitting some kind of firewall. If you're trying to connect to HG's old addy, though, that could be a problem - not sure what your situation is at present. Try direct connect to 209.99.103.44:5121 - that's the new hub 1.

Funky
               
               

               
            

Legacy_Marflarian

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #91 on: July 09, 2011, 05:57:10 pm »


               I wasn't aware that there was a new patch out but seeing as I was able to login perfectly fine to all the servers (IoS, HG, amongst others) I don't think it's that and far as the second part Calvin I don't think that's it, but I appreciate the advice and will try to check out those two things, I've had nwn setup before so that it ran without error from the firewall and things like on vista as well. Also good to see ya '<img'> (it's Zelieph '<img'>)
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #92 on: July 09, 2011, 06:40:32 pm »


               Here's an onplayerchat event script I wrote for DMs to use ingame to wipe cdkey-playername associations - inevitably, players lose their keys, and this allows you to reset the playername to accept a new key, by entering their playername after 'dm_wipekeys'. It is meant for native bioware database users - mysql and sqlite users should have command-line access that makes such a command unnecessary, but I can code one up if someone needs it.

Example command line spoken ingame:
dm_wipekeys Funky

would wipe the key listings for playername Funky ingame, allowing that player to log in using whatever cd key they have. This is important because players DO lose keys on occasion. It will also allow you to wipe a false association by an account thief, should one manage to log in before the true owner, as discussed above.


void main() {
    string sMessage = GetPCChatMessage();
    object oPC = GetPCChatSpeaker();
    if (GetStringLeft(sMessage, 12) == "dm_wipekeys ") {
        if (!GetIsDM(oPC))
            FloatingTextStringOnCreature("Only DMs may use this command!", oPC, FALSE);
        else {
            string sPlayerName = GetStringRight(sMessage, GetStringLength(sMessage)-12);
            string sStoredKey = GetCampaignString("PlayernameKey", sPlayerName);
            if (sStoredKey != "") {
                DeleteCampaignVariable("PlayernameKey", sPlayerName);
                FloatingTextStringOnCreature("CD Key bindings for Playername: '" + sPlayerName + "' erased.", oPC, FALSE);
            } else {
                FloatingTextStringOnCreature("No CD Key bindings for Playername: '" + sPlayerName +
                    "' were found! Please check to make sure you entered the right name.", oPC, FALSE);
            }
        }
    }
}



Funky
               
               

               
            

Legacy_Marflarian

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #93 on: July 09, 2011, 06:45:44 pm »


               Tried doing the direct connect to the server Funky and it didn't work out for me, I'm fairly certain that the internet firewall here isn't setup to block online games as I was able to connect to them before bioware got hacked, any other ideas?
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #94 on: July 09, 2011, 11:20:19 pm »


               

Marflarian wrote...

Tried doing the direct connect to the server Funky and it didn't work out for me, I'm fairly certain that the internet firewall here isn't setup to block online games as I was able to connect to them before bioware got hacked, any other ideas?


Sorry, I don't, but I'm far from expert in such matters. I would suggest you start a new thread either here, or on the HG boards (or both) - there are many people in both places better situated to help than I.

Here's a link to the HG boards, should you opt to post there (Drunken Monk might get quicker attention than Bug/Problem Report):
HG Forums

Stay safe out there!

[Edit] I asked acaos to look at this thread if he has a moment - he's a network admin.

Funky
               
               

               


                     Modifié par FunkySwerve, 09 juillet 2011 - 10:24 .
                     
                  


            

Legacy_IronRook

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #95 on: July 10, 2011, 06:46:19 am »


               Still having trouble getting the oncliententer  part to compile. I copied exactly what you had 3 times just to make sure it wasnt me because it is late here and I am tired  '<img'>
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #96 on: July 10, 2011, 07:35:17 am »


               It looks like you have one var that is not declaired.  It looks like it only used in the report, So you may just want to comment out its use, Like so:

string sReport = "INCORRECT CD KEY DETECTED! ID: " + /*sUnencoded +*/ "; Name: " +
               GetName(oPlayer) + "; CD Key: " + sKey + "; IP: " + GetPCIPAddress(oPlayer);
               
               

               
            

Legacy_PlasmaJohn

  • Full Member
  • ***
  • Posts: 150
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #97 on: July 10, 2011, 02:06:23 pm »


               Hey guys?

Could you take the technical discussion to another thread?  In my naive optimism I'm hoping that EA/Bioware will respond to the disposition of the Master Server and it would be a shame for that to get lost.

Thanks.
               
               

               
            

Legacy_WebShaman

  • Hero Member
  • *****
  • Posts: 1390
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #98 on: July 10, 2011, 03:56:59 pm »


               I'm digging what you are giving the Community here, Funky!

Carry on!
               
               

               
            

Legacy_Elhanan

  • Hero Member
  • *****
  • Posts: 842
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #99 on: July 10, 2011, 10:26:53 pm »


               Not a Techie, but the Server may be working again....

Or not; may have been a one time thing. Sorry.....
               
               

               


                     Modifié par Elhanan, 10 juillet 2011 - 09:28 .
                     
                  


            

Legacy_IronRook

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #100 on: July 10, 2011, 11:06:44 pm »


               Here's the "oncliententer that I got to compile.

  ///scripted by  FunkySwerve /////

 int VerifyPlayernameAgainstCDKey(object oPlayer) {
   int nBoot = FALSE;
   string sPName = GetPCPlayerName(oPlayer);
   string sKey = GetPCPublicCDKey(oPlayer);

   string sNewKey, sAddingKey, sStoredKey = GetCampaignString("PlayernameKey", sPName);

   /* there's at least one key stored already */

   if (sStoredKey != "") {
       sAddingKey = GetStringLeft(sStoredKey, 3);
       sStoredKey = GetStringRight(sStoredKey, GetStringLength(sStoredKey) - 3);

       /* they indicated that they wanted to add a key this login */

       if (sAddingKey == "ADD") {

           /* their current key is not in the key string, add it unless at 7 keys already */
           if (FindSubString(sStoredKey, sKey) == -1) {
               int nKeyLength = GetStringLength(sStoredKey);

               /* allow 7 keys max SET-key-key-key-key-key-key-key   SET/ADD + 7 spacers + 7x8 keys = 66 */
               if (nKeyLength > 65) {
                   nBoot = TRUE;

                   /* must mark as no longer adding */
                   SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);

                   /* add the key to the string */
               } else {
                   sNewKey = "SET" + sStoredKey  + "-" + sKey;
                   SetCampaignString("PlayernameKey", sPName, sNewKey);
                   DelayCommand(25.0, FloatingTextStringOnCreature("New CD Key Successfully Added!", oPlayer, FALSE));
               }

               /* let them know they already had this key in their string */
           } else {
               DelayCommand(25.0,
                   FloatingTextStringOnCreature("CD Key Addition Failed! This key already listed for this account!", oPlayer,
                       FALSE));

               /* must mark as no longer adding */
               SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);
           }


           /* they are not adding, and the cd key doesnt match those listed - boot and log */
       }


       /* new account, add the key */
   } else {
       SetCampaignString("PlayernameKey", sPName, "SET-" + sKey);
   }

   return nBoot;
}
void main() {

   object oPC = GetEnteringObject();

   /* verify CD keys and double logins to stop hackers */
   if (VerifyPlayernameAgainstCDKey(oPC)) {
       if (GetIsObjectValid(oPC))
           BootPC(oPC);
       return;
   }
}
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #101 on: July 11, 2011, 12:34:16 am »


               Sorry for the hassle - I was in a bit of a rush when I did this, should've testcompiled. Here is a working testcompiled version. The problem was simply that I hadn't swapped 'sUnencoded' for 'sPName' when I did away with the former during the conversion to native bioware database. I can't make heads or tails of yours without the indents, so I'm just reposting this (properly compiling) version:


int VerifyPlayernameAgainstCDKey(object oPlayer) {
    int nBoot = FALSE;
    string sPName = GetPCPlayerName(oPlayer);
    string sKey = GetPCPublicCDKey(oPlayer);

    string sNewKey, sAddingKey, sStoredKey = GetCampaignString("PlayernameKey", sPName);

    /* there's at least one key stored already */

    if (sStoredKey != "") {
        sAddingKey = GetStringLeft(sStoredKey, 3);
        sStoredKey = GetStringRight(sStoredKey, GetStringLength(sStoredKey) - 3);

        /* they indicated that they wanted to add a key this login */

        if (sAddingKey == "ADD") {

            /* their current key is not in the key string, add it unless at 7 keys already */
            if (FindSubString(sStoredKey, sKey) == -1) {
                int nKeyLength = GetStringLength(sStoredKey);

                /* allow 7 keys max SET-key-key-key-key-key-key-key   SET/ADD + 7 spacers + 7x8 keys = 66 */
                if (nKeyLength > 65) {
                    nBoot = TRUE;

                    /* must mark as no longer adding */
                    SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);

                    /* add the key to the string */
                } else {
                    sNewKey = "SET" + sStoredKey  + "-" + sKey;
                    SetCampaignString("PlayernameKey", sPName, sNewKey);
                    DelayCommand(25.0, FloatingTextStringOnCreature("New CD Key Successfully Added!", oPlayer, FALSE));
                }

                /* let them know they already had this key in their string */
            } else {
                DelayCommand(25.0,
                    FloatingTextStringOnCreature("CD Key Addition Failed! This key already listed for this account!", oPlayer,
                        FALSE));

                /* must mark as no longer adding */
                SetCampaignString("PlayernameKey", sPName, "SET" + sStoredKey);
            }


            /* they are not adding, and the cd key doesnt match those listed - boot and log */
        } else if (FindSubString(sStoredKey, sKey) == -1) {
            string sReport = "INCORRECT CD KEY DETECTED! ID: " + sPName + "; Name: " +
                GetName(oPlayer) + "; CD Key: " + sKey + "; IP: " + GetPCIPAddress(oPlayer);

            WriteTimestampedLogEntry(sReport);
            SendMessageToAllDMs(sReport);

            nBoot = TRUE;
        }


        /* new account, add the key */
    } else {
        SetCampaignString("PlayernameKey", sPName, "SET-" + sKey);
    }

    return nBoot;
}
void main() {

    object oPC = GetEnteringObject();

    /* verify CD keys and double logins to stop hackers */
    if (VerifyPlayernameAgainstCDKey(oPC)) {
        if (GetIsObjectValid(oPC))
            BootPC(oPC);
        return;
    }
}

Funky
               
               

               


                     Modifié par FunkySwerve, 11 juillet 2011 - 12:00 .
                     
                  


            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #102 on: July 11, 2011, 01:01:33 am »


               I've started a new thread for securing servers HERE.

Funky
               
               

               
            

Legacy_IrnBruu

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #103 on: July 11, 2011, 10:01:40 am »


               Feel like giving us an update anytime soon bioware? Thread was made 18 days ago and no new info since then, pretty bad customer service to just leave people hanging like this.
               
               

               


                     Modifié par IrnBruu, 11 juillet 2011 - 09:02 .
                     
                  


            

Legacy_Throkwatt

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
NOTICE: NWN Authentication Server Down
« Reply #104 on: July 11, 2011, 06:17:58 pm »


               Wow, no response yet?
BioWare's cs used to be great at one time. I hope everybody considering subscribing to SW:ToR takes note of this.Makes me kind of nervous about spending my hard earned cash on any more of their products to be honest.
That's not any kind of veiled threat on my part either,I know they don't know me from Adam, or care.
But if they're not bringing the ms back up, they should just say so, or at least say they're still working on it, but this is a 9 ( 10?) yr old game and it's not their #1 priority. Tell us something for cryin' out loud.
               
               

               


                     Modifié par Throkwatt, 11 juillet 2011 - 05:20 .