A way to add / commands

Echoes

New member
Messages
68
Points
0
Age
33
Github
Maxitotito
Emulator
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!

 
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.

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

 
Last edited by a moderator:
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

 
Yeah hercules is pretty friendly with adding these things... only wish i knew how to get custom skill effects working better lol 

 
Back
Top