LearningRO Posted July 10, 2020 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 770 Reputation: 69 Joined: 02/10/12 Last Seen: 8 hours ago Share Posted July 10, 2020 (edited) Hi, I try to install this Pull: https://github.com/secretdataz/athena-web-service already succeed follow this step To install dependencies for this project, you need https://getcomposer.org/. run composer install to install dependencies. copy .env.example and paste it as .env. edit .env and add your MySQL credentials. run php artisan key:generate to generate the encryption key for your installation. run php artisan migrate to create required MySQL tables. see config directory for additional configurations. and this is my config/athena.php use defaut setting. and already check my char_server.conf same like Alllowed_worlds "rAthena". <?php return [ 'error_response' => '{"Type": 3}', 'allowed_worlds' => ['rAthena'], 'force_same_ip' => env('ATHENA_FORCE_SAME_IP', true), ]; and already generated new table and when try to akses the www.emble.myro.com < this addres where is athena web service installed get error like this Actually I don't understand how to use this app and what should display when try to run the app?or i miss some configure? Update : acctualy this app only work if reveice right data LOL thats way always get type: 3 [so this app only triger from change emblem in game] And dont forget to change forcesameip into False! I don't know why when i set to true the emblem didn't wanna to upload and new case : what the function for get user_configs? is related with this message?its should triger when player first login right? until right now table user_configs always empty... Edited July 10, 2020 by LearningRO Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted July 10, 2020 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 928 Reputation: 170 Joined: 04/05/13 Last Seen: 13 hours ago Share Posted July 10, 2020 Edit IP on '\data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub' AccountLinkedUserDataUrl = { Save = "http://127.0.0.1:8000/userconfig/save", Load = "http://127.0.0.1:8000/userconfig/load" } TwitterDataUrl = { Auth = "http://0.0.0.0:3000/twitter/user-auth", Upload = "http://0.0.0.0:3000/twitter/upload" } EmblemDataUrl = { Upload = "http://127.0.0.1:8000/emblem/upload", Download = "http://127.0.0.1:8000/emblem/download" } Change 127.0.0.1 to your ip address. 1 Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted July 10, 2020 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 770 Reputation: 69 Joined: 02/10/12 Last Seen: 8 hours ago Author Share Posted July 10, 2020 (edited) 3 hours ago, Start_ said: Edit IP on '\data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub' AccountLinkedUserDataUrl = { Save = "http://127.0.0.1:8000/userconfig/save", Load = "http://127.0.0.1:8000/userconfig/load" } TwitterDataUrl = { Auth = "http://0.0.0.0:3000/twitter/user-auth", Upload = "http://0.0.0.0:3000/twitter/upload" } EmblemDataUrl = { Upload = "http://127.0.0.1:8000/emblem/upload", Download = "http://127.0.0.1:8000/emblem/download" } Change 127.0.0.1 to your ip address. Thanks @Start_ yeah i miss that step LOL and when try use ip didnt get any respon and try use my subdomain since i install this app on subdomain AccountLinkedUserDataUrl = { Save = "http://emblem.test-ro.com/userconfig/save", Load = "http://emblem.test-ro.com/userconfig/load" } TwitterDataUrl = { Auth = "http://emblem.test-ro.com/twitter/user-auth", Upload = "http://emblem.test-ro.com/twitter/upload" } EmblemDataUrl = { Upload = "http://emblem.test-ro.com/emblem/upload", Download = "http://emblem.test-ro.com/emblem/download" } get respond but stil failed btw im still get "type:3" when try to acces embe.test-ro.com its can be the problem? or still miss some step? Edited July 10, 2020 by LearningRO Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted July 10, 2020 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 928 Reputation: 170 Joined: 04/05/13 Last Seen: 13 hours ago Share Posted July 10, 2020 I don't know this step neccessary or not. cd to your guild emblem folder like before and type php artisan serve Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted July 10, 2020 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 770 Reputation: 69 Joined: 02/10/12 Last Seen: 8 hours ago Author Share Posted July 10, 2020 (edited) 4 minutes ago, Start_ said: I don't know this step neccessary or not. cd to your guild emblem folder like before and type php artisan serve hi this is my result when running that command Lravel development server started: <http://127.0.0.1:8000> [Fri Jul 10 17:45:12 2020] PHP 7.4.5 Development Server (http://127.0.0.1:8000) started btw do u already try this app? and work? Edited July 10, 2020 by LearningRO Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted July 10, 2020 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 928 Reputation: 170 Joined: 04/05/13 Last Seen: 13 hours ago Share Posted July 10, 2020 Yes. It's work well on 2020-03-04 RagexeRE. 20200401 last time I tried it's not working but not sure it's worked right now or not. Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted July 10, 2020 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 770 Reputation: 69 Joined: 02/10/12 Last Seen: 8 hours ago Author Share Posted July 10, 2020 On 7/10/2020 at 10:14 PM, Start_ said: Yes. It's work well on 2020-03-04 RagexeRE. 20200401 last time I tried it's not working but not sure it's worked right now or not. after I disabled forcesameIP right now succed upload/download ahh i used 20200401 so my problem maybe on client side issue? yeah its work on 20200304 thank you start! Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted July 27, 2020 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1540 Reputation: 238 Joined: 08/03/12 Last Seen: 3 hours ago Share Posted July 27, 2020 Hello, I received {"Type": 3} also. I tried change EmblemDataUrl to my IP and using client 2020-03-04 RagexeRE. Ive tried upload emblems in client, but nothing happen. And theres no more forcesameIP since its already reverted in Secret's git. Btw i delete .env file after installation. Or I should just leave it there ? Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted July 27, 2020 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 928 Reputation: 170 Joined: 04/05/13 Last Seen: 13 hours ago Share Posted July 27, 2020 30 minutes ago, Chaos92 said: Hello, I received {"Type": 3} also. I tried change EmblemDataUrl to my IP and using client 2020-03-04 RagexeRE. Ive tried upload emblems in client, but nothing happen. And theres no more forcesameIP since its already reverted in Secret's git. Btw i delete .env file after installation. Or I should just leave it there ? You should leave .env there. If you can't see emblems change in seconds try re-open game client and set emblem again. Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted July 27, 2020 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 770 Reputation: 69 Joined: 02/10/12 Last Seen: 8 hours ago Author Share Posted July 27, 2020 (edited) 38 minutes ago, Chaos92 said: Hello, I received {"Type": 3} also. I tried change EmblemDataUrl to my IP and using client 2020-03-04 RagexeRE. Ive tried upload emblems in client, but nothing happen. And theres no more forcesameIP since its already reverted in Secret's git. Btw i delete .env file after installation. Or I should just leave it there ? Hello. for your message get "type 3" its coz this APP only triger in game and the right data you should do nothing with your API addres just config your API Adress like start_ tell before Edited July 27, 2020 by LearningRO Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted July 27, 2020 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1540 Reputation: 238 Joined: 08/03/12 Last Seen: 3 hours ago Share Posted July 27, 2020 1 hour ago, Start_ said: You should leave .env there. If you can't see emblems change in seconds try re-open game client and set emblem again. Shouldnt it can be opened by anyone by going to /.env path ? Or should change the permission ? because its in web-athena-service folder so public can just open the path/.env 1 hour ago, LearningRO said: Hello. for your message get "type 3" its coz this APP only triger in game and the right data you should do nothing with your API addres just config your API Adress like start_ tell before does we need to use php artisan serve and do we need to use port 8000 there ? Quote Link to comment Share on other sites More sharing options...
0 Foob Posted July 27, 2020 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 267 Reputation: 40 Joined: 01/19/17 Last Seen: January 12, 2023 Share Posted July 27, 2020 @Chaos92 You don't need to delete the .env file however you can add .htaccess to prevent public users to view it. Also, you don't need to use port :8000 if you didn't change the port on your http daemon. This link (external) might help you. Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted July 27, 2020 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1540 Reputation: 238 Joined: 08/03/12 Last Seen: 3 hours ago Share Posted July 27, 2020 I realized I didnt diffed client with external setting koreas, so : - if you diffed with external setting koreas, u can add emblemURL stated above in service_korea. In my case, its in service_usa. Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted October 5, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted October 5, 2020 Need to know how to install Web service i try and don't understand To install dependencies for this project, you need https://getcomposer.org/. run composer install to install dependencies. copy .env.example and paste it as .env. edit .env and add your MySQL credentials. run php artisan key:generate to generate the encryption key for your installation. run php artisan migrate to create required MySQL tables. see config directory for additional configurations. Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted April 24, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted April 24, 2021 The original model is good, why change it so difficult? Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted April 24, 2021 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1540 Reputation: 238 Joined: 08/03/12 Last Seen: 3 hours ago Share Posted April 24, 2021 (edited) 18 minutes ago, ittiphol said: The original model is good, why change it so difficult? You can try this PR now : https://github.com/rathena/rathena/pull/5731 if you're asking about the guild emblem changes, its because of client support. if you're using for example 2018 clients or older you might still can use the old one. This only for client 2020 above. Edited April 24, 2021 by Chaos92 additional info 1 Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted April 24, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted April 24, 2021 8 minutes ago, Chaos92 said: You can try this PR now : https://github.com/rathena/rathena/pull/5731 if you're asking about the guild emblem changes, its because of client support. if you're using for example 2018 clients or older you might still can use the old one. This only for client 2020 above. Very difficult to install And the elusive explanation I have tried many times, but I have not succeeded. Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted April 24, 2021 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1540 Reputation: 238 Joined: 08/03/12 Last Seen: 3 hours ago Share Posted April 24, 2021 (edited) 44 minutes ago, ittiphol said: Very difficult to install And the elusive explanation I have tried many times, but I have not succeeded. which one difficult ? its easier I think since its in rathena folder already. If you're asking on how, its already there inside that PR the instruction. Ive comment also about how to pull from other user git. Or else you can just wait for it to be merged in rathena master and you use it, it just the matter of time. Edited April 24, 2021 by Chaos92 additional info Quote Link to comment Share on other sites More sharing options...
0 ittiphol Posted April 24, 2021 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 115 Reputation: 7 Joined: 05/09/19 Last Seen: May 20, 2021 Share Posted April 24, 2021 Just now, Chaos92 said: which one difficult ? its easier I think since its in rathena folder already. If you're asking on how, its already there inside that PR the instruction. Ive comment also about how to pull from other user git. Or else you can just wait for it to be merged in rathena master and you use it, it just the matter of time. Oh then i wait to merged in rathena. Thank you ^^ Quote Link to comment Share on other sites More sharing options...
Question
LearningRO
Hi, I try to install this Pull: https://github.com/secretdataz/athena-web-service
already succeed follow this step
To install dependencies for this project, you need https://getcomposer.org/.
and this is my config/athena.php
use defaut setting. and already check my char_server.conf same like Alllowed_worlds "rAthena".
and already generated new table
and when try to akses the www.emble.myro.com < this addres where is athena web service installed
get error like this
Actually I don't understand how to use this appand what should display when try to run the app?
or i miss some configure?Update : acctualy this app only work if reveice right data LOL thats way always get type: 3 [so this app only triger from change emblem in game]
Edited by LearningROAnd dont forget to change forcesameip into False! I don't know why when i set to true the emblem didn't wanna to upload
and new case :
what the function for get user_configs?
is related with this message?
its should triger when player first login right? until right now table user_configs always empty...
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.