Jump to content
  • 0

So how do you actually use the Web Service feature?


PedroProplayer

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   4
  • Joined:  10/10/13
  • Last Seen:  

I feel there's not enough information about using this new feature.

The only reliable information I found on the subject was this link.

https://github.com/rathena/rathena/pull/5731

Quote

This is an optional feature. To enable, you have to:
Using configure

  • ./configure --enable-web-service

I'm using the latest rA and the return message is that --enable-web-service is not a recognized option.

So which is it? Is the web service built into rA? Do I need to download any additonal packages? What do we even gain from this besides gif emblems?

Edited by PedroProplayer
typos
Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1507
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

8 hours ago, PedroProplayer said:

I feel there's not enough information about using this new feature.

The only reliable information I found on the subject was this link.

https://github.com/rathena/rathena/pull/5731

I'm using the latest rA and the return message is that --enable-web-service is not a recognized option.

So which is it? Is the web service built into rA? Do I need to download any additonal packages? What do we even gain from this besides gif emblems?

what OS are you using ?

configure commands = for linux/centos/ubuntu.

For windows = use visual studio

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   1
  • Joined:  05/22/15
  • Last Seen:  

mine is on the linux host but I can't use the .configure function...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

If you are getting Permission Denied.

 

type in terminal. $ chmod a+x ./configure (You have to be in the file directory).

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   1
  • Joined:  05/22/15
  • Last Seen:  

-bash: $: command not found
?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1507
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

12 hours ago, kennykiro said:

mine is on the linux host but I can't use the .configure function...

it should be ./configure not .configure

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   1
  • Joined:  05/22/15
  • Last Seen:  

On 7/29/2021 at 11:17 AM, Chaos92 said:

deve ser ./configure, não .configure

I used this function but I won't know why

On 7/29/2021 at 11:17 AM, Chaos92 said:

deve ser ./configure, não .configure

  • mine is on the linux host but I can't use the .configure function... ./configure --enable-web-service
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1507
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

6 hours ago, kennykiro said:
  • mine is on the linux host but I can't use the .configure function... ./configure --enable-web-service

normal rathena should can ./configure ,

so by just adding that pull request, you can use ./configure --enable-web-service

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   1
  • Joined:  05/22/15
  • Last Seen:  

15 hours ago, Chaos92 said:

o rathena normal pode ./configurar,

então, apenas adicionando essa solicitação pull, você pode usar ./configure --enable-web-service

I put this pull in my emulator on the host, I'm using luminushost but I can't use ./configure. I added everything right but function is not going.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   4
  • Joined:  10/10/13
  • Last Seen:  

On 7/27/2021 at 11:24 PM, Chaos92 said:

what OS are you using ?

configure commands = for linux/centos/ubuntu.

For windows = use visual studio

I'm using CentOS 7. I'm using ./configure with the argument that was provides but, as I said, it does not recognize the option.

Should this work on a default rA installation? All I've used is Yum to install the latest version, nothing more.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1507
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

1. ./configure can be used to compile/recompile SRC for rathena clean files. if you cannot use this command, I assume you didnt even have compile your rathena in centos 7. If you have working rathena folder that has been compiled, you should have use ./configure before.

2. Make sure to pull this Pull Request.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   4
  • Joined:  10/10/13
  • Last Seen:  

So I decided to take another shot at this. Did a clean install of rA on my virtual machine, made sure it worked, switched to Pre-Re and did the pull using git check and then checkout.

Using git branch I can tell I'm on the webservice branch. I also see the new files and confs so I know it worked.

So now problem #1: when doing ./configure --enable-web-service I get the error: unrecognized option.

I don't know what does but I can start the web service using ./web-service. It works. At least it turns on.

So apparently I need to edit a lua file on my client to point to the web service. So I went and edited ExternalSettings_kr.lub and added my local address and set the port to 8888(which was the default port on the web service config). Still get the error on login and emblems not working. Nothing shows up on the web service window either, it's obviously not communicating.

This is about as far as I can go. I have no idea what's wrong.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

for centos u should try type this command 
scl_source enable devtoolset-7

before recompile

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   16
  • Joined:  07/28/12
  • Last Seen:  

On 9/5/2021 at 10:29 AM, PedroProplayer said:

So I decided to take another shot at this. Did a clean install of rA on my virtual machine, made sure it worked, switched to Pre-Re and did the pull using git check and then checkout.

Using git branch I can tell I'm on the webservice branch. I also see the new files and confs so I know it worked.

So now problem #1: when doing ./configure --enable-web-service I get the error: unrecognized option.

I don't know what does but I can start the web service using ./web-service. It works. At least it turns on.

So apparently I need to edit a lua file on my client to point to the web service. So I went and edited ExternalSettings_kr.lub and added my local address and set the port to 8888(which was the default port on the web service config). Still get the error on login and emblems not working. Nothing shows up on the web service window either, it's obviously not communicating.

This is about as far as I can go. I have no idea what's wrong.

I currently have the same problem, did you find any solution?

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...