Jump to content
  • 1

[Tutorial] How to Create Ragnarok Offline 2013 client [Tutorial]


cassiel

Question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  10
  • Reputation:   0
  • Joined:  03/14/14
  • Last Seen:  

 

Help please,

 

 

when I click the Loki Launcher and type the username and password how come I can't access into the game 

 

this are my problems please help..

 

http://s1310.photobucket.com/user/sicknessstyle/media/1_zps259357cd.png.html  <<<<< why korean? is this a normal way launcher?

 

http://s1310.photobucket.com/user/sicknessstyle/media/2_zps89d77d8c.png.html  <<<<< sorry I don't know the password and username, but I Remember putting                                                                                                                                                  username and passoword

 

http://s1310.photobucket.com/user/sicknessstyle/media/3_zpsbef05637.png.html   <<<<< why is it that I get a warning s aid = 1 has incorrect version=0 in clientinfo.                                                                                                                                               Server compiled for 42 ? any ideas ?

 

 

 

 

EDIT:

 

now I have this new PROBLEM.... 

 

can't find c:\\program files(x86)\RO\2013-07-03aRagexe_patched.exe   <<<<<<<<< why i get this error when I download the 2013-08-                                                                                                                                                07aRagexe.diff and the 2013-08-07aRagexe.exe.zip?

 

 

 

and also why i still get error in charserv-sql.bat? 

 

here is the screenshot... please help me need badly

 

 

http://s1310.photobucket.com/user/sicknessstyle/media/new_zps0a505e22.png.html

 

 

why is it that I still can't play this offline server help me please!

 

 

 

 

 

 

 

http://s1310.photobucket.com/user/sicknessstyle/media/julia_zps1d8ea48b.jpg.html

 

 

help me please... I can't pass the step number

 

 9. Open your MySQL Workbench double click on ‘Local instance MySQL’ as in the picture to open. Input your password which is ‘root’

if you haven’t change it on first time you install it.

 

 

I can't find the 'LOCAL INSTANCE MYSQL .... and my MYSQL WORKBENCH is 6.0 i can't find the  MySQL Workbench 5.2.47

 

 

help me please.... stuck in this problem

 

subnet_athena-Notepad

 

http://s1310.photobucket.com/user/sicknessstyle/media/HELP_zpsa101d158.png.html

 

should I change my ipconfig too in 255.0.0.:127.0.0.1:127.0.0.1 ?

the IPv4 

Subnet Mask

Default Gateway

 

http://s1310.photobucket.com/user/sicknessstyle/media/help1_zpse2796f79.png.html

 

help I am stuck also in this area..... need help please

 

http://s1310.photobucket.com/user/sicknessstyle/media/help3_zps66378c85.png.html

 

 

 

 

 

need your help guys...!

subnet: 255.255.255.0:127.0.0.1:127.0.0.1

post your inter_athena.conf, map_athena.conf, char_athena.conf

 

Themon

 

I downloaded this file 2013-08-14aRagexe.exe Client Update by Themon but it seems like too many errors and no step by step in using it.. please help!

 

That just my experimental client before. Try the 20130807ragexe or try the new 2014 client

 

 

hello people

 

 

Help me please!!!!!!!!!!! /hmm  /sob

 

this is my new problem... I get error when clicking the loki.exe and also I have this exclamation mark(red mark) in server folder

 

this are my codes which are in exclamation mark

 

~~~~~~~~~~~
loki launcher
~~~~~~~~~~~~~~
 
[settings]
; Window Caption
Title = "Loki"
 
; Must be on same dir of Loki
Exe = "2013-08-07aRagexe_patched.exe"
 
; Where is background?
BG = "/loki skin/default.bmp"
 
; Only set "true" if your server is using MD5 passwords
MD5 = "false"
 
; Exe Arg
ExeArg = "-1rag1"
 
; Loki Launcher Var
[Loki Launcher]
Keep=true
User=username_F
Auto=true
 
