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

Archive Today Yesterday Tomorrow
tfl homepage

[00:01:42] <wizardrydragon> gaaah
[00:01:50] <wizardrydragon> did you change mariahs usecode?
[00:01:59] <Marzo> Slightly, yes
[00:02:01] <Marzo> Why?
[00:02:10] * wizardrydragon stabs Marzo for masking him diff files.
[00:02:40] <Marzo> It was some time ago; in the big update, maybe a couple days after
[00:03:07] <Marzo> Please elaborate what the problem is
[00:03:31] <wizardrydragon> Im going to have to diff it since I changed her code :P
[00:03:40] <Marzo> Oh
[00:04:04] <Marzo> What did you do exactly?
[00:04:42] <wizardrydragon> Fixed the bug where her normal conversation was overflowing into her insane ramblings :)
[00:04:43] * Marzo uses the oportunity to point out that this wouldn't have been a problem if you were to checkout and commit more often :-)
[00:04:53] <Marzo> ?
[00:04:57] <Marzo> It never happened to me
[00:05:19] * wizardrydragon commits his changes often enough, he just forgets that hes not the only one touching the code sometimes :P
[00:08:30] <wizardrydragon> You lied :p The latest change to Mariah is less than a week old
[00:08:47] <Marzo> Oh, right; forgot about that one
[00:09:55] <Marzo> In any case, my point about checking out and commiting more often stands
[00:10:08] <Marzo> After all, it is almost a week since you did either
[00:10:15] <wizardrydragon> Looks like the onlhy difference is pointing the sell code to services
[00:10:53] <Marzo> No; it is fixing the selling of spells and reagents
[00:11:14] <wizardrydragon> Well, pointing it to wherever that sell function is :)
[00:12:33] <wizardrydragon> 52 : if (!did_post_tetrahedron)
[00:12:33] <wizardrydragon> 53 : {
[00:12:33] <wizardrydragon> 54 : did_post_tetrahedron = true;
[00:12:33] <wizardrydragon> 55 : //Give an exp boost to Mariah, so she won't be so far outclassed by other companions
[00:12:33] <wizardrydragon> 56 : var totalexp;
[00:12:35] <wizardrydragon> 57 :
[00:12:37] <wizardrydragon> 58 : //Calculate the average exp of all party members
[00:12:39] <wizardrydragon> 59 : marzojr 1.2 for (npc in party)
[00:12:41] <wizardrydragon> 60 : marzojr 1.1 totalexp = totalexp + npc->get_npc_prop(EXPERIENCE);
[00:12:43] <wizardrydragon> 61 :
[00:12:45] <wizardrydragon> 62 : totalexp = totalexp / UI_get_array_size(party);
[00:12:47] <wizardrydragon> 63 : set_npc_prop(EXPERIENCE, totalexp - get_npc_prop(EXPERIENCE));
[00:12:49] <wizardrydragon> 64 : }
[00:12:53] <wizardrydragon> yknow it might be wise to do that for the party members you may not immediately meet or have join (ie not Iolo)
[00:13:22] <Marzo> Possibly
[00:13:52] <Marzo> Although it could lead to abuse
[00:14:05] <wizardrydragon> Should have it run only once
[00:14:26] <Marzo> Only the first time they join, for example?
[00:14:31] <wizardrydragon> Exactly.
[00:30:25] <Marzo> Have you commited yet?
[00:30:39] * Marzo is curious about the fix you made to a problem I never had
[00:30:43] <wizardrydragon> What, are hyou holding your breath?
[00:30:55] <Marzo> Yes :-)
[00:31:15] <Marzo> I'll soon pass out and have to start holding my breath again :-)
[00:31:20] <wizardrydragon> If so you might want to stop, because Im not going to commit anything until the spell code I have doesnt cause cataclysmic crashes.
[00:31:23] <wizardrydragon> :)
[00:31:51] <Marzo> In what manner are you destoying the spellcasting system? :-p
[00:32:08] <Marzo> *destroying
[00:32:13] <wizardrydragon> Lol
[00:32:29] <wizardrydragon> Mostly just trying to forcefeed the "system" changes to it
[00:32:46] <Marzo> Exactly; which system changes would be that?
[00:32:58] * Marzo points out that maybe I could help with it
[00:33:17] <wizardrydragon> The adding reagent mixing thing
[00:33:24] <Marzo> Oh
[00:33:57] <Marzo> How are you implementing it?
[00:34:11] <wizardrydragon> Poorly
[00:34:12] <wizardrydragon> :)
[00:34:14] <Marzo> lol
[00:34:48] <wizardrydragon> I tried having item foci like you suggested but thats working out ... well its not working out now is it? :P
[00:35:22] <Marzo> Maybe it will work with some of the changes I have been thinking for reagents
[00:35:45] <Marzo> Or maybe you could implement the 'foci' as being 'reagents'
[00:36:07] <wizardrydragon> How are you changing reagents?
[00:36:08] <Marzo> In either case, you'll need as many foci as spells
[00:36:27] <wizardrydragon> Well i was trying NOT to have a bajillion foci
[00:36:42] <Marzo> I am thinking of the reagent arrays storing only the frame numbers (using appropriatelly aliased constants) instead of the way it is now
[00:37:13] <Marzo> (currently, there is one entry for each reagent which can be a '0' or a '1' -- or more)
[00:37:42] <wizardrydragon> Hmm
[00:38:00] <wizardrydragon> I dont particulalry care how it works as long as it doesnt involve rewriting everything :P
[00:41:42] <wizardrydragon> Can you add props to items in the same way you can add props to NPCs or am I going to have to cop out and use item quantities? :)
[00:41:58] <Marzo> Qualities
[00:42:12] <wizardrydragon> Cop outs for the win.
[00:42:34] <Marzo> BTW: Do you remember if the original BG/SI limited spellcasting by the level of the avatar or in any other way?
[00:44:12] <wizardrydragon> I dont think it did
[00:44:19] <wizardrydragon> It *should have* IMO but it didnt :P
[00:44:36] <Marzo> I am asking because Exult does, and so does the spellcasting code in the Keyring mod
[00:45:35] <Marzo> And in a couple of walkthroughs it also seems to suggest that the originals limit the spellcasting
[00:46:24] <wizardrydragon> I could always cast anything I had mana for :|
[00:47:49] <Marzo> Well, it definitelly doesn't; just checked in DOSBox
[00:48:16] <Marzo> An avatar at the very start of the game can cast Mass Death with the right book
[00:48:20] <wizardrydragon> :D
[00:48:28] <Marzo> I think I like how Exult does it better :-)
[00:49:43] <Marzo> Well, I'll be changing the way the reagent system works
[00:49:54] <Marzo> Even if only for the Keyring mod
[00:49:59] <wizardrydragon> Lol
[00:50:11] <wizardrydragon> I suppose I have to leave somethin for you to break :)
[00:50:34] <Marzo> (will wait until you commit to see if it should be used in TFL too)
[00:52:20] <servus> Honestly though, did you EVER cast a combat spell in U7?
[00:52:31] <Marzo> Yes
[00:52:37] <servus> Except as just for fun
[00:52:42] <Marzo> Yes
[00:52:52] <servus> It's too much trouble to do anything other than to make your avatar wiggle against the enemies,.
[00:52:55] <wizardrydragon> I did
[00:52:58] <Marzo> Particularly to expedite killing bosses
[00:53:02] <wizardrydragon> Veryh frequently
[00:53:08] <wizardrydragon> I also used potions liberally
[00:53:11] <servus> I think I cast death vortex on the pirate assassins on top of Castle British once, that's all.
[00:53:13] <wizardrydragon> For no particular reason
[00:53:14] <Marzo> (such as the Banes in SI and the final fight in BG)
[00:53:20] <servus> Ahh that's true
[00:53:26] <servus> The banes were incredibly hard though!
[00:53:29] <wizardrydragon> Marzo: blue potions worked well on the banes
[00:53:33] <wizardrydragon> ;)
[00:53:37] <servus> soiled diapers!
[00:53:42] <Marzo> Also, the mad jesters outside the White Dragon castle
[00:54:19] <Marzo> You wouldn't believe how easy the banes can be with a Death Vortex spell
[00:57:37] <servus> They still wouldn't die!
[00:57:56] <servus> I had to set up powder kegs and trap them and all this stuff
[00:57:57] <Marzo> But it makes the job a lot easier :-)
[00:58:15] <servus> Opening your backpack is "bullet time".
[00:58:55] <Marzo> Hm. In Exult, there is the option of playing with Gumps not pausing the game
[00:59:06] <Marzo> I wonder how much harder it becomes?
[01:11:32] <servus> "Dear diary, today was horrible. The bane of chaos - yes, THAT bane of chaos - kept wiggling against me! I tried to protect myself with my backpack, but still he came and thrust himself upon me! I need a cold shower."
[01:11:55] <wizardrydragon> LOL
[01:11:56] <Marzo> lol
[01:21:18] <Marzo> There, new reagent system up and running
[01:21:30] <wizardrydragon> Mmm, garlic.
[01:21:39] <Marzo> :-)
[01:21:54] <Marzo> Good thing it is not onion :-p
[01:22:06] <wizardrydragon> Lol
[01:31:25] <Marzo> I will also be changing the isTargetedSpell
[01:31:55] <wizardrydragon> Howso?
[01:32:46] <Marzo> I will use arrays with the spell constants of the targeted spells instead of an array of 'true's and 'false's
[01:33:17] <wizardrydragon> Ah
[01:33:29] <wizardrydragon> So just get rid of the unneccesary spells then
[01:33:40] <Marzo> Yes, basically
[01:33:42] <wizardrydragon> All you really need is to have the ones that are targeted
[01:33:48] <Marzo> Yes
[01:34:01] <Marzo> And then check to see if the spell in question is in the list
[01:34:10] <Marzo> Makes it easier to add spells
[01:34:25] <wizardrydragon> Yep!
[01:35:49] <wizardrydragon> ?seen Crysta
[01:35:49] <exultbot> crysta left #tfl around Mon Sep 25 04:13:17 2006 (GMT)
[01:36:12] <wizardrydragon> Always the days Im working shes here, dammit :P
[01:36:16] <Marzo> Oh, I have made a body and a gump for the new Mariah sprite
[01:36:34] <wizardrydragon> Body?
[01:36:40] <wizardrydragon> Oh for when shes dead
[01:36:43] <Marzo> Yep
[01:36:58] <Marzo> I still haven't uploaded them to CVS
[01:37:16] <wizardrydragon> I was gonna be like, I'm pretty sure having a body is a prerequisite of being human.
[01:37:26] <Marzo> lol
[01:38:24] <Marzo> On another note, have you tried the 'Blink' spell I made in the Keyring mod (only NPCs can cast it)
[01:38:34] <wizardrydragon> Not yet
[01:39:18] <Marzo> When you do, please refrain from looking at the relevant code :-)
[01:39:51] <wizardrydragon> Lol
[01:39:55] <wizardrydragon> That bad, eh?
[01:40:22] <Marzo> Well, I went with a blink spell along the lines of the one described by Erstam in the SI manual
[01:40:37] <Marzo> Which means you can only blink to a place you could arrive by walking
[01:41:38] <wizardrydragon> And that's bad how?
[01:42:07] <Marzo> There is only one intrinsic which returns 'true' if there is a path to the destination
[01:42:24] <wizardrydragon> Ah
[01:42:56] <Marzo> So I use it once to see if there is a path and a second time to prevent the avatar from going down that path
[01:44:20] <wizardrydragon> Ah
[01:50:21] <Marzo> New isTargetedSpell function is now working
[01:50:43] <wizardrydragon> Yay
[01:53:53] <Marzo> With that, I am off for the night
[01:53:58] <Marzo> Good night!
[01:54:15] <wizardrydragon> Sleep well
[01:54:23] <-- Marzo has left IRC ("Marzo vanishes suddenly.")
[04:01:06] <-- wizardrydragon has left IRC (Read error: 145 (Connection timed out))
[15:19:15] --> wizardrydragon has joined #tfl
[15:19:16] --- ChanServ gives channel operator status to wizardrydragon
[17:51:49] <-- wizardrydragon has left IRC (Read error: 110 (Connection timed out))
[18:37:21] --> wizardrydragon has joined #tfl
[18:37:23] --- ChanServ gives channel operator status to wizardrydragon
[20:01:21] <-- servus has left IRC (":wq")