<<Prev
Next>>
Scroll to Bottom
Stuff goes here
L1[01:06:37] <PCL-Minecraft> Shuudoushi left
the game.
L2[03:29:42] ⇦
Quits: PCL-Minecraft (~PCL-1_7@2607:5300:60:51da::dead:beef)
()
L3[03:31:50] ⇨
Joins: PCL-Minecraft
(~PCL-1_7@2607:5300:60:51da::dead:beef)
L4[05:00:07] ⇦
Quits: PCL-Minecraft (~PCL-1_7@2607:5300:60:51da::dead:beef) (Quit:
[PCL-1_7] Good bye!)
L5[05:02:15] ⇨
Joins: PCL-Minecraft
(~PCL-1_7@2607:5300:60:51da::dead:beef)
L6[06:02:58] ⇦
Quits: PCL-Minecraft (~PCL-1_7@2607:5300:60:51da::dead:beef)
()
L7[06:05:08] ⇨
Joins: PCL-Minecraft
(~PCL-1_7@2607:5300:60:51da::dead:beef)
L8[15:44:51] ⇨
Joins: Caitlyn (Katie@eos.pc-logix.com)
L9[15:44:53] Spock
sets mode: +v on Caitlyn
L10[15:44:53] *** Server sets mode: +nt
L11[15:44:53] *** Server sets mode: +nt
L12[15:45:08]
Spock sets mode: +o on Caitlyn
L13[15:45:54] ⇨
Joins: Shuudoushi
(Shuudoushi@2607:5300:60:51da::c0f:fee)
L14[15:54:54] ⇨
Joins: PCL-Minecraft
(~PCL-1_7@2607:5300:60:51da::dead:beef)
L15[16:04:11] ***
Shuudoushi is now known as Shuudoushi|Away
L16[20:11:56] ***
Shuudoushi|Away is now known as Shuudoushi
L17[20:12:47] ***
Shuudoushi is now known as Shuudoushi|Away
L18[20:13:25] ***
Shuudoushi|Away is now known as Shuudoushi
L19[20:55:23] <PCL-Minecraft> Shuudoushi
joined the game.
L20[21:42:41] <Caitlyn> ¬_¬
L22[21:43:04] <Caitlyn> Oh wait it
does...
L23[21:43:09] <Caitlyn> and it's in that
crash report.
L24[21:43:14] <Caitlyn> and OC's API is
loaded by OC.
L25[21:43:17] <Caitlyn> only.
L26[21:43:42] <Caitlyn> So which god damn
mod is using an old driver?
L27[21:45:08] <Caitlyn> this BS is why I
hate minecraft modding.
L28[21:46:42] <Caitlyn> Well, at least I
know it's not OS.
L29[21:46:50] <Shuudoushi> lol
L30[21:47:16] <Shuudoushi> don't feel too
bad, I'm still having issues as well, but I'm rather sure it's a
bug in auth.lua
L31[21:47:33] *
Shuudoushi slaps SuPeRMiNoR2 with a rusty squid.
L32[21:47:48] <Shuudoushi> and that fucker
still hasn't gotten back to me on it either -_-
L34[21:51:45] <Shuudoushi> I 100000%% have
no fucking clue why it's de hashing the password for the logged in
user and printing it...
L35[21:52:03] <Shuudoushi> or why it always
says that it has 2 args or 0 args...
L36[21:59:26] <Shuudoushi> Caitlyn: I can't
seem to find that example code you tossed together the other
day...
L37[21:59:56] <Caitlyn> shocker.
L38[22:00:00] <Caitlyn> what code exactly?
:P
L39[22:00:21] <PCL-Minecraft>
<Shuudoushi> for my adduser program and adding user with
args
L40[22:00:27] *
gamax92 hits Shuudoushi
L41[22:00:33] <gamax92> "args[1] =
username"
L42[22:00:38] <gamax92> "username =
nil"
L43[22:00:39] <gamax92> gg
L45[22:01:33] <Shuudoushi> also didn't
work
L46[22:02:10] <Caitlyn> ¬_¬
L47[22:03:00] <Shuudoushi> ...
L48[22:03:08] <Shuudoushi> what?
L49[22:03:15] <Shuudoushi> did I still do
something wrong x.x
L50[22:03:32] <Caitlyn> local args =
{...}
L51[22:03:32] <Caitlyn> args[1] =
username
L52[22:03:32] <Caitlyn> args[2] =
password
L53[22:03:32] <Caitlyn> args[3] = su
L54[22:03:58] <Shuudoushi> ... from what I
remember from your example code, that's how you had it!
L55[22:04:08] <Caitlyn> that would set
args1,2,3 to username,password,su I'm pretty sure you want to set
username,password,su to args[1],[2],[3].. right?
L56[22:04:16] <gamax92> you always override
your first three arguments, "#args >= 3" and
"#args == 3" overlap,
L57[22:04:41] <Shuudoushi> that was a >=
2 yesterday...
L58[22:04:49] <Shuudoushi> I must have
fucked something up x.x
L60[22:04:52] <gamax92> that would still
overlap
L61[22:04:53] <Shuudoushi> and yes
Caitlyn
L62[22:05:20] <Shuudoushi> isn't > less
than?
L63[22:05:31] <Caitlyn> 2 > 1
L64[22:05:50] <Shuudoushi> well
then...
L65[22:06:06] <Shuudoushi> derp..
L67[22:06:11] *
gamax92 takes the alcohol away from Shuudoushi
L68[22:06:23] <Shuudoushi> I've used this
shit before in root.lua...
L69[22:06:45] *
Shuudoushi sighs.
L70[22:06:50] <Shuudoushi> time for food,
brb
L71[22:07:03] <Caitlyn> ¬_¬ I'm listening
to the Spice Girls....
L72[22:07:04] <Caitlyn> IDK why
L73[22:07:06] <Caitlyn> but yeah
L74[22:12:59] <Shuudoushi> the fuck is the
matter with you...
L75[22:13:38] <Caitlyn> I watched the Spice
Girls movie so many times when I was a kid I could almost recite
the lines.... :/
L76[22:13:53] <Caitlyn> Not quiet as well
as the entire Star Wars saga though.
L77[22:14:32] <Shuudoushi> lulz
L79[22:21:15] <Shuudoushi> my fucking
update program wasn't this much of a pain in the ass... But then
again, it also didn't have a UI element to it either...
L80[22:21:30] <gamax92> Shuudoushi: just
change >= into <, please.
L81[22:21:56] <Shuudoushi> HOW THE FUCK
DOES THAT KEEP HAPPENING?!
L82[22:22:30] <Shuudoushi> still skips to
the UI
L84[22:24:24] <Caitlyn> Stripped out the
auth library stuff since I don't have it
L85[22:24:25] <Caitlyn> works fine.
L87[22:25:08] <Caitlyn> pastbin
sCdw4sjj
L89[22:25:36] <Shuudoushi> o.O
L90[22:26:33] <Caitlyn> if #args < 3
then works fine, as you can see
L92[22:28:00] <Caitlyn> su is nil.. so
idfk
L93[22:28:04] <Caitlyn> pastebin auth
L95[22:29:21] <gamax92> Shuudoushi: because
su is a string, and so sub never gets set
L96[22:29:25] <Shuudoushi> I don't really
fuck with the libs too much, so the versions you find on github are
almost always up-to-date with what I have locally
L97[22:29:31] <gamax92> arguments are
always strings
L98[22:30:20] <Shuudoushi> so how do I fix
it>
L99[22:30:43] <gamax92> something like: su
= args[3] == "true"
L101[22:31:25] <Caitlyn> the line it's
erroring on is saving the users file
L103[22:31:57] <Shuudoushi> the updater
can grab from a default tree in the config, or a user defined, and
you can set it to always pull from the tree
L104[22:32:01] <Caitlyn> the issue is that
su is nil.
L105[22:32:40] <gamax92> Caitlyn: was that
to me, because no
L106[22:32:59] <Caitlyn> gamax92, how do
you figure?
L107[22:33:17] <Shuudoushi> s/the tree/the
tree you define
L109[22:33:58] <gamax92> arguments are
always strings, so 'su = args[3]', su has a string, su (string)
gets passes to addUser, and compared specifically against true and
false
L110[22:33:59] <Caitlyn> now look at 44
-> 52
L111[22:34:21] <gamax92> string ~= true,
and string ~= false, so sub never gets set, so when it's stored
into the table, su in the table is nil,
L112[22:34:49] <gamax92> also i just
though about it, even if su in the table wasn't nil, concating a
string and a boolean doesn't work
L113[22:35:34] <Caitlyn> I thought
ANYTHING other than false/0 was true..?
L114[22:36:01] <gamax92> "false"
== true -> false, "false" == false -> false
L115[22:36:34] <Shuudoushi> ...
L116[22:36:46] <Shuudoushi> my brain has
just exploded...
L117[22:36:54] <gamax92> Caitlyn: also 0
(numbers) would be true, its nil/false
L118[22:37:42] <Shuudoushi> I'll just make
it so you can only add normal users through command line and admins
through the UI
L119[22:37:51] <Caitlyn> Rather then fix
the issue?
L120[22:38:04] <Shuudoushi> that will also
let me more easily control who can make admin accounts
L121[22:38:07] <Caitlyn> su = args[3] ==
"true" would fix it.
L122[22:38:27] <gamax92> it fixes half of
it, you also need to do: buff = buff .. u .. ":" ..
d["password"].. ":" ..
tostring(d["su"]) .. "\n"
L123[22:38:36] <Caitlyn> ^
L124[22:38:40] <gamax92> specifically the
tostring part
L125[22:39:10] <Shuudoushi> I'll just do
it the hack way so I can also easily control who can make admin
accounts
L126[22:39:51] <Shuudoushi> afk a
min
L127[22:39:54] <Shuudoushi> time for a
smoke
L128[22:41:15] <gamax92> mmmm, mango
slices
L129[22:55:23] <Shuudoushi> wait, can't I
just do 'if args[3] == "true" then su = true elseif
args[3] == "false" then so = false' and that fix the
problem as well?
L130[22:56:07] <gamax92> and if args[3] is
neither true or false, then su is nil
L131[22:56:58] <Shuudoushi> then add an
extra elseif args[3] == nil then su = false
L132[22:57:13] <Shuudoushi> problem still
solved without having to rewrite a bunch of shit
L133[22:57:48] <gamax92> Shuudoushi: btw,
all of what you said, is functionally equivalent to what Caitlyn
said: su = args[3] == "true"
L134[22:58:29] <Shuudoushi> but that would
give any new user added through command line admin rights
L135[22:59:16] <gamax92> "true"
== "true" -> true, "false" ==
"true" -> false, "bananas" ==
"true" -> false, nil == "true" ->
false
L136[22:59:51] <gamax92> i fail to see how
your code would not provide the same possibility of admin
access
L137[23:00:04] <gamax92> besides more
cases for errors
L138[23:01:41] <Shuudoushi> how?
L139[23:02:17] <gamax92> you check
specifically for "true", "false", and nil, what
if its neither of those, such as "bananas", in that case
su wouldn't be set
L141[23:03:57] <Shuudoushi> line 53 takes
care of that
L142[23:04:19] <gamax92> that works,
yes
L144[23:08:56] <gamax92> I'm going to go
work on OCEmu now, will not be looking at irc, infact it's closed,
bye
L145[23:10:04] <Shuudoushi> o/
L146[23:44:44] <PCL-Minecraft> Shuudoushi
left the game.