Next>> Scroll to Bottom
Stuff goes here
L1[12:31:38] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
L2[12:32:57] <Forecaster> ?test
L3[12:32:58] <ForeBot> Forecaster:
Success
L4[12:33:03] <Michiyo> \o
L5[12:33:06] <Forecaster> ?pet Michiyo
L6[12:33:06] *
ForeBot pets Michiyo no health gained!
L7[12:33:14] <Forecaster> okay, same
issue
L8[12:33:14] <Michiyo> :(
L9[12:33:17] <Forecaster> so it is the
database
L10[12:34:11] <Forecaster> oh, hm
L11[12:34:28] <Forecaster> this might be
fixed by completing the switch to the new database stuff
L12[12:34:33] ⇦
Quits: ForeBot (ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
(Read error: Connection reset by peer)
L13[12:35:57] <Michiyo> lmao.... I made the
export link on irclogs... dump the MySQL table
L14[12:36:14] <Forecaster> what
L15[12:36:26] <Michiyo> I don't remember
why I did that.. maybe cause processing them out to plaintext was a
pain
L16[12:36:42] <Michiyo> yeah... click an
export link on irclogs.pc-logix.com
L17[12:36:48] <Michiyo> and you'll get a
.sql file..
L18[12:36:55] <Forecaster> :P
L19[12:37:23] <Forecaster> pretty sure you
can make sql dump out a csv file or something
L20[12:39:53] <Forecaster> why didn't I
document more of these methods...
L21[12:40:04] <Forecaster> I have no idea
what the int remoteItem returns is supposed to be...
L22[12:40:19] <Forecaster> oh, an
error
L23[12:52:55] <Michiyo> o_O
L24[13:07:54] <Forecaster> it's been so
long since I touched the inventory stuff xD'
L25[13:08:54] <Michiyo> lol
L26[13:11:13] <Forecaster> there's so many
methods...
L27[13:12:47] <Forecaster> this is gonna
take a while, I'm basically going to replace most things using
getPreparedStatement
L28[13:12:56] <Forecaster> most things that
use*
L29[13:17:36] <Forecaster> I hate those
damn result sets and the "getSomething(1)" calls
L30[13:40:16] <Forecaster> also going to
phase out the Item class since it's kind of redundant with
InventoryItem...
L31[13:40:39] <Forecaster> InventoryItem
only being named as such because "Item" was taken
L32[14:34:57] <Forecaster> actually, I'm
gonna convert Item into ItemHelper
L33[14:35:03] <Forecaster> it has so many
utlity methods in it
L34[14:35:23] <Michiyo> lol
L35[15:29:09] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
L36[15:29:17] <Forecaster> ?pet
Michiyo
L37[15:29:18] *
ForeBot pets Michiyo no health gained!
L38[15:29:22] <Forecaster> well shoot
L39[15:32:35] ⇦
Quits: ForeBot (ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
(Read error: Connection reset by peer)
L40[15:32:58] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
L41[15:33:05] <Forecaster> ?pet the
air
L42[15:33:25] ⇦
Quits: ForeBot (ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
(Read error: Connection reset by peer)
L43[15:33:43] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
L44[15:33:48] <Forecaster> ?pet the
air
L45[15:33:48] *
ForeBot pets the air. no health gained!
L46[15:34:52] <Forecaster> oh, it's the
GetRandomItems method, its returning null for some reason
L47[15:39:18] <Forecaster> oh
L48[15:39:23] <Forecaster> woops
L49[15:40:10] <Forecaster> apparently using
'false' to compare a boolean is not a working idea
L50[15:40:19] <Forecaster> false doesn't
work either
L51[15:40:25] <Forecaster> it has to be 1
or 0 apparently
L52[15:40:56] <Michiyo> ??
L53[15:41:15] <Forecaster> SQLite
apparently doesn't have keywords for true and false
L54[15:41:22] <Forecaster> you have to use
1 and 0
L55[15:41:55] <Michiyo> o_O
L56[15:42:30] <Michiyo> SQLite does not
have a separate Boolean storage class. Instead, Boolean values are
stored as integers 0 (false) and 1 (true).
L57[15:42:31] <Michiyo> huh.,.
L58[15:42:33] <Michiyo> okay
L59[15:44:08] <Forecaster> hm...
L60[15:44:21] <Forecaster> I have done this
correctly...
L61[15:44:50] <Forecaster> it should see
that I'm passing in a boolean and convert it to 1 or 0 for the
query
L62[15:45:12] <Forecaster> and it looks
like it detects it correctly, but it's still putting 'false' in the
query
L63[15:46:04] <Forecaster> which is the
generic toString output if it doesn't recognize the class
L64[15:50:42] <Michiyo> int flag =
(boolValue)? 1 : 0; and Boolean flag2 = (intValue == 1)? true :
false; lmao
L65[15:56:01] ⇦
Quits: ForeBot (ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
(Read error: Connection reset by peer)
L66[15:58:54] <Forecaster> oh
L67[15:58:55] <Forecaster> okay
L68[15:59:24] <Forecaster> so
Object.getClass() outputs something different from ex
boolean.class
L69[15:59:42] <Forecaster> the former gives
"java.lang.Boolean" while the latter returns
"boolean"
L70[15:59:46] <Forecaster> no wonder they
don't match...
L71[16:00:18] <Forecaster> sigh
L72[16:03:58] <Forecaster> now it should
compare them correctly
L73[16:04:03] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
L74[16:04:16] <Forecaster> ?pet the foo
fighters
L75[16:04:17] *
ForeBot pets the foo fighters with blue blood. 7 health
gained!
L76[16:04:20] <Forecaster> yay
L77[16:04:25] <Forecaster> ?juggle
L78[16:04:26] <ForeBot> Forecaster: I can't
find enough items to juggle with.
L79[16:04:29] <Forecaster> oh
L80[16:04:37] <Forecaster> well, part of
the way there apparently
L81[16:05:56] ⇦
Quits: ForeBot (ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
(Read error: Connection reset by peer)
L82[16:06:18] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
L83[16:06:25] <Forecaster> ?juggle
L84[16:06:26] *
ForeBot juggles with a sacred fox tail, a freeze-dried asie, &
the eye of Nidhogg
L85[16:06:27] *
ForeBot drops a freeze-dried asie which takes 3 damage, the
freeze-dried asie poofs away in a sparkly cloud..
L86[16:06:28] *
ForeBot drops the eye of Nidhogg which takes 4 damage
L87[16:06:29] <ForeBot> I didn't do
it!
L88[16:06:32] <Forecaster> \o/
L89[16:07:03] <Forecaster> ?shell
sparta
L90[16:07:03] *
ForeBot found nothing to load into the shell...
L91[16:07:06] <Forecaster> dangit
L92[16:07:18] <Forecaster> ?shell
sparta
L93[16:07:19] *
ForeBot loads gamaxized dither into a shell and fires it. It
strikes sparta. They take 5 damage. gamax92 and MichiBot stood too
close and take 6 and 10 damage respectively.
L94[16:07:26] <Forecaster> oh, hm
L95[16:07:33] <Forecaster> it's not
randomly supposed to return nothing...
L96[16:08:36] ⇦
Quits: ForeBot (ForeBot!~ForeBot@81-233-60-160-no71.tbcn.telia.com)
(Read error: Connection reset by peer)
L97[16:09:06] <Forecaster> gonna continue
tomorrow I suppose, seems there are some kinks to work out in the
new system, and a lot more replacing to do...
L98[16:09:20] <Forecaster> ideally I want
to replace all of the database interactions with it