#exult@irc.freenode.net logs for 26 Oct 2013 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:05:22] <-- sh4rm4 has left IRC (Remote host closed the connection)
[00:14:54] --> sh4rm4 has joined #exult
[00:54:49] --> Matt_O1 has joined #exult
[00:57:24] <-- Matt_O has left IRC (Ping timeout: 252 seconds)
[01:17:48] <-- Matt_O1 has left IRC (Ping timeout: 248 seconds)
[01:43:35] --> ShamblerDK has joined #exult
[01:49:44] --> Matt_O has joined #exult
[02:57:00] <-- Matt_O has left IRC (Ping timeout: 248 seconds)
[03:12:38] <-- ShamblerDK has left IRC (Remote host closed the connection)
[04:48:54] --> Matt_O has joined #exult
[04:49:19] <-- Matt_O has left IRC (Client Quit)
[06:16:53] --> static has joined #exult
[06:38:18] <-- static has left #exult
[10:00:49] <-- Dominus has left IRC (Ping timeout: 240 seconds)
[10:05:26] --> Dominus has joined #exult
[10:05:26] --- ChanServ gives channel operator status to Dominus
[11:27:40] <-- sh4rm4 has left IRC (Remote host closed the connection)
[13:37:07] --> sh4rm4 has joined #exult
[14:34:20] <Dominus> wjp, can you easily look up in old commit messages who did "cerr << "Can't create script for NULL object" << endl;" in uscode/ucinternal.cc?
[14:34:47] <wjp> yes, use svn/git annotate
[14:35:37] <Dominus> as I reported when you destroy the cube generator, the time lord should speak to you and in Exult you get this message instead. commenting the if that is part of crashes Exult of course :)
[14:35:46] * Dominus looks up svn annotate
[14:36:13] <wjp> it takes a file argument
[14:42:51] <Dominus> thanks. That identation commit screws with that a bit but it's clear enough that this was done in revision 3172
[14:43:07] <Dominus> indentation or however that is called...
[14:51:44] <wjp> it might be better to look at what's producing the null object instead
[14:55:30] <Dominus> hmm, yeah, I just wanted to examine the usecode egg there to maybe learn more. I don't think I'm of much use to backtrace through that code...
[15:46:53] <Dominus> hmm, usecode 0x6de probability 100
[15:47:01] <Dominus> actually a whole stack of eggs
[15:51:14] <Dominus> so the first one is just the teleporter
[16:07:01] --> ShamblerDK has joined #exult
[16:18:46] --> Marzo1 has joined #exult
[18:23:55] <Dominus> ok, it's not at all caused by the usecode eggs there but really by breaking the prism around the cube
[18:24:26] <Dominus> hence it makes sense that it really displays the message from void Usecode_internal::create_script
[18:25:36] <Dominus> breaking the cube prism is, as far as i think, scheduling the speech by the time lord. but since something breaks there, we get the null object.
[18:28:36] <Dominus> marzo, marzo1 that would be again something for your usecode knowledge :)
[18:30:42] <Dominus> small wrap up: when you break the cube generator prism, you get teleported back to the dungein and then the time lord is supposed to say something. I *think* at the breaking moment the game scripts usecode to let the time lord speak. Because we dosomething wrong there, our obj is NUL and we get the message
[18:30:43] <Dominus> "Can't create script for NULL object"
[18:31:09] <Dominus> from usecode/ucinternal.cc:1474 void Usecode_internal::create_script
[18:41:42] <Dominus> wjp, funny thing: in the ancient alpha 4 that time lord speech still works :)
[18:51:23] <Dominus> hmm, beta1, too
[18:53:46] <Dominus> ok, 0.98rc1 is broken, so it broke in between :)
[18:57:28] <Dominus> hmm, so it might be rev 3172 or so because that is close after beta1...
[19:08:55] <wjp> that is scarily old :-)
[19:12:21] <wjp> (many more commits in between those rwo releases though)
[19:34:40] <Dominus> it's really scary how old that is
[19:35:08] <Dominus> and that it happened during the time of many usecode changes...
[19:52:04] <-- sh4rm4 has left IRC (Remote host closed the connection)
[22:43:41] --> sh4rm4 has joined #exult
[22:59:00] <Dominus> wjp, maybe you have some more ideas for me to follow my search up...
[22:59:49] <Dominus> when I make a debug build, I get the message "Probable attempt at getting int value of pointer!!" maybe it's there it receives a null object.
[23:00:23] <Dominus> (usecode/useval.h:128)