[Help] Trying to connect to server error.

Results 1 to 11 of 11
  1. #1
    Member Anthon Hedlund is offline
    MemberRank
    Jul 2014 Join Date
    62Posts

    smile [Help] Trying to connect to server error.

    when trying connect to

    http://MYDOMAINCENSORED.com/api/php/...5-EB135E16F5EF

    Error below shows up

    This page contains the following errors:


    error on line 1 at column 1: Document is empty
    Below is a rendering of the page up to the first error.
    When trying to connect to server I get

    000000.324| Reading game rewards000000.334| WO_API: returned http405
    000000.335| ApiGetDataGameRewards FAILED, code: 8
    000000.336| !!! ERROR: failed to get game rewards

    help thanks
    Last edited by DNC; 16-07-14 at 05:32 PM. Reason: Title Tag required, updated Thread Title to represent the actual issue.


  2. #2
    ¿ aLca is offline
    Grand MasterRank
    Apr 2013 Join Date
    /dev/nullLocation
    549Posts

    Re: whats wrong? how to fix?

    Make sure to convert your api as application.

  3. #3
    Member Anthon Hedlund is offline
    MemberRank
    Jul 2014 Join Date
    62Posts

    Re: whats wrong? how to fix?

    Quote Originally Posted by aLca View Post
    Make sure to convert your api as application.
    I have made it as application >> build website >> Publish it to /api/

    My skype is: anthon.hedlund

  4. #4
    ¿ aLca is offline
    Grand MasterRank
    Apr 2013 Join Date
    /dev/nullLocation
    549Posts

    Re: [Help] Trying to connect to server error.

    U forgot a Step at IIS, grab some tutorial and check it. I'm not going to tell every single person howto do so, sorry.

  5. #5
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Trying to connect to server error.

    Tutorial section, stickied at the top.
    Go find @ztimer's tutorial thread and follow along.
    Even if not the same code that tutorial has what you need.

  6. #6
    Member Anthon Hedlund is offline
    MemberRank
    Jul 2014 Join Date
    62Posts

    Re: [Help] Trying to connect to server error.

    Quote Originally Posted by DNC View Post
    Tutorial section, stickied at the top.
    Go find @ztimer's tutorial thread and follow along.
    Even if not the same code that tutorial has what you need.
    Thanks... everything is set-up,

    Last error:
    WO_5no parameter userfuckingshit
    Wrong username or password when I click Play Game.

  7. #7
    ¿ aLca is offline
    Grand MasterRank
    Apr 2013 Join Date
    /dev/nullLocation
    549Posts

    Re: [Help] Trying to connect to server error.

    In the launcher source search for "username" and replace it with "userfuckingshit" same for password.

  8. #8
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Trying to connect to server error.

    src\RSUpdate\WOCreateAccHelper.cpp
    Code:
    #include "r3dPCH.h"
    #include "r3d.h"
    
    #include "WOCreateAccHelper.h"
    #include "WOBackendAPI.h"
    
    int CCreateAccHelper::DoCreateAcc()
    {
    	r3d_assert(createAccCode == CA_Unactive);
    	r3d_assert(*username);
    	r3d_assert(*passwd1);
    	r3d_assert(*passwd2);
    
    	CWOBackendReq req("api_AccRegister.aspx");
    	req.AddParam("username", username);
    	req.AddParam("password", passwd1);
    	req.AddParam("serial",   "0");
    	req.AddParam("email",    "not@used.anymore"); // previously that was order email.
    My release doesn't use that name.

  9. #9
    Member Anthon Hedlund is offline
    MemberRank
    Jul 2014 Join Date
    62Posts

    Re: [Help] Trying to connect to server error.

    Quote Originally Posted by DNC View Post
    src\RSUpdate\WOCreateAccHelper.cpp
    Code:
    #include "r3dPCH.h"
    #include "r3d.h"
    
    #include "WOCreateAccHelper.h"
    #include "WOBackendAPI.h"
    
    int CCreateAccHelper::DoCreateAcc()
    {
        r3d_assert(createAccCode == CA_Unactive);
        r3d_assert(*username);
        r3d_assert(*passwd1);
        r3d_assert(*passwd2);
    
        CWOBackendReq req("api_AccRegister.aspx");
        req.AddParam("username", username);
        req.AddParam("password", passwd1);
        req.AddParam("serial",   "0");
        req.AddParam("email",    "not@used.anymore"); // previously that was order email.
    My release doesn't use that name.
    What do you mean?

    - - - Updated - - -
    Getting this error now.

    000000.200| WO_API: http timeout000000.200| ApiGetDataGameRewards FAILED, code: 8
    000000.202| !!! ERROR: failed to get game rewards
    @DNC help please
    Last edited by Anthon Hedlund; 16-07-14 at 09:01 PM.

  10. #10
    ¿ aLca is offline
    Grand MasterRank
    Apr 2013 Join Date
    /dev/nullLocation
    549Posts

    Re: [Help] Trying to connect to server error.

    Did u spend some time for google/search?

    http://bit.ly/1rruBDK

  11. #11
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Trying to connect to server error.

    Or just go to the top of the Help Section like I've said a MILLION TIMES NOW!!!!!!!!

    The answer is freaking stickied..... -.-



Advertisement