#exult@irc.freenode.net logs for 14 Sep 2006 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:00:18] <Dalian> didn't like me trying to copy a file called usecode into a dir with a folder called usecode ;)
[00:01:13] <Dalian> gotta run...thanks for the lead on that problem!
[00:03:41] <wizardrydragon> Thanks :)
[00:05:52] --> Kirben has joined #exult
[00:05:52] --- ChanServ gives channel operator status to Kirben
[00:06:14] <SB-X> Dalian, bye.
[02:40:00] <-- Matt_O has left IRC ("Play Dragon's Lair --> http://www.daphne-emu.com")
[02:43:08] --> Matt_O has joined #exult
[03:00:03] <Dalian> alright
[03:00:35] <SB-X> ?
[03:00:45] <SB-X> wb
[03:00:56] <Dalian> hehe..pretty bad when you come home on your lunch break to look at usecode
[03:01:33] <Dalian> whoa..
[03:01:40] <SB-X> heh
[03:02:46] <Dalian> It helps to actually open the usecode dump in something besides notepad. Now it looks more like code.
[03:11:36] <Dalian> hmm
[03:12:04] <wizardrydragon> Try ConTEXT
[03:12:11] <wizardrydragon> Thats what Marzo and I have
[03:12:31] <wizardrydragon> also sMarzo has a plugin that offeres UCC sytnax highlighting
[03:14:11] <Dalian> nice
[03:14:33] <Dalian> it's not immediately obvious from looking at the sword's code how it prevents you from dropping it
[03:14:56] <wizardrydragon> Hmm
[03:16:34] <wizardrydragon> I havent poked around much in SI, so I cant be of help with SI specifics, sorry
[03:16:38] <Dalian> i noticed it does make a call to func08af, which has a bunch of get_readied and give_last_created code. And the sword is the only thing that seems to call that function
[03:20:27] <wizardrydragon> Hmm.
[03:24:38] <wizardrydragon> Any luck finding the contents of func08af?
[03:24:53] <Dalian> ahah!!
[03:24:56] <Dalian> I think I'm onto something
[03:25:09] <Dalian> if you try and drop it in game, there is a sprite and sound effect
[03:25:23] <Dalian> and this is in the code for 08af:
[03:25:23] <Dalian> UI_obj_sprite_effect_91(0xFE9C, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF);
[03:25:23] <Dalian> UI_play_sound_effect_16(0x004C);
[03:25:48] <wizardrydragon> It should call something after that which is presumably the drop code.
[03:25:52] <Dalian> yar
[03:26:05] <Dalian> it's a bit more complicated by the looks of it, but I think I can figure it out
[03:26:12] <wizardrydragon> :)
[03:26:20] <Dalian> it uses a lot of labels
[03:26:22] <Dalian> and gotos
[03:26:29] <wizardrydragon> Ewwww.
[03:26:33] <Dalian> yeah
[03:26:36] <wizardrydragon> Lol
[03:27:25] <Dalian> if not for that, I could just copy the code wholesale, I think
[03:27:50] <Dalian> unless
[03:27:54] <wizardrydragon> Heh
[03:28:05] <wizardrydragon> You can't generally speaking.
[03:28:42] <wizardrydragon> The names of intrinsics have changed between pure usecode and UCC
[03:29:20] <Dalian> what about calling the function through usecode?
[03:30:39] <Dalian> it doesn't seem to be specific to the sword..ie there's no reference to its shape in the function. it's just that the sword's function is the only one that calls it
[03:30:48] <wizardrydragon> I actually havent tried calling the original code like that without a UCC intrinsic. I know it *should* work, but I haven't tried it, so I can't say whether it actually works or not.
[03:30:58] <Dalian> and it uses itself as a parameter...Func08AF(item,0x0000);
[03:31:16] <Dalian> so I think if you can call the original code, you could have any item do that
[03:31:33] <wizardrydragon> I get the feeling it's more complicated than that, it always is :)
[03:31:43] <Dalian> isn't it though? I shall try it when I get home though
[03:31:53] <wizardrydragon> At work?
[03:31:54] <Dalian> erm...when I get home again
[03:31:55] <Dalian> hehe
[03:32:00] <Dalian> on break..gotta go actually :(
[03:32:05] <wizardrydragon> Aw
[03:32:25] <wizardrydragon> What do you work in anyways?
[03:32:37] <Dalian> pre-press
[03:32:43] <Dalian> photoshopping stuff, etc
[03:32:57] <wizardrydragon> Oh, so the boring part of graphic design :)
[03:33:03] <wizardrydragon> Tehehe.
[03:33:08] <Dalian> yep. Anyway, ttyl :)
[03:33:19] <wizardrydragon> See ya.
[03:33:33] <SB-X> cya
[06:49:59] <-- wizardrydragon has left IRC (Read error: 110 (Connection timed out))
[06:53:39] <-- servus has left IRC (":wq")
[06:58:43] --> servus has joined #exult
[06:59:33] <servus> Gosh I hate X.
[07:21:40] <Dalian> ?
[07:21:55] <Dalian> home sweeter-than-work home
[07:29:50] <Dalian> hmm! It works..kinda
[07:31:23] <Dalian> i can call the si function like I thought, but I need to figure out what the gflags are doing in the original code
[07:33:48] <Dalian> and these darn goto's
[07:49:21] <Dalian> Shamino says, "I smell usecode to the east!"
[08:18:28] <Dalian> that's just weird. It's still possible to drop the sword under at times
[08:18:40] <Dalian> under at times?
[08:46:50] <SB-X> Dalian: In UCXT output the gflags array contains the global flags you can set on the cheat screen, and were originally the only type of global variables available.
[08:48:08] <Dalian> yes..just figuring out what they are being used to accomplish..
[08:49:22] <Dalian> I can't quite figure out how the code is working yet, but then I've not been getting enough sleep this week
[08:49:41] --> shazza has joined #exult
[08:54:11] <Dalian> I call the function in question from the object's usecode, like the original sword does, but all that happens is the sprite and sound effect when I double click it. Even though that isn't being called in the doubleclick event. But it's something
[08:54:27] --- ChanServ gives channel operator status to Darke
[08:54:59] <Dalian> there's just some gaps in my knowledge that prevent it from making perfect sense :)
[08:57:56] <SB-X> how do you call it?
[08:58:04] <SB-X> i wouldn't know either
[08:59:48] <Dalian> the blacksword code used func08af(item,0x0000), which in 08af is var0000 and var0001. I've not determined what var0001 actually does yet
[09:00:43] <Dalian> I kind of see what the code is doing, but not quite
[09:01:25] <SB-X> how do you determine what event is called?
[09:01:39] <SB-X> or what event is active
[09:01:55] <Dalian> in which function, the sword's or the other one?
[09:02:25] <SB-X> the effect one
[09:02:41] <Dalian> well that seems determined by the sword's code
[09:03:09] <Dalian> it happens outside of any event, which is what's throwing me off I think
[09:03:10] <SB-X> isnt the effect done by the other function?
[09:03:16] <Dalian> yes
[09:03:37] <Dalian> i'll paste the first 4 lines
[09:03:37] <SB-X> so you dont know what the event is in that when you call it
[09:03:43] <Dalian> if(!(event == 0x0006)) goto labelFunc0326_002A;
[09:03:55] <Dalian> if(!((gflags[023A] == false) && (gflags[00CF] == true))) goto labelFunc0326_0029;
[09:04:00] <Dalian> if(!(!Func099D(item))) goto labelFunc0326_0029;
[09:04:05] <Dalian> Func08AF(item, 0x0000);
[09:04:41] <SB-X> i think event is local, i dont know what it will be in a manually called function either
[09:04:45] <SB-X> what's 99d?
[09:05:56] <Dalian> mostly some UI_get_container code. It's pretty small
[09:06:03] <SB-X> ah k
[09:06:37] <Dalian> ucc is so much better than that goto label crap :p
[09:07:04] <SB-X> that wasn't the intended output... ucxt was never finished
[09:07:18] <SB-X> blame Darke :)
[09:07:31] <Dalian> :( hehe
[09:08:06] <Dalian> the two flags are set after you release the demon
[09:08:10] <Dalian> why it needs 2 I'm not sure
[09:08:22] <Dalian> rather, they are toggled
[09:08:57] <Dalian> like I said, it almost but doesn't quite make sense
[09:09:09] <SB-X> btw my flags document says 0xcf is set false when intentionally freeing arcadion, and 0x23a is unlisted, but they might be defined in Marzo's constants header for BG Keyring mod or SI Fixes
[09:09:29] <SB-X> ok, you were saying the same thing already :)
[09:09:38] <Dalian> oh, so there is one..I hadn't gotten around to checking again
[09:10:37] <SB-X> the list that Marzo created might be more complete
[09:10:41] <Dalian> I *think* what's it's doing is this
[09:11:46] <Dalian> well hmm
[09:12:51] <SB-X> hmm?
[09:13:08] <Dalian> hang on..I think it's starting to make more sense now
[09:13:51] <SB-X> hmm
[09:14:54] <Dalian> 99d takes the sword as a parameter, and checks to see if the container is the Avatar
[09:15:10] * servus blames Darke, but isn't telling anyone what he's blaming him for.
[09:15:21] * Dalian blames Origin for losing the freaking source code
[09:15:34] <SB-X> Moo.
[09:15:37] <Dalian> heh
[09:15:43] * SB-X moos for no reason.
[09:16:11] <servus> Moororror? Muwmoochawroomootch awroorawrloe muyrormu mootchrawrmuymooiemunmoog mootchror moosawroomuy?
[09:17:36] <Dalian> that makes my head hurt: if(!(!(var0001 == UI_get_npc_object_23(0xFE9C))))
[09:18:00] <SB-X> ->"moo? what are you trying to say?"
[09:18:08] <servus> Someone's been studying!
[09:18:38] <SB-X> servus: Mooie mootchrorlowlood muyrormu mootchror moogloemootch rormoofmoof moomuy moograwrawroomoosmoos!
[09:18:57] <servus> Mooie means cute :">
[09:19:11] <SB-X> :o
[09:19:28] <SB-X> I havn't studied your language. I'm using your translator.
[09:19:34] <SB-X> http://sammatthews.com/files/str2bin.php?in=I+told+you+to+get+off+my+grass%21&l=eng2moo
[09:20:10] <servus> Dutch!
[09:20:19] <SB-X> btw why is there a spider on your front page?
[09:20:22] <servus> Yes I understood it
[09:20:32] <servus> I took that photo after I found her.
[09:20:36] <SB-X> "her"?
[09:20:43] <servus> Didjya look closely?
[09:20:47] <SB-X> No :p
[09:21:03] <servus> Look! : o)
[09:21:06] <SB-X> No.
[09:21:45] <servus> Aww. Well the bottom panel shows a big red hourglass on its butt.
[09:21:47] <SB-X> i avoided it
[09:21:57] <servus> There were dozens of 'em!
[09:22:00] <SB-X> uh
[09:22:12] <servus> (Black widows!)
[09:22:13] <SB-X> how horrible
[09:22:54] <SB-X> i guess if you can call that monster Shelob a female, you can call a tiny black widow one
[09:23:03] <servus> Loeloemook, moosmoopmooieloodloerawrmoos!
[09:23:17] <servus> It's definitely a female. Male black widows are smaller and brown!
[09:23:22] <SB-X> ->"Spiders are tasty!"
[09:23:29] <servus> You made that up!
[09:23:41] <SB-X> ok ok
[09:23:45] <SB-X> ->"Spiders are for food!"
[09:24:16] <servus> Mmm, spinnensmaak zoals PASTEI!
[09:24:36] <SB-X> that's not cow
[09:25:00] <servus> Mooie koe : o)
[09:25:04] <Dalian> soylent green is spiders!
[09:26:04] <SB-X> now that's disturbing... i'd rather it be something sensible like humans or something
[09:26:25] <SB-X> servus actually said "eek, spiders!"
[09:26:40] <servus> Gosh, I didn't mean to sidetrack your whole conversation!
[09:27:28] --> Sev has joined #exult
[09:28:17] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[09:30:40] <SB-X> I don't feel like conversing any more. I'm going back to sleep.
[09:31:06] <servus> Bye!
[09:31:10] <Dalian> that's kind of wacky about this si usecode
[09:31:22] <Dalian> there is no instance where if is used without not
[09:31:51] <Dalian> i just realized that
[09:32:04] <Dalian> night sb
[09:32:45] <Dalian> it's like 'if' is interpreted as 'if not not'
[09:32:57] <Dalian> *head explodes*
[09:33:00] <servus> Decompilers can be a pain to write : o)
[09:33:38] <Dalian> oh I'm sure
[09:33:55] <Darke> Side effect of compiler... optimisations, for lack of a better word. The original code would have been 'if' before it was compiled. You probably don't want me to explain it to you, nor am I coherent enough due to headache. *grin*
[09:34:11] <Dalian> :)
[09:39:24] <Dalian> i just need to learn the intrinsics better, then I would need to be trying to decipher this function
[09:59:31] <Dalian> they must be doing some really fancy footwork to pull this off
[10:01:27] --- Sev is now known as Sevalecan
[10:09:41] <-- Colourless has left IRC ("casts improved invisibility")
[12:31:38] <-- Dalian has left IRC ("Only dead fish follow the current")
[12:43:58] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[14:13:56] --> Dalian has joined #exult
[14:28:59] <Dalian> wow
[14:30:23] <Dalian> I'm going to assume the original artists had an easier way of making chunks. This is slight madness using these microscopic shapes to make one from scratch
[14:31:16] <Dalian> at least, they are microscopic in es
[14:43:19] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[14:43:50] <Dalian> i made something that resembles a river chunk, for SI. Kinda ugly tho
[15:06:37] --> Darke has joined #exult
[15:23:47] <-- Dalian has left IRC ("Only dead fish follow the current")
[16:56:43] --> ettin_ has joined #exult
[17:04:00] <-- ettin has left IRC (Nick collision from services.)
[17:04:11] --- ettin_ is now known as ettin
[18:22:26] <-- Sevalecan has left IRC (Excess Flood)
[18:22:49] --> Sevalecan has joined #exult
[21:13:18] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[21:33:36] --> Marzo has joined #exult
[21:33:56] --> Darke has joined #exult
[21:34:12] --- ChanServ gives channel operator status to Darke
[21:34:28] --- Marzo is now known as Marzo_away
[21:46:45] --> Kirben has joined #exult
[21:46:45] --- ChanServ gives channel operator status to Kirben
[21:52:22] --> wizardrydragon has joined #exult
[21:55:56] --- Marzo_away is now known as Marzo
[22:05:04] <SB-X> Hi Kirben, wizardrydragon, and Marzo.
[22:05:13] <wizardrydragon> Hi SB-X
[22:05:27] <Kirben> Hi
[22:07:04] <Marzo> Hi
[22:07:10] <SB-X> Greetings!
[22:07:55] <servus> Look, SB-X didn't give Darke a greeting. He's *so* getting his skull gnawed in his sleep tonight.
[22:08:00] <wizardrydragon> Now that the greeting stage of the conversation has concluded....
[22:08:18] * wjp enters late; hi!
[22:09:26] <servus> Recente vlucht van mooie koeien
[22:09:28] <SB-X> Darke was just reconnecting, and he came in before my cutoff time anyway.
[22:09:35] <SB-X> He won't notice.
[22:09:38] <wjp> hoe logisch :-)
[22:10:10] <wjp> so, what did the pretty cows flee from?
[22:10:20] <servus> Snails.
[22:11:16] <servus> ( http://sammatthews.com/images/Random%20Illustrations/The%20Great%20Snail%20Hunt.jpg )
[22:13:14] <wjp> interesting :-)
[22:14:39] <SB-X> I don't see any snails.
[22:14:52] <wizardrydragon> Me either
[22:15:10] <wjp> it wouldn't really be a great hunt if they were in plain sight, though
[22:15:55] <servus> Buigende koe, verbogen slak
[22:16:07] <wjp> a bent snail? :-)
[22:16:23] * servus flips through dictionary. verborgen. Bent too.
[22:22:15] --- Marzo is now known as Marzo_away
[22:24:19] <wjp> time to go; good night
[22:24:27] <wizardrydragon> Sleep well.
[22:26:39] <SB-X> Farewell.
[23:05:08] <SB-X> the forum is unaccessible again
[23:05:33] <SB-X> it's failing to connect immediately, instead of timing out
[23:08:23] <wizardrydragon> The Exult page period doesnt work for me
[23:09:53] <wizardrydragon> Ive been having a lot of routing problems today though
[23:09:54] <SB-X> i know, they're on the same server :)
[23:09:59] <SB-X> ok
[23:10:19] <SB-X> I had some internet problems yesterday so I wasnt sure if it was just on my end either.
[23:12:42] <wizardrydragon> be right back
[23:14:23] <-- wizardrydragon has left IRC ("wizardrydragon rides off into the sunset.")
[23:22:54] --> wizardrydragon has joined #exult