Raised This Month: $51 Target: $400
 12% 

[ANY] Give Roles on Discord (1.2) [NEW UPDATE 04/23/2020]


Post New Thread Reply   
 
Thread Tools Display Modes
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-07-2021 , 19:02   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #11

Quote:
Originally Posted by NanoC View Post
Is anyone having trouble with this plugin + discord utilities? Seems that it doesn't' work anymore or it's just my case?
Another plugin, Discord - Map Notifications apparently had the same problem, according to the author, put a version of the Discord API modified by him, so I believe, in his project and apparently solved it.

https://forums.alliedmods.net/showpo...3&postcount=39

See if it works for you.

[EDIT]
Sorry, your use Discord Utilities, not API, I noticed now.

Last edited by paulo_crash; 01-07-2021 at 19:03. Reason: Sorry, your use Discord Utilities, not API, I noticed now
paulo_crash is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 01-07-2021 , 22:02   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #12

Thanks Paulo, i'll back with more feedback.
__________________
NanoC is offline
Send a message via Skype™ to NanoC
puma133
Member
Join Date: Jun 2009
Old 01-24-2021 , 05:58   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #13

Plugin not work , and i dont hace errors
puma133 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-09-2021 , 14:45   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #14

Quote:
Originally Posted by NanoC View Post
Thanks Paulo, i'll back with more feedback.
Does this plugin still work?

He used all the commands and still nothing.
  • sm_claimrole
  • sm_discordrole
  • sm_giverole

His configuration is like this:
Code:
// This file was auto-generated by SourceMod (v1.10.0.6502)
// ConVars for plugin "GiveRoles.smx"


// Individual cvar to restrict commands and use the other 3 methods. This should be enabled if you are using 'sm_gr_method 3 or 4'. 1 = Enabled | 0 = Disabled (Default = 0)
// -
// Default: "0"
sm_gr_command "0"

// Time in seconds to refresh timer to check players flags (recommended a value greater than 10) (Default = 30)
// -
// Default: "30"
sm_gr_interval "30"

// What method do you want to use? 1 = Everytime an user links his account | 2 = Using a timer (in seconds) that checks player's flags to add/remove discord roles. | 3 = Using a command to claim role | 4 = All methods (Default = 2)
// -
// Default: "2"
// Minimum: "1.000000"
// Maximum: "4.000000"
sm_gr_method "2"
Plugin running all right apparently, with no errors in the log.

Last edited by paulo_crash; 02-09-2021 at 17:16.
paulo_crash is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 02-09-2021 , 15:13   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #15

error logs?
__________________
NanoC is offline
Send a message via Skype™ to NanoC
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-09-2021 , 17:07   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #16

Quote:
Originally Posted by NanoC View Post
error logs?
None referring to the plugin from what I could see, is attached.

Code:
L 02/09/2021 - 05:06:41: Error log file session closed.
L 02/09/2021 - 09:24:27: SourceMod error session started
L 02/09/2021 - 09:24:27: Info (map "de_mirage") (file "/home/ogp_agent/OGP_User_Files/whmcs/749/csgo/addons/sourcemod/logs/errors_20210209.log")
L 02/09/2021 - 09:24:27: [weapons.smx] Update Player failed! query: "UPDATE weapons SET knife_butterfly = -1 WHERE steamid = 'STEAM_1:1:508116365'" error: "Lost connection to MySQL server during query"
L 02/09/2021 - 09:35:47: Error log file session closed.
L 02/09/2021 - 12:59:08: SourceMod error session started
L 02/09/2021 - 12:59:08: Info (map "de_mirage") (file "/home/ogp_agent/OGP_User_Files/whmcs/749/csgo/addons/sourcemod/logs/errors_20210209.log")
L 02/09/2021 - 12:59:08: [profilestatus.smx] [PS] Error while checking if user 76561198336841629 is hour whitelisted! Lost connection to MySQL server during query
L 02/09/2021 - 13:00:27: Error log file session closed.
L 02/09/2021 - 13:14:15: SourceMod error session started
L 02/09/2021 - 13:14:15: Info (map "de_inferno") (file "/home/ogp_agent/OGP_User_Files/whmcs/749/csgo/addons/sourcemod/logs/errors_20210209.log")
L 02/09/2021 - 13:14:15: [weapons.smx] Update Player failed! query: "UPDATE weapons SET awp_trak_count = 109 WHERE steamid = 'STEAM_1:1:511487897'" error: "Lost connection to MySQL server during query"
L 02/09/2021 - 13:17:18: Error log file session closed.
sm plugins list
Code:
  75 "Discord Utilities" (2.5-BETA) by Cruze
  76 "Give Roles" (1.1) by Nano

Last edited by paulo_crash; 08-08-2021 at 14:04.
paulo_crash is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 02-09-2021 , 18:02   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #17

You are using a wrong cvar value

Quote:
// What method do you want to use? 1 = Everytime an user links his account | 2 = Using a timer (in seconds) that checks player's flags to add/remove discord roles. | 3 = Using a command to claim role | 4 = All methods (Default = 2)
// -
// Default: "2"
// Minimum: "1.000000"
// Maximum: "4.000000"
sm_gr_method "2"
Try value "3" to use commands only
__________________
NanoC is offline
Send a message via Skype™ to NanoC
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-09-2021 , 18:05   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #18

Quote:
Originally Posted by NanoC View Post
You are using a wrong cvar value



Try value "3" to use commands only
I tested them all in the case, option 3 for the players to use the commands, option 4 that would be all options, 2 that checks the player every X seconds and none worked.
paulo_crash is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 02-09-2021 , 18:09   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #19

Then maybe there's an error on DiscordUtilities. I'm not using this plugin anymore cause Cruze didn't want to fix it.
Maybe there could be another way to claim roles without using DiscordUtilities but that's out of my knowledge.
__________________
NanoC is offline
Send a message via Skype™ to NanoC
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-10-2021 , 00:36   Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
Reply With Quote #20

Quote:
Originally Posted by NanoC View Post
Then maybe there's an error on DiscordUtilities. I'm not using this plugin anymore cause Cruze didn't want to fix it.
Maybe there could be another way to claim roles without using DiscordUtilities but that's out of my knowledge.
Would it work with the xSLOW version: https://github.com/xSL0W/discord_verification

Or not since it would be the same?
paulo_crash is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 04:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode