Raised This Month: $7 Target: $400
 1% 

[ANY] Sourcebridge (BETA)


Post New Thread Reply   
 
Thread Tools Display Modes
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-28-2022 , 13:29   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #11

Quote:
Originally Posted by AuricYoutube View Post
Suggestion: add cvar to not send messages that start with ! from game
Hello,

While the next version is not ready yet, however you can get a preview version in my GitHub page. There's a new cvar that controls whenever a message that starts with a "!" gets sent.

To Dos for next version:
  • Finish Kill Feed implementation
  • Fix a bug where player avatars might get swapped (Can't replicate consistently)
__________________

Last edited by gabuch2; 05-28-2022 at 15:25.
gabuch2 is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 05-28-2022 , 18:33   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #12

Is there a way to make this only get chat logs from specific server for a specific amount of time using a command on discord?

Lets say I have like 50 CSGO servers and I want to use this tool to collect chat logs from a specific server when someone reports someone for bad lang.. Collecting logs for 50 servers 24/7 is a bit too much for me.

xD

Last edited by Ejziponken; 05-28-2022 at 18:34.
Ejziponken is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-30-2022 , 01:50   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #13

Quote:
Originally Posted by Ejziponken View Post
Is there a way to make this only get chat logs from specific server for a specific amount of time using a command on discord?

Lets say I have like 50 CSGO servers and I want to use this tool to collect chat logs from a specific server when someone reports someone for bad lang.. Collecting logs for 50 servers 24/7 is a bit too much for me.

xD
This plugin doesn't store anything. It can only relay messages.

Although for your use case I think it would be better to set up a 1-way gateway to log all of your server's messages then use the Discord search feature to look up time periods.
__________________

Last edited by gabuch2; 05-30-2022 at 01:50.
gabuch2 is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 05-31-2022 , 11:33   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #14

Can u please send me example of matterbridge.toml and
sourcebridge.cfg for left 4 dead 2 discord? I just don't know how to set up
maclarens is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 06-02-2022 , 13:57   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #15

Quote:
Originally Posted by maclarens View Post
Can u please send me example of matterbridge.toml and
sourcebridge.cfg for left 4 dead 2 discord? I just don't know how to set up
This is a very broad question and unfortunately every use case is different.

In the main posts there's a guide on how to do a basic Matterbridge installation and setup where you can set up your desired protocol. (For example, Discord). To add your gameserver API you can follow the quick start guide I put in the OP.

Don't hesitate to ask about any specific part you don't understand.
__________________
gabuch2 is offline
ObiWan23
Junior Member
Join Date: Feb 2019
Old 06-04-2022 , 19:05   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #16

Whenever I try to compile the sp file it throws me 26 errors. Also it won't load the smx file when I attempt to load it ingame.
ObiWan23 is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 06-04-2022 , 19:56   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #17

Quote:
Originally Posted by ObiWan23 View Post
Whenever I try to compile the sp file it throws me 26 errors. Also it won't load the smx file when I attempt to load it ingame.
Can you post the errors here?
__________________
gabuch2 is offline
ObiWan23
Junior Member
Join Date: Feb 2019
Old 06-04-2022 , 21:08   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #18

Quote:
Originally Posted by gabuch2 View Post
Can you post the errors here?

addons/sourcemod/scripting/include/string.inc(133) : warning 219: local variable "source" shadows a variable at a preceding level
addons/sourcemod/scripting/include/string.inc(253) : warning 219: local variable "source" shadows a variable at a preceding level
addons/sourcemod/scripting/include/string.inc(474) : warning 219: local variable "source" shadows a variable at a preceding level
addons/sourcemod/scripting/include/string.inc(497) : warning 219: local variable "text" shadows a variable at a preceding level
addons/sourcemod/scripting/include/files.inc(431) : warning 219: local variable "data" shadows a variable at a preceding level
addons/sourcemod/scripting/include/files.inc(457) : warning 219: local variable "source" shadows a variable at a preceding level
addons/sourcemod/scripting/include/halflife.inc(615) : warning 219: local variable "title" shadows a variable at a preceding level
addons/sourcemod/scripting/include/halflife.inc(615) : warning 219: local variable "type" shadows a variable at a preceding level
addons/sourcemod/scripting/include/entity.inc(519) : warning 219: local variable "type" shadows a variable at a preceding level
sourcebridge.sp( : error 010: invalid function or declaration
sourcebridge.sp(21) : error 010: invalid function or declaration
sourcebridge.sp(23) : error 010: invalid function or declaration
sourcebridge.sp(27) : error 075: input line too long (after substitions)
sourcebridge.sp(30) : error 139: could not find type "id"
sourcebridge.sp(32) : error 139: could not find type "key"
ObiWan23 is offline
ObiWan23
Junior Member
Join Date: Feb 2019
Old 06-04-2022 , 21:15   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #19

Quote:
Originally Posted by gabuch2 View Post
Can you post the errors here?
[SM] Plugin sourcebridge.smx failed to load: Unable to load plugin (bad header).
L 06/05/2022 - 01:15:06: rcon from "84.104.63.178:12891": command "sm plugins load sourcebridge"
ObiWan23 is offline
ObiWan23
Junior Member
Join Date: Feb 2019
Old 06-04-2022 , 21:36   Re: [ANY] Sourcebridge (BETA)
Reply With Quote #20

I think I'm missing the includes and sm file, however I've looked in your github and everywhere else, I can't seem to find them.
ObiWan23 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 06:41.


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