Raised This Month: $32 Target: $400
 8% 

[ANY] Discord/Slack API (CallAdmin, SourceBans, ...)


Post New Thread Reply   
 
Thread Tools Display Modes
MrDanne
Member
Join Date: Jan 2017
Location: Stockholm, Sweden
Old 01-13-2017 , 13:11   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #21

Quote:
Originally Posted by zipcore View Post
It seems like you have more problems than just installing this plugin.

Your problems are related to problems with multiple extensions:

1. dbi.mysql.ext
2. clientprefs.ext
3. SteamWorks.ext

So this meight not be the right thread for this kind of the support (since your problems have nothing todo with the plugins or plugins at all), but "sm exts list" may gives you a hint whats wrong.
[SM] Displaying 13 extensions:
[01] Automatic Updater (1.8.0.5967): Updates SourceMod gamedata files
[02] Webternet (1.8.0.5967): Extension for interacting with URLs
[03] CS Tools (1.8.0.5967): CS extended functionality
[04] BinTools (1.8.0.5967): Low-level C/C++ Calling API
[05] SDK Tools (1.8.0.5967): Source SDK Tools
[06] Top Menus (1.8.0.5967): Creates sorted nested menus
[07] SDK Hooks (1.8.0.5967): Source SDK Hooks
[08] <FAILED> file "clientprefs.ext.so": Could not find any suitable database configs
[09] <FAILED> file "socket.ext.so": /home/trollskogen/serverfiles/csgo/addons/sourcemod/extensions/socket.ext.so: cannot open shared object file: No such file or directory
[10] <FAILED> file "SteamWorks.ext.so": /home/trollskogen/serverfiles/csgo/addons/sourcemod/extensions/SteamWorks.ext.so: cannot open shared object file: No such file or directory
[11] GeoIP (1.8.0.5967): Geographical IP information
[12] MySQL-DBI (1.8.0.5967): MySQL driver implementation for DBI
[13] SQLite (1.8.0.5967): SQLite Driver


Solved mysql, forgot to open the 3306 port in my fw ;)
clientprefs is another story, can't figure it out.
And SteamWorks... my server only starts with LAN access due to some error when I copied the files.

Do this plugin really need SW?

Will go back to google now...

Last edited by MrDanne; 01-13-2017 at 13:15.
MrDanne is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 01-13-2017 , 14:47   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #22

Quote:
Originally Posted by T1MOXA View Post
With sourcecomms the same nonsense!
[discord.smx] [OnRequestComplete] Bad Request! Error Code: [400]. Check your message, the API doesn't like it! Message: "{"attachments": [{"color": "#ffff22","title": "View on Sourcebans","title_link": "http://***/index.php?p=commslist&searchText=STEAM_1:1:** *","fields": [{"title": "Player","value": "T1MOXA ( STEAM_1:1:*** )","true": false},{"title": "Admin","value": "T1MOXA","short": true},{"title": "Gag Length","value": "1 min","short": true},{"title": "Reason","value": "1","short": true}]}]}"
Thats not nonsense. Are you using slack or discord and if discord are you sure you added /slack at the end of your webhook URLs?

Quote:
Originally Posted by rogeraabbccdd View Post
I don't think it's sourcecomms's problem.
If time duration is "Session", the time is "-1".

So I add this in "PrePareMsg" in "discord_sourcecomms.sp", and it works.
PHP Code:
if (time == -1
    {
        
sLength "Session";
    } 
You're right I've added this fix.
__________________
zipcore is offline
T1MOXA
Member
Join Date: Aug 2016
Old 01-13-2017 , 15:55   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #23

Quote:
Originally Posted by zipcore View Post
Thats not nonsense. Are you using slack or discord and if discord are you sure you added /slack at the end of your webhook URLs?
Was not there before. Now added, changed the map, but nothing has changed.
http://prntscr.com/dvayfh

Last edited by T1MOXA; 01-13-2017 at 15:57.
T1MOXA is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 01-13-2017 , 15:58   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #24

Quote:
Originally Posted by T1MOXA View Post
Was not there before. Now added, changed the map, but nothing has changed.
http://prntscr.com/dvayfh
And you still get the 400?
__________________
zipcore is offline
T1MOXA
Member
Join Date: Aug 2016
Old 01-13-2017 , 16:28   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #25

Quote:
Originally Posted by zipcore View Post
And you still get the 400?
Yay, it worked )
Thank you