~~~~~~~~~~~~~~~~~~~~~~~~~
char_athena
~~~~~~~~~~~~~~~~~~~~~~~~~~
// Server Communication username and password.
userid: username
passwd: password
login_ip: 127.0.0.1
char_ip: 127.0.0.1
 
~~~~~~~~~~~~~~~~~~~~~~~~~
 
~~~~~~~~~~~~~~~~~~~~~~~
inter_athena
~~~~~~~~~~~~~~~~~~~~~~~~
sql.db_username: root
sql.db_password: root
sql.db_database: rathena
 
char_server_id: root
char_server_pw: root
char_server_db: rathena
 
map_server_id: root
map_server_pw: root
map_server_db: rathena
 
log_db_id: root
log_db_pw: root
log_db_db: logs
~~~~~~~~~~~~~~~~~~~~~~~~~
 
~~~~~~~~~~~~~~~~~~~~~~
map_athena
~~~~~~~~~~~~~~~~~~~~~~
userid: username
passwd: password
 
char_ip: 127.0.0.1
 
map_ip: 127.0.0.1
~~~~~~~~~~~~~~~~~~~~~~~
 
~~~~~~~~~~~~~~~~~~~~~~~~~
subnet_athena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet 
 
subnet: 255.255.255.0:127.0.0.1:127.0.0.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
and this is my picture of error in loki launcher
 
 
 
help please!  /thx    /wah
Edited by pookedandy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  240
  • Reputation:   40
  • Joined:  04/27/13
  • Last Seen:  

You don't need loki launcher to run 20130807 client. Maybe that the conflict.

Try running it directly after diff it with nemo

Edited by themon
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  10
  • Reputation:   0
  • Joined:  03/14/14
  • Last Seen:  

Sir

 

You don't need loki launcher to run 20130807 client. Maybe that the conflict

Please don't log off immediately please

 

 

Edit:

 

 

I used your 3013-8-07 and I still got errors and also... if I don't used the loki launcher.. what launcher should I used?

 

this is what I get ... and also in my RO FOLDER I get all exclamation mark 

 

http://s1310.photobucket.com/user/sicknessstyle/media/new_zpsa782901f.png.html


You don't need loki launcher to run 20130807 client. Maybe that the conflict.

Try running it directly after diff it with nemo

 

 

shet..... giving little instructions ! WHAT KIND OF LAUNCHER SHOULD I USED AFTER I DIFF IT WITH NEMO....

Edited by pookedandy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  240
  • Reputation:   40
  • Joined:  04/27/13
  • Last Seen:  

Run the client directly no launcher needed.

Just double click 20130807aRagexe_patched.exe client

I'm just using my tablet to answer. And free wifi

Edited by themon
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

Hello! Can someone help me with my problem?

i already did all the steps posted on the first page ... but it only give me this kind of prob...

what should i do?

 

Untitled_zps7deaec51.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

Access denied for user root@localhost (using password: YES)

This mean, that Login and Password in inter_athena.conf incorrect, server cant connect to MySQL.

Also re-check Login & Password in char_athena.conf, map_athena.conf and `login` table in your MySQL.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

Access denied for user root@localhost (using password: YES)

This mean, that Login and Password in inter_athena.conf incorrect, server cant connect to MySQL.

Also re-check Login & Password in char_athena.conf, map_athena.conf and `login` table in your MySQL.

 

i already configured that sql prob sir but i encountered another prob  /hmm 

what should i do with this?

 

Untitled_zpscbab2c01.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

Maybe packet_ver / clientinfo / langtype errors... What versions of packet_ver, clientinfo and exe?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

im currently using this packet_version:

 

 

