Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: eagle9er9er on August 04, 2013, 02:59:59 PM
-
Bans aren't banning properly, a Super Admin on my server banned someone for 2 days, but it says they were banned on May 25th, 2013, and unbanned May 27th. I don't undertsand.
EDIT: [ERROR] addons/ulx/lua/ulx/xgui/bans.lua:273: attempt to perform arithmetic on global 'calctime' (a nil value)
1. DoClick - addons/ulx/lua/ulx/xgui/bans.lua:273
2. unknown - lua/vgui/dlabel.lua:206
Also this. I need help ASAP
-
This means that your server's date and time are off. I think that error may be due to a recent change in GitHub, so I'll forward it to Stickly Man (the writer of XGUI).
-
Okay thanks. Please let me know when it is fixed.
-
Can someone please help me out, I'm bumping this because my bans are all set to unban 2 months ago. Any help?
Edit: These are bans that have been made this week. The unban dates are in June? This is becoming a serious problem.
http://steamcommunity.com/sharedfiles/filedetails/?id=169269616
-
This means that your server's date and time are off.
I don't know how to be any clearer than this. This is a problem on your end, not ours.
-
I don't know how to be any clearer than this. This is a problem on your end, not ours.
How would you fix this though? I just don't really understand how this happens for no reason.
-
http://bit.ly/13WZYfB I do this a bit tongue in cheek, but I really don't think this is a question you should be asking us.
-
My system time is exactly what it should be. Still no fix.
-
This means that your server's date and time are off.
-
*sigh* clearly you're just going to repeat the 'problem' without actually helping figure out a solution. I don't know where this server time configuration is, I have never in my life heard of that. I googled it and that was no help. First you say it's server time, then it's my systems time, now you're saying its my server time again.
Maybe facepunch will give a better solution.
-
Allow me! I have plenty of experience illustrating things to people in the Army.
**Server Time and System Time are the same.. thing..**
::) ::) ::) ::) ::)
(https://dl.dropboxusercontent.com/u/5982978/ForumLinks/rdp1.png)
(https://dl.dropboxusercontent.com/u/5982978/ForumLinks/rdp2.png)
(https://dl.dropboxusercontent.com/u/5982978/ForumLinks/rdp3.png)
(https://dl.dropboxusercontent.com/u/5982978/ForumLinks/rdp4.png)
If you do not have access to your physical server (because you have your server hosted for you by some crappy company) then you'll need to contact them about correcting the server's Date and Time.
-
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.
-
Oh great MrPresident.
You'll make him mad at us (even more) when he runs that command tomorrow or any other time in the future.
-
Oh great MrPresident.
You'll make him mad at us (even more) when he runs that command tomorrow or any other time in the future.
I needed a good laugh, and what other place to come than the ULX forums.
(http://cdn.steamcommunity.com/economy/emoticon/p2blue) ...I just hope the facepunch forums helped him, as you've him Mr.President... (http://cdn.steamcommunity.com/economy/emoticon/p2orange)
-
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.
-
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
-
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.
-
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?
-
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.
-
JamminR did a little mistake, they're in -server-\data\ulib\bans.txt.
-
Got it, http://pastebin.com/pfXXYZUB
-
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).
"unban" "1376692494"
"time" "1376092494"
"name" "kleo1234"
That time = Fri, 16 Aug 2013 22:34:54 GMT according to Epochconverter.com
"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.
-
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.
-
Is there any, even temp, fix for this?
-
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.
-
Now it works just fine, thanks!