Author Topic: BANLIST.txt format[Solved]  (Read 2200 times)

So I'm attempting to write to the BANLIST in config/server/
The format when using the ban on RTB looks like:

Code: [Select]
BannerName BannerID BannedName BannedID BannedIP 12 406027

What in the world is 12 and the 406027?
I've also noticed a lack of the time?

This is messing with my mind so much...
« Last Edit: October 07, 2012, 12:34:59 AM by ¥ola »

pretty sure that's what those are

if you're trying to ban somebody try banBLID(%target, %time, %reason);

pretty sure that's what those are

if you're trying to ban somebody try banBLID(%target, %time, %reason);
I don't.
What?

I understand how to ban someone, I want to know the full format of the BANLIST.txt
as in when I write to it.

The 12 and 406027 are what I don't understand the purpose/use of
And I don't know where the time fits in

i think time is that unix time that started on january first 1970

the 40#### one


or something

i think time is that unix time that started on january first 1970

the 40#### one


or something
any idea what the 12 is?

i think time is that unix time that started on january first 1970

the 40#### one


or something
it's not.
if it were, it would be according to multiple converters: Mon, 05 Jan 1970 16:47:07 GMT

it's not.
if it were, it would be according to multiple converters: Mon, 05 Jan 1970 16:47:07 GMT
it may actually be Unix, because unix is the conversion of a date and time to a single integer, which that is.

My issue would be converting it would be a bitch

The 12 is probably the year.

Like, '09, '10, '11, '12, etc.

I'm pretty sure the number after that has to be some method of discerning the date and time, but I'm not sure how.

The 12 is probably the year.

Like, '09, '10, '11, '12, etc.

I'm pretty sure the number after that has to be some method of discerning the date and time, but I'm not sure how.

Well it's definitely a SET time, as in it's not telling how long you have until they're unbanned, but what TIME they are.

This hurts my brain

Well it's definitely a SET time, as in it's not telling how long you have until they're unbanned, but what TIME they are.

This hurts my brain
Well, I'm not really sure, but there may be a value after that that tells how many minutes long the ban is, and if it's NOT there, it's permanent.

Well, I'm not really sure, but there may be a value after that that tells how many minutes long the ban is, and if it's NOT there, it's permanent.
I've cracked it.

Badspot did it based on the amount of time AFTER Unix was created.

Thus meaning when you ban a person for 5 days it sets the end of the BANLIST line to a UNIX code 5 days after Thursday January 5th 1970

Thanks guys for the help

I've cracked it.

Badspot did it based on the amount of time AFTER Unix was created.

Thus meaning when you ban a person for 5 days it sets the end of the BANLIST line to a UNIX code 5 days after Thursday January 5th 1970

Thanks guys for the help
that doesn't make any sense :(

relative to what?

that doesn't make any sense :(

relative to what?

I completely ballsed that explanation up

okay,
Say you ban Fred for 5 days
It will set the ending BANLIST.txt line number to a UNIX timecode
That timecode is the equivalent of 5 days after 1 January 1970, which would be January 5 1970, and some

Also known as
345600

Get it?
And when it reaches that time, Fred is unbanned and can return

EDIT;
Here's another thing
Go to http://www.onlineconversion.com/unix_time.htm
and input the 406027 than is in the OP
It will return the date 5 days (and some time) after January 1st 1970
I made that ban for 5 days (and some time)
« Last Edit: October 06, 2012, 11:35:12 PM by ¥ola »

I completely ballsed that explanation up

okay,
Say you ban Fred for 5 days
It will set the ending BANLIST.txt line number to a UNIX timecode
That timecode is the equivalent of 5 days after 1 January 1970, which would be January 5 1970, and some

Also known as
345600

Get it?
And when it reaches that time, Fred is unbanned and can return
no idea how that works though

that's an amount of time for ban duration, where does it mention when they were banned?

I completely ballsed that explanation up

okay,
Say you ban Fred for 5 days
It will set the ending BANLIST.txt line number to a UNIX timecode
That timecode is the equivalent of 5 days after 1 January 1970, which would be January 5 1970, and some

Also known as
345600

Get it?
And when it reaches that time, Fred is unbanned and can return

EDIT;
Here's another thing
Go to http://www.onlineconversion.com/unix_time.htm
and input the 406027 than is in the OP
It will return the date 5 days (and some time) after January 1st 1970
I made that ban for 5 days (and some time)
i understood what you meant perfectly then

except that could be five days starting at any time

what time does it start?