Re: Simple Chat Tut question
On the rich edit under control you can find the scrolling commands.
For a log in system - you need to connect it to a PHP (or other) scripting language on your webserver using Live Reciever or MooSock. That is what Gwerdy uses to attach/check the accounts on the forum to allow log in on the chat.
Re: Simple Chat Tut question
I see, could you elaborate a bit more on the log in part?
Re: Simple Chat Tut question
You need to know a scripting language like PHP.
Then using an object to communicate with your server like MOOSock or Live Reciever you send your username and password to your server.
The script on your server checks the username/password against your list of valid users and returns the results to via the object to MMF2. This result would be if the log in was good or bad.
If a good result was returned the player is validated and can log in. If a bad result is returned the player would not be able to continue.
Here is a link to a very simple example where various objects return your current IP address.
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=40119
Its the same basic thing --
- Data is sent via these objects to your server
- This data checked by the script on your server,
- Other Data is returned for MMF2 for you to evaluate and take the actions you wish to take.
If you search in the file archive I thought I remember some very old example files for this type of thing.
Re: Simple Chat Tut question
Note it should be your Moo Server that checks passwords and not the client otherwise people can easily change the domain DNS to another location and return a password okay message for any request. (Also they could bypass the security completely with a custom or modified client)