MisterQuestions Posted January 4, 2015 Share Posted January 4, 2015 Hey, it its possible to make when somebody wrote something on the forum shoutbox, appear on the game-chat, and when a player in-game chats, appear on forum shoutbox? It uses mysql...any ideas? Link to comment
MTA Team botder Posted January 4, 2015 MTA Team Share Posted January 4, 2015 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
PartyMTA Posted February 1, 2015 Share Posted February 1, 2015 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now