ULX

Author Topic: ERS - EMail Reporting System  (Read 31360 times)

0 Members and 5 Guests are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ERS - EMail Reporting System
« Reply #45 on: August 23, 2014, 03:56:03 PM »
What was the point of that Neku? I appreciate you citing a reference, but a little context might be nice.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: ERS - EMail Reporting System
« Reply #46 on: August 24, 2014, 12:28:19 AM »
What was the point of that Neku? I appreciate you citing a reference, but a little context might be nice.

I skimmed the web side of this release and found that it is using a static negative integer to check the CRC.
Perhaps the reason it doesn't work for some people is because they're running a 64bit installation.
Like it says on the quote, it is a positive integer on 64bit installations.
« Last Edit: August 24, 2014, 01:20:49 PM by Neku »
Out of the Garry's Mod business.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ERS - EMail Reporting System
« Reply #47 on: August 24, 2014, 12:42:35 PM »
Ahh, this is possible. I use 32bit on my server for module compatibility reasons.

I can either try and remove that hash check alltogether or include another file that lets the owner of the script see what the value is ahead of time and modify the config accordingly.
Thanks for the info.

Offline kulcris

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #48 on: September 04, 2014, 11:43:33 AM »
Any luck on getting this to work on 64bit systems? i have a 64 bit system but its not working even without the check

Offline Fanney

  • Newbie
  • *
  • Posts: 44
  • Karma: 11
Re: ERS - EMail Reporting System
« Reply #49 on: September 21, 2014, 01:27:45 AM »
Ahh, this is possible. I use 32bit on my server for module compatibility reasons.

I can either try and remove that hash check alltogether or include another file that lets the owner of the script see what the value is ahead of time and modify the config accordingly.
Thanks for the info.

Or you could just allow the first ip that accesses it to send it, i've used it for my system and it's a automatic process client's should not access it the first time but the server should.

Theres a lil' snippet if you want todo it like that:
Code: [Select]
$hd = fopen("allowed.txt", "rw");
$txt = fread($hd, 20);
if ( empty($txt) ) {
fwrite($hd, $ip);
} else {
if ( $txt != $ip ) {
                fclose($hd);
die('No access');
}
}
fclose($hd);
« Last Edit: September 21, 2014, 01:30:51 AM by Fanney »

Offline DarKevin

  • Newbie
  • *
  • Posts: 23
  • Karma: 1
  • sup
Re: ERS - EMail Reporting System
« Reply #50 on: October 17, 2014, 06:13:30 AM »
Hi, haven't checked back for a while. And yes, I can confirm that I use a 64 bit OS!
So I was probably affected by the same issue. At least we (hopefully) know what's wrong now, right?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ERS - EMail Reporting System
« Reply #51 on: October 17, 2014, 07:54:18 PM »
Updated to 1.3
Sorry it took me so long to get to this, it just wasn't really at the top of my priority list.

I hopefully fixed the issue with people who correctly installed it still not having it work properly. This was due to a CRC32 issue reporting different values across different bit versions of php.
Someone please let me know if this fixes the issue for you if you were having it before.

NOTE: If you're updating from a previous version, you only need to replace the report.php file on your web server. I didn't make any significant changes to the lua files.

Offline fortyeightthousand

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #52 on: November 08, 2014, 12:01:52 PM »
Does this work now?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ERS - EMail Reporting System
« Reply #53 on: November 08, 2014, 05:31:29 PM »
No one has said yes or no otherwise.
It has always worked for me.

I'm hoping that the latest change will make it work for other people, but I haven't heard anything yet.

Offline fortyeightthousand

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #54 on: November 08, 2014, 05:50:52 PM »
I'll test it out again and let you know.  Stay tuned.

Offline kulcris

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #55 on: December 12, 2014, 10:38:23 AM »
i should be able to let you know tonight.

Offline kulcris

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #56 on: December 12, 2014, 11:42:14 AM »
ok im not sure why it is not working for me. the addon says "sent successful" but the mail is never sent.

Offline Moka

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #57 on: December 19, 2014, 07:15:51 PM »
(Lul)

Script works but it seems that the onFail part seems to run but the mail still gets sent. Not really annoying because I just delete the line. :P
« Last Edit: December 19, 2014, 08:12:22 PM by Moka »

Offline kulcris

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #58 on: December 23, 2014, 10:10:24 AM »
anyone running this on ubuntu 64bit and if so what email system do you use.

Offline Zoom95

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ERS - EMail Reporting System
« Reply #59 on: January 04, 2015, 06:29:57 PM »
Thank you.