Jump to content
meyraw

AndRO for Athena

Recommended Posts

AndRO is a self-written RO client for Android that is compatible with rAthena, eAthena, and Hercules.

To run it, you need a working game client on your device and a running server.

App will use GRF list from DATA.INI and server list from clientinfo.xml.

Default packet version is 20171227.

You can change it by specifying <version>YYYYMMDD</version> tag in your client's data/clientinfo.xml

For obvious reasons it doesn't support gepard and stuff. Just plain ro protocol.

 

Download link:

http://roworkshop.com/andro

 

You may also want to customize your client's data/clientinfo.xml for AndRO by adding some of the additional options that AndRO supports:

http://roworkshop.com/andro/main/clientinfo.html

 

Edited by meyraw
  • Upvote 5
  • Love 1
  • Like 3
Link to comment
Share on other sites

If you need a tutorial you shouldn't be trying to set this up. Google is your friend!

Hint: you can unpack .apk's with winrar to view the files. Other than that, there are many tutorials online for android application development.

  • Upvote 1
Link to comment
Share on other sites

Not sure what to write in the tutorial. These basic steps are quite intuitive but ok:

 

1. Set up a working rA/Herc and a PC RO client to connect to your server, check if it's working

2. Modify <version> tag to your client's clientinfo.xml to your packet version YYYYMMDD, check if the PC client is still working

3. Copy PC RO client to the phone/tablet

4. Launch AndRO and select your client directory

Edited by meyraw
Link to comment
Share on other sites

On 1/19/2018 at 8:20 PM, meyraw said:

Not sure what to write in the tutorial. These basic steps are quite intuitive but ok:

 

1. Set up a working rA/Herc and a PC RO client to connect to your server, check if it's working

2. Modify <version> tag to your client's clientinfo.xml to your packet version YYYYMMDD, check if the PC client is still working

3. Copy PC RO client to the phone/tablet

4. Launch AndRO and select your client directory

Having issues with it such as "Disconnected from Resource Server"

Link to comment
Share on other sites

On 1/27/2018 at 6:07 AM, shanchien29 said:

Force close after login

its working now. downloaded the latest apk. thanks

What Client version are you using?

Link to comment
Share on other sites

On 1/28/2018 at 10:30 PM, Gerzzie said:

What Client version are you using?

20151104 and I disabled Packet Obfuscation in packets.h

	#ifndef PACKET_OBFUSCATION
		//#define PACKET_OBFUSCATION

The only thing that is not working for me is the cash shop 'buy'. I can open the cash shop and add. after clicking purchase there will be an unsupported packet in server.

Edited by shanchien29
Link to comment
Share on other sites

On 2/6/2018 at 4:15 PM, shanchien29 said:

20151104 and I disabled Packet Obfuscation in packets.h

	#ifndef PACKET_OBFUSCATION
		//#define PACKET_OBFUSCATION

The only thing that is not working for me is the cash shop 'buy'. I can open the cash shop and add. after clicking purchase there will be an unsupported packet in server.

Are you able to update your server that uses thor patcher using this AndRO without manually updating the folder in your device?

Link to comment
Share on other sites

You can specify patcher settings inside your clientinfo.xml:
 

....
<connection>
  ....
  ....
  <patchserver>
    <type>thor</type>
    <http>http://path/to/plist.txt</http>
    <ftp>http://path/to/data</ftp>
    <grf>your_default_grf.grf</grf>
    <inf>StatusFile.dat</inf>
  </patchserver>
  ....
</connection>

 

