IRC logs for #opendune on OFTC at 2010-12-04
⏴ go to previous day
03:30:11 *** DorpsGek has joined #openDune
03:30:11 *** ChanServ sets mode: +o DorpsGek
05:23:20 *** olinuxx has joined #openDune
10:50:34 *** olinuxx has joined #openDune
10:54:48 *** fjb is now known as Guest1625
14:50:13 *** glevans2 has joined #openDune
16:27:58 *** glevans2 has joined #openDune
16:49:46 *** glevans2 has joined #openDune
20:01:09 *** olinuxx has joined #openDune
20:21:20 *** ChanServ sets mode: +v DorpsGek
20:21:20 *** ChanServ sets mode: +o TrueBrain
20:21:20 *** ChanServ sets mode: +v Xaroth|Work
20:47:33 <TrueBrain> do we know how score is created, glx?
20:47:39 <TrueBrain> don't think House has a variable for it, does it?
20:51:16 <glx> I don't see any total harvested spice nor total killed unit counters in House struct
20:51:54 <TrueBrain> and upon kill, I don't see anything special happening too ..
20:52:38 <glx> but things should be stored somewhere
20:53:06 <TrueBrain> and updated somehow :p
20:57:35 <glx> and harvested variables are updated in Script_Structure_RefineSpice()
21:02:24 <glx> then I searched for 0x8D37, 0x8D39, 0x8D3B and 0x8D3D
21:02:50 <glx> I think the killed counter are variable 3E and 40
21:03:01 <TrueBrain> and so the other two the score?
21:03:28 <TrueBrain> Script_Unit_Unknown12CE
21:03:37 <TrueBrain> increases 3A and 3C (depending on player or AI)
21:04:30 <TrueBrain> so you get 1 point for 1 kill
21:05:09 <glx> variable_0002 may store the score
21:05:31 <TrueBrain> makes more sense :)
21:05:35 <glx> increase when you kill an unit, decrease when you lost one
21:05:41 <TrueBrain> 3A/3C are units killed
21:05:46 <TrueBrain> 3E/40 structures killed
21:06:45 <TrueBrain> there is one more change to 8CFF (Variable_0002)
21:07:59 <glx> hmm variable_0002 is linked to unit/structs only
21:10:02 <TrueBrain> score is later on corrected
21:13:04 <TrueBrain> guessI could try to decode that function
21:15:52 <glx> some unresolved stuff in it
21:16:27 <glx> I can try to find it in the exe (as it's an overlay)
21:19:56 <TrueBrain> out playing some games with my roommates, so please do what you can :)
21:22:05 <glx> found it, now I can run my decompiler :)
21:29:03 <glx> ok jumps resolved (was easy)
22:35:34 <glx> I started to convert it ;)
23:03:36 <glx> 4116 for atreides 1 is not right
23:57:12 <TrueBrain> lots of cleaning to do :D
23:57:20 <TrueBrain> I wonder why harvested is given as pointer ...
23:59:20 <TrueBrain> owh, to change the value
continue to next day ⏵