Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: MadMax on Jun 28, 2018, 09:37 AM

Title: How to create a discord echo
Post by: MadMax on Jun 28, 2018, 09:37 AM
How can I connect my server to discord ? Kindly mention the ways, and the languages required to make It.
Title: Re: How to create a discord echo
Post by: umar4911 on Jun 28, 2018, 02:19 PM
I made using node(json). I used mysql. The message sent by a player is added in the mysql database. Using discord script, the bot checks constantly for any new entry in the database. On arriving, it messages that to the discord and same happens for any discord message.
Title: Re: How to create a discord echo
Post by: umar4911 on Jun 30, 2018, 05:55 AM
Quote from: vitogta on Jun 30, 2018, 05:44 AMDo you located mysql at disk or ram?
I didn't get you. If talking about connection, thats a web.
Title: Re: How to create a discord echo
Post by: umar4911 on Jun 30, 2018, 08:25 AM
Quote from: vitogta on Jun 30, 2018, 06:03 AM
Quote from: umar4911 on Jun 30, 2018, 05:55 AMI didn't get you. If talking about connection, thats a web.
I'm afraid constant I/O with disk can cause server lag.
still didn't get you.
Title: Re: How to create a discord echo
Post by: ysc3839 on Jul 01, 2018, 03:50 AM
The easiest way to do that is writing a external program that connect to Discord and communicate with VCMP server using a socket.
A more difficult way is writing a VCMP server plugin.
Title: Re: How to create a discord echo
Post by: umar4911 on Jul 01, 2018, 06:47 AM
Quote from: ysc3839 on Jul 01, 2018, 03:50 AMThe easiest way to do that is writing a external program that connect to Discord and communicate with VCMP server using a socket.
A more difficult way is writing a VCMP server plugin.
How about just checking from a mysql db and message to server.
Title: Re: How to create a discord echo
Post by: ysc3839 on Jul 01, 2018, 07:12 AM
@umar4911 #7 It works. But I think it's not a good solution.
Title: Re: How to create a discord echo
Post by: =RK=MarineForce on Jul 23, 2018, 11:17 PM
hey can u ask Kiki . he added in our  server plugins 0.4 i hope he will help u