simmsb / tf2_reports

A sourcemod plugin that redirects reports to a discord webhook
MIT License
1 stars 0 forks source link

doubt #1

Closed chulicoxd closed 4 years ago

chulicoxd commented 4 years ago

Hello, how do I think I'm asking too late, I would like to use this add-on but in cs go, would it work?

simmsb commented 4 years ago

It doesn't actually use anything tf2 specific, I don't have a CSGO server to test it on, all I can suggest is to try dropping it in.

chulicoxd commented 4 years ago

well I'll try, and bring news

chulicoxd commented 4 years ago

Last question, in what file and place exactly would I have to place the url of my webhook?

simmsb commented 4 years ago

The config should be loaded from cfg/sourcemod/discord_reports.cfg iirc

sm_report_webhook "https://..."
chulicoxd commented 4 years ago

in agreement. Thank you very much for answering, I am very grateful to you. I imagine that this file is created after the add-on has been successfully loaded ?, because I only have a discord_calladmin file. but it only works with! call or! calladmin.

simmsb commented 4 years ago

I use the sourcemod config api, so yeah it'll be automatically created with the convar defaults when the plugin is loaded.

chulicoxd commented 4 years ago

L 03/09/2020 - 19:31:34: [SM] Unable to load extension "smjansson.ext": The specified module cannot be found.   [SM] Plugin reports.smx failed to load: Required extension "SMJansson" file ("smjansson.ext") not running.

Do I need to download that extension? Can you give me the file?

What would I have to do in this case?

simmsb commented 4 years ago

You can get smjansson from here: https://forums.alliedmods.net/showthread.php?t=184604

chulicoxd commented 4 years ago

Thank you very much, I will have news soon and thank you very much for your time. you are very kind

chulicoxd commented 4 years ago

put the smjansson.ext file in the bin folder reload the reports.smx add-in [SM] Plugin reports.smx is already loaded. but the discord_reports.cfg file is not created

image

image

image

simmsb commented 4 years ago

smjansson.ext.dll needs to be placed in addons/sourcemod/extensions

chulicoxd commented 4 years ago

works! , thank you very much for the help, greetings a hug.

image

image