Ulysses

General => Developers Corner => Topic started by: MrPresident on June 29, 2014, 12:22:58 AM

Title: Report to E-Mail
Post by: MrPresident on June 29, 2014, 12:22:58 AM
Here is a little thing I worked on tonight. It's been an idea I've had for a while but some recent changes to gmod's http functions as well as a little free time made it come together.

Let me know if this is something that interests you guys and I can package it for use on other servers.

--------------------------------------------------------

The idea is that you can type !report (report in console) and it'll open a small GUI for sending automated reports to a predefined e-mail. (myself I have a distro that sends it to all my admins).
(https://dl.dropboxusercontent.com/u/5982978/report_module/gui.png)
(https://dl.dropboxusercontent.com/u/5982978/report_module/email.png)
Title: Re: Report to E-Mail
Post by: Cobalt on June 29, 2014, 01:06:31 AM
Did you send mail using http.post?
Title: Re: Report to E-Mail
Post by: Storm on June 29, 2014, 03:55:43 AM
I am interested!
Title: Re: Report to E-Mail
Post by: MrPresident on June 29, 2014, 12:35:33 PM
Yes Cobalt. Rather I sent information to a web script which sent email using php mail().
Title: Re: Report to E-Mail
Post by: Cobalt on June 29, 2014, 01:07:11 PM
Yes Cobalt. Rather I sent information to a web script which sent email using php mail().
Ah, alright.
Title: Re: Report to E-Mail
Post by: Neku on June 30, 2014, 01:10:10 AM
This is actually quite interesting. Please do release this.
Title: Re: Report to E-Mail
Post by: Digital Spit on June 30, 2014, 02:53:17 PM
You should make it take a screen shot too! That'd be amazing!
Title: Re: Report to E-Mail
Post by: Zmaster on June 30, 2014, 09:50:47 PM
This sounds great, you should definitely release it for other servers to use!
Title: Re: Report to E-Mail
Post by: MrPresident on July 01, 2014, 09:29:02 PM
There's nothing to release yet. That was just a tech demo showing capability.

Since it seems to be something you guys would use, I will work on polishing it up and adding features to it.
Title: Re: Report to E-Mail
Post by: S on July 02, 2014, 11:11:22 AM
This is really great! I was just thinking of something like this and thought I'd check out the forums. What would be really great is if you could remove the option of the player typing in text all together and instead replace it with a pre-configurable list.
Title: Re: Report to E-Mail
Post by: Neku on July 02, 2014, 01:02:22 PM
There's nothing to release yet. That was just a tech demo showing capability.

Since it seems to be something you guys would use, I will work on polishing it up and adding features to it.

I tried to recreate this and I have it functional, but it isn't as nice as the one being showed in your screenshots.
Title: Re: Report to E-Mail
Post by: Fanney on July 02, 2014, 06:30:06 PM
and with that more ideas arriving, it could be possible to add all ingame report's to some pool and having a desktop app that notifiys the admins P:
Title: Re: Report to E-Mail
Post by: Storm on July 05, 2014, 03:39:34 PM
I really like S's preconfigurable list idea. It will keep trolls from repeatedly sending profanity,etc to the email. Also, maybe a time/#msgs limit to keep players from spamming it.