Posted By
|
Message
|
EleXor
Registered 21/01/2003
Points 269
|
15th July, 2003 at 10:07:28 -
Hello. I just discovered the power of MOO2 . But i need help. I tested to create buddie list or something and it worked! But now i need help with creating private message system, ignore system:
Private Messages:
So i wan't user to add their buddies (Yikes i done this) and let them to send private messages what would be green colored etc. I tried, but i don't know, it asked which client the message will be sent (numeric) .
Ignore User:
So this is if you wan't to squelch / ignore some player if you don't wan't to hear him or something...
Thanks i need help
n/a
|
EleXor
Registered 21/01/2003
Points 269
|
15th July, 2003 at 19:26:45 -
Also, options for admin like banning, kicking administrativemessages would be nice
n/a
|
ShadowCaster Possibly Insane
Registered 02/01/2002
Points 2203
|
16th July, 2003 at 00:24:16 -
Private Messages
Each user has a UserID, which is a unique number identifying the player. This is, I assume, what the object is asking for. You should probably do all your operations with reference to this ID, since you know it will be unique, and it's quite easy to extract the user name from the ID.
Ignore User
Should be relitavely straight forward, depending on how you've coded your system so far. When a message is received, check the sender against an array of UserID's that you've created to form the ban list.
Administrative Options
Same sort of deal. This, again, depends on how you've coded it so far. The easiest way to do a ban list would be to use server-side inis, but that wont work unless your using a server that has the MooAPI installed. Otherwise you'll probably always need to have a "god" online that stores the ban information, and so on, and can kick people whenever they join. Obviously that isnt fool proof, so server-side inis is the way to go if it's available.
Mike
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
16th July, 2003 at 01:05:34 -
If you want an example, Tig's did a good one for mooclick and moogame (even though you don't use them) they use relativly the same sort of actions so they might help.
-Andy
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
|
|