Jump to content
  • 0

HPP CPP to H and C format file


Slyx

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   9
  • Joined:  03/05/18
  • Last Seen:  

Hello there,

Recently I discovered a topic in Github regarding ASPD correction and I downloaded the files and pasted in  trunk/scr/map. The problem is, these files are in hpp and cpp format while the other files in scr/map are in H and C format. Do these 2 different file format "understand" each other if I just copy and paste them

I have attached the link and the files

*p/s: I just started learning programming T_T

https://github.com/rathena/rathena/pull/2244

itemdb.hpp.txt

pc.cpp.txt

pc.hpp.txt

skill.cpp.txt

status.cpp.txt

unit.cpp.txt

Edited by Slyx
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   9
  • Joined:  03/05/18
  • Last Seen:  

Ok...Found the solution..turn out..it can be copied from hpp to h file directly through notepad :D

Link to comment
Share on other sites

  • 0

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

Just update your version of rAthena by using 'git pull' on your linux server and you'll get all of the updates. Copying code from a Pull Request dated middle of last year is a foolish idea since it's already inside the main repo. Don't expect old code to work with current code.

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