Tera API (node.js) and Launcher with pacher for patch 92/100

Page 19 of 31 FirstFirst ... 9111213141516171819202122232425262729 ... LastLast
Results 271 to 285 of 451
  1. #271
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    @argeus99 00_update.sql adds new fields and keys to some database tables, without which some API functions will not work. Load requests to Navicat/HeidiSQL and execute them one by one, ignoring queries with errors (because you already have these keys).

    I execute queries from 00_update.sql on clean DB from previous version of API. All queries are completed without any errors: https://i.imgur.com/0Qiv3aD.png

    You must complete these queries only once. Re-execution will result in an error. I did not write a script or migration algo to automate this procedure, because it is a very simple operation to understand.

  2. #272
    TERA Lover :) argeus99 is offline
    MemberRank
    Mar 2019 Join Date
    ColombiaLocation
    529Posts
    Quote Originally Posted by hsdn View Post
    @argeus99 00_update.sql adds new fields and keys to some database tables, without which some API functions will not work. Load requests to Navicat/HeidiSQL and execute them one by one, ignoring queries with errors (because you already have these keys).

    I execute queries from 00_update.sql on clean DB from previous version of API. All queries are completed without any errors: https://i.imgur.com/0Qiv3aD.png

    You must complete these queries only once. Re-execution will result in an error. I did not write a script or migration algo to automate this procedure, because it is a very simple operation to understand.
    Ah, i just figure out what i did....i feel so dumb.... i created a clean db, i did not reuse the existing one that's why it not worked at first try

  3. #273
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    If you are using a clean database from 00_db_schema.sql, you do not need to install 00_update.sql. This file is only needed to upgrade the database from a previous version of the API. This is not required for new installations.

  4. #274
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by argeus99 View Post
    Now i'm trying to log in and i'm getting the following error

    "REGION" is not defined
    Make sure you update all launcher files (public\launcher folder). Also you need to clear Internet Explorer cache.
    Last edited by hsdn; 07-08-22 at 05:31 AM.

  5. #275
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by argeus99 View Post
    Yes, i did a clean of public\launcher and src like you said

    1. Replace the file package.json with new one and run install.bat file.
    2. Completely delete the src directory and add it with a new one from the update.
    3. Replace all files in the public\launcher directory with new ones.
    4. Replace all files in the config directory with new ones (make your own settings if necessary).

    Cleaned inet cache from inetcpl.cpl (i do not have IExplorer - Win11) and still get the 404 from POST /tera/LauncherLoginForm?lang=en
    The /tera/LauncherLoginForm page should not be made a POST request. This is a login page, requested by launcher on GET request.
    Last edited by hsdn; 07-08-22 at 05:34 AM.

  6. #276
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Try install latest version of src\app.js from github with disabled cache.

  7. #277
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    A similar error can occur if the launcher javascript does not work (the form is simply submitted directly, without javascript, which is incorrect behavior). It's a cache problem anyway, because in the new version of the API, the authorization scheme has been changed.

  8. #278
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by argeus99 View Post
    The app.js i have is the same, anyways i redownloaded and place everything again and still nothing
    Also you can try to open http://your_host/tera/LauncherMain in Chrome browser and test login.
    Last edited by hsdn; 07-08-22 at 05:35 AM.

  9. #279
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts

  10. #280
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by argeus99 View Post
    Even there lol

    There's no pop up for not type username and password, that's weird (although I don't remember if there was one XD)
    Don't have this problem in latest chrome. Check the javascript error log in the browser.
    Last edited by hsdn; 07-08-22 at 05:36 AM.

  11. #281
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Quote Originally Posted by argeus99 View Post


    Updated to Version 104.0.5112.81 (Official Build) (64 bits) and still the same behavior
    I think it's fixed: https://github.com/justkeepquiet/ter...2901c5810e7742
    Please update the file src\views\launcherLoginForm.ejs and check.
    Last edited by hsdn; 07-08-22 at 05:37 AM.

  12. #282
    TERA Lover :) argeus99 is offline
    MemberRank
    Mar 2019 Join Date
    ColombiaLocation
    529Posts
    Quote Originally Posted by hsdn View Post
    If you are using a clean database from 00_db_schema.sql, you do not need to install 00_update.sql. This file is only needed to upgrade the database from a previous version of the API. This is not required for new installations.
    Yep, when you said "from previous version of API" i just figure out why the hell it not worked for me, i just wanted to start with a clean db ignoring the first sentence of "update"

    Now i'm trying to log in and i'm getting the following error

    "REGION" is not defined





    - - - Updated - - -

    Quote Originally Posted by hsdn View Post
    Make sure you update all launcher files (public\launcher folder). Also you need to clear Internet Explorer cache.
    Yes, i did a clean of public\launcher and src like you said

    1. Replace the file package.json with new one and run install.bat file.
    2. Completely delete the src directory and add it with a new one from the update.
    3. Replace all files in the public\launcher directory with new ones.
    4. Replace all files in the config directory with new ones (make your own settings if necessary).

    Cleaned inet cache from inetcpl.cpl (i do not have IExplorer - Win11) and still get the 404 from POST /tera/LauncherLoginForm?lang=en

    - - - Updated - - -

    This double post is killing me lol





    The app.js i have is the same, anyways i redownloaded and place everything again and still nothing

    - - - Updated - - -

    Quote Originally Posted by hsdn View Post
    Also you can try to open http://your_host/tera/LauncherMain in Chrome browser and test login.



    - - - Updated - - -

    Quote Originally Posted by hsdn View Post




    Even there lol

    There's no pop up for not type username and password, that's weird (although I don't remember if there was one XD)

    - - - Updated - - -

    Quote Originally Posted by hsdn View Post
    Don't have this problem in latest chrome. Check the javascript error log in the browser.




    Updated to Version 104.0.5112.81 (Official Build) (64 bits) and still the same behavior



    - - - Updated - - -

    Quote Originally Posted by hsdn View Post
    I think it's fixed: https://github.com/justkeepquiet/ter...2901c5810e7742
    Please update the file src\views\launcherLoginForm.ejs and check.
    Yes, with that fix it was resolved...it worked instantly

    Even the pop up for not enter the username and password appears again

    You're the best!

  13. #283
    TERA Lover :) argeus99 is offline
    MemberRank
    Mar 2019 Join Date
    ColombiaLocation
    529Posts
    Ok, time to test everything else...

    Somehow it's not working for me







    From chrome is reachable..



    --

    Looks like the thread is bugged, or at least for me

    There's no shop request from arb_gw and api neither

    Log

    @hsdn It not makes any sense, but deleting the entire line after a server restart did the trick. Thank you for your support...i'll keep testing

    And yes, i restarted the server several times thinking it was the server too
    Last edited by argeus99; 06-08-22 at 11:40 PM.

  14. #284
    TERA Foundation hsdn is offline
    MemberRank
    Jun 2020 Join Date
    RussiaLocation
    356Posts
    Check your arb_gw log. At the time of the Shop window opening, you should receive something like this:
    Code:
    [2022/08/06 22:04:46.816] RequestAuthkey {"Return":true,"ReturnCode":0,"Msg":"success","Tokken":"7cee7cbe-1111-4fc8-1111-e63db1018387"}
    [2022/08/06 22:04:46.822] REQUEST_SHOP_TOKEN 1:95 [36]
    And API side log:
    Code:
    [2022-08-06 22:04:46.816] (info) Arbiter API: POST /authApi/RequestAuthkey 200 - 3.487 ms
    [2022/08/06 22:04:47.124] (info) Portal API: GET /tera/ShopAuth?authKey=7cee7cbe-1111-4fc8-1111-e63db1018387 302 - 3.374 ms
    [2022/08/06 22:04:47.137] (info) Portal API: GET /tera/ShopMain 200 - 3.117 ms
    Last edited by hsdn; 07-08-22 at 08:16 PM.

  15. #285
    TERA Lover :) argeus99 is offline
    MemberRank
    Mar 2019 Join Date
    ColombiaLocation
    529Posts
    Quote Originally Posted by hsdn View Post
    Check your arb_gw log. At the time of the Shop window opening, you should receive something like this:
    Code:
    [2022/08/06 22:04:46.816] RequestAuthkey {"Return":true,"ReturnCode":0,"Msg":"success","Tokken":"7cee7cbe-1111-4fc8-1111-e63db1018387"}
    [2022/08/06 22:04:46.822] REQUEST_SHOP_TOKEN 1:95 [36]
    And API side log:
    Code:
    [2022-08-06 22:04:46.816] (info) Arbiter API: POST /authApi/RequestAuthkey 200 - 3.487 ms
    [2022/08/06 22:04:47.124] (info) Portal API: GET /tera/ShopAuth?authKey=7cee7cbe-1111-4fc8-1111-e63db1018387 302 - 3.374 ms
    [2022/08/06 22:04:47.137] (info) Portal API: GET /tera/ShopMain 200 - 3.117 ms
    There's no request in both API/arb_gw

    Spoiler:
    Code:
    [2022/08/06 09:48:26.447] build : Sep 16 2020, 17:25:33, LOG_LEVEL : 5
    [2022/08/06 09:48:26.447] Process URL [http://127.0.0.1:8080/api]
    [2022/08/06 09:48:26.463] Host: [127.0.0.1] Port: 8080 /api/
    [2022/08/06 09:48:26.463] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.463] Process URL [http://127.0.0.1:8080/]
    [2022/08/06 09:48:26.479] Host: [127.0.0.1] Port: 8080 /
    [2022/08/06 09:48:26.479] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.479] Start request to host [127.0.0.1:8080] 9ddf94
    [2022/08/06 09:48:26.479] REST Socket closed. Reconnect [9ddf94]
    [2022/08/06 09:48:26.494] Host: [127.0.0.1] Port: 8080
    [2022/08/06 09:48:26.494] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.557] Http result: 200, Size: 15, Error: 0 [9ddf94]
    [2022/08/06 09:48:26.572] RequestAPIServerStatusAvailable {"Return":true}
    [2022/08/06 09:48:26.572] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 09:48:26.572] REST Socket closed. Reconnect [9de834]
    [2022/08/06 09:48:26.572] Host: [127.0.0.1] Port: 8080
    [2022/08/06 09:48:26.572] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.588] Http result: 200, Size: 46, Error: 0 [9de834]
    [2022/08/06 09:48:26.588] ServiceTest {"result_code":0,"server_time":1659797306.588}
    [2022/08/06 09:48:26.604] REST test passed
    [2022/08/06 09:48:26.604] Wait for arbiter on port 10001
    Server ready
    [2022/08/06 09:50:05.016] 9 bytes read on 11c
    [2022/08/06 09:50:05.025] Arbiter 2800 connected
    [2022/08/06 09:50:05.027] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
    
    
    [2022/08/06 09:50:05.032] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 09:50:05.043] REST keep-alive timeout. disconnect connection
    [2022/08/06 09:50:05.051] REST Socket closed. Reconnect [9de834]
    [2022/08/06 09:50:05.056] Host: [127.0.0.1] Port: 8080
    [2022/08/06 09:50:05.060] Resolving result 127.0.0.1:8080
    [2022/08/06 09:50:05.089] Http result: 200, Size: 32, Error: 0 [9de834]
    [2022/08/06 09:50:05.097] GetServerPermission {"result_code":0,"permission":0}
    [2022/08/06 09:50:05.103] Server stat 00000000
    [2022/08/06 09:50:05.106] Hub 127.0.0.1:11001 connected
    [2022/08/06 09:50:05.110] 9 bytes written on 128
    [2022/08/06 09:50:05.114] 6 bytes read on 128
    [2022/08/06 09:50:05.118] Server registered with 0:2800
    [2022/08/06 09:50:05.133] Timezone value 18000
    [2022/08/06 09:50:05.136] Handler for class UserLoginReq registered
    [2022/08/06 09:50:05.140] Handler for class UserLogoutReq registered
    [2022/08/06 09:50:05.147] Handler for class QueryUserReq registered
    [2022/08/06 09:50:05.152] Handler for class StartChargeUserReq registered
    [2022/08/06 09:50:05.156] Handler for class SendCommandUserReq registered
    [2022/08/06 09:50:05.162] Handler for class SendCommandUserAns registered
    [2022/08/06 09:50:05.166] Handler for class SendMessageAns registered
    [2022/08/06 09:50:05.169] Handler for class DumpUserAns registered
    [2022/08/06 09:50:05.171] Handler for class SvrMsgReq registered
    [2022/08/06 09:50:05.174] Handler for class QueryShopInfoReq registered
    [2022/08/06 09:50:05.180] 11 bytes written on 11c
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:51:05.200] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
    
    
    [2022/08/06 10:00:05.303] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:00:05.303] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:00:05.303] REST Socket closed. Reconnect [9de834]
    [2022/08/06 10:00:05.318] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:00:05.318] Resolving result 127.0.0.1:8080
    [2022/08/06 10:00:05.334] Http result: 200, Size: 32, Error: 0 [9de834]
    [2022/08/06 10:00:05.334] GetServerPermission {"result_code":0,"permission":0}
    [2022/08/06 10:00:05.334] Server stat 00000000
    [2022/08/06 10:01:05.323] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
    
    
    [2022/08/06 10:01:05.323] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:01:05.323] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:01:05.323] REST Socket closed. Reconnect [9de834]
    [2022/08/06 10:01:05.339] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:01:05.339] Resolving result 127.0.0.1:8080
    [2022/08/06 10:01:05.354] Http result: 200, Size: 32, Error: 0 [9de834]
    [2022/08/06 10:01:05.354] GetServerPermission {"result_code":0,"permission":0}
    [2022/08/06 10:01:05.354] Server stat 00000000
    [2022/08/06 10:01:39.353] Handle UserLoginReq
    [2022/08/06 10:01:39.353] GameAuthenticationLogin post data : {"authKey":"c55ad5b6-20ef-4975-8ad8-fc7ac1e0058b","clientIP":"10.0.0.2","serviceCode":"PCO012","userNo":1}
    
    
    [2022/08/06 10:01:39.353] Start request to host [127.0.0.1:8080] 9ddf94
    [2022/08/06 10:01:39.368] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:01:39.368] REST Socket closed. Reconnect [9ddf94]
    [2022/08/06 10:01:39.368] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:01:39.385] Resolving result 127.0.0.1:8080
    [2022/08/06 10:01:39.401] Http result: 200, Size: 46, Error: 0 [9ddf94]
    [2022/08/06 10:01:39.408] GameAuthenticationLogin {"Return":true,"ReturnCode":0,"Msg":"success"}
    [2022/08/06 10:01:39.414] GetUserInfo post data : {"ip":"10.0.0.2","server_id":2800,"serviceCode":"PCO012","user_srl":1}
    
    
    [2022/08/06 10:01:39.423] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:01:39.427] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:01:39.432] REST Socket closed. Reconnect [9de834]
    [2022/08/06 10:01:39.436] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:01:39.439] Resolving result 127.0.0.1:8080
    [2022/08/06 10:01:39.448] Http result: 200, Size: 231, Error: 0 [9de834]
    [2022/08/06 10:01:39.464] GetUserInfo {"result_code":0,"privilege":0,"permission":0,"last_connected_server":2800,"last_play_time":1659771715,"logout_time_diff":742,"char_count_info":"2800|2800,8|","benefit":[[33,27644326],[333,27644326],[334,27644326],[1000,27644326]]}
    [2022/08/06 10:01:39.479] User Benefit 1 33 27644326
    [2022/08/06 10:01:39.479] User Benefit 1 333 27644326
    [2022/08/06 10:01:39.479] User Benefit 1 334 27644326
    [2022/08/06 10:01:39.479] User Benefit 1 1000 27644326
    [2022/08/06 10:01:39.495] User Login 1 00000000 00000000
    [2022/08/06 10:01:39.495] arb_gw_tw2.cpp(291):[ToDo] UserLoginReq 0200000a:1 2130361516928
    [2022/08/06 10:01:39.495] AdminFlag 1 00000000 -> 00000000
    [2022/08/06 10:01:39.511] SendMessageReq to 255:0 496:57738112
    [2022/08/06 10:01:39.511] RecvMessageReq from 255:0 2130361516928
    [2022/08/06 10:01:39.526] Handle Message proto_uent_arb:LoginUserAns
    [2022/08/06 10:01:39.526] User IP 10.0.0.2
    [2022/08/06 10:01:39.526] EnterGame post data : {"ip":"10.0.0.2","server_id":2800,"serviceCode":"PCO012","user_srl":1}
    
    
    [2022/08/06 10:01:39.526] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:01:39.542] REST Reusing existed connection [9de834]
    [2022/08/06 10:01:39.573] Http result: 200, Size: 17, Error: 0 [9de834]
    [2022/08/06 10:01:39.573] EnterGame {"result_code":0}
    [2022/08/06 10:01:39.573] AdminFlag 1 00000000 -> 00000000
    [2022/08/06 10:01:39.589] AdminFlag 1 00000000 -> 00000000
    [2022/08/06 10:01:40.259] Handle StartChargeUserReq
    [2022/08/06 10:02:05.344] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}


    - - - Updated - - -

    Quote Originally Posted by hsdn View Post
    Check your arb_gw log. At the time of the Shop window opening, you should receive something like this:
    Code:
    [2022/08/06 22:04:46.816] RequestAuthkey {"Return":true,"ReturnCode":0,"Msg":"success","Tokken":"7cee7cbe-1111-4fc8-1111-e63db1018387"}
    [2022/08/06 22:04:46.822] REQUEST_SHOP_TOKEN 1:95 [36]
    And API side log:
    Code:
    [2022-08-06 22:04:46.816] (info) Arbiter API: POST /authApi/RequestAuthkey 200 - 3.487 ms
    [2022/08/06 22:04:47.124] (info) Portal API: GET /tera/ShopAuth?authKey=7cee7cbe-1111-4fc8-1111-e63db1018387 302 - 3.374 ms
    [2022/08/06 22:04:47.137] (info) Portal API: GET /tera/ShopMain 200 - 3.117 ms
    There's no shop request in the log from api/arb_gw

    Spoiler:
    Code:
    [2022/08/06 09:48:26.447] build : Sep 16 2020, 17:25:33, LOG_LEVEL : 5
    [2022/08/06 09:48:26.447] Process URL [http://127.0.0.1:8080/api]
    [2022/08/06 09:48:26.463] Host: [127.0.0.1] Port: 8080 /api/
    [2022/08/06 09:48:26.463] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.463] Process URL [http://127.0.0.1:8080/]
    [2022/08/06 09:48:26.479] Host: [127.0.0.1] Port: 8080 /
    [2022/08/06 09:48:26.479] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.479] Start request to host [127.0.0.1:8080] 9ddf94
    [2022/08/06 09:48:26.479] REST Socket closed. Reconnect [9ddf94]
    [2022/08/06 09:48:26.494] Host: [127.0.0.1] Port: 8080
    [2022/08/06 09:48:26.494] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.557] Http result: 200, Size: 15, Error: 0 [9ddf94]
    [2022/08/06 09:48:26.572] RequestAPIServerStatusAvailable {"Return":true}
    [2022/08/06 09:48:26.572] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 09:48:26.572] REST Socket closed. Reconnect [9de834]
    [2022/08/06 09:48:26.572] Host: [127.0.0.1] Port: 8080
    [2022/08/06 09:48:26.572] Resolving result 127.0.0.1:8080
    [2022/08/06 09:48:26.588] Http result: 200, Size: 46, Error: 0 [9de834]
    [2022/08/06 09:48:26.588] ServiceTest {"result_code":0,"server_time":1659797306.588}
    [2022/08/06 09:48:26.604] REST test passed
    [2022/08/06 09:48:26.604] Wait for arbiter on port 10001
    Server ready
    [2022/08/06 09:50:05.016] 9 bytes read on 11c
    [2022/08/06 09:50:05.025] Arbiter 2800 connected
    [2022/08/06 09:50:05.027] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
    
    
    [2022/08/06 09:50:05.032] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 09:50:05.043] REST keep-alive timeout. disconnect connection
    [2022/08/06 09:50:05.051] REST Socket closed. Reconnect [9de834]
    [2022/08/06 09:50:05.056] Host: [127.0.0.1] Port: 8080
    [2022/08/06 09:50:05.060] Resolving result 127.0.0.1:8080
    [2022/08/06 09:50:05.089] Http result: 200, Size: 32, Error: 0 [9de834]
    [2022/08/06 09:50:05.097] GetServerPermission {"result_code":0,"permission":0}
    [2022/08/06 09:50:05.103] Server stat 00000000
    [2022/08/06 09:50:05.106] Hub 127.0.0.1:11001 connected
    [2022/08/06 09:50:05.110] 9 bytes written on 128
    [2022/08/06 09:50:05.114] 6 bytes read on 128
    [2022/08/06 09:50:05.118] Server registered with 0:2800
    [2022/08/06 09:50:05.133] Timezone value 18000
    [2022/08/06 09:50:05.136] Handler for class UserLoginReq registered
    [2022/08/06 09:50:05.140] Handler for class UserLogoutReq registered
    [2022/08/06 09:50:05.147] Handler for class QueryUserReq registered
    [2022/08/06 09:50:05.152] Handler for class StartChargeUserReq registered
    [2022/08/06 09:50:05.156] Handler for class SendCommandUserReq registered
    [2022/08/06 09:50:05.162] Handler for class SendCommandUserAns registered
    [2022/08/06 09:50:05.166] Handler for class SendMessageAns registered
    [2022/08/06 09:50:05.169] Handler for class DumpUserAns registered
    [2022/08/06 09:50:05.171] Handler for class SvrMsgReq registered
    [2022/08/06 09:50:05.174] Handler for class QueryShopInfoReq registered
    [2022/08/06 09:50:05.180] 11 bytes written on 11c
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:50:05.182] Entering Main loop
    [2022/08/06 09:51:05.200] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
    
    
    [2022/08/06 10:00:05.303] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:00:05.303] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:00:05.303] REST Socket closed. Reconnect [9de834]
    [2022/08/06 10:00:05.318] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:00:05.318] Resolving result 127.0.0.1:8080
    [2022/08/06 10:00:05.334] Http result: 200, Size: 32, Error: 0 [9de834]
    [2022/08/06 10:00:05.334] GetServerPermission {"result_code":0,"permission":0}
    [2022/08/06 10:00:05.334] Server stat 00000000
    [2022/08/06 10:01:05.323] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
    
    
    [2022/08/06 10:01:05.323] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:01:05.323] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:01:05.323] REST Socket closed. Reconnect [9de834]
    [2022/08/06 10:01:05.339] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:01:05.339] Resolving result 127.0.0.1:8080
    [2022/08/06 10:01:05.354] Http result: 200, Size: 32, Error: 0 [9de834]
    [2022/08/06 10:01:05.354] GetServerPermission {"result_code":0,"permission":0}
    [2022/08/06 10:01:05.354] Server stat 00000000
    [2022/08/06 10:01:39.353] Handle UserLoginReq
    [2022/08/06 10:01:39.353] GameAuthenticationLogin post data : {"authKey":"c55ad5b6-20ef-4975-8ad8-fc7ac1e0058b","clientIP":"10.0.0.2","serviceCode":"PCO012","userNo":1}
    
    
    [2022/08/06 10:01:39.353] Start request to host [127.0.0.1:8080] 9ddf94
    [2022/08/06 10:01:39.368] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:01:39.368] REST Socket closed. Reconnect [9ddf94]
    [2022/08/06 10:01:39.368] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:01:39.385] Resolving result 127.0.0.1:8080
    [2022/08/06 10:01:39.401] Http result: 200, Size: 46, Error: 0 [9ddf94]
    [2022/08/06 10:01:39.408] GameAuthenticationLogin {"Return":true,"ReturnCode":0,"Msg":"success"}
    [2022/08/06 10:01:39.414] GetUserInfo post data : {"ip":"10.0.0.2","server_id":2800,"serviceCode":"PCO012","user_srl":1}
    
    
    [2022/08/06 10:01:39.423] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:01:39.427] REST keep-alive timeout. disconnect connection
    [2022/08/06 10:01:39.432] REST Socket closed. Reconnect [9de834]
    [2022/08/06 10:01:39.436] Host: [127.0.0.1] Port: 8080
    [2022/08/06 10:01:39.439] Resolving result 127.0.0.1:8080
    [2022/08/06 10:01:39.448] Http result: 200, Size: 231, Error: 0 [9de834]
    [2022/08/06 10:01:39.464] GetUserInfo {"result_code":0,"privilege":0,"permission":0,"last_connected_server":2800,"last_play_time":1659771715,"logout_time_diff":742,"char_count_info":"2800|2800,8|","benefit":[[33,27644326],[333,27644326],[334,27644326],[1000,27644326]]}
    [2022/08/06 10:01:39.479] User Benefit 1 33 27644326
    [2022/08/06 10:01:39.479] User Benefit 1 333 27644326
    [2022/08/06 10:01:39.479] User Benefit 1 334 27644326
    [2022/08/06 10:01:39.479] User Benefit 1 1000 27644326
    [2022/08/06 10:01:39.495] User Login 1 00000000 00000000
    [2022/08/06 10:01:39.495] arb_gw_tw2.cpp(291):[ToDo] UserLoginReq 0200000a:1 2130361516928
    [2022/08/06 10:01:39.495] AdminFlag 1 00000000 -> 00000000
    [2022/08/06 10:01:39.511] SendMessageReq to 255:0 496:57738112
    [2022/08/06 10:01:39.511] RecvMessageReq from 255:0 2130361516928
    [2022/08/06 10:01:39.526] Handle Message proto_uent_arb:LoginUserAns
    [2022/08/06 10:01:39.526] User IP 10.0.0.2
    [2022/08/06 10:01:39.526] EnterGame post data : {"ip":"10.0.0.2","server_id":2800,"serviceCode":"PCO012","user_srl":1}
    
    
    [2022/08/06 10:01:39.526] Start request to host [127.0.0.1:8080] 9de834
    [2022/08/06 10:01:39.542] REST Reusing existed connection [9de834]
    [2022/08/06 10:01:39.573] Http result: 200, Size: 17, Error: 0 [9de834]
    [2022/08/06 10:01:39.573] EnterGame {"result_code":0}
    [2022/08/06 10:01:39.573] AdminFlag 1 00000000 -> 00000000
    [2022/08/06 10:01:39.589] AdminFlag 1 00000000 -> 00000000
    [2022/08/06 10:01:40.259] Handle StartChargeUserReq
    [2022/08/06 10:02:05.344] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}



Advertisement