Jump to content

Webserver - Emblem


Botaring

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

May guide po ba kung paano i-aayos ang Web-Server?

Ang gamit ko po ay Linux Based Server, na "make web" ko na po kaso hindi pa din po nagana or hindi ko intindi kung paano i-setup yung sa emblem upload.

 

 

Link to comment
Share on other sites


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

53 minutes ago, luxus2311 said:

Is there a guide on how to fix the Web-Server?

I'm using a Linux Based Server, which I "make web" but it still hasn't worked or I don't understand how to setup the emblem upload.

 

 

you need to set the IP in externalsettings depends on what service u set in sclientinfo.xml

https://github.com/llchrisll/ROenglishRE/wiki/Webservice-Guide 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.05
  • Content Count:  79
  • Reputation:   1
  • Joined:  06/22/23
  • Last Seen:  

2 hours ago, luxus2311 said:

May guide po ba kung paano i-aayos ang Web-Server?

Ang gamit ko po ay Linux Based Server, na "make web" ko na po kaso hindi pa din po nagana or hindi ko intindi kung paano i-setup yung sa emblem upload.

 

 

Kung gamit mo ung Latest Emu. madali lang

go to conf > web_athena.conf > // Web Server Port
web_port: 8888

tapos punta ka ng client side

data > luafiles514 > lua files > service_korea > ExternalSettings_kr.lub
Find > AssistAddr = "127.0.0.1:8888"

palitan mo ung 127.0.0.1 ng IP ng Hosting mo 

then try mo kung working na

 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

On 9/19/2023 at 11:28 AM, Dev j said:

Kung gamit mo ung Latest Emu. madali lang

go to conf > web_athena.conf > // Web Server Port
web_port: 8888

tapos punta ka ng client side

data > luafiles514 > lua files > service_korea > ExternalSettings_kr.lub
Find > AssistAddr = "127.0.0.1:8888"

palitan mo ung 127.0.0.1 ng IP ng Hosting mo 

then try mo kung working na

 

Need ko pa po ba idiff yung 2021-11-03 Client? Ayon po kasi ang gamit ko, nabasa ko po kasi doon sa chris translation need pa idiff ng HTTP Emblem. Kaso wala po siya sa WARPimage.png.c217dd3e570c7a96c007a26bd73ac79b.png

 

On 9/19/2023 at 10:03 AM, Chaos92 said:

you need to set the IP in externalsettings depends on what service u set in sclientinfo.xml

https://github.com/llchrisll/ROenglishRE/wiki/Webservice-Guide 

I already did that sir, but it's still not working.
Here is my sclientinfo.xml:

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Client Information</desc>
	<servicetype>korea</servicetype>
	<servertype>primary</servertype>
	<connection>
		<display>Testing</display>
      		<address>nodns.tro.com</address>
      		<port>6905</port>
      		<version>55</version>
      		<langtype>1</langtype>
		<registrationweb>www.ragnarok.com</registrationweb>
		<loading>
			<image>loading00.jpg</image>
			<image>loading01.jpg</image>
			<image>loading02.jpg</image>
			<image>loading03.jpg</image>
			<image>loading04.jpg</image>
			<image>loading05.jpg</image>
			<image>loading06.jpg</image>
		</loading>
		<aid>
			<admin>2000000</admin>
		</aid>
   	</connection>
</clientinfo>

and my ExternalSettings_kr.lub:

MaxLevelTable = {
	BaseLevel = 99,
	BaseLevel3rd = 200,
	BaseLevel4th = 250,
	BaseLevelExtend2 = 200,
	BaseLevelUpperJob = 200,
	BaseLevelHomun = 250,
	BaseLevelDoram = 200,
	JobLevelNovice = 10,
	JobLevelSuperNovice = 99,
	JobLevelBase = 50,
	JobLevel2nd = 70,
	JobLevel3rd = 70,
	JobLevel4th = 50,
	JobLevelExtend2 = 70,
	JobLevelUpperJob = 70,
	JobLevelDoram = 60
}
MakeableRace = { Doram = true }
-- Change the "AssistAddr" to your IP
AssistAddr = "nodns.tro.com:8888"
-----------------------------------------
-- Old client compatibility [Secret]
-- DON'T TOUCH ANYTHING BELOW
-----------------------------------------
Url = { TwitterUrl = 'http://'..AssistAddr }
AccountLinkedUserDataUrl = {
	Save = 'http://'..AssistAddr..'/userconfig/save',
	Load = 'http://'..AssistAddr..'/userconfig/load'
}
TwitterDataUrl = {
	Auth = 'http://'..AssistAddr..'/twitter/user-auth',
	Upload = 'http://'..AssistAddr..'/twitter/upload'
}
EmblemDataUrl = {
	Upload = 'http://'..AssistAddr..'/emblem/upload',
	Download = 'http://'..AssistAddr..'/emblem/download'
}
-----------------------------------------
LEVELAURA = {}
LEVELAURA.EF_NONE = -1
LEVELAURA.EF_LEVEL99 = 200
LEVELAURA.EF_LEVEL99_ORB1 = 976
LEVELAURA.EF_LEVEL99_ORB2 = 977
LEVELAURA.EF_LEVEL150 = 978
LEVELAURA.EF_LEVEL150_SUB = 979
LEVELAURA.EF_LEVEL160 = 1022
LEVELAURA.EF_LEVEL160_SUB = 1023
LEVELAURA.EF_LEVEL185 = 1226
LEVELAURA.EF_LEVEL185_SUB = 1227
LEVELAURA.EF_LEVEL4TH = 2275
LEVELAURA.EF_LEVEL4TH_SUB = 2276
Level99AuraTable = {
	Default99LvAura = LEVELAURA.EF_LEVEL99,
	Default99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1,
	Baby99LvAura = LEVELAURA.EF_LEVEL99,
	Baby99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB2,
	SecondHigh99LvAura = 0,
	SecondHigh99LvAura_sub = 0,
	Homun99LvAura = 0,
	Homun99LvAura_sub = 0,
	Boss99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1
}
MaxLevelAuraTable = {
	Default150LvAura = LEVELAURA.EF_LEVEL150,
	Default150LvAura_sub = LEVELAURA.EF_LEVEL150_SUB,
	Default160LvAura = LEVELAURA.EF_LEVEL185,
	Default160LvAura_sub = LEVELAURA.EF_LEVEL185_SUB,
	Default185LvAura = LEVELAURA.EF_LEVEL185,
	Default185LvAura_sub = LEVELAURA.EF_LEVEL185_SUB,
	MaxLevelEffect4th = LEVELAURA.EF_LEVEL4TH,
	MaxLevelEffect4th_sub = LEVELAURA.EF_LEVEL4TH_SUB,
	UpperJobMaxLvAura = LEVELAURA.EF_LEVEL185,
	UpperJobMaxLvAura_sub = LEVELAURA.EF_LEVEL185_SUB,
	HomunMaxLvAura = LEVELAURA.EF_LEVEL4TH,
	HomunMaxLvAura_sub = LEVELAURA.EF_LEVEL4TH_SUB
}

function GetTableIntValueForC(tableName, keyName)
	local t = _G[tableName]
	if nil == t then
		return -1
	end
	local intValue = t[keyName]
	if nil == intValue then
		return -1
	else
		return intValue
	end
end

function GetTableStringValueForC(tableName, keyName)
	local t = _G[tableName]
	if nil == t then
		return ""
	end
	local stringValue = t[keyName]
	if nil == stringValue then
		return ""
	else
		return stringValue
	end
end

function GetTableBoolValueForC(tableName, keyName)
	local t = _G[tableName]
	if nil == t then
		return false
	end
	local boolValue = t[keyName]
	if nil == boolValue then
		return false
	else
		return boolValue
	end
end

The only thing that I haven't done yet is the HTTP Emblem Diff since I cannot find it on WARP. My diff options are attached to this message.
 


BTW, I already did the "make web" and "./web-server start" but for some reason this happens.

image.png.8b48acf2c3950c3bb49f9ddc426cc18d.png

2021-11-03_Ragexe_1635926200_patched.exe.secure.txt 2021-11-03_Ragexe_1635926200_patched.epi

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.05
  • Content Count:  79
  • Reputation:   1
  • Joined:  06/22/23
  • Last Seen:  

MakeableRace = { Doram = true }
-- Change the "AssistAddr" to your IP
AssistAddr = "nodns.tro.com:8888"

 

nodns.tro.com replace to ip of your server

 

about webserver check your inter_athena.conf

// MySQL Web Server
web_server_ip: 127.0.0.1
web_server_port: 3306
web_server_id: ragnarok
web_server_pw: ragnarok
web_server_db: ragnarok

change this base on your sql

Link to comment
Share on other sites


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

make sure u already run web files part in the sql-files. and also make sure web server is already running.

use latest rathena if possible because its 100% working for latest rathena.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

26 minutes ago, Dev j said:
MakeableRace = { Doram = true }
-- Change the "AssistAddr" to your IP
AssistAddr = "nodns.tro.com:8888"

 

nodns.tro.com replace to ip of your server

 

about webserver check your inter_athena.conf

// MySQL Web Server
web_server_ip: 127.0.0.1
web_server_port: 3306
web_server_id: ragnarok
web_server_pw: ragnarok
web_server_db: ragnarok

change this base on your sql


I have configured the WebServer on my inter_conf.txt
i changed the AssistAddr to my IP but to it still dont show the emblem, sir.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

13 minutes ago, Chaos92 said:

make sure u already run web files part in the sql-files. and also make sure web server is already running.

use latest rathena if possible because its 100% working for latest rathena.

I'm using the latest revision of rathena, and has the sql files on the db. But for some reason

 image.png.6afdcf7b02ec374d650d7a1de6e1436b.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.05
  • Content Count:  79
  • Reputation:   1
  • Joined:  06/22/23
  • Last Seen:  

4 minutes ago, luxus2311 said:

I'm using the latest revision of rathena, and has the sql files on the db. But for some reason

 image.png.6afdcf7b02ec374d650d7a1de6e1436b.png

Drop your web_conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

2 minutes ago, Dev j said:

Drop your web_conf

It's just this, sir:
 

web_port: 8888

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

My Webserv.bat is working and no error. However, it don't know where to place the emblem folder and the emblem's.

Im using 2019 client will it work?

 

On 9/19/2023 at 2:52 PM, Botaring said:

It's just this, sir:
 

web_port: 8888

 

Mine has been solved. its working fine now :).

You need to diff HTTP Emblem - before it works.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

On 9/21/2023 at 4:53 PM, G-RO said:

Mine has been solved. its working fine now :).

You need to diff HTTP Emblem - before it works.

May I ask how did you make your webserver work?

What type of program do you use to diff HTTP Emblem? I use warp and it doesn't have that on 2021-11-03

Link to comment
Share on other sites


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

1 hour ago, Botaring said:

May I ask how did you make your webserver work?

What type of program do you use to diff HTTP Emblem? I use warp and it doesn't have that on 2021-11-03

I think he use client older than 2020 so thats why he need that diff. Or else he doesnt need to use web server.

For Client 2020 and above its already using http emblem so doesnt need to patch that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

20 hours ago, Botaring said:

May I ask how did you make your webserver work?

What type of program do you use to diff HTTP Emblem? I use warp and it doesn't have that on 2021-11-03

I change my exe to 2020 that supports HTTP emblem, then thats it. 

I used NEMO by the way.

 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

I already configured the following files:
inter_athena.txt (MySQL Web)
Client Diff - HTTP Emblem (Mr. Chaos92 provided the info that 2021-11-03 doesnt need it since it's already patched)
SQL File (Already uploaded it on ragnarok_db on MySQL/PHPMyAdmin)
ExternalSettings_kr.lub (Changed AsstAddr to my server's IP)

I also tried did command "
./configure --enable-web-service" but to no avail
No description available.

Then the problem is the web-server, as I've mentioned before from my previous reply.
image.png

Edited by Botaring
Link to comment
Share on other sites


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

6 hours ago, Botaring said:

I already configured the following files:
inter_athena.txt (MySQL Web)
Client Diff - HTTP Emblem (Mr. Chaos92 provided the info that 2021-11-03 doesnt need it since it's already patched)
SQL File (Already uploaded it on ragnarok_db on MySQL/PHPMyAdmin)
ExternalSettings_kr.lub (Changed AsstAddr to my server's IP)

I also tried did command "
./configure --enable-web-service" but to no avail
No description available.

Then the problem is the web-server, as I've mentioned before from my previous reply.
image.png

for latest rathena, ./configure is enough because it will compile web server too automatically.

btw, usually the blue debug not running, sleeping 1 second usually just occur once, not a few times as what happen in your log.

have you check your web server port 8888 default didnt being used by another process ? or maybe try to change the port to another then ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  09/30/15
  • Last Seen:  

Solved. It seems that I misconfigured something. All is working well now. Thank you for helping me.

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
Reply to this topic...

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