Jump to content
  • 0

Changing to rAthena ~


Xhiro

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

Okay okay. I know most of you are going to say or think along the following lines

There's already alot of guides, use search function / google it

I know. I've read practically every guide that was ever mentioned in this rAthena forum. Unfortunately I either do not understand them (slightly) or they don't apply or they are outdated. Thus why I prefer to ask my question here by making a thread instead of referring to multiple guides. It also saves some of my time as I don't need to figure out which is outdated and should/should not be following anymore.

First of all, my situation.

I currently have a RO server which is a joint project with 2 other friends. We decided to rent a VPS. During that time, I had little to almost no knowledge of anything RO related (except game play). Thus we decided to take the offer given to us by the VPS which included server rental, installation of SGCP and eAthena.

After finding out more about RO from rAthena forums (I haven't been able to stop reading this forums for the past 1-2 weeks), I decided to change some stuff regarding our server.

Ok. Here are my questions.

  1. I currently have have eAthena Version SVN r696M (Obtained by typing @version ingame). I would like to change this to rAthena. My question is, if I were to install rAthena, do I have to wipe my databases? I'm guessing that the answer will be "No".
  2. I read that changing from eAthena to rAthena requires changes in the MySQL. Would it be better to delete and re-install my MySQL or just updating it? I'm currently using phpMyAdmin - 2.11.11.3 and MySQL client version: 5.1.61.
  3. I have SGCP which I found out has bad reception after reading this forums alot. Therefore I would like to use FluxCP-Renewal which was posted by CalciumKid here. It also says that it requires renewal. In this topic, Ryax mentioned about creating a new user in the MySQL. I can't find it. (Perhaps I'm blind /wah) (Note : Ryax needs to update his images, its all invalid now)
  4. Does rAthena have renewal mobs that I am able to add while using pre-renewal mechanics?

I took more then 2 hours to write this thead. My head is spinning /panic I think I find scripting easier then finding all these info. /hum I actually had a few more questions in mind but by the time I wrote this four down with as much information as possible I forgot them. I'll ask them when I can remember. :unsure: For now, thanks to anyone who is willing to reply me.

Special thanks to Michealsoftman, Vach and Winz for helping me out. :meow:

Edited by Xhiro
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Ah the universe hates us... lol...

Just to be safe, I would download a fresh client. I'm actually doing that right now for an entirely different reason... you don't have any custom data so you won't be missing much.

Download this data folder package:

http://www.supportmii.com/ro1/Clients/Judas_Setups/RecommendSetup/data_v3.0.7z

Download these lubs:

http://svn6.assembla.com/svn/ClientSide/Lua_Project/lubs/2012-04-10%20Lub+src%20Files%20%5bTranslated%5d.rar

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

Xhiro, have you solved your Flux CP problem?

try to disable the clean url of fluxcp thing

'UseCleanUrls'		 => false,

it will make you become:

http://www.myro.com/...&action=install

Nope haven't solved it. Working on the client currently. I'll try what you suggested in abit. :meow:

Ah the universe hates us... lol...

Just to be safe, I would download a fresh client. I'm actually doing that right now for an entirely different reason... you don't have any custom data so you won't be missing much.

Download this data folder package:

http://www.supportmi...up/data_v3.0.7z

Download these lubs:

http://svn6.assembla...Translated].rar

What I'm doing/What I have done currently

Downloaded 2012-04-10aRagexeRE

Downloaded the data_v3.0.7z

Used the Shin's Diff Patcher to patch my client following the instructions of Sharpienero

Updated an SQL table which prevented me from logging in (Added the new "robe" table in "char")

Fixed the Client problem.

New problem : Unable to move once I logged in... (I know I read a topic about this somwhere...)

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

@Xhiro

New problem : Unable to move once I logged in... (I know I read a topic about this somwhere...)

try doing @option 0 then @refresh and @warp prontera

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Yea, what Winz said, your MySQL table merger is leaving you inert for a number of reasons - which I have personally never experienced.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

@Xhiro

New problem : Unable to move once I logged in... (I know I read a topic about this somwhere...)

try doing @option 0 then @refresh and @warp prontera

Can't. Nothing I type comes out.

This is whats written on putty when I login.

[status]: Request for connection of Xhiro (ip: 60.48.199.232).
[Notice]: Authentication accepted (account: Xhiro, id: 2000007, ip: 60.48.199.232)
[status]: Connection of the account 'Xhiro' accepted.
[info]: Closed connection from '60.48.199.232'.
[info]: request connect - account_id:2000007/login_id1:490772194/login_id2:1854392911
[info]: Loading Char Data (2000007)
[Debug]: mapindex_name2id: Map "crystilia" not found in index list!
[Debug]: mapindex_id2name: Requested name for non-existant map index [0] in cache.
[Debug]: mapindex_name2id: Map "lunette" not found in index list!
[Debug]: mapindex_id2name: Requested name for non-existant map index [0] in cache.
[info]: Char load request (150017)
[Debug]: mapindex_name2id: Map "lunette" not found in index list!
[sql]: DB error - Unknown column 'favorite' in 'field list'
[Debug]: at char.c:1225 - SELECT `id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `expire_time`, `favorite`, `card0`, `card1`, `card2`, `card3` FROM `inventory` WHERE `char_id`=? LIMIT 100
[sql]: DB error - Statement not prepared
[info]: storage load complete from DB - id: 2000007 (total: 0)
[info]: Loaded char (150017 - [Admin]): status memo inventory cart storage skills friends hotkeys mercenary
[info]: Selected char: (Account 2000007: 1 - [Admin])
[Debug]: mapindex_id2name: Requested name for non-existant map index [0] in cache.
[Warning]: Unable to find map-server for '', sending to major city 'prontera'.
[info]: Subnet check [60.48.199.232]: WAN
[Warning]: pc_group_pc_load: (AID:2000007) logged in with unknown group id (127)! kicking...
[info]: '[Admin]' logged in. (AID/CID: '2000007/150017', Packet Ver: '30', IP: '60.48.199.232', Group '127').
[info]: Player AID:2000007/CID:150017 logged off.
[status]: set users MyRO : 1
[info]: User Count: 0 (Server: 0)
[status]: set users MyRO : 0

From what I can understand, theres 2 missing maps (Najara's Maps, Lunette and Crystilia which I previously put in the eAthena version). It seems like I'm missing the "favourites" table from MySQL tables too. (Fixed the favourite table.)

I noticed this line

[Warning]: pc_group_pc_load: (AID:2000007) logged in with unknown group id (127)! kicking...

Since I can't move, I shut down the client using Alt F4.

I tried relogging again and I'll be kicked out repeatedly with the error message saying "Server recognizes your last login. Please try again after a few minutes. (8)".

However the putty says the amount of characters online is 0. So how am I still logged in?

Edit : edited the above details abit

Nevermind. I fixed it :D Though I have a funny problem now. I see commonly people complaining that their client is untranslated/korean. Mine says "NO MSG" almost everywhere....... Is this related to the lua/lub files or the data.grf? (I've had this problem since my previous eAthena server)

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

well, just restart your server using ./athena-start stop and ./athena-start start.. (if it said No such process, do the ./athena-start stop 5 times)

It's weird..

may this one be the cause?

[sql]: DB error - Unknown column 'favorite' in 'field list'

and try to update your MySQL tables.

also this one:

WAN
[Warning]: pc_group_pc_load: (AID:2000007) logged in with unknown group id (127)! kicking...

try to remove your char from the group first or try to delete it or create a new one to ensure what the problem is..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Your GM level column in your login table is incorrectly named. rAthena no longer uses the "gm level" and uses groups to determine command ability. That's where the group ID part is coming from.

Also if you can't even type it is because you have the incorrect lua files.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

wow, I didn't follow from the post. hahahhaa

*from the first post

*don't

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

Eh no Winz, it was because I repeatedly edited my post /heh Didn't want to double post.

I'm left with the last problem (I hope) of having alot of "NO MSG" messages in game. I think its caused by missing lua files but not sure which.

Oh, and when deleting a character, it makes the character sit... and a "NO MSG" appears above it so I don't even know whats supposed to happen next /swt

Going to attempt to install FluxCP now.

Thanks Winz, Vach and michealsoftman for helping me out alot :D

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

sure, no problem.

The NO MSG here is usually caused by out-dated msgstringtable. it should be here somewhere but I'm not sure where it is..

Tell us or me about how's the flux.:D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

sure, no problem.

The NO MSG here is usually caused by out-dated msgstringtable. it should be here somewhere but I'm not sure where it is..

Tell us or me about how's the flux. :D

Still deleting the old eAthena files from the VPS... It's been deleting for the past 10minutes.

Btw, I managed to kill it again, I used @job kagerou and got a palette error. Now I can't login again "orz Does Kagerou/Oboro still not work? (Haven't read changelog)

Update : Flux says...

Forbidden

You don't have permission to access /cp/ on this server.

Forgot how I countered this earlier... /hmm

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

have you updated your Miruku / kRO folder? most palette problems resolved by doing it..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

have you updated your Miruku / kRO folder? most palette problems resolved by doing it..

Nope... Don't think so.

....

Failed in FluxCP installation again...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

maybe you want to try this for palette later (after updating the clients)

http://rathena.org/board/topic/72866-palette-36-kamishis-unique-dyes-with-brown-skin/page__hl__kagerou

hmm,I will PM you for the flux.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

Nevermind... I found out why I got the Forbidden error. Installing now

.... And now... this error occurs...

Error

An error occurred while trying to process your request.

Please try contacting an administrator: admin@localhost

Solved!!! I'll keep this topic open for a few more errors I may recieve. Thanks Winz

------------------------------------------------------------------------------------------------

~ FluxCP related ~

My next error...... (Seems endless...)

I'm now getting the infamous "Uh oh, what happened?" error message.

I'm guessing this is most likely caused by missing SQL tables as I have not updated my SQL tables to the rAthena database from my previous eAthena tables. Is there any way I am able to check & update them to the latest tables? I know for sure that I'm missing some tables such as the item_db table.

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Is your server set to use MySQL database tables, or text databases (item_db and mob_db)? If you're unsure the default is text.

The NO MSG is from message string table missing and/or invalid. In the new system your character is "posted as delete requested" before being deleted. The default time period before you can delete is 24 hours. Use the lubs in the link I provided and make sure LUA BEFORE LUB is NOT checked.

msgstringtable.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

Is your server set to use MySQL database tables, or text databases (item_db and mob_db)? If you're unsure the default is text.

The NO MSG is from message string table missing and/or invalid. In the new system your character is "posted as delete requested" before being deleted. The default time period before you can delete is 24 hours. Use the lubs in the link I provided and make sure LUA BEFORE LUB is NOT checked.

Since I'm unsure, its text. Should I change it to SQL?

And no I did not uncheck the LUA BEFORE LUB when I diffed my client.

Edit : I'll test it tomorrow. It's 3am now and I can't login cause my client crashes due to missing Kagerou palette. I'll work on that tomorrow.

Added : Regarding the SQL problem, I don't mind starting from scratch (Meaning deleting and restarting all my SQL tables but I'll need someone to help me with that)

Added 2 : Should I execute all the SQL files starting from when rAthena forked out from eAthena? If yes then when did rAthena start?

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Is your server set to use MySQL database tables, or text databases (item_db and mob_db)? If you're unsure the default is text.

The NO MSG is from message string table missing and/or invalid. In the new system your character is "posted as delete requested" before being deleted. The default time period before you can delete is 24 hours. Use the lubs in the link I provided and make sure LUA BEFORE LUB is NOT checked.

Since I'm unsure, its text. Should I change it to SQL?

And no I did not uncheck the LUA BEFORE LUB when I diffed my client.

Edit : I'll test it tomorrow. It's 3am now and I can't login cause my client crashes due to missing Kagerou palette. I'll work on that tomorrow.

Added : Regarding the SQL problem, I don't mind starting from scratch (Meaning deleting and restarting all my SQL tables but I'll need someone to help me with that)

Added 2 : Should I execute all the SQL files starting from when rAthena forked out from eAthena? If yes then when did rAthena start?

No, you don't really need to enable the "Use_SQL_db". I don't use it either because I don't create new items frequently. I will turn the server off if I created a new item. you don't need to execute all of them. just execute


  • main.sql

  • logs.sql

  • item_db.sql

  • item_db_re.sql

  • item_db2.sql

  • mob_db.sql

  • mob_db_re.sql

  • mob_db2.sql

* Execute them only to get both your rAthena server and FluxCP working perfectly. you don't need to touch those dbs later. the main ones is the ones that in bold.

Nevermind... I found out why I got the Forbidden error. Installing now

.... And now... this error occurs...

Error

An error occurred while trying to process your request.

Please try contacting an administrator: admin@localhost

Solved!!! I'll keep this topic open for a few more errors I may recieve. Thanks Winz

------------------------------------------------------------------------------------------------

~ FluxCP related ~

My next error...... (Seems endless...)

I'm now getting the infamous "Uh oh, what happened?" error message.

I'm guessing this is most likely caused by missing SQL tables as I have not updated my SQL tables to the rAthena database from my previous eAthena tables. Is there any way I am able to check & update them to the latest tables? I know for sure that I'm missing some tables such as the item_db table.

ahh, the Uh oh message.

open config/error.php with a text editor and edit:

$showExceptions  =false;

into

$showExceptions  =true;

refresh the page and you will receive the error message.

Edited by Winz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

No, you don't really need to enable the "Use_SQL_db". I don't use it either because I don't create new items frequently. I will turn the server off if I created a new item. you don't need to execute all of them. just execute

  • main.sql
  • logs.sql
  • item_db.sql
  • item_db_re.sql
  • item_db2.sql
  • mob_db.sql
  • mob_db_re.sql
  • mob_db2.sql

I did this and now the CP works.

Current problem : When I register on my FluxCP, I can login the CP on the website but I am unable to login my server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

hmm, have you changed the servers.php on line around 65:

           	 'Database'	  => 'ragnarok', // Defaults to DbConfig.Database

?

it's mine and it works. btw, what is the version of the FluxCP you are using?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

hmm, have you changed the servers.php on line around 65:

		   	 'Database'	  => 'ragnarok', // Defaults to DbConfig.Database

?

it's mine and it works. btw, what is the version of the FluxCP you are using?

Hmm I changed the database. Registration works now. But FluxCP can't seem to show our characters. I most certainly have 2 characters made but FluxCP shows this

Characters on MyRO

This account has no characters on MyRO.

I think its some database problem. It's not reading something....

EDIT : I'm using the FluxCP-RE by CalciumKid.

EDiT 2 : I've checked my database and I believe my FluxCP is reading from the database "ragnarok" instead of the database "ragnarokcp". Searching for that line now...

EDIT 3 : Is it possible to change my server so that newly created characters goes to "ragnarokcp" instead of "ragnarok"?

Solved. For reference, change inter_athena.conf.

Edited by Xhiro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

ohh, i see. now, is your Flux CP and everything works perfectly?

if you want to send them to ragnarokcp, then the server will not recognize them. they only receive from the ragnarok schema or a schema you assign. unless you edit the scripts to make the registered users appear on both ragnarokcp and ragnarok schema, you sure can do that..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   2
  • Joined:  10/22/12
  • Last Seen:  

ohh, i see. now, is your Flux CP and everything works perfectly?

if you want to send them to ragnarokcp, then the server will not recognize them. they only receive from the ragnarok schema or a schema you assign. unless you edit the scripts to make the registered users appear on both ragnarokcp and ragnarok schema, you sure can do that..

I resorted to changing the inter_athena config to make all accounts and characters made into the ragnarokcp database instead of ragnarok. Was an easier solution for me =/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

yeah. it means that you are using the ragnarokcp database now.. the ragnarok database's login table will be abandoned.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

I was going to re-recommend new tables.

So are there any other issues?

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