SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 14/07/2017, 12:14 PM   #61
Gforcez1337
Gangsta
 
Gforcez1337's Avatar
 
Join Date: Jul 2010
Location: The Netherlands.
Posts: 937
Reputation: 290
Default Re: Discord Connector

Quote:
Originally Posted by UberEverywhere View Post
there's a file called log-core.dll with the download, extract it in the server directory (where samp-server.exe is)
Ah I see. Thanks that fixed it
__________________

Gforcez1337 is offline   Reply With Quote
Old 14/07/2017, 04:37 PM   #62
Zorono
Huge Clucker
 
Zorono's Avatar
 
Join Date: Dec 2015
Location: GetPlayerPos(271055, Float:xCord, Float:yCord, Float:zCord);
Posts: 360
Reputation: 26
Default Re: Discord Connector

hello sir, great job working on this project and it 'd be much better if you added administration Commands scripting method and add DCC_OnERROR(...) Callback which detects every Error/Warning and send it as an parameter with full info so it might help loggingevery error/warning && fixing them easily.
__________________
retired from SA-MP


Last edited by Zorono; 14/07/2017 at 11:33 PM.
Zorono is offline   Reply With Quote
Old 14/07/2017, 11:34 PM   #63
Zorono
Huge Clucker
 
Zorono's Avatar
 
Join Date: Dec 2015
Location: GetPlayerPos(271055, Float:xCord, Float:yCord, Float:zCord);
Posts: 360
Reputation: 26
Default Re: Discord Connector

Removed...
__________________
retired from SA-MP


Last edited by Zorono; 15/07/2017 at 10:22 AM.
Zorono is offline   Reply With Quote
Old 15/07/2017, 03:33 PM   #64
supernerd2000
Big Clucker
 
Join Date: Jun 2014
Posts: 66
Reputation: 3
Default Re: Discord Connector

Any change of seeing a DCC_Disconnect function? Would be nice to make a status-checker.
supernerd2000 is offline   Reply With Quote
Old 22/07/2017, 06:56 PM   #65
[G]am3r
Huge Clucker
 
[G]am3r's Avatar
 
Join Date: Nov 2016
Location: Graveyard
Posts: 204
Reputation: 21
Default Re: Discord Connector

I got some error, when I start my server using the plugin and my filterscript with the code maddinat0r provided. I also edited the token and server id. My samp server dosen't starts. Happened on windows, didn't tried on linux.
__________________
[G]am3r is offline   Reply With Quote
Old 22/07/2017, 07:54 PM   #66
SmileJack
Big Clucker
 
SmileJack's Avatar
 
Join Date: Jul 2017
Posts: 84
Reputation: 0
Default Re: Discord Connector

Nice plugin!
SmileJack is offline   Reply With Quote
Old 31/07/2017, 10:16 AM   #67
criticalerror
Little Clucker
 
Join Date: Jan 2016
Posts: 2
Reputation: 0
Default Re: Discord Connector

Please add support for polish symbols, like ą, ę, у, ć, ź, ż, ł

Messages with this symbols are not sending in Discord chat.
criticalerror is offline   Reply With Quote
Old 01/08/2017, 01:48 AM   #68
arad55
Big Clucker
 
Join Date: Jul 2011
Posts: 165
Reputation: 0
Default Re: Discord Connector

Code:
public DCC_OnChannelMessage(DCC_Channel:channel, const author[], const message[])
1. You need to check that author is NOT your bot with author[] (in-case you want to enable in-game to discord messaging too)
2. Then check if the first index in message[] equals the symbol '!'.
3. If it does, you can send the message to all players
Code:
format(msg, sizeof(msg), "[Discord] %s: %s", author, message);
arad55 is offline   Reply With Quote
Old 01/08/2017, 09:48 AM   #69
EmrySH
Little Clucker
 
Join Date: Oct 2016
Posts: 1
Reputation: 0
Default Re: Discord Connector

Can I redirect users from one channel to another? Depending on the conditions inside Gamemode/
EmrySH is offline   Reply With Quote
Old 01/08/2017, 10:50 AM   #70
Crystallize
High-roller
 
Join Date: Aug 2013
Posts: 1,477
Reputation: 283
Default Re: Discord Connector

Quote:
Originally Posted by Crystallize View Post
It's possible yet to issue ban commands through discord?
Any answers on this?
__________________

Crystallize is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Teamspeak Connector maddinat0r Plugin Development 314 09/06/2017 07:46 AM
Route Connector James_Braga Русский/Russian 9 15/05/2015 08:24 AM
[Map] Connector Gas Tellken Maps 4 01/06/2012 03:04 AM
PSU connector help! patchkinson Everything and Nothing 3 20/03/2010 09:24 PM


All times are GMT. The time now is 11:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.