//2013-07-03 Ragexe
packet_ver: 38
0x0369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x0437,5,walktoxy,2
0x035F,6,ticksend,2
0x0930,5,changedir,2:4
0x07E4,6,takeitem,2
0x0362,6,dropitem,2:4
0x07EC,8,movetokafra,2:4
0x0364,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x096A,6,getcharnamerequest,2
0x0368,6,solvecharname,2
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0835,2,searchstoreinfonextpage,0
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0202,6,reqclickbuyingstore,2
0x0817,2,reqclosebuyingstore,0
0x0815,-1,reqopenbuyingstore,2:4:8:9:89
0x0365,18,bookingregreq,2:4:6
// 0x0363,8 CZ_JOIN_BATTLE_FIELD
0x0281,-1,itemlistwindowselected,2:4:8:12
0x022D,19,wanttoconnection,2:6:10:14:18
0x0802,26,partyinvite2,2
// 0x0436,4 CZ_GANGSI_RANK
0x0360,26,friendslistadd,2
0x094A,5,hommenu,2:4
0x0873,36,storagepassword,2:4:20

 

clientinfo:

 

 

<?xml version="1.0"

encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>primary</servertype>
<connection>
<display>Ragnarok</display> 
<balloon>Ragnarok</balloon>    
<desc>Ragnarok</desc>     
<address>127.0.0.1</address>     
<port>6900</port>     
<version>38</version>     
<langtype>0</langtype>     
<registrationweb></registrationweb>     
<aid>
              <admin></admin>        
<yellow></yellow>
      </aid>  
</connection>
</clientinfo>
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

mmo.h

#ifndef PACKETVER
	#define PACKETVER 20130703
	//#define PACKETVER 20120410
#endif

?

 

But wait!

 

//2013-06-05 Ragexe (Shakto)
packet_ver: 38
 
//2013-07-03 Ragexe
packet_ver: 42
 
Something wrong with your packet_db.txt
 
Try to use 2012-04-10aRagexe, apply corrected DIFFs and use packet_ver: 30
Edited by Phenomena
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

i can no longer find 2012-04-10aRagexe

in this links  -

http://k3dt.eu/Ragexe/unpacked/

http://k3dt.eu/Ragexe/unpacked/Diffs/

 

>.<

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

i received this error after changing everything and recompiling...

Untitled_zpsecf1aee4.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Online Belarus</desc>
	<servicetype>russia</servicetype>
	<servertype>sakray</servertype>
	<extendedslot />
	<connection>
		<display>Ragnarok Online Belarus</display>
		<desc>Classic Ragnarok Online</desc>
		<balloon>Rates: x1/x1/x1</balloon>
		<address>YOUR IP</address>
		<port>YOUR PORT</port>
		<version>30</version>
		<langtype>0</langtype>
		<registrationweb></registrationweb>
		<aid>
			<admin>2000000</admin>
		</aid>
		<loading>
			<image>loading00.jpg</image>
		</loading>
	</connection>
</clientinfo>

try this clientinfo (change IP and PORT)

 

in db/packet_db.txt

packet_db_ver: 30

Edited by Phenomena
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

@Everyone :D

The Guide still works perfectly (Back now at rAthena THANKFULLY,after that long second semester !!)

I suggest u follow it carefully...

The only error I myself encounter is the

1. Korean language .. I suggest downloading the latest client side translation as suggested in the tutorial https://subversion.assembla.com/svn/client-side-translation/

2. Wrong packet version..check the db folder and make sure it is the same with the clientinfo..
3. Batch file not connecting?? Re check the passwords and users specially inside the MySQL


Here's the server i just made this morning..

4c0fa623-a988-4f91-b2f4-010352f3cf81_zps

 

If you need any help..feel free to message me :D
or post it here

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Online Belarus</desc>
	<servicetype>russia</servicetype>
	<servertype>sakray</servertype>
	<extendedslot />
	<connection>
		<display>Ragnarok Online Belarus</display>
		<desc>Classic Ragnarok Online</desc>
		<balloon>Rates: x1/x1/x1</balloon>
		<address>YOUR IP</address>
		<port>YOUR PORT</port>
		<version>30</version>
		<langtype>0</langtype>
		<registrationweb></registrationweb>
		<aid>
			<admin>2000000</admin>
		</aid>
		<loading>
			<image>loading00.jpg</image>
		</loading>
	</connection>
</clientinfo>

try this clientinfo (change IP and PORT)

 

in db/packet_db.txt

packet_db_ver: 30

 

 

Still the same error sir >.<

