Ulysses

Ulysses Stuff => Releases => Topic started by: Fanney on July 04, 2014, 07:33:28 AM

Title: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 04, 2014, 07:33:28 AM
Simple Reports
A way for players to communicate or report players to admins.

Hello, again im here with a little addon i made for my server.
Since I thought it would be a nice addition for other Servers I did it in mind for being public.

It's just a Simple, really simple GUI that allows everyone to Report a Player or write a custom message to online administraitors with the "srp_access" Flag.

But without any further talking here are some screenies:

ULX:
(http://i.san-mp.de/./up/kQdWS7882.png)

!report Menu:
(http://i.san-mp.de/./up/b3rHva1131.png)

!report Menu (Custom Message)
(http://i.san-mp.de/./up/STRsHN910.png)

!openreports (admin overview)
(http://i.san-mp.de/./up/7wAbmp875.png)

Installation:
Download, and just put the "simplereports" Folder in your Server's addons folder.

Configuration:
The config is kept simple, you can add reasons for the "send message to admins tab" or delete them by just going into simplereports\lua\autorun\ss_srp_config.lua.
And editing the PREDEF_REASONS Table, keep in mind every entrie needs a comma and the last one doenst.

You can also customize your language, just edit the lang = "EN" to lang = "yourlang" and duplicate the LOCAL_TEXT["EN"] and rename it to LOCAL_TEXT["yourlang"] and rename the strings.

Download
Github (newest Version) (https://github.com/myudev/gmod_addons/archive/simplereports.zip)
Github Page (for contributions) (https://github.com/myudev/gmod_addons/tree/simplereports)
(MODERATORS: If you dont mind ill not put a attachment on as github has the newest version and probably never goes down... but if you want it just msg me)

as english is not my native language there are some typo's but you can correct them in the config ;')
Also if someone want's to correct my english just make a pull request on github or send me an fixed table.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Sgt.Blue on July 04, 2014, 10:42:08 AM
I've found a bug; reports are stated as being issued by the reported instead of the reporter in both chat and the reportlist.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 04, 2014, 03:42:19 PM
I've found a bug; reports are stated as being issued by the reported instead of the reporter in both chat and the reportlist.
Thanks, I fixed it in the last Version also i fixed some typos.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Snell on July 04, 2014, 05:45:22 PM
This actually looks quite promising, I'll test it and if I like it I'll add it to my server :3.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Sgt.Blue on July 05, 2014, 01:53:58 AM
Could you also possibly remove the notification sound and instead use one of the sounds fro HL2 perhaps? For people to hear the included sound it would require the sound to be downloaded to their clients, which would be wasteful compared to using a suitable sound from Hl2.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 05, 2014, 08:35:39 AM
Could you also possibly remove the notification sound and instead use one of the sounds fro HL2 perhaps? For people to hear the included sound it would require the sound to be downloaded to their clients, which would be wasteful compared to using a suitable sound from Hl2.
well, the majority of hl2 sounds are broken for me (should reinstall these things) do you have any suitable one?
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 07, 2014, 02:41:23 PM
I update the Plugin and added Sgt.Blue's suggestion.
Heres a small list:

- Removed the need for a sound download (used HL2 one).
- Added Cooldown
- Added Notification Message
- Added Quick Actions Menu to the Admin Panel (this allows your to currently bring or goto to players that are either reported or the one who reported.)

Just redownload it at the Start topic!
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Storm on July 07, 2014, 04:19:16 PM
The problem is for 24/7 servers when staff isnt on the server.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 08, 2014, 09:15:07 AM
The problem is for 24/7 servers when staff isnt on the server.
I am working to get a C# implementation done.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Storm on July 08, 2014, 10:06:49 AM
Well I'm interested!
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Neoon on July 14, 2014, 06:59:38 AM
Report successfully sent, please wait for an Answer or an admin action!
[SRP:] Neo wrote an Report against Kartata_Fisch type !reports to open them.
Neo: !openreports

[ERROR] addons/simplereports/lua/autorun/client/cs_srp.lua:124: attempt to concatenate a nil value
  1. func - addons/simplereports/lua/autorun/client/cs_srp.lua:124
   2. unknown - lua/includes/modules/net.lua:32

Please fix that.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 14, 2014, 08:38:36 AM
Report successfully sent, please wait for an Answer or an admin action!
[SRP:] Neo wrote an Report against Kartata_Fisch type !reports to open them.
Neo: !openreports

[ERROR] addons/simplereports/lua/autorun/client/cs_srp.lua:124: attempt to concatenate a nil value
  1. func - addons/simplereports/lua/autorun/client/cs_srp.lua:124
   2. unknown - lua/includes/modules/net.lua:32

Please fix that.

Should be fixed just redownload.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Neoon on July 15, 2014, 10:25:51 AM
Arwwww  :D Yes fixed thanks but could you save the names/SteamID with it?
(http://cdn.ikarusbasis.info/dl/screenshots/ulx_reports.jpg)
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Storm on July 16, 2014, 08:46:19 PM
Just wondering if players can use this when an admin isn't on the server and if it saves the reports to a .txt file?
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 21, 2014, 02:01:18 AM
Just wondering if players can use this when an admin isn't on the server and if it saves the reports to a .txt file?
well, they can use it - but it won't be saved trough the next map.
With the Program it saves it in a Database until it get's read but im not finished, even if it can fetch reports i need todo some lil polishing.
(http://i.san-mp.de/i/BE92A9.jpg)
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: UnderYouFive on July 23, 2014, 05:48:38 AM
Hi I'm gettting this message in my console is there anyway to fix this?

Unknown command: srp_report
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on July 23, 2014, 06:05:44 AM
Hi I'm gettting this message in my console is there anyway to fix this?

Unknown command: srp_report
It's not registering the console command (why ever it does) do you get any Console error?
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: UnderYouFive on July 23, 2014, 07:19:17 PM
No, no console errors.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: UnderYouFive on August 06, 2014, 04:38:22 AM
I fixed it, It was my fault haha. We are good now. Thanks!
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: raklatif on August 09, 2014, 07:16:58 AM
the report menu for admins is not visible. (I have added the premission to my admingroups but it doesnt show up)

the function sn_SendMsg is missing.

(http://i.imgur.com/XftXzO7.png)
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Fanney on August 09, 2014, 10:04:31 AM
the report menu for admins is not visible. (I have added the premission to my admingroups but it doesnt show up)

the function sn_SendMsg is missing.

(http://i.imgur.com/XftXzO7.png)
Function got re-added, but the error occurs maybe because your Group doesn't have the srp_access flag.
Title: Re: Simple Reports - A way for players to communicate or report players to admins.
Post by: Appledevdude . on March 21, 2015, 09:38:39 AM
The reporting part works, but if i give access to open reports, it doesn't work, say insufficient permissions