Link to comment
Share on other sites

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>primary</servertype>
    <connection>
        <display>RagnarokDeep</display>
        <address>95.211.121.52</address>
        <port>6900</port>
        <version>29</version>
        <langtype>0</langtype>
        <registrationweb>http://ragnarokdeep.com/mreg</registrationweb>
        <desc>For European players</desc>
        <website>http://ragnarokdeep.com</website>
        <type>Deep</type>
        <packetver>20120712</packetver>
        <nationality>gb</nationality>
        <res>roworkshop.com</res>
        <res-port>4121</res-port>
        <res-subdir>deep-130303</res-subdir>
        <grf>deep.grf</grf>
        <grf>deep_pal.grf</grf>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://ragnarokdeep.com/res/pl/patch.txt</http>
            <ftp>ftp://ftp.ragnarokdeep.com/patchk</ftp>
            <grf>data.grf</grf>
            <inf>Patch.inf</inf>
        </patchserver>
        <patchserver>
            <http>http://ragnarokdeep.com/res/pl/patchd.txt</http>
            <ftp>ftp://ftp.ragnarokdeep.com/patchd</ftp>
            <grf>deep.grf</grf>
            <inf>dpatch.inf</inf>
        </patchserver>
        <iteminfo>deepitem</iteminfo>
        <luafiles514>true</luafiles514>
        <eathena>true</eathena>
        <support_stop_packet>true</support_stop_packet>
        <support_billing>true</support_billing>
        <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>
            <image>loading07.jpg</image>
            <image>loading08.jpg</image>
            <image>loading09.jpg</image>
            <image>loading10.jpg</image>
        </loading>
                
    </connection>
    <connection>
    <display>RagnarokDeep-Asia</display>
        <address>95.211.121.52</address>
        <port>6900</port>
        <version>29</version>
        <langtype>0</langtype>
        <registrationweb>http://ragnarokdeep.com/mreg</registrationweb>
        <desc>For Asian players</desc>
        <website>http://ragnarokdeep.com</website>
        <type>Deep</type>
        <packetver>20120712</packetver>
        <nationality>th</nationality>
        <nationality>ph</nationality>
        <nationality>sg</nationality>
        <res>asia.ragnarokdeep.com</res>
        <res-port>4121</res-port>
        <res-subdir>deep-130303</res-subdir>
        <grf>deep.grf</grf>
        <grf>deep_pal.grf</grf>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://ragnarokdeep.com/res/pl/patch.txt</http>
            <ftp>ftp://ftp.ragnarokdeep.com/patchk</ftp>
            <grf>data.grf</grf>
            <inf>Patch.inf</inf>
        </patchserver>
        <patchserver>
            <http>http://ragnarokdeep.com/res/pl/patchd.txt</http>
            <ftp>ftp://ftp.ragnarokdeep.com/patchd</ftp>
            <grf>deep.grf</grf>
            <inf>dpatch.inf</inf>
        </patchserver>
        <iteminfo>deepitem</iteminfo>
        <luafiles514>true</luafiles514>
        <eathena>true</eathena>
        <support_stop_packet>true</support_stop_packet>
        <support_billing>true</support_billing>
        <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>
            <image>loading07.jpg</image>
            <image>loading08.jpg</image>
            <image>loading09.jpg</image>
            <image>loading10.jpg</image>
        </loading>
        <ping>asia.ragnarokdeep.com</ping>
        <pingport>5121</pingport>
    </connection>
    <connection>
        <display>MOTR</display>
        <address>89.108.109.26</address>
        <port>16900</port>
        <version>29</version>
        <langtype>0</langtype>
        <website>http://motr-online.com</website>
        <registrationweb>http://motr-online.com/mregister.php</registrationweb>
        <desc>For Russian players</desc>
        <type>MOTR</type>
        <packetver>20120712</packetver>
        <nationality>ru</nationality>
        <res>roworkshop.com</res>
        <res-port>4121</res-port>
        <res-subdir>motr-130208</res-subdir>
        <grf>motr.grf</grf>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://tourney.motr-online.com/npatch2/patch.txt</http>
            <ftp>ftp://ropatch2.gravityus.com/patch</ftp>
            <grf>data.grf</grf>
            <inf>patch.inf</inf>
        </patchserver>
        <patchserver>
            <http>http://tourney.motr-online.com/npatch2/patchm.txt</http>
            <ftp>ftp://ptch3.motr-online.com</ftp>
            <grf>motr.grf</grf>
            <inf>mpatch.inf</inf>
        </patchserver>
        <iteminfo>m_item</iteminfo>
        <luafiles514>true</luafiles514>
        <eathena>true</eathena>
        <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>
            <image>loading07.jpg</image>
            <image>loading08.jpg</image>
            <image>loading09.jpg</image>
            <image>loading10.jpg</image>
            <image>loading11.jpg</image>
            <image>loading12.jpg</image>
            <image>loading13.jpg</image>
            <image>loading14.jpg</image>
            <image>loading15.jpg</image>
            <image>loading16.jpg</image>
            <image>loading17.jpg</image>
            <image>loading18.jpg</image>
            <image>loading19.jpg</image>
            <image>loading20.jpg</image>
            <image>loading21.jpg</image>
            <image>loading22.jpg</image>
            <image>loading23.jpg</image>
            <image>loading24.jpg</image>
            <image>loading25.jpg</image>
            <image>loading26.jpg</image>
            <image>loading27.jpg</image>
            <image>loading28.jpg</image>
        </loading>
    </connection>
    <connection>
        <display>iRO Chaos</display>
        <address>128.241.92.162</address>
        <port>6800</port>
        <version>18</version>
        <langtype>1</langtype>
        <desc>For US players (official)</desc>
        <registrationweb>https://www.warpportal.com/account/registration.aspx</registrationweb>
        <type>iRO_Renewal</type>
        <website>http://playragnarok.com</website>
        <clientver2>1</clientver2>
        <nationality>us</nationality>
        <res>roworkshop.com</res>
        <res-port>4121</res-port>
        <res-subdir>iro-130202</res-subdir>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://ropatch1.gravityus.com/patch02/patch2.txt</http>
            <ftp>ftp://ropatch2.gravityus.com/patch</ftp>            
            <grf>data.grf</grf>
            <inf>patch.inf</inf>
        </patchserver>
        <luafiles514>false</luafiles514>
        <eathena>false</eathena>
                
        
     </connection>
    <connection>
        <display>fRO</display>
        <address>62.23.1.52</address>
        <port>6900</port>
        <version>1</version>
        <type>fRO</type>
        <website>http://www.ragnarokeurope.com</website>
        <registrationweb>http://www.gravity-gateway.com/mon_compte.html?next=vos_comptes_de_jeux.html</registrationweb>
        <clientver2>14</clientver2>
        <nationality>gb</nationality>
        <patchserver>
            <http>http://web.ragnarokonline.fr/patch01/patch2.txt</http>
            <ftp>ftp://62.23.1.11/patch01</ftp>
            <grf>data.grf</grf>
            <inf>patch.inf</inf>
        </patchserver>
        <eathena>false</eathena>
    </connection>
    <connection>
        <display>Altair</display>
        <balloon>Test server</balloon> 
        <desc>:3</desc> 
        <address>89.108.109.26</address> 
        <port>16910</port> 
        <version>29</version>
        <langtype>0</langtype>
        <website>http://motr-online.com</website>
        <registrationweb>http://motr-online.com/mregister.php</registrationweb>
        <desc>For Russian players</desc>
        <type>MOTR</type>
        <packetver>20120712</packetver>
        <nationality>ru</nationality>
        <res>roworkshop.com</res>
        <res-port>4121</res-port>
        <res-subdir>motr-130208</res-subdir>
        <grf>motr.grf</grf>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://tourney.motr-online.com/npatch_a/patch.txt</http>
            <ftp>ftp://ropatch2.gravityus.com/patch</ftp>
            <grf>data.grf</grf>
            <inf>patch.inf</inf>
        </patchserver>
        <patchserver>
            <http>http://tourney.motr-online.com/npatch_a/patchm.txt</http>
            <ftp>ftp://ptch3.motr-online.com</ftp>
            <grf>motr.grf</grf>
            <inf>mpatch.inf</inf>
        </patchserver>
        <iteminfo>m_item</iteminfo>
        <luafiles514>true</luafiles514>
        <eathena>true</eathena>


    </connection>
    <connection>
        <display>Local - 10.0.2.2</display>
        <address>10.0.2.2</address>
        <port>6900</port>
        <version>29</version>
        <type>MOTR</type>
        <support_stop_packet>true</support_stop_packet>
        <packetver>20120716</packetver>
        <res>10.0.2.2</res>
        <res-port>4121</res-port>
        <res-subdir>deep-130303</res-subdir>
        <grf>data.grf</grf>
        <luafiles514>true</luafiles514>
        <eathena>true</eathena>
        <iteminfo>deepitem</iteminfo>
        <support_stop_packet>true</support_stop_packet>
    </connection>
    <connection>
        <display>Local - 192.168.1.40</display>
        <address>192.168.1.40</address>
        <port>6900</port>
        <version>29</version>
        <langtype>0</langtype>
        <registrationweb>http://ragnarokdeep.com/mreg</registrationweb>
        <website>http://ragnarokdeep.com</website>
        <type>Deep</type>
        <packetver>20120712</packetver>
        <nationality>gb</nationality>
        <res>roworkshop.com</res>
        <res-port>4121</res-port>
        <res-subdir>deep-130303</res-subdir>
        <grf>deep.grf</grf>
        <grf>deep_pal.grf</grf>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://ragnarokdeep.com/res/pl/patch.txt</http>
            <ftp>ftp://ftp.ragnarokdeep.com/patchk</ftp>
            <grf>data.grf</grf>
            <inf>Patch.inf</inf>
        </patchserver>
        <patchserver>
            <http>http://ragnarokdeep.com/res/pl/patchd.txt</http>
            <ftp>ftp://ftp.ragnarokdeep.com/patchd</ftp>
            <grf>deep.grf</grf>
            <inf>dpatch.inf</inf>
        </patchserver>
        <iteminfo>deepitem</iteminfo>
        <luafiles514>true</luafiles514>
        <eathena>true</eathena>
        <support_stop_packet>true</support_stop_packet>
        <support_billing>true</support_billing>
    </connection>
        <connection>
        <display>iRO Sakray</display>
        <address>128.241.92.162</address>
        <port>6900</port>
        <version>18</version>
        <langtype>1</langtype>
        <clientver2>14</clientver2>
        <type>iRO_Renewal</type>
        <res>roworkshop.com</res>
        <res-port>4121</res-port>
        <res-subdir>iro-130202</res-subdir>
        <grf>data.grf</grf>
        <patchserver>
            <http>http://128.241.93.38/patch02/patch2.txt</http>
            <ftp>ftp://ropatch2.gravityus.com/patch</ftp>            
            <grf>data.grf</grf>
            <inf>patch.inf</inf>
        </patchserver>
        <luafiles514>false</luafiles514>
        <eathena>false</eathena>
    </connection>
    <connection>
        <display>kRO Sakray</display>
        <patchserver>
            <http>http://webpatch.ragnarok.co.kr/patch/patchRE.txt</http>
            <!-- <ftp>ftp://121.78.77.69:20021/Patch</ftp> -->
            <ftp>ftp://ragnarok.nowcdn.co.kr:20021/Patch</ftp>
        </patchserver>
    </connection>

