IRC logs for #opendune on OFTC at 2010-02-14
            
00:28:52 <Xaroth> glx: what version of windows are you running?
00:28:53 <Xaroth> xp?
00:38:15 <glx> 7 64bit
00:39:13 <Xaroth> how does it run for you?
00:39:20 <glx> fine
00:39:25 <Xaroth> helped mate getting it on his rig, tempted to install it on mine as well
00:40:12 <Xaroth> seeing my xp has been installed for well over a year now
00:42:00 <Xaroth> especially as I game quite a bit.. so I'll at least need to see if there are some optimizations available
00:46:13 <Xaroth> oo a gamers edition 7x64
00:47:38 * glx needs to sleep :)
00:48:35 <glx> and goes to ;)
00:48:38 <glx> bye
00:48:47 *** glx has quit IRC
00:49:09 <Xaroth> wow, the first time i've seen glx leave this early O_O
09:38:23 <TrueBrain> yes, indeed :)
09:38:25 <TrueBrain> and morning
10:18:35 <Xaroth> meh, more snow
10:18:59 <TrueBrain> MORE SNOW!!!
10:19:15 <Xaroth> http://www.eveonline.com/news.asp?a=single&nid=3696
10:22:42 <TrueBrain> too much text
10:27:15 <Xaroth> heh
11:08:53 <Xaroth> time for some more avp demo :o
11:09:01 <TrueBrain> enjoy
12:11:58 * Xaroth cleaning up pc
12:12:24 <Xaroth> backing up stuffs, so I can start working on reinstalling this machine
13:20:31 *** glx has joined #openDune
13:20:31 *** ChanServ sets mode: +o glx
13:20:53 <glx> hello
13:21:40 <TrueBrain> morning :)
13:32:32 <glx> hmm 898 fails to compile with msvc
13:33:06 <TrueBrain> and 902? :p
13:33:09 <TrueBrain> what fails?
13:33:21 <glx> Erreur,...1,...error C2034: 'notused' : type de champ de bits trop petit pour le nombre de bits,...d:\developpement\opendune\trunk2\src\structure.h,...122 <-- bitfield too small
13:33:36 <TrueBrain> haha, :9 on a uint8
13:35:37 <DorpsGek> SVN: truebrain (r903) -Fix (r898): MSVC doesn't like uint8:9 :p
13:36:38 <glx> using uint16 worked too :)
13:36:53 <TrueBrain> yes, but that means BITTYPE has to be uint16
13:37:02 <TrueBrain> which is bad, as that doesn't fit in 8 bits if needed :p
13:37:17 <glx> yes, but all flags are uint16
13:37:36 <TrueBrain> well, the structure is in fact uint32
13:37:39 <TrueBrain> which I should merge now
13:37:42 <TrueBrain> no idea why I didn't yet
13:41:38 <DorpsGek> SVN: truebrain (r904) -Codechange: merge 'flags' and 'flags2' in Structure, as that is now possible
13:41:44 <TrueBrain> hope it compiles on MSVC :)
13:47:32 <glx> it does
13:48:29 <TrueBrain> :)
14:05:55 <TrueBrain> House Weapon Launch
14:05:56 <TrueBrain> in what file?
14:05:59 <TrueBrain> house_WeaponLaunch
14:06:03 <TrueBrain> structure_HouseLaunch
14:06:05 <TrueBrain> ?
14:06:07 <TrueBrain> planetmaker? :p
14:06:36 <planetmaker> hm? what does it do?
14:09:06 <TrueBrain> launch the weapon of the house
14:09:11 <TrueBrain> (missile, sabotour or freeman)
14:09:36 <planetmaker> ah...
14:09:48 <planetmaker> structure_SpecialWeaponLaunch
14:11:39 <TrueBrain> I wonder if is belongs to structure, unit or house
14:11:41 <TrueBrain> as it creates a unit
14:11:45 <TrueBrain> it belongs to the house
14:11:48 <TrueBrain> and it comes from a structure
14:12:42 <TrueBrain> unit_LaunchSpecialWeapon
14:12:43 <TrueBrain> ?
14:12:58 <TrueBrain> no, first param is 'structure'
14:13:07 <TrueBrain> so structure_SpecialWeaponLaunch it is
14:14:15 <planetmaker> or just structure_LauchSpecial
14:14:30 <planetmaker> or structure_UseSpecial
14:14:43 <TrueBrain> well, if we ever have other SpecialWeapon functions, it is nice if the functions are ordered correctly
14:14:48 <TrueBrain> and sturcture_SpecialUse
14:14:54 <TrueBrain> SpecialLaunch
14:15:00 <TrueBrain> SpecialCreate
14:15:05 <TrueBrain> SpecialRUNFORESTRUN
14:15:28 <planetmaker> structure_UseHouseSpecial?
14:15:39 <planetmaker> hm... there's no good word really for it. It's too diverse.
14:16:55 <TrueBrain> structure_SpecialWeaponFire
14:17:49 <TrueBrain> structure_SpecialWeapon_Fire
14:18:22 <TrueBrain> FireSpecial it is, for now :p
14:19:27 <planetmaker> Fire Saboteur and Freemen? ;-)
14:19:35 <planetmaker> I'd do that, if they fail
14:20:03 <TrueBrain> hehehehe :p
14:20:17 <TrueBrain> AvtivateSpecial ?
14:20:20 <TrueBrain> Activatespecial
14:20:23 <TrueBrain> ActivateSpecial
14:20:25 <TrueBrain> grr
14:38:52 <TrueBrain> @calc 0x380A - 0x37F8
14:38:52 <DorpsGek> TrueBrain: 18
14:39:00 <TrueBrain> @base 10 16 18
14:39:00 <DorpsGek> TrueBrain: 12
14:39:24 <planetmaker> ActivateSpecial sounds fine
14:40:00 <glx> I hate rep_scasb
14:40:12 <TrueBrain> I agree
14:40:12 <glx> when I fix a part, another one breaks
14:44:10 <TrueBrain> if (g_houseInfo[s->houseID].variable_12 == 0x1) goto l__0565;
14:44:11 <TrueBrain> if (g_houseInfo[s->houseID].variable_12 != 0x2) goto l__055A;
14:44:13 <TrueBrain> goto l__0663;
14:44:14 <TrueBrain> l__055A:
14:44:16 <TrueBrain> if (g_houseInfo[s->houseID].variable_12 != 0x3)
14:44:17 <TrueBrain> sometimes I wonder ....
14:45:42 <glx> the second test is just ,...if (g_houseInfo[s->houseID].variable_12 == 0x2) goto l__0663;
14:46:16 <TrueBrain> exactly!
14:46:25 <TrueBrain> it wastes a fucking jump for it
14:56:13 <TrueBrain> @base 10 16 ]calc 0x3804 - 0x37F8]
14:56:13 <DorpsGek> TrueBrain: Error: Spurious "]". You may want to quote your arguments with double quotes in order to prevent extra brackets from being evaluated as nested commands.
14:56:17 <TrueBrain> @base 10 16 [calc 0x3804 - 0x37F8]
14:56:17 <DorpsGek> TrueBrain: C
15:06:27 <TrueBrain> k .. the AI always launches his missile to the first structure in the array
15:06:41 <TrueBrain> so, destroy a building of his, build the next one at some remote location, and you are done
15:09:35 <Xaroth> destroy a building of his?
15:09:57 <TrueBrain> yes, so you take over a structure with a low ID
15:10:49 <planetmaker> he. sounds like an interesting tactic ;-)
15:21:34 <Xaroth> in other words, technically it targets your CY at all times
15:21:41 <Xaroth> unless ofc you use your trick
15:22:16 <TrueBrain> yup
15:24:30 <TrueBrain> glx: feel like taking a break of Sound stuff? :p I think 2537:000C:001C:86CB is RandomRange, but it means Tools_Var79E4_Update is related to randomizer?
15:31:17 <glx> hmm yes maybe
15:47:42 <TrueBrain> if (!h->flags.human && !h->flags.used) return;
15:47:51 <TrueBrain> as far as I know, it is not really possible to have used on false, and human on true ..
15:53:28 <TrueBrain> if you are pointing the missile to its destionation, and the AI triggers his missile, yours is lost :p
16:15:14 <TrueBrain> http://svn.opendune.org/~truebrain/temp.patch
16:15:58 <TrueBrain> update .. removed debug statement :p Lol :)
16:18:43 * glx restarts C-ification
16:18:49 <TrueBrain> :(
16:19:03 <TrueBrain> but sometimes that is for the better, yes
16:19:27 <glx> I did too much at the same time, like removing gotos
16:19:52 <glx> first conversion, then cleaning, should work better
16:19:53 <TrueBrain> so this time, take it more slow :)
16:20:35 <DorpsGek> SVN: truebrain (r905) -Add: C-ified Structure_ActivateSpecial()
16:20:36 <TrueBrain> blob
16:21:00 <TrueBrain> I eventested my patch :)
16:21:21 <TrueBrain> dinner time
16:48:17 <Xaroth> ok, windows 7 runs
16:56:14 <Xaroth> woo
17:04:40 <Xaroth> now to get ultramon again
17:04:45 <Xaroth> i seem to have missed that while backing up stuff
17:04:59 <glx> ok even without any major change, there are differences
17:19:07 <TrueBrain> :s :s
17:32:10 <glx> looks like 2 sounds are played at the same time, but I'm not sure
17:32:43 <TrueBrain> anything you want me to look over?
17:33:26 <glx> trying something (set sounds to off in config)
17:40:00 <TrueBrain> else, send me your patch, and I will spend some time checking :)
17:40:01 <glx> yeah, no the output is the same for both :)
17:40:09 <glx> *now
17:40:23 <glx> my patch is quite empty ;)
17:40:31 <TrueBrain> lol
17:41:09 <glx> but now I know I can compare outputs so it should be easy
17:47:23 <TrueBrain> good luck :)
18:10:14 <Xaroth> for the love of
18:10:24 <Xaroth> IE8 is 64 bits
18:10:33 <Xaroth> but for steam i need the 32b flash driver
18:10:44 <Xaroth> which you can't download through the steam browser seeing it prevents normal browsing
18:11:03 <Xaroth> ... and adobe redirects 64b IE8 to some dodgy 'there is no flash for win64'
18:12:53 <Xaroth> wow.. sounds in eve O_O
18:13:40 <TrueBrain> WOW! :p
18:14:28 <Xaroth> o_O new intro for eve as well
18:14:37 <Xaroth> used to be a different one
18:14:57 <TrueBrain> wasn't that updated for you?
18:15:01 <TrueBrain> owh, you see it once
18:15:02 <TrueBrain> hehe
18:15:03 <Xaroth> yeh
18:15:40 <Xaroth> need to find out if ultramon works on win7 as well
18:15:52 <Xaroth> OOO YEAH, need to see if this fixes the ATI graphics bug as well
18:15:56 * Xaroth undocks
18:16:06 <Xaroth> it'll mean I can play on full settings once again
18:16:58 <Xaroth> YEAH!
18:16:59 <Xaroth> wooot
18:17:00 * Xaroth happy bunny
18:17:41 <TrueBrain> haha
18:18:56 <Xaroth> yeah, this is SO much better
18:19:09 <Xaroth> glx: you happen to be using dual-screen, if so, do you use ultramon or the like?
18:19:28 <glx> I use only 1 screen
18:19:58 <glx> [19:10:34] <@Xaroth> IE8 is 64 bits <-- there is a 32bit IE too
18:20:04 <Xaroth> hm
18:21:26 <Xaroth> glx: thanks yer the bestest :o
18:38:34 <Xaroth> ooo ultramon goodness
18:42:13 <Xaroth> one good thing wth
18:42:19 <Xaroth> ... er, scrap that
18:42:32 <Xaroth> i was about to say,one good thing of steam, it can re-download and install your games for you
18:42:42 <Xaroth> ... but then I realised that the new G15 driver has an RSS reader..
18:43:57 <Xaroth> and windows 7 has some support for the G15 display as well, wtf
18:46:27 <Xaroth> "No unread news" <3
18:47:39 <Xaroth> time to try AVP on this install
19:04:01 <Xaroth> haha
19:04:03 <Xaroth> 25 poitns for me
19:04:06 <Xaroth> 13 points for the #2
19:04:10 <Xaroth> <3 avp
19:04:18 <Xaroth> me as solo predator vs 3 aliens
19:04:25 <Xaroth> green filter and go for it, har har
19:38:00 <TrueBrain> weird ... the house missile is given a Unit_Free, and used after that ...
19:38:01 <TrueBrain> sounds wrong
20:31:11 <TrueBrain> glx: and, getting anything more out of it now?
20:32:53 <glx> I have differences again
20:33:14 <TrueBrain> :(
20:33:24 <TrueBrain> still stasb?
20:34:24 <glx> this part is not converted yet
20:36:42 <glx> not a big difference, just some noteoff played sooner or later (but no missing stuff)
20:37:02 <glx> this time it's probably a timing issue :)
20:47:24 <TrueBrain> hehe :)
20:47:27 <TrueBrain> that is acceptable ;)
20:52:18 <glx> but output file size is the same so
20:52:58 <TrueBrain> that is promising
21:19:59 <Xaroth> oooh the resource monitor win7 has is also somewhat useful
21:20:37 <TrueBrain> so you like win7? Good, it is one of the best OSes Windows has produced :p
21:20:48 <Xaroth> I never said that
21:20:54 <Xaroth> I just say it has some useful stuff
21:21:19 <Xaroth> it'll take ages getting used to I think
21:22:21 <Xaroth> you can even see what apps are writing to what o_O
21:22:39 <TrueBrain> I did say that :)
21:22:48 <TrueBrain> they finally put in a sane kernel
21:22:52 <TrueBrain> even sane IO cache
21:23:18 <Xaroth> still not as good as the linux kernel and io cache :P
21:26:29 <TrueBrain> GRR! Almost won in this level of CoD4 MW2 ...
21:26:34 <TrueBrain> but some mystery bullet killed me :(
21:26:38 <Xaroth> heh
21:26:45 <TrueBrain> so .. bored by that game too
21:26:49 <TrueBrain> 4rd game of the day :p
21:26:49 * Xaroth intentionally not buying MW2
21:26:59 <TrueBrain> MW2 rules all CoDs :)
21:27:08 <TrueBrain> but I am happy I cna't play it online ..
21:27:10 <Xaroth> I hate the way they did MP
21:27:12 <TrueBrain> wouldn't leave much time for anytihng else :p
21:27:23 <TrueBrain> I _love_ they way they do MP, in general, but MW2 is even better
21:27:33 <Xaroth> MW2 MP is shyte
21:27:38 <TrueBrain> why?
21:27:40 <TrueBrain> it kicks ass :)
21:27:45 <Xaroth> no proper dedicated servers
21:27:53 <TrueBrain> that might be .. don't care .. xbox anyway :p
21:27:58 <Xaroth> having to try over and over again to play with mates
21:28:06 <TrueBrain> that is bad yes
21:31:40 <TrueBrain> except EVE and OpenNNN I only play games on my xbox, so I don't have that shit :p
21:40:45 <Xaroth> OpenNNN? :o
21:40:52 <TrueBrain> yeah, fill in what ever you like
21:41:04 <Xaroth> ah
21:41:07 <TrueBrain> I doubt dune will be the last of it :p
21:41:09 <TrueBrain> OpenMMO :p
21:41:12 <Xaroth> har har
22:41:49 <Xaroth> gawd damn this game is going bad
22:44:16 <TrueBrain> which?
22:44:22 <Xaroth> a lol match
22:44:26 <Xaroth> going 75 minutes already
22:44:28 <TrueBrain> lol
22:44:34 <Xaroth> while normally they only last 30-40
22:44:57 <TrueBrain> hehehehehe
22:44:58 <TrueBrain> poor you :p
22:50:01 <Xaroth> ah well
22:50:03 <Xaroth> only good way
22:50:06 <Xaroth> is to try again >:)
22:50:29 <Xaroth> found out how to make the 'icon' view of the taskbar with labels as well, looks much better now
22:50:47 <Xaroth> you can even re-allign them :o
22:50:48 <TrueBrain> you want to disable the 'collect' thing ... fucking annoying you can't see how many MSN conversations you have open
22:50:51 <TrueBrain> or how many browser
22:51:00 <TrueBrain> you can do that on linux for ages
22:51:05 <Xaroth> I don't mind the collect thing, as long as i have labels
22:51:11 <Xaroth> soo many icons that look so much alike
22:51:41 <glx> ok the more I C-ify the more I have diffs :)
22:51:44 <Xaroth> it's semi-grouping them now
22:51:53 <TrueBrain> glx: timing, or?
22:51:56 <glx> but output files still have same size
22:51:59 <glx> so timing
22:52:08 <Xaroth> for some reason msn shows two displayed bars, while I only have the main window open..
22:52:16 <glx> C-ified code is usually faster
22:52:19 <TrueBrain> glx: maybe you have to leave this function for now, and first make sure you can test the output?
22:58:40 <glx> well I can try to make the fake MPU less fake :)
22:58:57 <glx> (at least for win32)
22:59:03 <TrueBrain> make it play sounds!!!! :) :) :)
23:10:01 <TrueBrain> try using as much SDL as you can for now .. at least gives us a chance of being cross-platform :p
23:10:04 <TrueBrain> somehow I doubt that will work ...
23:10:17 <TrueBrain> somehow I doubt it would take long before we introduce GDI for Windows :p
23:20:48 <TrueBrain> I am looking at WinFlags ... if I read this correct, it is weird :p
23:21:38 <TrueBrain> it seems that you can have the winflags like: when the enemy has zero structures, when you have more than one structure, or both
23:21:46 <TrueBrain> but you can make it that you win when you have 1 structure :p
23:21:55 <TrueBrain> no, strike that
23:22:00 <TrueBrain> you can make it that you win when you have 0 structures :p
23:22:11 <glx> I'll first use an API I have ;)
23:22:13 * Xaroth sighs
23:22:15 <Xaroth> another failgame
23:22:43 <TrueBrain> glx: k :)
23:22:45 <TrueBrain> Xaroth: want a hug?
23:22:52 <Xaroth> no thanks :P
23:23:01 <TrueBrain> I was about to suggest to call your gf for that
23:23:06 <TrueBrain> but okay .... what ever
23:23:09 <glx> if I can hear sound it's a good start
23:23:15 <TrueBrain> yes, it is
23:24:29 <planetmaker> o_O
23:25:04 <planetmaker> no thanks :P
23:25:06 <planetmaker> [00:23] <TrueBrain> I was about to suggest to call your gf for that
23:25:07 <planetmaker> [00:23] <glx> if I can hear sound it's a good start
23:25:09 <planetmaker> ^ I call that live show :-P
23:25:20 <TrueBrain> ...... LOL!
23:26:59 <TrueBrain> weird .... creditQuota is stored in House, but also in the global space
23:27:00 <TrueBrain> weird
23:27:13 <Xaroth> for victory conditions?
23:27:16 <TrueBrain> yes
23:28:56 <TrueBrain> lol, there is indeed code which allows 'timed' games
23:29:00 <TrueBrain> so only 10 minutes or something
23:29:22 <TrueBrain> read only :p
23:29:36 <TrueBrain> might be writable, but that is not decompiled
23:38:50 <TrueBrain> I think I found a debug function
23:39:24 <Xaroth> useful debug?
23:39:24 <TrueBrain> 2b1E
23:39:28 <TrueBrain> at 0189 is the entry
23:39:47 <TrueBrain> "Forced end."
23:39:51 <TrueBrain> how useful do you consider that?
23:40:04 <Xaroth> hm
23:40:05 <Xaroth> quite
23:40:13 <Xaroth> easy skipping levels ^^
23:42:26 <TrueBrain> I _really_ dont get win condition flag 0x2
23:42:34 <TrueBrain> it really reads: if you have no buildings, you win
23:42:48 <Xaroth> debug?
23:43:49 <TrueBrain> at least in the loseflags, it makes sense
23:45:18 <Xaroth> losing is easier than winning ;)
23:45:28 <TrueBrain> lose also makes no sense ...
23:45:40 <TrueBrain> turrets and rocket turrets are skipped for winning
23:45:46 <TrueBrain> losing also includes skipping walls
23:45:52 <Xaroth> base defence?
23:45:59 <Xaroth> sounds reasonable
23:46:00 <TrueBrain> but ... ingame experience show you can leave enemy walls
23:46:03 <Xaroth> as you can't do anything with those
23:46:38 <Xaroth> but then windtraps should be skipped too :
23:47:36 <TrueBrain> I would say: Win <=> Lose
23:48:00 <Xaroth> as in?
23:49:02 <TrueBrain> in the Scenario
23:49:55 <TrueBrain> hehe, in one Ordos mission you can't win the second campaign by destroying the enemy :p
23:50:06 <Xaroth> how so?
23:50:38 <TrueBrain> MrFlibble noticed that too :)
23:50:41 <TrueBrain> because the flags are wrong :p
23:53:35 <TrueBrain> I am pretty confident that the lose and winflag are inverted
23:54:39 <TrueBrain> yup
23:55:01 <TrueBrain> wait a minute .. hmm ..
23:55:58 <TrueBrain> both Win and Lose function has to return True in order to win the mission
23:56:00 <TrueBrain> lol
23:56:52 <TrueBrain> so we have been looking all wrong at those flags
23:56:58 <TrueBrain> they are 2 levels
23:57:09 <TrueBrain> when you reach 'Win', and also reached 'Lose', you win
23:57:16 <TrueBrain> if you reach 'Win', but not reach 'Lose', you lose
23:57:40 <Xaroth> eh?
23:58:06 <TrueBrain> scena001.ini:LoseFlags=4
23:58:07 <TrueBrain> scena001.ini:WinFlags=6
23:58:12 <TrueBrain> the game ends when Win is reached
23:58:16 <TrueBrain> which is 2 + 4
23:58:22 <TrueBrain> 2 => you lost all your buildings
23:58:27 <TrueBrain> 4 => you reached spice quota
23:58:35 <TrueBrain> so when you lost all your buildings, game ends
23:58:42 <TrueBrain> but you do not reach the 'Lose' flags
23:58:45 <TrueBrain> therefor, you lose the level
23:58:55 <Xaroth> yeh but you don't lose all your buildings in that level?
23:58:58 <TrueBrain> so maybe that is easier to say: WinFlags tell when the game is over
23:59:03 <TrueBrain> LoseFlags tells if you won the game
23:59:21 <Xaroth> what mission is that?
23:59:38 <Xaroth> if it's a second mission, you have a choice to -either- collect enough spice, -or- kill them
23:59:40 <TrueBrain> the first, in this case
23:59:51 <TrueBrain> (the 001 should have told you that)
23:59:57 <Xaroth> base 0 ? :P