Jump to content
  • 0

Ask About [src/custom]


LearningRO

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

hi, all see this folder on rathena 

src/custom/atcommand.inc

so if i want to add new command can add on this file?

and

if i want to costume some example @go
it can be override?

 

somebody can tell me about this?

thanks

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

On 1/18/2019 at 3:48 PM, melv0 said:

hi, all see this folder on rathena 

src/custom/atcommand.inc

so if i want to add new command can add on this file?

yes

 

 

On 1/18/2019 at 3:48 PM, melv0 said:

if i want to costume some example @go

it can be override?

doesn't seem so, Visual Studio throw this error on me

1>------ Build started: Project: map-server, Configuration: Debug Win32 ------
1>atcommand.cpp
1>d:\ragnarok\rathena\src\custom\atcommand.inc(15): error C2084: function 'int atcommand_go(const int,map_session_data *,const char *,const char *)' already has a body
1>d:\ragnarok\rathena\src\map\atcommand.cpp(1862): note: see previous definition of 'atcommand_go'
1>Done building project "map-server.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 7 up-to-date, 0 skipped ==========

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

19 hours ago, AnnieRuru said:

yes

 

 

doesn't seem so, Visual Studio throw this error on me


1>------ Build started: Project: map-server, Configuration: Debug Win32 ------
1>atcommand.cpp
1>d:\ragnarok\rathena\src\custom\atcommand.inc(15): error C2084: function 'int atcommand_go(const int,map_session_data *,const char *,const char *)' already has a body
1>d:\ragnarok\rathena\src\map\atcommand.cpp(1862): note: see previous definition of 'atcommand_go'
1>Done building project "map-server.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 7 up-to-date, 0 skipped ==========

 

okay thanks a loot @AnnieRuru

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