Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 18.06.2018
Discord-Chat v0.1
Hey, I made this filterscript 4 months ago, This is an easy filterscript to make but since there's no filterscript like this. I'm releasing it. Please do not remove the credits
Note:
Change the #define CHANNEL_ID "Your channel id here" the channel id is the channel which you want the messages to be sent from/appear from. You can get this by enabling the developer mode and right clicking on the channel.
This requires the (
Please do read the discord connector topic if you want to make it work.)
discord-connector plugin by maddinat0r -
https://sampforum.blast.hk/showthread.php?tid=631562
YSI -
https://sampforum.blast.hk/showthread.php?tid=570884
sscanf -
https://sampforum.blast.hk/showthread.php?tid=602923
zcmd -
https://sampforum.blast.hk/showthread.php?tid=91354
Credits:
maddinat0r.
******.
Zeex.
Inn0cent
and Me - Inferno.
Report any bugs that you find.
Re: Discord Chat - Real time chatting ( Discord + In Game) -
nguyenthanhdanhsamp - 18.06.2018
- Is this just a chat?
- can i use a microphone?
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 18.06.2018
Quote:
Originally Posted by nguyenthanhdanhsamp
- Is this just a chat?
- can i use a microphone?
|
This filterscript is just to chat with the people in game or chat with the people from ingame to discord.
You can use discord for voice chat separately
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Logic_ - 18.06.2018
Looks nice.
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Miguelch1312 - 20.06.2018
Great! I'll try to implement it on our friends server.
Re: Discord Chat - Real time chatting ( Discord + In Game) -
DarkMythHunter - 24.06.2018
Won't work for me
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 25.06.2018
Quote:
Originally Posted by DarkMythHunter
Won't work for me
|
You must be having problems setting up the discord connector plugin. Read the plugin's topic again and make sure your bot comes online when you start your server. After that make sure you have the correct channel id. If you still face problems contact me on discord. #Inferno7135
Re: Discord Chat - Real time chatting ( Discord + In Game) -
DarkMythHunter - 25.06.2018
Quote:
Originally Posted by Exhibit
You must be having problems setting up the discord connector plugin. Read the plugin's topic again and make sure your bot comes online when you start your server. After that make sure you have the correct channel id. If you still face problems contact me on discord. #Inferno7135
|
I need the Discord connector plugin but, on ".so" file so I can upload it to the host...
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 25.06.2018
Quote:
Originally Posted by DarkMythHunter
I need the Discord connector plugin but, on ".so" file so I can upload it to the host...
|
https://github.com/maddinat0r/samp-d...ector/releases
Download the linux version.. Make sure you put all the files correctly including logcore
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Dayrion - 25.06.2018
Can you post a pastbin link or any open source that show your code please?
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 25.06.2018
Quote:
Originally Posted by Dayrion
Can you post a pastbin link or any open source that show your code please?
|
It's a .pwn file you just need to download it..
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Sasino97 - 04.07.2018
Quote:
Originally Posted by Dayrion
Can you post a pastbin link or any open source that show your code please?
|
There is, otherwise it would be against the rules of this forum, since it is required for any program or script to be open source.
In case you were looking for the actual code that does the connection work, you can find the source code for the Discord Connector DLL
here
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 07.07.2018
Pastebin link added.
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Dayrion - 07.07.2018
Quote:
Originally Posted by Sasino97
There is, otherwise it would be against the rules of this forum, since it is required for any program or script to be open source.
|
Quote:
Originally Posted by Exhibit
It's a .pwn file you just need to download it..
|
+
I just want to take a look at it and then I, if needed, download it.
Well, your 'filterscript' need to be really optimized. Brb
Edit: Here is an optimized version of yours. Using YSI is a good thing so use it completely ;p
(I hope there is no errors if then, apologize!)
https://pastebin.com/AaDYx6yU
Re: Discord Chat - Real time chatting ( Discord + In Game) -
TroS - 07.07.2018
The Filterscript is well made, it works for me, and I liked it, so thank you so much for it.
Also, I would like to suggest you some suggestions to put them in the next version if you are gonna make it:
- Permission to check all the messages in-game (example: creating a new channel where we can see all the chat in-game (If you allow us to see the commands that players are using in-game), and be able to reply them from the channel where the players in-game can send a message with /Dchat ).
- If possible, permission to use some commands in-game (As I have used Filterscript for my Training server, I would like to be able to start clanwars from Discord when there is no admin in-game to start it).
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Exhibit - 09.07.2018
Quote:
Originally Posted by TroS
The Filterscript is well made, it works for me, and I liked it, so thank you so much for it.
Also, I would like to suggest you some suggestions to put them in the next version if you are gonna make it:
- Permission to check all the messages in-game (example: creating a new channel where we can see all the chat in-game (If you allow us to see the commands that players are using in-game), and be able to reply them from the channel where the players in-game can send a message with /Dchat ).
- If possible, permission to use some commands in-game (As I have used Filterscript for my Training server, I would like to be able to start clanwars from Discord when there is no admin in-game to start it).
|
Well it's pretty easy to edit these filterscripts, you can edit it / re-release it as you like.
Re: Discord Chat - Real time chatting ( Discord + In Game) -
Sasino97 - 09.07.2018
Quote:
Originally Posted by Dayrion
Edit: Here is an optimized version of yours. Using YSI is a good thing so use it completely ;p
(I hope there is no errors if then, apologize!)
https://pastebin.com/AaDYx6yU
|
I looked at your code and I would say that your use of YSI iterators makes the code much cleaner.
Re: Discord Chat - Real time chatting ( Discord + In Game) -
CaptainBoi - 11.08.2018
nice
Re: Discord Chat - Real time chatting ( Discord + In Game) -
coool - 15.08.2018
g00d g00d
Re: Discord Chat - Real time chatting ( Discord + In Game) -
RajatAsthana - 28.10.2018
Many errors.....
C:\Users\Rajat's\Desktop\mG\STAGE 12\mG New\pawno\dc.pwn(39) : error 025: function heading differs from prototype
C:\Users\Rajat's\Desktop\mG\STAGE 12\mG New\pawno\dc.pwn(49) : error 017: undefined symbol "DCC_GetUserName"
C:\Users\Rajat's\Desktop\mG\STAGE 12\mG New\pawno\dc.pwn(69) : error 017: undefined symbol "ReturnPlayerName"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.