Jump to content
  • 0

database was replace on update


Akiraro

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/03/18
  • Last Seen:  

hi there good day , i am just wondering .. how to recover my old files "except for the backup ofcourse" ... because all of my npc mods, + source files hasbeen replace with the new rathena files after i update my trunk to the latest hash . please help thank you

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

As far as I know, on Git's end, after agreeing on rerplacing the files, there's no way to revert, but I may be wrong.
If the modifications were made, of course, on default files.

Edited by Haziel
Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

If you followed the guides on how to update your local repo you would be able to recover them. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/03/18
  • Last Seen:  

thank you haziel , looks like i will start again

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/03/18
  • Last Seen:  

well i was just using "git stash save" "git pull" "git stash pop" after that .. my server side has been wiped out to a clean rathena folder

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

That means the pop command didn't return your files, possibly due to a conflict. It's generally best practise to commit your local changes and pull from remote "github.com/rathena/rathena" so your changes are correctly merged. Stashing is only effective if you're making minimal edits and making full use of the import directories.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  01/03/18
  • Last Seen:  

aight! thnx though .. learned my mistake .. it seems that i have to create backup before.. updating it again to a newer hash

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