[00:47:09] --> SB-X has joined #nuvie
[00:52:39] --> Kirben has joined #nuvie
[00:52:45] <SB-X> hi Kirben
[00:53:01] <Kirben> Hi
[01:04:41] --> luteijn has joined #nuvie
[01:04:53] <luteijn> Hi.
[01:05:39] <luteijn> Did some experimenting with spell quality, although I didn't make all the 80 spells, I feel comfortable I know which spell maps to which quality now.
[01:07:06] <luteijn> There's 10 spells per circle, ordered alphabetically. The first spell has quality 0 (create food)
[01:08:05] <luteijn> the first spell of the second circle, infravision, has quality 16, quality 10-15 don't add any spells to the book when moved in.
[01:08:15] <luteijn> T
[01:09:11] <luteijn> he new circles start on 0,16,32,48,64,80,96,112
[01:11:57] <luteijn> and spell quality 1023 is special, it unlocks ALL 80 spells if you put it in the spellbook.
[01:16:15] <SB-X> hi luteijn
[01:16:43] <SB-X> good information
[01:16:45] <luteijn> The incantations are in the gamestrings, as SBX already pointed out, I expect the reagents needed will be in the game code as well, perhaps as a bitvector (1 char per spell)
[01:17:01] <SB-X> there aren't 10 spells in every circle are there?
[01:17:01] <SB-X> i dont remember that
[01:17:08] <luteijn> thanks, It's 2:20 in the morning here so
[01:17:27] <luteijn> I hope I'm still coherent enough to be able to read this back later and knwo what I meant..
[01:17:50] <SB-X> heh heh
[01:17:57] <SB-X> hopefully you wrote it down
[01:18:16] <SB-X> in u6 spell quality 255 also unlocks all spells
[01:19:24] <luteijn> perhaps same bit pattern as 1023? can't think any more ;)
[01:23:09] <luteijn> hmm if the order of the reagents in the gamestrings file is the order 'they' used to code bitvector for reagents needed, 97,130,130,96,40,18 would be the bitvectors for the first 6 reagent groups. might be interesting to look for that pattern in the executable..
[01:25:13] <wjp> the first four are in there
[01:25:17] <wjp> (game.exe)
[01:25:23] <wjp> adding the 40 stops the match
[01:25:34] --> sbx has joined #nuvie
[01:25:34] <-- SB-X has left IRC (Read error: 104 (Connection reset by peer))
[01:26:15] <luteijn> hmm let me check if I added them correctly... try 36 ?
[01:26:20] <wjp> bingo :-)
[01:26:29] <wjp> there's a nice table at 0x2E4C2 in game.exe
[01:26:30] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[01:26:31] --> sbx has joined #nuvie
[01:26:41] <wjp> blocks of 10 values followed by 6 zeroes
[01:26:45] <luteijn> blood moss and black pearl start with the same two letters, mis-referenced it.
[01:26:50] <luteijn> makes perfect sense wjp
[01:26:55] <wjp> yes :-)
[01:27:41] <wjp> the magic syllables for the spells are a bit after that
[01:27:41] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[01:27:50] --> sbx has joined #nuvie
[01:27:55] <wjp> (I think)
[01:28:09] <wjp> there's a block of strings starting with IMY = In Mani Ylem = create food
[01:28:12] <luteijn> as there are 10 spells per level, and the next circle starts at 16 offset,, I guess we'll need the spells names, the invocations (ie "VPF" for vas por flam) in an array like thingy in nuvie.
[01:28:44] --> EsBee-Eks has joined #nuvie
[01:28:44] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[01:28:57] <wjp> is Quas Lor the first spell in the second circle?
[01:29:46] <wjp> (Infravision?)
[01:29:47] <-- EsBee-Eks has left IRC (Read error: 104 (Connection reset by peer))
[01:30:22] <luteijn> I think we already found the 'invocations' in the strings output.
[01:30:26] <wjp> ok
[01:30:45] --> EsBee-Eks has joined #nuvie
[01:31:00] * wjp anchors sb-x to the floor
[01:31:02] <EsBee-Eks> oh quality is one byte btw
[01:31:02] <EsBee-Eks> damn irc
[01:31:02] --- EsBee-Eks is now known as SB-X
[01:31:11] <SB-X> thanks!
[01:31:17] <wjp> if quality is one byte, then 1023 = 255
[01:32:29] <SB-X> i didn't sort anything in gamestrings.txt so they should be in the correct order
[01:33:21] <SB-X> well, the incantation abbreviations might not be all there
[01:33:22] <luteijn> only perhaps we're missing a few that strings didn't see as a string (too short)? But I think all spells use atleast 2 syllables
[01:34:34] <SB-X> they are probably all there then
[01:34:40] <luteijn> anyway the incantations are pretty well known from the documentation, except for armageddon, which probably was something like vas corp an mani (big death, no heal)
[01:35:05] <SB-X> wjp: how did you decompress game.exe?
[01:35:20] <SB-X> hehe
[01:35:43] <SB-X> it says it when you cast them
[01:35:53] <SB-X> but I dont remember that one
[01:36:00] <luteijn> checked that in U6, armageddon is vcbm, and looks like it doesn't need reagents
[01:38:22] <luteijn> anyway, I guess we have the basics for the spellcasting system now, as we know how to read a spellbook.
[01:39:58] <SB-X> we'll need code to move things into containers
[01:40:04] <SB-X> and the spellbook and vortex cube are special
[01:40:49] <SB-X> theres a related item in the bugtracker (about containers not handled properly)
[01:41:19] <SB-X> oh but you wouldn't need that to do casting with books that already have spells
[01:41:54] <luteijn> yeah books load up fine, and you can probably open a book, drag in a spell from the mapwindow.
[01:44:46] <luteijn> I need to get some sleep, as I don't have the reagents for another 'vas an zu'. goodnight/day/whatever-it-is-for-you
[01:44:51] <-- luteijn has left IRC ("[BX] Become a BitchX Certified Systems Engineer today! Apply within!")
[02:01:12] <wjp> yes... sleep sounds good right now :-)
[02:01:18] <wjp> bye
[02:09:15] --> sbx has joined #nuvie
[02:09:15] <-- SB-X has left IRC (Read error: 104 (Connection reset by peer))
[02:29:06] --> EsBee-Eks has joined #nuvie
[02:29:06] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[03:26:26] --> sbx has joined #nuvie
[03:26:27] <-- EsBee-Eks has left IRC (Read error: 104 (Connection reset by peer))
[04:40:18] --> EsBee-Eks has joined #nuvie
[04:40:23] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[04:59:20] <-- exultbot has left IRC (signing off...)
[05:00:54] --> exultbot has joined #nuvie
[05:00:54] --- Topic for #nuvie is: Nuvie - New Ultima VI Engine (http://nuvie.sf.net)
[05:00:54] --- Topic for #nuvie set by ChanServ at Sun Feb 1 04:59:51 2004
[05:06:10] --> wjp has joined #nuvie
[05:22:36] <-- wjp has left IRC (calvino.freenode.net irc.freenode.net)
[05:22:42] --> wjp has joined #nuvie
[09:06:45] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[15:21:30] --> Kirben has joined #nuvie
[15:56:16] <-- Kirben has left IRC (Read error: 110 (Connection timed out))