• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

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