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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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