ULX

Author Topic: Bans have weird dates.  (Read 7671 times)

0 Members and 1 Guest are viewing this topic.

Offline Organik

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
    • Artifice Gaming Network
Re: Bans have weird dates.
« Reply #15 on: August 15, 2013, 01:40:08 AM »
Also, just to be sure that we're not putting our foot in our mouth here...

from your SERVER's Console RCON run this command and post exactly what it outputs.


lua_run print(tostring(os.date("%y/%m/%d")))

If it's anything other than 13/08/13 then we have a problem.

I have this issue as well. I ran your command in my servers console and it outputs the date correctly.

13/08/15

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Bans have weird dates.
« Reply #16 on: August 15, 2013, 02:28:02 AM »
I actually laughed out loud a bit when he said he was going to FP to post the question.
Didn't say anything of it...figure why fuel a growing fire of misunderstanding rage.

Hope he posts what the results of what his servers date is.
It's now an unfinished mystery with a long reach to the 'ah HA!' moment.

Indeed.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans have weird dates.
« Reply #17 on: August 15, 2013, 02:16:00 PM »
Organik, attach your <gmod server>\data\ulx\bans.txt file pleaee?
Additionally, are you using the SVN version of both ULib and ULX, as obtained from our Github repository?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Organik

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
    • Artifice Gaming Network
Re: Bans have weird dates.
« Reply #18 on: August 15, 2013, 04:08:09 PM »
Organik, attach your <gmod server>\data\ulx\bans.txt file pleaee?
Additionally, are you using the SVN version of both ULib and ULX, as obtained from our Github repository?

Hmm, it doesn't seem I have a <server>\data\ulx\bans.txt file. I am using the SVN versions.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Bans have weird dates.
« Reply #19 on: August 15, 2013, 06:11:20 PM »
JamminR did a little mistake, they're in -server-\data\ulib\bans.txt.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Organik

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
    • Artifice Gaming Network
Re: Bans have weird dates.
« Reply #20 on: August 15, 2013, 06:20:58 PM »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans have weird dates.
« Reply #21 on: August 15, 2013, 07:29:09 PM »
Just so we have this straight...which users from your ban file were banned in the past few days, but, are XGUI is stating they were banned (and ban expiry) few months past?
And, are you getting the same 'calctime' error as the original poster listed?
The only 'oddity' I see are the last two bans of your file, which state ban time and expiration time are both one and same (individually).
Code: [Select]
        "unban" "1376692494"
        "time"  "1376092494"
        "name"  "kleo1234"
That time = Fri, 16 Aug 2013 22:34:54 GMT according to Epochconverter.com
Code: [Select]
        "unban" "1378259843"
        "time"  "1375667843"
        "name"  "Hank Hill"
That time = Mon, 05 Aug 2013 01:57:23 GMT according to epochconverter.com

I've not loaded in Gmod, but wanted to know bit more detail first.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Bans have weird dates.
« Reply #22 on: August 20, 2013, 08:16:21 AM »
The 'calctime' error is a known bug due to me forgetting to change out some code before committing last, I should have time to fix that later tonight. I don't think it's related to this ban time issue, but I will double check it myself as well.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Colek

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Bans have weird dates.
« Reply #23 on: August 24, 2013, 11:27:25 AM »
Is there any, even temp, fix for this?

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Bans have weird dates.
« Reply #24 on: August 24, 2013, 01:06:11 PM »
I just pushed a fix for the initial ban editing bug (the calctime error). I also fixed a few other ban-related bugs in the process, but I'm not sure if it fixes what you guys are having issues with.

In my testing, I did not experience any problems with the ban dates/times. I am running a dedicated server that's on the same computer, ergo same timezone. I'd be willing to look into this more if time allows. So if someone wants me to, I can post a set of instructions to gather some specific information from you that may help me diagnose the problem.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Colek

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Bans have weird dates.
« Reply #25 on: August 25, 2013, 05:22:59 AM »
Now it works just fine, thanks!