#nuvie@irc.freenode.net logs for 22 Jul 2012 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[00:15:40] --> Kirben has joined #nuvie
[00:19:05] <Malignant_Manor> The line test is redundant but I haven't removed it.
[00:19:10] <Malignant_Manor> oops
[00:53:23] <Yuv422> I wonder if we should do a pathfinder check for eggs when spawning
[00:53:30] <Yuv422> in dungeons
[00:53:52] <Malignant_Manor> Probably, this is an issue outdoors too
[00:54:08] <Malignant_Manor> just not as bad as that can get
[00:55:55] <Malignant_Manor> The hanging has happened many times before in dungeons.
[00:57:37] <Yuv422> yeah I'm just trying to debug it now
[00:58:09] <Malignant_Manor> Crap, my attacking objects with doubleclick might cause issues.
[00:58:35] <Malignant_Manor> If I attack as throw effect is happening, then it deletes the object.
[00:59:08] <Malignant_Manor> No, it is always happening.
[01:00:12] <Malignant_Manor> Wait, I think I there is an object delete in the code that is used for some multi-targets and not others. I bet that is the issue.
[01:09:41] <CIA-35> nuvie: 03malignantmanor * r1446 10/nuvie/trunk/ (5 files in 3 dirs):
[01:09:42] <CIA-35> nuvie: * Double click now attacks objects in combat mode
[01:09:42] <CIA-35> nuvie: * Fix drop going through walls
[01:09:42] <CIA-35> nuvie: * Fix chain bolt using player instead of caster
[01:09:42] <CIA-35> nuvie: * Fix move in inventory
[01:14:54] <Malignant_Manor> MapWindow::can_drop_obj now needs an actor or it is going to return false. All calls supply an actor.
[01:17:59] <Yuv422> hmm looks like the lockup is on the fade out effect
[01:20:09] <Yuv422> I did notice that hydras fade to a white tile which isn't right
[01:20:17] <Yuv422> so that might have something to do with it
[01:22:32] <Malignant_Manor> The old blocking check for moving objects between party members is wrong.
[01:22:53] <Malignant_Manor> It only seems to matter if the party members are blacked out.
[01:23:27] <Yuv422> ah k
[01:49:26] <Malignant_Manor> I'm not sure how to do it like that so I will leave it alone for now.
[01:50:21] <Yuv422> cool
[02:21:17] <Yuv422> I think I found the cause of the hang
[02:21:27] <Yuv422> I was using a variable uninitialised
[02:21:30] <Yuv422> :-(
[02:21:34] <Yuv422> in the fadeeffect
[02:23:46] <Yuv422> be back later
[02:23:48] <-- Yuv422 has left IRC (Quit: Yuv422)
[02:25:31] --> Yuv422 has joined #nuvie
[02:26:10] <-- Yuv422 has left IRC (Client Quit)
[03:18:57] <Malignant_Manor> Here are all of the command bar settings per game. http://pastebin.com/eFnDXvTu
[04:09:03] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
[04:47:49] --> Yuv422 has joined #nuvie
[05:21:26] --> Malignant_Manor has joined #nuvie
[05:32:58] <-- Dominus has left IRC (*.net *.split)
[05:33:00] <-- CIA-35 has left IRC (*.net *.split)
[05:33:00] <-- Yuv422 has left IRC (*.net *.split)
[05:33:01] <-- Kirben has left IRC (*.net *.split)
[05:33:02] <-- ChanServ has left IRC (*.net *.split)
[05:33:06] <-- wjp has left IRC (*.net *.split)
[05:33:08] <-- SugarCube has left IRC (*.net *.split)
[05:33:09] <-- SHODAN has left IRC (*.net *.split)
[05:33:11] <-- Malignant_Manor has left IRC (*.net *.split)
[05:41:22] --> ChanServ has joined #nuvie
[05:41:22] --> CIA-35 has joined #nuvie
[05:41:22] --> Kirben has joined #nuvie
[05:41:22] --> Yuv422 has joined #nuvie
[05:41:39] --> Dominus has joined #nuvie
[05:41:48] --> wjp has joined #nuvie
[05:41:53] --> SHODAN has joined #nuvie
[05:42:08] --> Malignant_Manor has joined #nuvie
[05:42:14] --> SugarCube has joined #nuvie
[06:00:39] <Malignant_Manor> That fix seems to work well.
[06:01:08] <Yuv422> :-)
[06:01:23] <Malignant_Manor> That explains why I could never get through a fight with slimes
[06:01:43] <Yuv422> yeah it was a nasty bug
[06:01:49] <Malignant_Manor> Did you see all the posted command bar save settings?
[06:01:57] <Yuv422> yeah
[06:02:07] <Yuv422> thanks for that
[06:02:46] <Yuv422> I'll put them in the docs repo
[06:02:55] <Malignant_Manor> That option is a whole lot better when you don't have double click (ie, the original)
[06:03:26] <Yuv422> will need to make files for the objlist settings in MD and SE
[06:03:48] <Yuv422> yeah I'm surprised I never knew about that right click commandbar option
[06:03:57] <Yuv422> I guess I wasn't a mouse user though
[06:04:06] <Malignant_Manor> I knew right away without a manual.
[06:04:41] <Yuv422> I've got a fix for the hydra fade issue too
[06:04:45] <Yuv422> I'll comit it later
[06:04:52] <Malignant_Manor> The darn Complete Ultima 1-6 cd had a crappy txt manual. It didn't even provide copy protection.
[06:05:18] <Yuv422> That's no good
[06:05:32] <Yuv422> I had the bigbox U6 version
[06:05:41] <Yuv422> had = have
[06:06:30] <Malignant_Manor> I've fixed the spell view needing an extra click for targeted spells.
[06:07:50] <Malignant_Manor> We've got the original pretty much all the original interface that matters.
[06:08:05] <Malignant_Manor> With a whole lot more improvements.
[06:08:11] <Yuv422> :)
[06:09:07] <Yuv422> I'm going to put in the missing movement point subtractions this afternoon
[06:09:39] <Malignant_Manor> I would leave out save subtractions.
[06:10:06] <Yuv422> it subtracted points on save?
[06:10:16] <Malignant_Manor> yeah
[06:10:35] <Malignant_Manor> I know for sure SE did.
[06:10:43] <Yuv422> strange
[06:10:49] <Malignant_Manor> I think they all did.
[06:11:22] <Malignant_Manor> I'd have to check.
[06:12:23] <Malignant_Manor> U6 doesn't seem to do it.
[06:12:29] <Yuv422> the original halves the points when you are on a horse
[06:12:39] <Yuv422> even for things like use/drop/get
[06:13:02] <Malignant_Manor> Attacks too?
[06:13:04] <Yuv422> you'd think some of those activities would require more time to complete when on horseback. ;-)
[06:13:08] <Yuv422> yup
[06:13:35] <Yuv422> they all use a common subtract moment points function
[06:13:49] <Yuv422> which halves the points when on horseback
[06:14:43] <Yuv422> and ax, 3FFh ; Logical AND
[06:14:44] <Yuv422> seg011:0F66 cmp ax, 1AFh ; horse with rider
[06:14:44] <Yuv422> seg011:0F69 jnz short loc_1874E ; Jump if Not Zero (ZF=0)
[06:14:44] <Yuv422> seg011:0F6B sar [bp+points], 1 ; Shift Arithmetic Right
[06:14:44] <Yuv422> seg011:0F6E
[06:14:45] <Yuv422> seg011:0F6E loc_1874E:
[06:14:54] <Malignant_Manor> It might be hard getting cancels right in Nuvie.
[06:15:18] <Yuv422> yeah the canel logic in nuive is quite different from the original
[06:18:50] <Malignant_Manor> I tried SE in combat and it actually doesn't subtract. It just had a you hear something message
[06:19:37] <Malignant_Manor> I don't think I helped with my added functionality.
[06:25:08] <Yuv422> hehe it even halves the moment cost when spell casting from a horse
[06:25:59] <Malignant_Manor> Maybe have an option to disable the unreasonable ones.
[06:26:08] <Malignant_Manor> or reduce it
[06:26:29] <Yuv422> movement point cost for spell casting is 3 x spell_magic_point_cost + 10
[06:27:44] <Yuv422> going out for a bit
[06:27:47] <Yuv422> be back later
[06:28:08] <-- Yuv422 has left IRC (Quit: Yuv422)
[06:28:08] <Malignant_Manor> I'm going to bed
[06:28:20] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
[06:35:45] <CIA-35> nuvie: 03malignantmanor * r1448 10/nuvie/trunk/ (ChangeLog views/SpellView.cpp):
[06:35:45] <CIA-35> nuvie: * Fix clicking on the map in cast mode to cast preselected targeted spells
[06:35:45] <CIA-35> nuvie: requiring an extra click
[07:12:14] --> Yuv422 has joined #nuvie
[07:43:48] <CIA-35> nuvie: 03efry * r1449 10/docs/trunk/ (martian/objlist.txt savage/objlist.txt): Added objlist.txt files for MD and SE. Added info about commandbar selected action.
[08:52:40] <-- Yuv422 has left IRC (Quit: Yuv422)
[13:23:50] <-- Kirben has left IRC ()
[18:32:14] --> Malignant_Manor has joined #nuvie
[18:32:52] <Malignant_Manor> wjp: Can you translate this to some that only uses integers?
[18:32:54] <Malignant_Manor> (x & 0x07) | (x >> 2 & 0xF8)
[18:33:40] <Malignant_Manor> It is needed for the lua script locate spell in dungeons
[18:50:13] <wjp> I'm not sure what you mean by only using integers
[18:50:26] <Malignant_Manor> not binary level
[18:50:33] <Malignant_Manor> just something that works in lua
[18:53:14] <Malignant_Manor> U6UseCode.cpp line 2696 is where I get the formula
[18:54:34] <Malignant_Manor> data\scripts\u6\magic\circle_04\locate.lua is where it needs added to adjust for differences in the world map
[18:55:16] <wjp> weird expression
[18:56:06] <Malignant_Manor> comment is from surface, do superchunk translation
[18:57:13] <Malignant_Manor> I'm still thinking this won't give me the right location.
[18:58:39] <wjp> this should be equivalent: (x % 8) + 8*((x / 32) % 8)
[18:59:19] <wjp> oh, or maybe / isn't integer division in lua
[19:01:02] <wjp> so maybe that has to be math.floor(x / 32) instead of (x / 32)
[19:01:18] <wjp> but it really is a rather weird expression
[19:01:25] <Malignant_Manor> okay
[19:02:06] <wjp> but maybe it makes sense if you know the u6 map structure, which I don't...
[19:02:21] <Malignant_Manor> 1024x1024 surface
[19:02:30] <Malignant_Manor> 128x128 dungeon
[19:03:13] <Malignant_Manor> I still don't know how this aligns dungeons differently unless that is already handled by coordinates
[19:22:37] <Malignant_Manor> I guess I will need to bug eric to fix it. Entrance to dungeon 154, 1b1, 0 - Exit of same dungeon 54, 69, 1
[19:31:14] <wjp> oh, sorry, it should be % 32 at the end, not % 8
[19:31:40] <wjp> hm, if it's for entrance/exit match up, it might make sense
[19:33:12] <-- Malignant_Manor has left IRC (Read error: Connection timed out)
[19:36:33] --> Malignant_Manor has joined #nuvie
[21:00:25] <-- Dominus has left IRC (Quit: Leaving.)
[21:00:36] --> Dominus has joined #nuvie
[21:17:50] <CIA-35> nuvie: 03malignantmanor * r1450 10/nuvie/trunk/ (ChangeLog Event.cpp MapWindow.cpp usecode/U6UseCode.cpp):
[21:17:50] <CIA-35> nuvie: * Allow double click to bypass the party leader so you can use objects
[21:17:50] <CIA-35> nuvie: underneath him. Single left click no longer passes when double click
[21:17:50] <CIA-35> nuvie: is enabled
[21:17:50] <CIA-35> nuvie: * Fix Shamino talking when entering a dungeon and he isn't there
[21:17:50] <CIA-35> nuvie: * Drag and drop to the same spot on the map now cancels drop
[21:17:50] <CIA-35> nuvie: * Left mouse button walks without a delay if you don't enable double click
[21:18:27] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
[21:19:13] --> Yuv422 has joined #nuvie
[21:27:59] <Dominus> hey Yuv422
[21:28:04] <Dominus> nice interview
[21:28:23] <Yuv422> hey Dominus
[21:28:24] <Yuv422> :-)
[21:29:50] <Dominus> I enjoy making snapshots :)
[21:30:58] * Yuv422 looks at the download page.
[21:31:11] <Yuv422> yay for up to date os x snapshots
[21:31:20] <Yuv422> thanks Dominus for doing that. :-)
[21:31:27] <Dominus> no problem
[21:32:08] <Dominus> after setting this up to run automatically for exult I quite enjoy doing it for other projects I make builts for myself anyway
[21:32:31] <Dominus> exult, pentagram, xu4 and dosbox
[21:54:57] --> Malignant_Manor has joined #nuvie
[21:59:35] <-- Dominus has left IRC (Read error: Connection reset by peer)
[21:59:36] --> Dominus1 has joined #nuvie
[22:00:58] --- Dominus1 is now known as Dominus
[22:04:20] <Dominus> I was just about to ask whether it is worth subscribing to nuvie devel mailing list but it appears not :)
[22:04:49] <Malignant_Manor> It's been a long time
[22:06:44] <Dominus> :)
[22:10:42] <Yuv422> yeah I wouldn't bother with that ;-)
[22:14:06] <Yuv422> if(original_obj_loc.x = x && original_obj_loc.y == y)
[22:14:20] <Yuv422> should that be a double equals?
[22:15:07] <Malignant_Manor> Yeah
[22:15:15] <Malignant_Manor> I made another mistake too
[22:15:20] <Malignant_Manor> I was just about to commit
[22:15:28] <Yuv422> ah k cool
[22:15:37] <Malignant_Manor> mixing drag and drop and drop command was also screwed up
[22:15:55] <Malignant_Manor> since original_obj_loc is never set for drop command
[22:16:12] <Yuv422> I've got a commit lined up too
[22:16:53] <CIA-35> nuvie: 03malignantmanor * r1451 10/nuvie/trunk/ (ChangeLog Event.cpp MapWindow.cpp MapWindow.h): * Fix last commit
[22:17:10] <Malignant_Manor> oops change the changelog for me
[22:17:22] <Yuv422> righto will do
[22:17:52] <Malignant_Manor> the revisions are wrong
[22:18:24] <Malignant_Manor> last two should be 1451 and 1450
[22:18:59] <Malignant_Manor> Did you look at the locate spell?
[22:20:53] <CIA-35> nuvie: 03efry * r1452 10/nuvie/trunk/ (8 files in 2 dirs):
[22:20:53] <CIA-35> nuvie: * Fixed bug "get,drop, use, and move should deduct movement points" [3546091]
[22:20:53] <CIA-35> nuvie: * Fixed Hydra fade bug. It was fading to a white tile.
[22:21:10] <Yuv422> I haven't looked at that yet
[22:21:23] <Yuv422> I'll try to look at it tonight
[22:36:19] <Malignant_Manor> Crap drag and drop is screw up if i drop from inventory to the right of the actor
[22:38:37] <Dominus> what's up with the conversations in full mode?
[22:39:02] <Malignant_Manor> I thought they worked last time I tested
[22:39:15] <Malignant_Manor> What problems are you having?
[22:39:24] <Dominus> I get some stuff with ++
[22:39:47] <Dominus> for example talking to shamino, when I get to the selection I have
[22:39:59] <Dominus> +3leave+
[22:40:07] <Dominus> "Yes, my friend?"
[22:42:08] <Dominus> or when I talk to gwenno first time, "you see bla bla"+buy+sell+
[22:42:36] <Dominus> actually +16buy++16sell+
[22:43:01] <Dominus> is this that cheat that enables you to see strings you don't actually see?
[22:43:06] <Malignant_Manor> I only did a tiny look at it a while ago but fullscreen is so bug ridden
[22:43:38] <Dominus> hmm, and it seems the exult bug with NPCs standing on their beds has crept in :)
[22:43:41] <Malignant_Manor> I have no idea what you are talking about with the cheat.
[22:44:02] <Dominus> I thought you were talking about this some days ago
[22:46:49] <Malignant_Manor> was I?
[22:47:02] <Dominus> yo and eric or someone else :)
[22:47:12] <Dominus> or weeks ago...
[22:47:39] <Dominus> some kind of cheat to display all possible key words
[22:47:47] <Dominus> could have been on ultima codex...
[22:47:55] <Dominus> sorry, my mind is buggy
[22:49:12] <Malignant_Manor> Mine too and it keeps creating bugs in Nuvie.
[22:49:28] <Dominus> he he
[22:53:00] <CIA-35> nuvie: 03malignantmanor * r1453 10/nuvie/trunk/ (ChangeLog Event.cpp MapWindow.cpp MapWindow.h): * Actually fix 1450 problem with mixing drag and drop and drop command
[22:57:00] <Dominus> Malignant_Manor: it's breaking here
[22:57:16] <Malignant_Manor> The commit?
[22:57:23] <Dominus> yes
[22:57:25] <Malignant_Manor> Make clean
[22:57:39] <Malignant_Manor> it changes a function parameter
[22:57:43] <Dominus> it's breaking u6usecode.cpp
[22:58:15] <Malignant_Manor> It uses can drop
[22:58:21] <Malignant_Manor> grr
[22:58:24] <Dominus> http://pastebin.com/6HSr8CGc
[22:58:25] <Malignant_Manor> balloon
[22:59:40] <Malignant_Manor> I forgot about that function call
[22:59:49] <Malignant_Manor> today is a bad day for me coding
[23:00:15] <Dominus> didn't mingw complain there?
[23:00:26] <Malignant_Manor> No
[23:00:35] <Dominus> caramba!!!
[23:00:36] <Dominus> :)
[23:00:43] <Malignant_Manor> because it is stupid and doesn't remember dependencies well
[23:01:53] <CIA-35> nuvie: 03malignantmanor * r1454 10/nuvie/trunk/usecode/U6UseCode.cpp: Fix forgotten function call
[23:02:10] <Yuv422> I'm off now
[23:02:11] <Yuv422> cya
[23:02:16] <Dominus> bye
[23:02:19] <Malignant_Manor> bye
[23:02:22] <-- Yuv422 has left IRC (Quit: Yuv422)
[23:04:36] <Dominus> fixed, compiles
[23:04:37] <Dominus> thanks
[23:09:21] <Dominus> I'm off now, too
[23:09:24] <Dominus> good night
[23:09:35] <Malignant_Manor> bood night
[23:09:44] <Malignant_Manor> good night
[23:24:54] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])