Jump to content
  • 0

Updating Rathena without Overwriting My Configs


Nerks

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  07/29/17
  • Last Seen:  

Hi guys,

Can anyone give me a tips how can i update my Rathena Folder / Server without overwriting my configs and other files that i've already edit?

also how can i update my sql on sql-files without overwriting my data as well.

Thanks in advance

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

19 minutes ago, Nerks said:

Hi guys,

Can anyone give me a tips how can i update my Rathena Folder / Server without overwriting my configs and other files that i've already edit?

also how can i update my sql on sql-files without overwriting my data as well.

Thanks in advance

you can simply update your files using git pull but
it's only possible if all your edits/configs should be on custom folder/import folder so you won't have conflicts when you update your git hash 
if you do have conflict you can still manually update your rathena files

Edited by crazyarashi
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  07/29/17
  • Last Seen:  

36 minutes ago, crazyarashi said:

you can simply update your files using git pull but
it's only possible if all your edits/configs should be on custom folder/import folder so you won't have conflicts when you update your git hash 
if you do have conflict you can still manually update your rathena files

One more thing Ma'am

can i update this version to our lastest rathena??

@Anacondaqq Hi sir please help

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  07/29/17
  • Last Seen:  

41 minutes ago, crazyarashi said:

you can simply update your files using git pull but
it's only possible if all your edits/configs should be on custom folder/import folder so you won't have conflicts when you update your git hash 
if you do have conflict you can still manually update your rathena files

I guess i edit my main .txt not on the custom folder / import folder.. how can i transfer my configs to CUSTOM/IMPORT Folder?

By just copy & paste the .txt?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

i really dont know about offline pack but it is possible if it's a git repo:)) 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

3 minutes ago, Nerks said:

main .txt

uhm what do you mean by main.txt 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  07/29/17
  • Last Seen:  

Just now, crazyarashi said:

i really dont know about offline pack but it is possible if it's a git repo:)) 

What do you mean by repo?

The offline pack can also use as online when you host it on server right? @Anacondaqq???

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  07/29/17
  • Last Seen:  

Just now, crazyarashi said:

uhm what do you mean by main.txt 

What i mean on the main is i edit the .txt not the .txt inside IMPORT FOLDER

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

can you be more specific im very confused on what you're talking about :o

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

use git stash save to save the changes you've made.
then git pull to update it to the latest.
then git stash pop to return the changes you saved.
The hardest part in here is fixing the conflicts if there are. The more modifications you have, the more conflicts you would have to get. 

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

2 hours ago, Nerks said:

One more thing Ma'am

can i update this version to our lastest rathena??

@Anacondaqq Hi sir please help

 

 

No, you can't. This package just for basic vision and understanding how everything should look like. I especially did not include .git folder to the emulator folder for avoiding tons of issues with people who will use it. That means these files you can't update with git to the latest version. Do not even try to do that, differences between current codebase at github and at folder very very different. That means different mysql database structures, different methods to compile a server, different things and so on. If you will wish to use the latest codebase, you can use the pack as "example or template" to confirm that you everything was configured correctly. Please read first post there careful I have explained earlier everything that needs to know about how making a RO server. Plus you can find many many guides here at the board which will explain how to configure everything step by step. 

2 hours ago, Nerks said:

I guess i edit my main .txt not on the custom folder / import folder.. how can i transfer my configs to CUSTOM/IMPORT Folder?

By just copy & paste the .txt?

You can transfer conf/import/, and db/import/ folders without any issues from old to the new emulator, plus you can transfer any NPC what you wish. But if you forgot about changes what you did make to your working copy, you can always use any folder compare tools, like meld

2 hours ago, Nerks said:

What do you mean by repo?

The offline pack can also use as online when you host it on server right? @Anacondaqq???

Yes it can, but I do not recommend because this is a template for newbies, this is not an online server template. 

2 hours ago, Nerks said:

What i mean on the main is i edit the .txt not the .txt inside IMPORT FOLDER

Please stop mentioning me, if you have questions related to the pack, ask them at topic by the link above. Thank you. ;)

Edited by Anacondaqq
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  07/29/17
  • Last Seen:  

15 hours ago, Anacondaqq said:

No, you can't. This package just for basic vision and understanding how everything should look like. I especially did not include .git folder to the emulator folder for avoiding tons of issues with people who will use it. That means these files you can't update with git to the latest version. Do not even try to do that, differences between current codebase at github and at folder very very different. That means different mysql database structures, different methods to compile a server, different things and so on. If you will wish to use the latest codebase, you can use the pack as "example or template" to confirm that you everything was configured correctly. Please read first post there careful I have explained earlier everything that needs to know about how making a RO server. Plus you can find many many guides here at the board which will explain how to configure everything step by step. 

You can transfer conf/import/, and db/import/ folders without any issues from old to the new emulator, plus you can transfer any NPC what you wish. But if you forgot about changes what you did make to your working copy, you can always use any folder compare tools, like meld

Yes it can, but I do not recommend because this is a template for newbies, this is not an online server template. 

Please stop mentioning me, if you have questions related to the pack, ask them at topic by the link above. Thank you. ;)

Can i ask sir we're can i get a emulator for online server.

also sir @Anacondaqq can i ask what is the disadvantage when i make this as online?

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