Jump to content
  • 0
Echoes

A way to add / commands

Question

Is there a way to create a / command? Or, where do I can look at the / commands code to see how they work and try to mimic their way of operation, I would like to add some / commands to my server.

I am hoping this has nothing to do with hexing, but with src editing.

 

Thank you!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

There's 2 way to do it:

1) custom DLL which accepts /commands and send specific packet (which you don't want and also it requires some knowledge about client)

2) source editing: check chat functions from pc.c and modify it to accept / for commands. Then make custom atcommand.

 

Share this post


Link to post
Share on other sites
  • 0

Okay, thank you @Dastgir for the reply. Do you know where to see the current /commands behavior? Like /blacksmith or /alchemist

So, let's learn C...

Edited by Echoes

Share this post


Link to post
Share on other sites
  • 0
22 hours ago, Echoes said:

Okay, thank you @Dastgir for the reply. Do you know where to see the current /commands behavior? Like /blacksmith or /alchemist

So, let's learn C...

clif.c

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.