Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Need basic introduction in Mu Server Development

Newbie Spellweaver
Joined
Feb 11, 2021
Messages
17
Reaction score
15
Hello,

Using MuEMU S12 server for training purposes only.
I have never before created Mu server but I am a developer.

So.. question is following..
Why I cannot find e.g. command implementations?

For example command /reset.
I see it's config under CommandManager.xml but I do not see it's implementation within serverfiles.
Believe that I am looking for lua scripts?

Maybe someone could enlighten how to create your own command?
(dont need code just help me understand server structure and file system).

OR is it all compiled under .exe's ? That would suck..

TY



Sorry for double post.
Did some more digging and found MuEmu server source files here in the forum.
What an amazing community heh. Dunno how do you get them tho ))

But yeah, basically i can answer my own question - I was right.
Compiled into exe' s, but now it's not a problem anymore.

Already found where the reset command is implemented ))

TY
 
Joined
Oct 8, 2006
Messages
740
Reaction score
289
Nice! xD Yeah, most of the commands are read into an "array like" from a config file. When GS is receiving the "/" symbol, is gonna look into that array, and it's gonna try to compare it like strcmp(commandFromChat,myCommandFromArray) == 0, and if the comparing is returning 0, the command exist and it just need a code to do something.

Probably there's a switch case for commands, not sure exactly for MuEMU S12.

You can make everything you want from the source code. xD I've started learning on zTeam S6E3 sources last year.
 
Upvote 0
Newbie Spellweaver
Joined
Feb 11, 2021
Messages
17
Reaction score
15
Thanks man, yeah lots to go over.
Would be interesting to also fire up one S6 server for comparison.
Do you have any link to some-what fresh files or have you been developing it on your own for the last year?

You think there is any chance we get hold of S15 server files any day? :D or any other more recent season?
 
Upvote 0
Back
Top