Last edited by T1MOXA; 01-13-2017 at 17:31.
T1MOXA is offline
MrDanne
Member
Join Date: Jan 2017
Location: Stockholm, Sweden
Old 01-14-2017 , 05:06   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #26

Can someone please help me sort this out?

I have followed your instructions to configure this plugin and the only real requirement is CallAdmin, and in that instruction it doesn't say anything about using SteamWorks or anything, only copy the adding files which I have done. If I then install the updater CallAdmin recommends it is require this:
Your server must be running at least one of the following extensions:
cURL
Socket
SteamTools
SteamWorks (recommended)


I installed Socket due to I seem to fail with SteamWorks, and now Updater plugin seem to work fine.

Only Discord plugin whines that it require Steamworks.ext ! And it does not say anywhere that Discord plugin needs SteamWorks to work.

Errors:
discord.smx (Discord API): Required extension "SteamWorks" file("SteamWorks.ext") not running
discord_sourcecomms.smx (Discord: SourceComms): Could not find required plugin "discord"
discord_sourcebans.smx (Discord: SourceBans): Could not find required plugin "discord"
discord_calladmin.smx (Discord: CallAdmin): Could not find required plugin "discord"

Does anyone know how I can get this working?
Going crazy soon
MrDanne is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 01-14-2017 , 05:34   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #27

Quote:
Originally Posted by MrDanne View Post
Can someone please help me sort this out?

I have followed your instructions to configure this plugin and the only real requirement is CallAdmin, and in that instruction it doesn't say anything about using SteamWorks or anything, only copy the adding files which I have done. If I then install the updater CallAdmin recommends it is require this:
Your server must be running at least one of the following extensions:
cURL
Socket
SteamTools
SteamWorks (recommended)


I installed Socket due to I seem to fail with SteamWorks, and now Updater plugin seem to work fine.

Only Discord plugin whines that it require Steamworks.ext ! And it does not say anywhere that Discord plugin needs SteamWorks to work.

Errors:
discord.smx (Discord API): Required extension "SteamWorks" file("SteamWorks.ext") not running
discord_sourcecomms.smx (Discord: SourceComms): Could not find required plugin "discord"
discord_sourcebans.smx (Discord: SourceBans): Could not find required plugin "discord"
discord_calladmin.smx (Discord: CallAdmin): Could not find required plugin "discord"

Does anyone know how I can get this working?
Going crazy soon
The CallAdmin requirements are not the same as for the Discord API, just take a look at the errors you listed and you see whats wrong...
__________________
zipcore is offline
MrDanne
Member
Join Date: Jan 2017
Location: Stockholm, Sweden
Old 01-14-2017 , 05:54   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #28

It needs SteamWorks running... ? Sorry, I am totally lost.
MrDanne is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 01-14-2017 , 07:40   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #29

Quote:
Originally Posted by MrDanne View Post
It needs SteamWorks running... ? Sorry, I am totally lost.
Totally YES
__________________
zipcore is offline
MrDanne
Member
Join Date: Jan 2017
Location: Stockholm, Sweden
Old 01-14-2017 , 07:58   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #30

Quote:
Originally Posted by zipcore View Post
Totally YES
lol

What are you seeing that I don't?
You said that SteamWorks isn't needed with Discord API...

Last edited by MrDanne; 01-14-2017 at 08:00.
MrDanne is offline
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

Forum Jump


All times are GMT -4. The time now is 15:56.


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