Jump to content
  • 0

Configuring client to talk to RathenaWebBuiltin


JohnyBonnie

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/11/20
  • Last Seen:  

Trying to get Guild Icons to work but packet captures show that the Client is not sending any data when a guild emblem is saved. What files am I looking to edit to get my client to talk to my server?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

this has good steps on setting it up.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/11/20
  • Last Seen:  

Using 2021-11-17_Ragexe_1637052357 as my client

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  5
  • Reputation:   3
  • Joined:  09/17/22
  • Last Seen:  

on flux/config folder contains some setting you need to change

....specially the application.php you need to match them with the rathena server and diff version client of your game

https://github.com/rathena/FluxCP/blob/master/config/application.php

Edited by emmamarshall451
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/11/20
  • Last Seen:  

I'm not actually using FluxCP. The new build comes with a built in Webserver (Running on port 8888) and options for configuring it to talk to the database for Guild options. My Client is not sending Data to the web server. Is there some client configuration needed to send the Guild icon to the web server ? Or is this to be used for something else and I am misunderstanding the use of those configuration options?

 

On 12/2/2022 at 3:57 PM, nitrous said:

this has good steps on setting it up.

Danke! That must be it. The Emblem data URL is not populated. I figured it was something there.

 

Now its talking. I've imported the tables for the web server to my database (Both _log and _rag) and now i'm getting an 400 series error when I try to upload an emblem.

[Warning]: Request with AID 2000001 and token  unverified
[Debug]: Incoming Headers are:
[Debug]:        Accept: */*
[Debug]:        Connection: keep-alive
[Debug]:        Content-Length: 2479
[Debug]:        Content-Type: multipart/form-data; boundary=------------------------ba2860e6d04bbb49
[Debug]:        Expect: 100-continue
[Debug]:        Host: 192.168.1.90:8888
[Debug]:        REMOTE_ADDR: 192.168.1.119
[Debug]:        REMOTE_PORT: 1601
[Debug]: Incoming Pages are:
[Debug]:        AID: 2000001
[Debug]:        AuthToken:
[Debug]:        GDID: 1
[Debug]:        Img: BM�
[Debug]:        ImgType: BMP
[Debug]:        WorldName: rAthena
[Debug]: Outgoing Headers are:
[Debug]:        Content-Length: 5
[Debug]:        Content-Type: text/plain
[Debug]:        Keep-Alive: timeout=5, max=5
[Debug]: Response status is: 400
[Debug]: Body is:
Error
[Info]: 192.168.1.119 [POST /emblem/upload] 400

 

Nevermind. Found the solution.

rathena/conf/login_athena.conf

use_web_auth_token: yes // <= must be set to yes... I had thought it was for HTTP authentication such as an external login token via web page.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...