Jump to content

Forum shoutbox to game-chat.


Recommended Posts

  • MTA Team

Live updates should be possible with sockets.

You should write the ingame messages with a shoutbox bot account. Transfer them either with callRemote or with sockets (requires a listening socket on the forum).

On the otherside you have to extend the shoutbox code to send new messages to the server over a socket.

Link to comment
  • 4 weeks later...

It depends on your forum, and if your web hoster supports mysql sharing. You could call the messages with the db functions and let the code update everytime theres a message added, and let the code output the latest message in the chatbox.

Free webhostings mostly don't support mysql sharing over other sources tho.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...