Is it possible that my lub files are the problem why i can't connect? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  03/10/14
  • Last Seen:  

i have problem if im add friend at game and my char disconnect and then at my map server have warning like this : how to fix it
 

 

[Warning]: clif_parse: Received unsupported packet (packet 0x7461, 20 bytes received), disconnecting session #4.
[info]: Character 'Phearl' logged off.
[info]: 'Elise' logged in. (AID/CID: '2000004/150006', Packet Ver: '38', IP: '127.0.0.1', Group '0').
[Warning]: clif_parse: Received unsupported packet (packet 0x7461, 20 bytes received), disconnecting session #4.
[info]: Character 'Elise' logged off.
[info]: Character 'Kenwatanabe' logged off.
[Warning]: clif_parse: Received unsupported packet (packet 0x7461, 20 bytes received), disconnecting session #3.
[info]: Character 'Elise' logged off.
[info]: Character 'Kenwatanabe' logged off.

Edited by monyet
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

Lub files or anything translation dont have any affect between login - char - map server when you start them. And as this is support topic for 2013 clients, 2012 (my suggested client)  i think is not allowed there, but:

 

Lets start from beginning, start from server source code:

 

I. Source Code Part

 

1. Lets define, what type of ingame mechanic will be: Renewal ? Pre-Renewal

goto src/config/renewal.h

 

This is Renewal Mechanic

// Copyright © rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_RENEWAL_H_
#define _CONFIG_RENEWAL_H_

//quick option to disable all renewal option, used by ./configure
//#define PRERE
#ifndef PRERE
/**
* rAthena configuration file (http://rathena.org)
* For detailed guidance on these check http://rathena.org/wiki/SRC/config/
**/


/**
* @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
**/

/// game renewal server mode
/// (disable by commenting the line)
///
/// leave this line to enable renewal specific support such as renewal formulas
#define RENEWAL

/// renewal cast time
/// (disable by commenting the line)
///
/// leave this line to enable renewal casting time algorithms
/// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
/// example:
/// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
/// "fixed cast time" which can only be reduced by specialist items and skills
#define RENEWAL_CAST

/// renewal drop rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item drop rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
/// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
#define RENEWAL_DROP

/// renewal exp rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item exp rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
#define RENEWAL_EXP

/// renewal level modifier on damage
/// (disable by commenting the line)
///
// leave this line to enable renewal base level modifier on skill damage (selected skills only)
#define RENEWAL_LVDMG

/// renewal ASPD [malufett]
/// (disable by commenting the line)
///
/// leave this line to enable renewal ASPD
/// - shield penalty is applied
/// - AGI has a greater factor in ASPD increase
/// - there is a change in how skills/items give ASPD
/// - some skill/item ASPD bonuses won't stack
#define RENEWAL_ASPD

#endif

#endif // _CONFIG_RENEWAL_H_

 

This is Pre-Renewal Mechanic

// Copyright © rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_RENEWAL_H_
#define _CONFIG_RENEWAL_H_

//quick option to disable all renewal option, used by ./configure
//#define PRERE
#ifndef PRERE
/**
* rAthena configuration file (http://rathena.org)
* For detailed guidance on these check http://rathena.org/wiki/SRC/config/
**/


/**
* @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
**/

/// game renewal server mode
/// (disable by commenting the line)
///
/// leave this line to enable renewal specific support such as renewal formulas
//#define RENEWAL

/// renewal cast time
/// (disable by commenting the line)
///
/// leave this line to enable renewal casting time algorithms
/// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
/// example:
/// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
/// "fixed cast time" which can only be reduced by specialist items and skills
//#define RENEWAL_CAST

/// renewal drop rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item drop rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
/// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
//#define RENEWAL_DROP

/// renewal exp rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item exp rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
//#define RENEWAL_EXP

/// renewal level modifier on damage
/// (disable by commenting the line)
///
// leave this line to enable renewal base level modifier on skill damage (selected skills only)
//#define RENEWAL_LVDMG

/// renewal ASPD [malufett]
/// (disable by commenting the line)
///
/// leave this line to enable renewal ASPD
/// - shield penalty is applied
/// - AGI has a greater factor in ASPD increase
/// - there is a change in how skills/items give ASPD
/// - some skill/item ASPD bonuses won't stack
//#define RENEWAL_ASPD

#endif

#endif // _CONFIG_RENEWAL_H_

 

2. Lets check or enable VIP System

goto src/common/core.h

// Copyright © rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_CORE_H_
#define _CONFIG_CORE_H_

/**
* rAthena configuration file (http://rathena.org)
* For detailed guidance on these check http://rathena.org/wiki/SRC/config/
**/

/// Max number of items on @autolootid list
#define AUTOLOOTITEM_SIZE 10

/// The maximum number of atcommand and @warp suggestions
#define MAX_SUGGESTIONS 10

/// Comment to disable the official walk path
/// The official walkpath disables users from taking non-clear walk paths,
/// e.g. if they want to get around an obstacle they have to walk around it,
/// while with OFFICIAL_WALKPATH disabled if they click to walk around a obstacle the server will do it automatically
#define OFFICIAL_WALKPATH

/// leave this line uncommented to enable callfunc checks when processing scripts.
/// while allowed, the script engine will attempt to match user-defined functions
/// in scripts allowing direct function callback (without the use of callfunc.)
/// this CAN affect performance, so if you find scripts running slower or find
/// your map-server using more resources while this is active, comment the line
#define SCRIPT_CALLFUNC_CHECK

/// Uncomment to disable rAthena's anonymous stat report
/// We kindly ask you to consider keeping it enabled, it helps us improve rAthena.
//#define STATS_OPT_OUT

/// uncomment to enable query_sql script command and mysql logs to function on it's own thread
/// be aware this feature is under tests and you should use at your own risk, we however
/// welcome any feedback you may have regarding this feature, please send us all bug reports.
//#define BETA_THREAD_TEST

/// Uncomment to enable the Cell Stack Limit mod.
/// It's only config is the battle_config cell_stack_limit.
/// Only chars affected are those defined in BL_CHAR (mobs and players currently)
//#define CELL_NOSTACK

/// Uncomment to enable circular area checks.
/// By default, all range checks in Aegis are of Square shapes, so a weapon range
/// - of 10 allows you to attack from anywhere within a 21x21 area.
/// Enabling this changes such checks to circular checks, which is more realistic,
/// - but is not the official behaviour.
//#define CIRCULAR_AREA

/// Uncomment to enable Non Stackable items unique ID
/// By enabling it, the system will create an unique id for each new non stackable item created
//#define NSI_UNIQUE_ID

/// Comment to disable Guild/Party Bound item system
/// By default, we recover/remove Guild/Party Bound items automatically
#define BOUND_ITEMS

/// Uncomment to enable real-time server stats (in and out data and ram usage).
//#define SHOW_SERVER_STATS

/// Uncomment to enable skills damage adjustments
/// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
/// damage rate of specified skills.
//#define ADJUST_SKILL_DAMAGE

/// The skill damage adjustment rate is capped at 100000.
#ifdef ADJUST_SKILL_DAMAGE
#define MAX_SKILL_DAMAGE_RATE 100000
#endif

/// Uncomment to enable the job base HP/SP table (job_basehpsp_db.txt)
//#define HP_SP_TABLES

/// Uncomment to enable VIP system. Its mean make //#define VIP_ENABLE to #define VIP_ENABLE
//#define VIP_ENABLE

/// Enable VIP script changes? (requires VIP_ENABLE)
/// The primary effects of this are restrictions on non-VIP players, such as requiring
/// a Reset Stone to change into third classes, paying more for equipment upgrades, and
/// so forth. Note that the changes are based on euRO, not iRO.
#define VIP_SCRIPT 0

#ifdef VIP_ENABLE
#define MIN_STORAGE 300 // Default number of storage slots.
#define MIN_CHARS 3 // Default number of characters per account.
#define MAX_CHAR_VIP 6 // This must be less than MAX_CHARS
#define MAX_CHAR_BILLING 0 // This must be less than MAX_CHARS
#else
#define MIN_STORAGE MAX_STORAGE // If the VIP system is disabled the min = max.
#define MIN_CHARS MAX_CHARS // Default number of characters per account.
#define MAX_CHAR_BILLING 0
#define MAX_CHAR_VIP 0
#endif
#if (MIN_CHARS + MAX_CHAR_VIP + MAX_CHAR_BILLING) > MAX_CHARS
#error "Config of MAX_CHARS is invalid"
#endif
#if MIN_STORAGE > MAX_STORAGE
#error "Config of MIN_STORAGE is invalid"
#endif

/**
* No settings past this point
**/
#include "./renewal.h"
#include "./secure.h"
#include "./classes/general.h"

/**
* Constants come last; so they process anything that could've been modified in early includes
**/
#include "./const.h"

#endif // _CONFIG_CORE_H_

 

3. Lets define version of packet for your server:

goto src/common/mmo.h

 

find:

#ifndef PACKETVER
	#define PACKETVER 20130807
	//#define PACKETVER 20120410
#endif 

now, with attention, change #define PACKETVER 20130807 line to your EXE version, example, as i suggest you 20120410, so the line will be like this:

#ifndef PACKETVER
	#define PACKETVER 20120410
	//#define PACKETVER 20120410
#endif  

Okey! We finished change source, so we can compile the server in Realise Mode.

 

II. Server configuration files

 

1. Lets make servers IP Adress `visible`:

goto conf/login_athena.conf

for you use next configuration:

// The login server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1


// Login Server Port
login_port: 6900

goto conf/char_athena.conf

// Server Communication username and password.
userid: THIS YOUR SERVER LOGIN
passwd: THIS YOUR SERVER PASSWORD
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1


// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1


// Login Server Port
login_port: 6900


// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 127.0.0.1


// Character Server Port
char_port: 6121

goto conf/map_athena.conf

//--------------------------------------------------------------
// Configuration Info
//--------------------------------------------------------------
// Interserver communication passwords, set in account.txt (or equiv.)
userid: THIS YOUR SERVER LOGIN
passwd: THIS YOUR SERVER PASSWORD


// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1


// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1


// Character Server Port
char_port: 6121


// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 127.0.0.1


// Map Server Port
map_port: 5121

goto conf/inter_athena.conf

// Global SQL settings
// overridden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: USERNAME TO CONNECT TO MYSQL
sql.db_password: PASSWORD TO CONNECT TO MYSQL
sql.db_database: YOUR RAGNAROK DATABASE NAME
sql.codepage:


// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: USERNAME TO CONNECT TO MYSQL
char_server_pw: PASSWORD TO CONNECT TO MYSQL
char_server_db: YOUR RAGNAROK DATABASE NAME


// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: USERNAME TO CONNECT TO MYSQL
map_server_pw: PASSWORD TO CONNECT TO MYSQL
map_server_db: YOUR RAGNAROK DATABASE NAME


// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: USERNAME TO CONNECT TO MYSQL
log_db_pw: PASSWORD TO CONNECT TO MYSQL
log_db_db: YOUR RAGNAROK DATABASE NAME
log_codepage:log_login_db: loginlog

Okey, server connection to MySQL and between each finished.

 

III. Configure / Check your MySQL Database

 

goto MySQL -> YOUR RAGNAROK DATABASE -> Login (table)

 

Now check your Username & Password in database and set them SAME AS IN char_athena.conf

 

IV. Okey, now server configurated at 90%...

goto db/packet_db.txt

// Main packet version of the DB to use (default = max available version)
// Client detection is faster when all clients use this version.
// Version 23 is the latest Sakexe (above versions are for Renewal clients)
//packet_db_ver: 45
packet_db_ver: 30

I wrote packet_db_ver: 30 because i suggest you use 20120410 client. 

Find: packet_ver:30

Replace with mine:

//2012-04-10aRagexeRE
packet_ver: 30
0x01FD,15,repairitem,2
0x089C,26,friendslistadd,2
0x0885,5,hommenu,2:4
0x0961,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
0x091C,26,partyinvite2,2
0x094B,19,wanttoconnection,2:6:10:14:18
0x0369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x0439,8,useitem,2:4
0x0945,-1,itemlistwindowselected,2:4:8
0x0815,-1,reqopenbuyingstore,2:4:8:9:89
0x0817,2,reqclosebuyingstore,0
0x0360,6,reqclickbuyingstore,2
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0835,2,searchstoreinfonextpage,0
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0437,5,walktoxy,2
0x0886,6,ticksend,2
0x0871,5,changedir,2:4
0x0938,6,takeitem,2
0x0891,6,dropitem,2:4
0x086C,8,movetokafra,2:4
0x08A6,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x091D,18,bookingregreq,2:4:6
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x0889,6,getcharnamerequest,2
0x0884,6,solvecharname,2
0x08E5,41,bookingregreq,2:4 //Added to prevent disconnections
0x08E6,4
0x08E7,10,bookingsearchreq,2
0x08E8,-1
0x08E9,2,bookingdelreq,2
0x08EA,4
0x08EB,39,bookingupdatereq,2
0x08EC,73
0x08ED,43
0x08EE,6
0x08EF,6,bookingignorereq,2
0x08F0,6
0x08F1,6,bookingjoinpartyreq,2
0x08F2,36
0x08F3,-1
0x08F4,6
0x08F5,-1,bookingsummonmember,2:4
0x08F6,22
0x08F7,3
0x08F8,7
0x08F9,6
0x08FA,6
0x08FB,6,bookingcanceljoinparty,2
0x0907,5,moveitem,2:4
0x0908,5
0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
0x08CF,10 //Amulet spirits
0x0977,14 //Monster HP Bar
0x0916,26,guildinvite2,2
0x0844,2,cashshopopen,0
0x084a,2,cashshopclose,0
0x08c9,4,cashshopitemlist,0
0x0848,-1,cashshopbuy,2:4:6:10
0x08cb,10,ZC_PERSONAL_INFOMATION,2:4:6:8:10:11:13:15 //Still need further information

 

Okey, now start Login - Char - Map servers! And go on!

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

>.< i dunno what to do know...
i followed the guides and used those rag versions according to the guide on how to properly use them ...
still, im having the same problem

 

Untitled2_zps258d83e7.png

 

Untitled_zpsc358e627.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

Hey, as i understand, you try LOG IN with SERVER ACCOUNT?

 

in Login line try testaccount_M

in Pass line try 12345

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

I already created an account using username_M and password as password before... same prob sir :-(

Edited by Ares
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

Omg, your server has login username and your account has login username? Try another account!

 

P.S: In your MySQL account_id `1` with login `username` and password `password` with type `S` using by server only! This is not your administrator account, dont use this account at all!

Edited by Phenomena
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

@Phenomena : Thank you for extending your patience  /thx

Atlast! my first rathena sql client :)

 

atlast_zpsbf1b19f6.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  03/14/14
  • Last Seen:  

After a few tries, I managed to create my own server with this tutorial. The problem is that I don't know nothing about editing it.

How can I introduce some basic commands, like @go, @autoloot? And how can I create my GM account?

 

Thanks.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

Make GM Account in your Ragnarok SQL Server

 

  • We need have free in-game account, that stored in `login` table in your MySQL Database.
  • Open this `login` table and wi will see next:
    • `account_id` , `userid` , `user_pass` , `sex` , `email` , `group_id`

Yes, `group_id` is what we need. This column stores numerical arguments, that define users in-game rights.

Simple mask: 0 - Simple User; 1 - Super User; 5 - Premium User; X - ......; 99 - Head Game Master (Administrator)

Also you can check this file. There you can find all information about groups, IDs, permissions and other.

 

Btw, if you want to know anymore, i suggest you start new topic, because this is only (i think) tutorial, w/o support, because many users leave this...

 

If players need any new user-friendly guide, i can make it and explane steps by steps all manipulations ;)

Edited by Phenomena
  • Upvote 1
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...