This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[ANY] Player Report


Post New Thread Reply   
 
Thread Tools Display Modes
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 08-30-2012 , 03:34   Re: [ANY] Player Report 1.0
Reply With Quote #11

You could use sql and php to fire off emails, but i imagine admins might get pissy if they receive an email every-single-time a report comes through.
__________________
Skyy is offline
pvkii
Member
Join Date: Apr 2012
Old 09-08-2012 , 10:36   Re: [ANY] Player Report 1.0
Reply With Quote #12

This doesnt work for me, seems that only admins can say !report. The menu does not show up for normal players. What is the problem?
pvkii is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 09-09-2012 , 10:26   Re: [ANY] Player Report 1.0
Reply With Quote #13

/report not !report
__________________
cool_myll is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 09-09-2012 , 10:59   Re: [ANY] Player Report 1.0
Reply With Quote #14

I changed the reasons in the txt but it still contains the defaults.
__________________
cool_myll is offline
ktm
Member
Join Date: Aug 2012
Old 09-09-2012 , 14:35   Re: [ANY] Player Report 1.0
Reply With Quote #15

cool plugin. Thanks man for making this.
ktm is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 09-10-2012 , 01:17   Re: [ANY] Player Report 1.0
Reply With Quote #16

Good idea, but this plugin only partially working.

- The "sm_report" command in the console works, but the "!report" and the "/report" command in the chat window not. Game: CSS
- The playerreport_logs.txt spawned in the wrong folder. Now i see that in the .../addons/sourcemod/configs folder. Why not in the .../addons/sourcemod/logs folder?

* Edit.
The playerreport_logs.txt thing solved.
replace this:
Code:
BuildPath(Path_SM, configFile, sizeof(configFile), "configs/playerreport_logs.txt");
with this
Code:
BuildPath(Path_SM, configFile, sizeof(configFile), "logs/playerreport_logs.txt");
* You can repair the commands in the chat?
* Translation support?
* New log file starting on all new day? Date in the log file name?

Last edited by pubhero; 09-10-2012 at 01:55.
pubhero is offline
pvkii
Member
Join Date: Apr 2012
Old 09-10-2012 , 07:51   Re: [ANY] Player Report 1.0
Reply With Quote #17

Quote:
Originally Posted by cool_myll View Post
/report not !report
Both of these commands only work when I have admin access. When being a normal client, no menu shows up, it does not matter if I type !report or /report or sm_report in console. Nothing happens. Game : Pirates, Vikings and Knigths 2

Last edited by pvkii; 09-10-2012 at 07:52.
pvkii is offline
irogue
Senior Member
Join Date: Jan 2011
Location: Australia
Old 09-11-2012 , 00:03   Re: [ANY] Player Report 1.0
Reply With Quote #18

Quote:
Originally Posted by pvkii View Post
Both of these commands only work when I have admin access. When being a normal client, no menu shows up, it does not matter if I type !report or /report or sm_report in console. Nothing happens. Game : Pirates, Vikings and Knigths 2
Did you try adding the variable to admin_overrides.cfg in sourcemods cfg folder?

For example:

Code:
Overrides
{
    /**
     * By default, commands are registered with three pieces of information:
     * 1)Command Name         (for example, "csdm_enable")
     * 2)Command Group Name    (for example, "CSDM")
     * 3)Command Level        (for example, "changemap")
     *
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
     *
     * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
     * any setting that csdm_enable previously had.
     *
     * You can make a command completely public by using an empty flag string.
     */
         "report"    ""
         "sm_report"    ""
}
That would allow any client to access the said cmd, if it is otherwise restricted by access lvls / admin flags.
irogue is offline
pvkii
Member
Join Date: Apr 2012
Old 09-11-2012 , 04:55   Re: [ANY] Player Report 1.0
Reply With Quote #19

That's a good idea, didn't try it before. Unfortunately it does not change anything.

The plugin is loaded without errors, when I try to report someone after I connected, it says I have to wait 20 seconds. But after these 20 seconds nothing happens, no matter what command I enter in chat or in console, no menu shows up. Only when I am admin it does. The overrides didn't help. So I guess something must be wrong in that plugin.
pvkii is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 09-11-2012 , 05:58   Re: [ANY] Player Report 1.0
Reply With Quote #20

Quote:
Originally Posted by pvkii View Post
That's a good idea, didn't try it before. Unfortunately it does not change anything.

The plugin is loaded without errors, when I try to report someone after I connected, it says I have to wait 20 seconds. But after these 20 seconds nothing happens, no matter what command I enter in chat or in console, no menu shows up. Only when I am admin it does. The overrides didn't help. So I guess something must be wrong in that plugin.
Did you forget the .txt? This works for me.
Visual77 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:46.


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