</clientinfo>


Where should i Edit here??

Edited by Emistry
Please use codebox.
Link to comment
Share on other sites

On 27/03/2018 at 9:05 AM, meyraw said:

You need to edit clientinfo.xml inside your client GRF

Where do i need to edit the patcher to update the client?

TIA

Link to comment
Share on other sites

On 3/30/2018 at 10:53 AM, noobzter003 said:

Where do i need to edit the patcher to update the client?

TIA

You need to insert <patcherver> tag into clientinfo.xml inside your GRF like I decribed above

- Updated free version to v213.

- Added change log link on homepage

 

Some more useful clientinfo tags for server config customization (all tags need to be inserted inside your <connection> block

Custom itemInfo name:

<iteminfo>myitemInfo.lua</iteminfo>

Read lua before lub:

<read_lua_before_lub>true</read_lua_before_lub>

Increase max. hairstyles/haircolors:

<increase_max_hairstyles>500</increase_max_hairstyles>

<increase_max_haircolors>600</increase_max_haircolors>

Enforce login-server address on char-server and map-server (also known as "proxy support):

<enforce_login_address_on_char_and_map>true</enforce_login_address_on_char_and_map>

For some servers with increased hairstyles hex which have hair palette problems:

<strict_server2client_hairstyle>true</strict_server2client_hairstyle>

Force show tilde for MATK in profile:

<matk_with_tilde>true</matk_with_tilde>

Read data directory first:

<read_data_directory_first>true</read_data_directory_first>

Hide quickcashshop button:

<hide_quickcashshop_button>true</hide_quickcashshop_button>

For servers with modified MAX_GUILDPOSITION

<max_guildpositions>30</max_guildpositions>

 

For using custom file server. Did not test this one for local client tho, you can use this guide: http://roworkshop.com/andro/main/own-fileserver.html

<fileserver_url>http://my.file.server/path/to/client/</fileserver_url>

For file servers with latin1 codepage rather than unicode codepage:

<fileserver_is_latin1>true</fileserver_is_latin1>

 

Link to comment
Share on other sites

On 4/21/2018 at 9:01 AM, meyraw said:

Some more useful clientinfo tags for server config customization (all tags need to be inserted inside your <connection> block

Custom itemInfo name:

<iteminfo>myitemInfo.lua</iteminfo>

 

Read lua before lub:

<read_lua_before_lub>true</read_lua_before_lub>

 

Increase max. hairstyles/haircolors:

<increase_max_hairstyles>500</increase_max_hairstyles>

<increase_max_haircolors>600</increase_max_haircolors>

 

Enforce login-server address on char-server and map-server (also known as "proxy support):

<enforce_login_address_on_char_and_map>true</enforce_login_address_on_char_and_map>

 

For some servers with increased hairstyles hex which have hair palette problems:

<strict_server2client_hairstyle>true</strict_server2client_hairstyle>

 

Force show tilde for MATK in profile:

<matk_with_tilde>true</matk_with_tilde>

 

Read data directory first:

<read_data_directory_first>true</read_data_directory_first>

 

Hide quickcashshop button:

<hide_quickcashshop_button>true</hide_quickcashshop_button>

 

For servers with modified MAX_GUILDPOSITION

<max_guildpositions>30</max_guildpositions>

 

For using custom file server. Did not test this one for local client tho, you can use this guide: http://roworkshop.com/andro/main/own-fileserver.html

<fileserver_url>http://my.file.server/path/to/client/</fileserver_url>

 

For file servers with latin1 codepage rather than unicode codepage:

<fileserver_is_latin1>true</fileserver_is_latin1>

 

can i have sample of your clientinfo.xml

Link to comment
Share on other sites

@meyraw Hello, how about gepard supported? what need to do? btw thanks for share

Link to comment
Share on other sites

Hey mey. My server has doram race. What happens if i use this? Will it android app crash?

Edited by spinzaku
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.