Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-18214

Seven Kingdoms Ancient Adversaries - Unable to connect to 7kfans.com

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None

    Description

      ReactOS 0.4.15-x86-dev (Build 20220604-0.4.15-dev-4638-g79dbb73) (Commit 79dbb73b6f6fb083c28057133abf13cbad9f53eb)

      Software: https://github.com/the3dfxdude/7kaa/releases/download/v2.15.5/7kaa-install-win32-2.15.5.exe

      Source code: https://github.com/the3dfxdude/7kaa

      Registration form (forum account shares game account): Seven Kingdoms Fans Message Board - User Control Panel - Register (7kfans.com) 

      __

      The game is unable to connect to the game server when selecting "Multiplayer" --> "7kfans.com" and providing valid credentials.

      The software makes use of libcurl - took a snippet from the involved call - method login (7kaa/WebService.cpp at bf0555d5d8b3d56fd9b97412e36c3a7a9d4386e6 · the3dfxdude/7kaa · GitHub) :

       

      int WebService::login(char *user, char *pass)nt WebService::login(char *user, char *pass){ CURLcode res;
       /* the fields given by the user must be url encoded */ std::string login = "login=Login&username="; char *encoded;
       encoded = curl_easy_escape(curl, user, 0); login += encoded; curl_free(encoded); login += "&password="; encoded = curl_easy_escape(curl, pass, 0); login += encoded; curl_free(encoded);
       curl_easy_setopt(curl, CURLOPT_POSTFIELDS, login.c_str()); curl_easy_setopt(curl, CURLOPT_POST, 1); curl_easy_setopt(curl, CURLOPT_URL, "https://7kfans.com/forums/ucp.php?mode=login"); buffer = "";
       res = curl_easy_perform(curl); return res == CURLE_OK;}

      If the login credentials are valid, the remote server returns an empty body with http status code 302.

      If the login credentials are invalid, the remote server returns an HTML page with https status code 500.

       

      The trace reports the following lines when contacting the server (attached log):

       

      (dll/win32/dnsapi/rpc.c:19) DNSRSLVR_HANDLE_bind((null))
      (dll/win32/dnsapi/rpc.c:19) DNSRSLVR_HANDLE_bind((null))
      err:(dll/win32/msafd/misc/dllmain.c:1976) Async Connect UNIMPLEMENTED!
      err:(dll/win32/secur32/wine/ntlm.c:2060) ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.23 is in your path. Usually, you can find it in the winbind package of your distribution


      I suspect that being passed "null" at the DNSRLVR_HANDLE_bind is unable to resolve the 7kfans.com nameserver.

      Tried the commandline curl and it seems successfull (attacched curl_output.txt - masked password).


      Kindly regards!


      Simone

       

      Attachments

        1. curl_output.txt
          3 kB
          simonelombardo
        2. debug.log
          69 kB
          simonelombardo

        Issue Links

          Activity

            People

              Unassigned Unassigned
              simonelombardo simonelombardo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: