Jump to content
  • 0

Going from eAthena-->rAthena


Peopleperson49

Question


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I'm currently updating my eAthena server to rAthena, but I'm hitting some bumps in the road.

I tried to find a guide, but that didn't work out. I understand that there is a re and pre-re folders for the db files. I have updated all the files in the folders that the original files were in. But there is no mob_skill_db2 file at all. Also my mob_db2 folder isn't detected at all. I tried putting them in the specific pre-re folders, but that had no effect. Also how do I tell it if I want to use the re or pre-re db? I used to be able to assisgn gm permission levels to commands using the atcommand_athena.conf file, but where do I do that on rAthena? If theres anything else somebody figures I need to know that would be great! Thanks.

Peopleperson49

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Hi, for the mob_skill_db2 its in db/mob_skill_db2.txt.

I think the _db2.txt files are outsite pre-re and re folder

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I guess I overlooked that somehow, but I still have the other issues.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

question, if we use re_mode = 1, is do we use item_db_re sql or must we use item_db.sql ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Sorry, I can't answer your question until I figure out what my questions were.

Peopleperosn49

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

@Judas

#if REMODE
   const char* item_db_name[] = { item_db_db, item_db_re_db, item_db2_db };
#else
   const char* item_db_name[] = { item_db_db, item_db2_db };
#endif

@peopleperson49

If you go to src/map/config/Renewal.h you will find the REMODE setting which is default to 1. This means your server will be using the re folder by default. If you set REMODE to 0 then you will be using anything inside the pre-re folder. As for the @command settings, they have changed a bit. GMs are no longer given "levels" but rather "group IDs". In the config folder you will find the atcommand_athena.conf. In this file you can just set up aliases for @commands (ie: @baselevel -> @blvl). The new config you are looking for is called groups.conf. In there you can find what GM group gets what command. Just follow the structure to create your own groups. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

When I change the REMODE to 1 and recompile it says map-server_sql does not exist or cannot run. Stop. Check your compile.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

I suggest you check out the Compiling Wiki page. Compiling rA is the same as eA.

Are you compiling on Windows or Linux?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Linux. I only have that problem with REMODE in 0. As soon as it change it back to 1 it compiles just fine.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

Personally I haven't compiled a clean version of rA. If you change REMODE to 0, "make clean", and "make sql", I don't see why it would cause issues from that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

All I did was just change REMODE to 0. Was there something else I was spost to do?

Peopleperson49

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

To my knowledge no. Do you get errors when you compile with REMODE set to 0?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Yes I only get those errors when I recompile to REMODE 0.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  123
  • Reputation:   4
  • Joined:  11/21/11
  • Last Seen:  

the mob structure changed too

//eAthena mob structure
ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,ExpPer,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper

//rAthena mob structure
ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper

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