Hi i'm alee and i am going to be telling you how to create a game in moo!

SERVER...
if you want a secure game in moo you really have to have your own server. because using moogames IMI's is unsecure because anyone can change anything on the IMI, but enough about IMI's. you will understand later why we use our own server.

SECURE IMI'S...AND REGISTERING
ok basiclly instead of letting the client do the saving of the character, we tell the server to do it EG. on create button clicked - send password&username down subchannel 10.
now this part is why you have to have your own server... you have to tell the server what to do when recieved on subchan 10. the server coding has to be done in MOOCLICK because MOOGAME doesn't have the right conditions. Anyway when we get the info, we check log into an INI file NOT IMI FILE. (because that means that the client can't get into the INI file, purly cos its not an IMI!) and we check if that character has been registred... How? by checking if the password item in the INI = null, if so then we write over it with our new info, if not then we send to the client Sorry username registered, please try again on subchan 11.
Now back to the part when we saved the new char - then we send Username saved please Login! down subchan 11.

NOTE: I AM USING SUBCHANNELS OVER 10 BECAUSE THE OTHER ONES CAN BE USED FOR CHAT ETC.

LOGGING IN...
of couse in the login screen as in any other screen we connect to our costom server (which could be localhost 1203) and when the user clicks the login button we send eddittextusername&password down subchan 13.
SERVER PART...
when we recieve something on subchan 13 we check if they got the password right by saying - access the INI - go to the group username - go to item pass - if string of item pass is equal to the string password that we got on subchannel 13 then send password correct logging in on subchannel 14... if not equal then send password incorrect for that username on subchan 14.
RECIEVING THIS ON THE CLIENT...
when we recieve a message on subchannel 14 and message = pass correct etc. then we login to level game if not then you simply don't!

NOTE: WHEN I TELL YOU TO SEND 2 THINGS AT ONCE EG. PASSWORD&USERNAME WHAT I MEAN IS SEND PASSWORD AND USERNAME THEN WHEN IT GETS TO THE SERVER YOU HAVE TO SPLIT THEM UP USING THE STRING PASER, BUT THIS ISN'T A TUTORIAL ON THE STRING PARSER!

THE ACTUAL GAME...
get out your extention (mooclick or moogame) i reccomend mooclick but moogame is for bigginners. now when we login create the players object eg. human guy with sword, then also send his co-ords and direction using string parser on subchan 0, also do this every 0.5 seconds when he is moving. - thats the tracking sorted then, (this tracking is very basic and quite jerky i think!)
RECIEVING THIS ON THE OTHER CLIENT PLAYING...
also you have to create an object when user is hereuser joined conditions (create a NOT YOU HUMAN object for that) and also set his alterable value A to the users ID who just joined.
When you recieve something on subchannel 0 - and the sender ID is equal to the ID of the not you HUMAN object, then set its co-ords to the co-ords in the the message, do the same for direction.
USER LEFT...
put the user left? condition up, when a user leaves and his ID is equal to ID of NOT YOU HUMAN object, then doestroy the NOT YOU HUMAN OBJECT.

That should be it, if you need any help please e-mail me at blindskaterskater@hotmail.com