#exult@irc.freenode.net logs for 9 Feb 2013 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[03:13:13] <-- Marzo has left IRC (Ping timeout: 256 seconds)
[04:20:48] <-- Colourless has left IRC (Ping timeout: 276 seconds)
[04:31:37] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[09:04:24] --> Colourless has joined #exult
[09:04:24] --- ChanServ gives channel operator status to Colourless
[09:06:02] <-- Dominus has left IRC (Remote host closed the connection)
[09:06:33] --> Dominus has joined #exult
[09:06:34] --- ChanServ gives channel operator status to Dominus
[09:54:15] <-- Dominus has left IRC (Read error: Connection reset by peer)
[09:54:21] --> DominusExult has joined #exult
[09:54:21] --- ChanServ gives channel operator status to DominusExult
[13:02:00] --> Marzo has joined #exult
[13:14:26] <-- Kirben has left IRC ()
[13:17:06] --- DominusExult is now known as Dominus
[14:02:41] --> redwar has joined #exult
[14:33:09] <Dominus> so, marzo, satisfied with your usecode compiler & disassembler changes? can I motivate you to look at the few outstanding bugs?
[14:33:34] <Dominus> Tonight I'll have time to do some more game testing... hoping to get quite abit further in Britannia :)
[14:33:44] <Marzo> Will do; I am just looking at some decompilation stuff for a possible usecode decompiler, but it is not high priority
[14:34:04] <Dominus> but probably more interesting to you :)
[14:34:18] <Marzo> True :-)
[14:34:32] <Dominus> bah, right when I begin to write here, I'm called away...
[14:34:36] <Dominus> catch you later
[14:34:55] <Marzo> k
[15:46:32] <Marzo> Wow... ucxt really borks up SI function 0x939
[16:03:45] <Dominus> how so?
[16:15:34] <Marzo> For starters, 0x939 seems to be borked up already
[16:16:00] <Marzo> But looking at the disassembly, there are lots of things that "should" be there but ucxt's -fs output doesn't include
[16:16:05] <Marzo> (-fa output is fine)
[16:17:42] <Marzo> Here is the start of the -fs output of ucxt: http://pastebin.com/1eDG5SWK
[16:18:09] <Marzo> And here is what I got by manually analyzing the -fa output for the same segment: http://pastebin.com/sTfBErZ9
[17:14:18] <Marzo> Hm. SI function 0x91F and SS function 0x939 are the same function, and they both suffer from the same flaw on the originals: the last two extern entries are swapped, which is what causes most of the problems in those functions
[17:24:35] <Marzo> (and the usecode makes sense when swapping the two entries)
[17:37:04] <Marzo> Dominus: I am thinking of adding a hack to fix this usecode bug; it is related to the Fawn trial, and if changes two things in some circumstances I am not yet sure: (1) it makes Lady Yelinda say "@Zulith...@" at one point, and it makes the avatar say "@" + (name) + "!@" to the party member on trial, which replies with "@" + (milord/milady) + "...@"
[17:37:38] <Marzo> I will check how the trial proceeds with and without the fix first to make sure
[17:37:45] <Marzo> (without the fix, these vanish)
[17:49:54] <wjp> that function causes a stack underflow as it is?
[17:50:44] <wjp> catching that is an interesting side effect of decompiling :-)
[18:04:39] <-- redwar has left IRC (Ping timeout: 252 seconds)
[18:31:57] <Marzo> wjp: that function in SI and only one in BG actually cause stack underflows, but the one from SI is fixable
[18:50:41] <Marzo> And it does look better with the hack on
[18:50:49] <Marzo> Now just to find a good place to do it
[18:52:01] <wjp> not just in sifixes?
[18:54:58] <Marzo> With a simple hack I can make the originals work
[18:55:14] <Marzo> By simply swapping the last two extern entries
[18:55:42] <Marzo> But I suppose it could be left for SI Fixes
[19:04:15] --> i30817 has joined #exult
[19:42:00] --> Malignant_Manor has joined #exult
[20:05:46] --> redwar has joined #exult
[20:34:22] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130201065344])
[20:41:56] <Marzo> Huh... just found two nasty stack overflow bugs in the usecode machine
[20:50:32] <wjp> what goes wrong?
[21:34:06] <Marzo> wjp: CALLE/CALLE32/CALLO pop the caller item from stack, then push it back in; after the function call, this re-pushed element stays there
[21:35:19] <Marzo> The correct behavior is to simply pop the caller item
[21:35:58] <Marzo> As a matter of fact, this pushing back prevents CALLO from working if the called function has any parameters
[21:36:11] <Marzo> Anyway, fix committed
[21:37:21] * Dominus is getting old
[21:37:47] * Dominus is receiving match.com 40+ Singles spam...
[21:40:17] <Dominus> Marzo, if you find time, and still have all your notes, I think docs/usecode_bugs.txt could probably use a mjor update with all your findings :)
[21:42:35] <Dominus> as for the Fawn trial usecode bug, I have no opinion on whether to hack it or add the fix to SI Fixes
[21:42:46] <Marzo> I added it to SI Fixes
[21:42:53] <Marzo> And committed it already
[21:43:27] <Dominus> hmm,, SF commit mails seem to be slooooooow again
[21:43:30] <Marzo> I am now modifying the build tree to generate SI Fixes with the avatar pack graphics, even if they are disabled by default
[21:44:43] --> Malignant_Manor has joined #exult
[21:44:43] <Marzo> Be back later
[21:44:57] <Dominus> seems svn is sloooooow as well :(
[21:45:02] <Dominus> cu later
[22:20:20] <Dominus> now playing a bit...
[22:21:54] <Dominus> aaarggghh, broke the Game... damn fool
[22:23:59] <Malignant_Manor> I don't see any SI Fixes commits.
[22:24:31] <Dominus> svn must be slow or maybe Marzos commit was rejected
[22:25:22] <Malignant_Manor> Probably rejected or forgot to send
[22:29:57] --> Kirben has joined #exult
[22:29:57] --- ChanServ gives channel operator status to Kirben
[22:32:53] <Dominus> now where is that damn mouse
[22:35:50] --> DominusExult has joined #exult
[22:35:50] --- ChanServ gives channel operator status to DominusExult
[22:37:23] <-- Dominus has left IRC (Ping timeout: 240 seconds)
[22:37:24] --- DominusExult is now known as Dominus
[22:49:13] <Dominus> hmm, now that I helped Weston, I'd wish for some more closure for this. Marzo, perhaps something for BG keyring, after freeing Weston, maybe move him to Paws to reunite with Alina. And Figgs should be put into prison after some time :)
[22:52:59] <-- redwar has left IRC (Ping timeout: 252 seconds)
[23:02:44] <Dominus> and Snaz could use an update too after Weston is freed (Snaz is the beggar telling jokes, including a Weston joke)