SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/01/2018, 03:42 PM   #131
HydraHumza
Gangsta
 
HydraHumza's Avatar
 
Join Date: Oct 2014
Posts: 640
Reputation: 130
Default Re: Discord Connector

Is this stable for now?
__________________
Quote:
Originally Posted by Kalcor View Post
The fact is, I am right. And if you think I'm wrong, you are wrong.
HydraHumza is offline   Reply With Quote
Old 19/01/2018, 05:00 AM   #132
SeanDenZYR
Big Clucker
 
Join Date: May 2016
Location: Philippines!!
Posts: 175
Reputation: 20
Default Re: Discord Connector

halp

im getting an error on line 245

C:\Users\PC1\Desktop\SAMP\GM\filterscripts\CZMG Discord.pwn(245) : error 035: argument type mismatch (argument 1)

Code:
DC_CMD:dco(user, args)
{
	new msg[50];
	new formatter[1337];
	new user_name[32 + 1];
Line 245	if (!DCC_GetUserName(user, user_name))
	{
		return 0; // invalid user
	}

    if(sscanf(args, "s[50]", msg)) return SendDC(CHANNEL_ID, "[SYNTAX] /dco <Message> [Maximum 100 InputText]");
	format(formatter,sizeof(formatter),"{FFFFFF}(( {324061}%s: {FFFFFF} %s ))",user_name, msg);
	SendClientMessageToAll(-1, formatter);
	SendDC(CHANNEL_ID, "MESSAGE SENT IN-GAME: (( %s: %s ))");
    return 1;
}
SeanDenZYR is offline   Reply With Quote
Old 24/01/2018, 01:20 PM   #133
AlexMSK
Banned
 
Join Date: Apr 2016
Location: Albania, yez
Posts: 225
Reputation: 61
Default Re: Discord Connector

This is fucking amazing!! Thanks a lot, i dont need to login game to talk with my admins, i can do it through discord!!
AlexMSK is offline   Reply With Quote
Old 24/01/2018, 07:15 PM   #134
DavidZvla
Little Clucker
 
DavidZvla's Avatar
 
Join Date: Jul 2017
Location: Cosmos
Posts: 24
Reputation: 1
Default Re: Discord Connector

This is actually compatible with Ubuntu Linux (x64)?

Last edited by DavidZvla; 25/01/2018 at 03:26 AM.
DavidZvla is offline   Reply With Quote
Old 27/01/2018, 02:31 PM   #135
Locky_
High-roller
 
Locky_'s Avatar
 
Join Date: Jul 2012
Posts: 1,605
Reputation: 321
Default Re: Discord Connector

This happens when I make some changes (I type a channel in my discord server) and it simply drops.
Code:
[27/01/2018 12:24:04] [ERROR] signal 6 (SIGABRT) catched; shutting log-core down (errno: 0, signal code: -6, exit status: 0)
__________________


Locky_ is offline   Reply With Quote
Old 29/01/2018, 07:18 PM   #136
Chocopie
Big Clucker
 
Chocopie's Avatar
 
Join Date: May 2016
Location: Vietnam
Posts: 91
Reputation: 56
Default Re: Discord Connector

Can we using create channel native like TeamSpeak Connector? that would be cool for create voice chat system in-game.
__________________

Chocopie is offline   Reply With Quote
Old 01/02/2018, 01:59 AM   #137
Felipe_Freeze
Huge Clucker
 
Felipe_Freeze's Avatar
 
Join Date: Dec 2011
Posts: 421
Reputation: 28
Default Re: Discord Connector

``` [23:44:04] [debug] Server crashed due to an unknown error
[23:44:04] [debug] Native backtrace:
[23:44:04] [debug] #0 76fe3149 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[23:44:04] [debug] #1 76fa068f in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[23:44:04] [debug] #2 71c945a5 in ?? () from C:\Windows\SYSTEM32\VCRUNTIME140.dll
[23:44:04] [debug] #3 6795f7b7 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #4 6796350d in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #5 679af634 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #6 679aa57b in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #7 679ac119 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #8 679a9362 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #9 6799727c in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #10 679b2b52 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #11 6798b988 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #12 679b6388 in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #13 679afeea in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #14 6798833a in ?? () from plugins\discord-connector.DLL
[23:44:04] [debug] #15 671c62e4 in ?? () from C:\Windows\SYSTEM32\ucrtbase.DLL
[23:44:04] [debug] #16 758f7c04 in ?? () from C:\Windows\SYSTEM32\KERNEL32.DLL
[23:44:04] [debug] #17 76fbad2f in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[23:44:04] [debug] #18 76fbacfa in ?? () from C:\Windows\SYSTEM32\ntdll.dll ```
__________________

FOUNDER & HEAD OF DEVELOPER TEAM
http://forum.sa-mp.com/showthread.php?p=4018115
Brasil
Felipe_Freeze is offline   Reply With Quote
Old 01/02/2018, 09:06 PM   #138
willbedie
Gangsta
 
willbedie's Avatar
 
Join Date: Feb 2016
Location: Albania
Posts: 545
Reputation: 59
Default Re: Discord Connector

The bot won't send any messages to any channel that is only for admins and stuff, only sends the message if i change the channel where everyone has permission on, and also the server shuts down whenever i change the permissions of the channel.. do you have any idea why is this happening?
willbedie is offline   Reply With Quote
Old 09/02/2018, 01:39 PM   #139
T-N-Z
Huge Clucker
 
T-N-Z's Avatar
 
Join Date: May 2007
Posts: 241
Reputation: 23
Exclamation Re: Discord Connector

Quote:
Originally Posted by willbedie View Post
<...>
if i change the channel where everyone has permission on, and also the server shuts down whenever i change the permissions of the channel.. do you have any idea why is this happening?
I was playing around with my server, and I noticed that too. If you change any sort of permission on discord channel, the server will crash. I have seen other logs in this topic and they are identical to mine. I hope that gets fixed at some point.

Code:
[ERROR] signal 6 (SIGABRT) catched; shutting log-core down (errno: 0, signal code: -6, exit status: 0)
__________________
T-N-Z is offline   Reply With Quote
Old 09/02/2018, 06:51 PM   #140
P00kie
Big Clucker
 
Join Date: Oct 2017
Posts: 44
Reputation: 0
Default Re: Discord Connector

Can someone teach me how to use this
P00kie 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 325 08/09/2018 08:04 PM
Route Connector James_Braga Русский/Russian 9 15/05/2015 09:24 AM
[Map] Connector Gas Tellken Maps 4 01/06/2012 04:04 AM
PSU connector help! patchkinson Everything and Nothing 3 20/03/2010 10:24 PM


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


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