#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-07-17

Timestamps are in GMT/BST.

00:31:56BFLogBot - Commit c0e337add247 | Author: watusim...@bitfighter.org | Log: Implement beginnings of setGeom Lua method
00:31:57BFLogBot - Commit 9dc09752c741 | Author: watusim...@bitfighter.org | Log: Dead code
00:31:59BFLogBot - Commit 67a62d19fbcf | Author: watusim...@bitfighter.org | Log: Start setGeom function -- partial implementation, compiles, won't work, don't try it :-)
00:32:00BFLogBot - Commit ca26797bdaf3 | Author: watusim...@bitfighter.org | Log: Merge
00:51:25Watusimoto Quit (Ping timeout: 244 seconds)
01:18:49raptor has joined
01:18:49ChanServ sets mode +o raptor
02:01:31sam686Can anyone fix the cookies? http://sam686.maxhushahn.com/upload/text1207/120716_20-07-34.txt
02:02:17raptorwhat the crazy
02:02:29sam686Some of my un-commited changes compiles for mingw, but linking fails..
02:03:00sam686all the link error now is in libpng14.lib
02:03:05raptormaybe different libpng?
02:03:22raptorhmm... should be 1.4
02:03:33raptor1.4 is used for mac, i think
02:04:04raptoryep, 1.4
02:04:47sam686should I just push my changes anyway? I hope it still work in regular linux, as there are some changes to make files for mingw path and linux path..
02:04:58raptorhmmm...
02:05:20raptordo you still have a linux machine to test?
02:05:28raptor(or you could give me a diff)
02:05:38sam686also, TNL already had some mingw codes..
02:09:02sam686http://208.107.12.78:8000 is my changes so far..
02:09:08raptorok, i'll pull
02:10:23raptorcompiling...
02:11:38raptorwhat other changes did you make? i see a weird change to loadout helper
02:12:22sam686that weard change to loadout helper i think was mingw's gcc complaining about possible array index out of range..
02:13:54raptorstill compiled and linked on Linux just fine
02:14:38sam686oh it should be mWeapon on the weard change I made on loadut
02:15:00raptorother than that, i t looks fine
02:18:41sam686ok, made a quick fix with mModule to mWeapon and re-commited
02:19:52raptori don't understand the mixing of modules and weapons there...
02:20:20raptorit's using ShipModuleCount with mWeapon?
02:20:53sam686i think mCurrentIndex 0 or 1 is modules, 2-4 is weapons..
02:21:30raptorah
02:21:39sam686previously, it was still using mModules reading past the first 2, overflowing into mWeapons which makes the error mostly undetected, till i see the compile warning..
02:22:06raptorintersting - i don't have the warning either
02:27:00sam686where did you get libpng14.lib ?
02:36:39raptori copmiled it myself
02:36:44raptorcompiled it myself
02:37:42sam686well then where you got the source files of libpng?
02:38:40raptorhttp://sourceforge.net/projects/libpng/files/libpng14/
02:38:52raptori thin i used version 1.4.8 or 1.4.9
02:39:27raptorbut any 1.4* should work
02:43:27sam686i got 1.4.12, maybe i can try mingw compile to compile it..
02:43:54raptorsure
02:44:14raptoralthough it might be a lot larger - i seem to remember that mingw like to compile in all of libstdc++
02:48:08sam686there is one thing, I kindof have a small game project that compiles both vc 2008 and mingw, but in mingw, i didn't need to have libstdc++ library, and the exe size of mingw was a bit smaller then vs2008
02:48:23raptoroh really!?
02:48:29raptorthen they must have made some good changes
02:57:07sam686i seem to be missing a "z" library, but appears to be hard to search for "z", needed to compile png that has "_inflate" "_deflate"
02:58:22raptorah, that's zlib
02:58:45raptorzlib.lib and zlib1.dll
02:58:56raptori compiled that myself, too...
03:00:29sam686ok, i just took the zlib.lib from the bitfighter/lib and using -lzlib instead
03:11:47raptorcompiled?
03:16:32sam686got libpng done, but it outputs libpng.dll.a and libpng14.dll, not sure if library having .a work in visual C++
03:16:52sam686one link error left, "main" link error
03:17:00raptorit does
03:17:14raptora .a library is static
03:17:30raptorshould be bigger than the dll
03:18:12raptoractually
03:18:21sam686i see libpng.dll.a being at 122 KB, and libpng14.dll at 375 KB
03:18:36raptori am wrong, it is not a static library.. actually a symbol archive
03:19:41sam686the old libpng14.lib is at 800 KB, no dll, so that probably mean that was static library..
03:20:01raptorah yes
03:20:03raptorthat's right
03:20:25raptori forgot i had a hard time building the dll for that...
03:20:31raptorwith vc++
03:21:01raptori think tha tis th eonly one that i couldn't get to build properly and had to settle for a full static .lib
03:48:05sam686well, it looks like libpng.dll.a works in visual c++ too, works best if renamed to libpng14.lib overwriting the old one.
03:48:20sam686got mingw to compile, link, and run without error now
03:48:40raptorwas teh libpng DLL compiled as release?
03:48:48raptori.e. with optimizations?
03:49:15sam686I just did a "ming132-make", i even saw a -O3
03:50:02sam686i guess many times it doesn't do debug mode unless ou specifically say it to make as debug..
03:50:09raptorok good
03:52:41sam686also it appears zlib.lib isn't needed if build inside a libpng14.dll
03:53:13raptorwell, i like to keep them separate... incase something else needs zlib
03:56:56sam686though, libpng14.dll appears to still need zlib.dll, even though .lib is kindof not needed when building bitfighter..
03:57:20raptorok
03:57:45raptorthis is a useful tool to see what is linked in the dlls: http://www.dependencywalker.com/
03:58:16raptoryou should make sure there is no vcrun or libstdc linked in them
03:58:22raptoror vbrun
03:58:29raptor(can't remember all the names)
04:01:38sam686http://208.107.12.78:8000 I just did another commit with my mingw- compiled libpng
04:02:46sam686oh and at one time i actually got a missing libstdc++.dll error, but -static linker options fixes that problem
04:03:25raptordoes -static add much file size?
04:06:32sam686libstdc++.dll size is 996 kb
04:06:49sam686bitfighter.exe without -static is 7243 KB
04:07:06sam686bitfighter.exe with -static is 8333 KB
04:07:21sam686oops, i mean 8133 KB
04:08:14raptoryeah, that's what i was afraid of
04:08:29raptoryou need to compile those DLLs to not link against libstdc++
04:09:26sam686millions of link error without -Lstdc++
04:09:53raptorif you look at the DLLs in the depends.exe
04:10:20raptoryou'll see that none of them use the visual studio c++ runtime
04:10:30raptorthere was a way to compile them as such
04:10:42raptori wonder if there is a similar way with mingw
04:15:35raptori used /MT in vc++, see here: http://msdn.microsoft.com/en-us/library/2kzt1wy3%28v=vs.80%29.aspx
04:15:45sam686I have this you can check: http://208.107.12.78/upload/bitfighter_rev_b8e1db5ef067.zip (compiled mingw bitfighter.exe)
04:19:01raptornormally the default is to compile with /MD, but then you need vcruntime library
04:19:09raptorwhich increases the size
04:23:05sam686the visual c++ compiled bitfighter is 2454 KB
04:23:33raptorwow
04:26:21sam686also it appears libpng.dll i compiled was without -lstdc++
04:27:16sam686no wonder why i didn't need -static compiling png, it only affects stdc++ libaray (static or with DLL)
04:30:25sam686what is your compiled binary size of "bitfighter" in your linux? (non-debug mode)
04:31:23raptorlooking
04:32:20raptor5710 KB as 64bit ELF
04:32:28raptornot stripped
04:32:32raptorlet me strip..
04:33:18sam686i don't think there not much to strip if linked without -g (debug info)
04:33:21raptor4447KB when stripped
04:33:53raptorit is linked against libnstdc++
04:33:57raptorlibstdc++
04:34:13raptorbut i don't want that linking on windows because of compatibility between all the versions...
04:34:32sam686the 8144 KB of mingw build went down to 4994 KB
04:35:23sam686static library is build into exe (and won't have such version mismatch)
04:35:46sam686strip seems to shrink exe in half
04:36:13raptorcorrect, but vc++ with the /MT flag only adds small static amount, where as mingw adds large amount
04:36:39sam686strip libpng14.dll went down to 255 KB
04:37:44sam686strip of vc's build does nothing at all though...
04:38:13raptoryeah, it's built in
04:38:23raptori mean done automatically
04:42:16sam686let me try the compile speedup trick (only 4 or 9 CPP files including hundreds of other cpp files), i also seen that method reduce compiled binary size..
04:42:51raptorok
04:49:26raptori think i almost have an early heat-seeker ready to check-in... i just need to get to explode now
06:01:52raptorgood night!
06:02:15raptor Quit ()
06:02:28BFLogBot - Commit 2caed6ed5658 | Author: buckyballreaction | Log: Heat seeker! Lots of refinement needed. See TODOs placed everywhere
07:28:18watusimoto has joined
07:28:18ChanServ sets mode +o watusimoto
09:08:03sam686 Quit (Ping timeout: 245 seconds)
10:00:23kodaws has joined
10:21:08kodaws Quit (Ping timeout: 246 seconds)
11:12:44kodaws has joined
13:32:49raptor has joined
13:32:49ChanServ sets mode +o raptor
13:33:24raptorgood day!
13:37:45raptorwatusimoto: i committed heat seeker changes :)
13:38:16raptorlots of things to do with it - for one thing, I couldn't figure out how to tell if I hit the target from within the HeatSeekerProjectile class
13:40:44raptorthis so i can correctly transfer the damage
13:40:58raptori have no idea how normal projectiles to it..
13:41:04raptor*do it
14:33:42LordDVG has joined
14:34:01LordDVG Quit (Remote host closed the connection)
14:36:47LordDVG has joined
14:40:16LordDVG Quit (Remote host closed the connection)
14:40:52LordDVG has joined
15:19:00watusimotohi
15:19:04raptorhi
15:19:08watusimotoI saw your commits
15:20:04watusimotolooking forward to trying them?
15:20:22watusimotosorry... looking forward to trying them
15:20:24watusimoto!
15:21:00raptorhaha
15:21:06raptorwell - it's primitive
15:37:23LordDVG Quit (Remote host closed the connection)
15:52:25raptorthe projectile classes are a mess...
16:08:40raptorwatusimoto: would you be opposed to me creating a 'Weapon' class that would basically just be an interface for several of the common members in Bursts/HeatSeekers/Projectiles?
16:11:03watusimotoof course not
16:11:11watusimotoclean up in any way you see fit
16:12:02raptorok
16:12:35kodaws Quit (Ping timeout: 265 seconds)
16:51:33watusimoto Quit (Ping timeout: 248 seconds)
17:02:09kodaws has joined
17:34:49raptorBUG
17:38:58raptors_bot seems to be able to shield, but bullets still get through
18:13:13kodaws Quit (Read error: Connection reset by peer)
19:47:09sam686 has joined
19:47:09ChanServ sets mode +v sam686
19:53:24Watusimoto has joined
19:59:11Watusimoto Quit (*.net *.split)
19:59:11sam686 Quit (*.net *.split)
19:59:11raptor Quit (*.net *.split)
19:59:11kaen Quit (*.net *.split)
19:59:17BFLogBot Quit (Ping timeout: 255 seconds)
19:59:17Disconnected.
19:59:17-kornbluth.freenode.net- *** Looking up your hostname...
19:59:18-kornbluth.freenode.net- *** Checking Ident
19:59:18-kornbluth.freenode.net- *** No Ident response
19:59:18-kornbluth.freenode.net- *** Couldn't look up your hostname
20:02:17-kornbluth.freenode.net- *** Looking up your hostname...
20:02:17-kornbluth.freenode.net- *** Checking Ident
20:02:17-kornbluth.freenode.net- *** Couldn't look up your hostname
20:02:17-kornbluth.freenode.net- *** No Ident response
20:02:24BFLogBot has joined
20:02:24Topic is 'Bitfighter 017b released! | http://www.bitfighter.org/downloads'
20:02:24Set by raptor!~raptor@unaffiliated/greenmachine on Wed Jul 04 01:46:09 GMT 2012
20:02:24-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
20:02:44raptorphoew... the guardian of our channel topic has returned
20:22:23Watusimotohi
20:34:01raptorhi
20:46:43Watusimotowell I did it
20:46:51raptoruh oh
20:46:55WatusimotoI created a level with a drifting Loadout zone
20:47:00raptor!!
20:47:08Watusimotoit's kind of creepy
20:47:16raptori bet.. in space
20:47:44Watusimotobut the setgeom method seems to work, generally, for many sorts of items
20:47:51Watusimotohaven't tried everything yet
20:48:16Watusimotoanyway... will check in in a few minutes
20:48:23raptorok
20:48:36raptoralso
20:48:50raptori think i found a bug that popped up somewhere.. maybe with the Lua stuff
20:49:21raptorif you shoot s_bot with phaser, after a while he will still show shield, but the phasers damage him
20:50:16raptormaybe sounds more like a client-side network problem - like modules aren't being updated properly
20:51:34Watusimotoso could possibly be reproduced with a stationary robot?
20:51:41raptorif the bot shields
20:51:48Watusimotoprobably could just rip out the move from s_bot
20:52:44raptori just make sure i have lots of space to fire at s_bot while moving backwards..
20:56:40raptorwell, i have to go to class
20:56:48raptorlater!
20:56:57Watusimotobye
20:58:13raptor Quit ()

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.