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

[ANY] Simple Reports v2 (MySQL, Discord) + Addons


Post New Thread Reply   
 
Thread Tools Display Modes
scubaguy
Junior Member
Join Date: Sep 2022
Location: Sweden
Old 10-08-2022 , 19:34   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #11

Hi,

I love the idea of this plugin, very clean.
But i am having trouble running it on my csgo dev server.

sm plugins list
55 <Bad Load> reports.smx

Errors:
reports.smx: Unable to load plugin (unsupported feature set; code is too new)
sm plugins reload reports.smx
[SM] Plugin reports.smx failed to reload: Unable to load plugin (unsupported feature set; code is too new).
[SM] Plugin reports.smx reloaded successfully.

Could you help me out a bit?

Edit:
Found the error in sourcepawn, updated SM and got it working! Thought i was running the latest dev version, but no

uint32_t supported_features =
SmxConsts::kCodeFeatureDirectArrays |
SmxConsts::kCodeFeatureHeapScopes;
if (features & ~supported_features)
return error("unsupported feature set; code is too new");

Last edited by scubaguy; 10-08-2022 at 19:44.
scubaguy is offline
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Old 10-08-2022 , 21:49   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #12

Quote:
Originally Posted by scubaguy View Post
Hi,

I love the idea of this plugin, very clean.
But i am having trouble running it on my csgo dev server.

sm plugins list
55 <Bad Load> reports.smx

Errors:
reports.smx: Unable to load plugin (unsupported feature set; code is too new)
sm plugins reload reports.smx
[SM] Plugin reports.smx failed to reload: Unable to load plugin (unsupported feature set; code is too new).
[SM] Plugin reports.smx reloaded successfully.

Could you help me out a bit?

Edit:
Found the error in sourcepawn, updated SM and got it working! Thought i was running the latest dev version, but no

uint32_t supported_features =
SmxConsts::kCodeFeatureDirectArrays |
SmxConsts::kCodeFeatureHeapScopes;
if (features & ~supported_features)
return error("unsupported feature set; code is too new");

If you are using sourcemod 1.10 on the server you need to compile plugin manually with 1.10 compiler.
The releases on github are compiled only for 1.11+, which isn't backwards compatible with sourcemod 1.10. I'll add a 1.10 build on the github release in case anyone prefers that.

Last edited by Mesharsky How2Kill; 10-08-2022 at 22:09.
Mesharsky How2Kill is offline
scubaguy
Junior Member
Join Date: Sep 2022
Location: Sweden
Old 10-09-2022 , 06:48   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #13

Quote:
Originally Posted by Mesharsky How2Kill View Post
If you are using sourcemod 1.10 on the server you need to compile plugin manually with 1.10 compiler.
The releases on github are compiled only for 1.11+, which isn't backwards compatible with sourcemod 1.10. I'll add a 1.10 build on the github release in case anyone prefers that.
Thank you for the info, i had no issues upgrading to 1.10 so i went with that!
scubaguy is offline
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Old 12-05-2022 , 22:15   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #14

Hello,

I am still working on the update but due to my limited time as i'm full time working the release is getting delayed.
Even thought i have most of the things finished i still wasn't able to test anything.

Things that will be 100% on next official release (almost finished):

- Do not show admins in !report menu (you can disable/enable it through configuration file).
- Banning players from using !report menu (you can ban them temporary or permamently).
- Embed messages will have fixed ping roles (setting will be enabled by default in configuration file)
- More languages supported (Simplified Chinese, Spanish and Turkish)

Also planning but don't have eta for completion:

- Steam Message Bot integration (https://github.com/dordnung/MessageBot)
- MyBB integration (web_addon).
- Switch to other discord api or write my own that will have more features and possibilities.

Stay tuned and sorry for delays.

Regards!
__________________
If you appreciate my work you can send me a Donation

Thanks everyone for using my work!

Any requests or question please contact me on discord: Mesharsky#6565
Mesharsky How2Kill is offline
zinx
Junior Member
Join Date: Feb 2023
Old 02-09-2023 , 19:09   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #15

Server log:

: [SM] Exception reported: Failed to connect to database 'reports'.
: [SM] Blaming: reports.smx
: [SM] Call stack trace:
: [SM] [0] SetFailState
: [SM] [1] Line 130, c:\Users\Mesha\Desktop\Github\Simple Reports\addons\sourcemod\scripting\reports.sp ::OnConfigsExecuted

help?
zinx is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 02-10-2023 , 05:34   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #16

Quote:
Originally Posted by zinx View Post
Server log:

: [SM] Exception reported: Failed to connect to database 'reports'.
: [SM] Blaming: reports.smx
: [SM] Call stack trace:
: [SM] [0] SetFailState
: [SM] [1] Line 130, c:\Users\Mesha\Desktop\Github\Simple Reports\addons\sourcemod\scripting\reports.sp ::OnConfigsExecuted

help?
This plugin requires a MySQL Database. You will need to add the connection into
addons/sourcemod/configs/databases.cfg like below:

PHP Code:
PHP Code:
"reports"
    
{
        
"driver"            "default"
        "host"                "database host (example: 152.325.654.245)"
        "database"            "database name"
        "user"                "database username"
        "pass"                "database password"
    

this is your error: [SM] Exception reported: Failed to connect to database 'reports'.
freak.exe_uLow is offline
rodopoulos
Junior Member
Join Date: Mar 2023
Location: Brazil
Old 05-25-2023 , 19:18   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #17

Bro the plugin do not works for me, i dont know why.

The Plugin is loaded but dont work.
rodopoulos is offline
rodopoulos
Junior Member
Join Date: Mar 2023
Location: Brazil
Old 05-25-2023 , 22:13   Re: [ANY] Simple Reports v2 (MySQL, Discord) + Addons
Reply With Quote #18

here is the plugin list
<Failed> "Simple Report System" (2.0.2) by Mesharsky
rodopoulos 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 13:21.


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