#tfl@irc.freenode.net logs for 25 Sep 2006 (GMT)

Archive Today Yesterday Tomorrow
tfl homepage

[01:35:05] --> Crysta has joined #TFL
[02:21:26] --- Marzo_away is now known as Marzo
[02:21:30] <Marzo> Back
[02:21:42] <Crysta> welcome back
[02:21:51] <wizardrydragon> woah people here
[02:21:53] <wizardrydragon> and theyre talking
[02:21:58] <Marzo> wizardry: to answer your questions:
[02:22:00] * wizardrydragon dies of shock.
[02:22:23] <Marzo> 1) ES doesn't let you mass-export flats because there was already an option to mass-export them
[02:22:34] <Marzo> 2)
[02:22:57] <Marzo> There is a limit of 356 NPCs, including the avatar
[02:23:15] <wizardrydragon> 1) how?
[02:23:28] <wizardrydragon> 2) thought so. why 356, though? thats an odd number
[02:23:53] <Marzo> Re: flats: right click them and select 'edit tiled'
[02:24:35] <Marzo> Re: NPC #: Blame the original U7 devs; they are the ones that used the number -356 to represent the avatar in Usecode :-)
[02:24:53] <wizardrydragon> lol
[02:25:00] <Crysta> lol
[02:25:02] <wizardrydragon> I wonder why 356 though?
[02:25:13] <wizardrydragon> Usually those kinda things are good old base-2 numbers :P
[02:25:25] <Marzo> The originals supported 256 NPCs with usecode and 100 NPCs without usecode
[02:25:49] <wizardrydragon> I take it we dont worry about usecode limitations being Exult and all :)
[02:25:51] <Marzo> To differentiate between things, they made NPC #s negative in usecode
[02:26:22] <Marzo> Well, the avatar is -356 in usecode and other NPCs are -356+npc num
[02:26:46] <Marzo> After 356 NPCs, you are at zero; which means 'no npc', roughly
[02:26:59] <wizardrydragon> fun stuff
[02:27:07] <wizardrydragon> hmm
[02:27:09] <Marzo> And the positive numbers are already used for other things
[02:27:32] <wizardrydragon> even if I condense the non-neccesary BG npcs into eggs, I can forsee huge problems with the NPC limit in TFL's future
[02:27:50] <Marzo> And we still have to support the original games; that is the whole point of Exult after all :-p
[02:28:10] <Marzo> Yeah, I have been thinking about that too
[02:28:36] <Marzo> So far, I don't have a good solution
[02:29:05] <Marzo> (plus I have around 100 other things on my to-do list which have higher precedence right now :-p)
[02:29:11] <wizardrydragon> I mean, if TFL is the same size as BG, even without the extrenuous NPCs, I predict we're talking about 150% more NPCs, althogether, andf that's just a not-so-educated guess
[02:30:41] <Marzo> On an unrelated note: how would you feel about having an intrinsic capable of creating eggs?
[02:31:09] <wizardrydragon> We already can create eggs in usecode, silly
[02:31:28] <Marzo> You can, but they won't do anything
[02:31:55] <Marzo> You can't specify how they trigger, what usecode function they call and so on
[02:32:04] <wizardrydragon> Yea well on my wish list such a thing is pretty low
[02:32:11] <Marzo> And *that* is what I am talking about
[02:32:11] <wizardrydragon> :P
[02:32:31] <Marzo> I was thinking about it more because I was thinking on implementing moonstones in BG
[02:32:55] <Marzo> They would require such a capability
[02:33:04] <wizardrydragon> Not neccesarily
[02:33:25] <wizardrydragon> In any event it's extrenuous to what is getting developed in TFL right now; I wouldn't have a use for it.
[02:33:30] <Marzo> Plus, the Orb of the Moons would work better with the moongates it creates being actual moongates
[02:33:58] <wizardrydragon> Moongates are fine as they are in BG
[02:34:07] <wizardrydragon> Minus the generator interference thing :P
[02:34:15] <Marzo> :-)
[02:34:34] <wizardrydragon> Hows about you just focus on the 1,000,000,000 other things that need done, eh? :P
[02:34:35] <Marzo> I know, it is just something I wanted to import from U6 :-)
[02:34:59] * wizardrydragon finds a shrine and tries mantra "priorties" :P
[02:35:05] <wizardrydragon> *priorities
[02:35:07] <Marzo> 1,000,000,000? That is all? Bah, I thought the number was much higher! *waves hand dismissively*
[02:35:21] <wizardrydragon> Nonono
[02:35:23] <wizardrydragon> Its
[02:35:32] <Marzo> Beware of flooding :-)
[02:35:40] <wizardrydragon> These aren't the todo items you're looking for! *jedi hand waving*
[02:35:42] * Marzo already got kicked today for it
[02:35:53] <wizardrydragon> Lol
[02:35:58] <Marzo> Those only work on the *weak* mind :-)
[02:36:14] <wizardrydragon> I wonder if it works on people with no minds
[02:36:21] <wizardrydragon> If not, then Im safe
[02:36:26] <Marzo> lol
[02:37:32] <wizardrydragon> In any event that's on the "cool but totallyh unneccesary" list
[02:37:46] <wizardrydragon> Hows about we clear up the "cool and very neccesary" list first? :)
[02:38:59] <Marzo> But the 'uncool and totally unneccessary' list it much better to work on! People like those things much better than the 'cool and neccessary' things! :-p
[02:39:10] <Marzo> Er. uncool->cool
[02:39:17] <wizardrydragon> Lol
[02:39:23] <Marzo> (too many 'un's in that post)
[02:39:39] <wizardrydragon> You go at the "uncool and totally unnecessary" list then
[02:39:54] <Marzo> lol
[02:39:58] <Crysta> lol
[02:40:01] <wizardrydragon> I can even hook yhou up with EA if that's the game programming feild you're interested in :)
[02:40:08] <Marzo> lol
[02:40:29] <Marzo> Oh, BTW, did you get the new highlighter?
[02:40:33] <wizardrydragon> yep
[02:40:39] <wizardrydragon> havent tried it yet, but I got it
[02:40:40] <wizardrydragon> lol
[02:40:45] <Marzo> :-)
[02:41:09] <wizardrydragon> couldnt remember class decls
[02:41:25] <Marzo> What do you mean?
[02:41:35] <Marzo> Oh, you mean how to declare a class var?
[02:41:35] <wizardrydragon> ah shorthand, silly
[02:41:39] <wizardrydragon> class declarations
[02:42:03] <wizardrydragon> bad memory runs in the family :P
[02:44:21] <Marzo> Well, I am going to bed not-too late today
[02:44:33] <Marzo> (and got to do it while it is still today, too :-)
[02:44:36] <Crysta> lol
[02:44:39] <Marzo> So, good night
[02:44:44] <Crysta> goodnight :)
[02:44:50] <wizardrydragon> can you at least tell me how to declare classes :P
[02:45:00] <Marzo> :-)
[02:45:12] <Marzo> Or I can keep you hanging until tomorrow :-)
[02:45:18] <wizardrydragon> <_<
[02:45:32] <Marzo> More seriously: if you want to declare a class var, it is like this:
[02:45:41] <Marzo> class<Classname> varname
[02:46:08] <wizardrydragon> and the class itself?
[02:46:22] <Marzo> You can then set it equal to a newly-created and initialized class at any time by setting it equal to 'new Classname(var initialization list)'
[02:46:30] <Marzo> The class is like this:
[02:46:31] <wizardrydragon> okay
[02:46:47] <Marzo> class Classname {var decls; method decls}
[02:47:13] <wizardrydragon> okay
[02:47:21] <Marzo> Optionally, you can append ': baseclassname' to the classname to inherit all member functions and vars
[02:47:31] <wizardrydragon> the method decls are what?
[02:47:37] <wizardrydragon> just the function nested?
[02:47:57] <Marzo> Just like normal function calls, nested in the class; they can't have an usecode number speficied, though
[02:48:15] <wizardrydragon> makes sense
[02:48:24] <wizardrydragon> anything else I should know? :P
[02:48:49] <Marzo> Yes: functions for shapes should now all use the 'shape#(n)' construct
[02:49:14] <wizardrydragon> Ive been doing that since before it was properly supported so thats not an issue
[02:49:15] <wizardrydragon> lol
[02:50:13] <Marzo> Now, this construct will build a shape function lookup for high shapes; a shape >1023 will not have a pre-defined usecode function if any shapes use this construct in the compiled usecode
[02:50:56] <Marzo> This helps eliminate the nearby 'ceiling' of function numbers
[02:51:03] <wizardrydragon> Ah
[02:51:38] <wizardrydragon> And I take it Exult just does nothing if I double click a shape > 1023 that has no function attached, correct?
[02:51:39] <Marzo> In previous versions of UCC/Exult, the 'shape#(n)' construct assigned usecode # n+0xC00 for the function
[02:52:12] <Marzo> If any shapes on the compiled usecode are declared with the shape# construct, yes
[02:52:26] <Marzo> If none are, for backward compatibility, it works as normal
[02:52:38] <Marzo> Er: as *was* normal
[02:52:41] <wizardrydragon> lol
[02:52:46] <wizardrydragon> alright then
[02:52:58] <Marzo> (this is just so I can be lazy and not update SI Fixes for a while :-p)
[02:53:03] <wizardrydragon> hyou better run off to bed before I start poking in classes or you'll never fet to bed :)
[02:53:07] <wizardrydragon> *get
[02:53:19] <Marzo> True; good night
[02:53:28] <-- Marzo has left IRC ("Marzo vanishes suddenly.")
[02:53:48] <wizardrydragon> He knows it's true, lol
[02:53:49] <wizardrydragon> :)
[03:06:36] <Crysta> lol
[03:07:06] <wizardrydragon> lol
[04:13:17] <-- Crysta has left #TFL ()
[09:52:11] <-- wizardrydragon has left IRC (Read error: 145 (Connection timed out))
[16:49:21] --> wizardrydragon has joined #tfl
[16:49:26] --- ChanServ gives channel operator status to wizardrydragon
[16:49:45] <-- wizardrydragon has left #tfl ()
[17:27:35] --> wizardrydragon has joined #tfl
[17:28:22] --- ChanServ gives channel operator status to wizardrydragon
[17:28:36] <wizardrydragon> s?log
[17:28:40] <wizardrydragon> ?log
[17:28:40] <exultbot> Logs are available at http://www.math.leidenuniv.nl/~wpalenst/tfllog.php
[18:18:29] <-- wizardrydragon has left #tfl ()
[23:47:34] --> Marzo has joined #tfl
[23:47:34] --- ChanServ gives channel operator status to Marzo