#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-05-02

Timestamps are in GMT/BST.

00:13:59TheBeardalright, the night-time programming binge starts now :D
00:14:18TheBeard is now known as IAmBeard
00:31:00sam686so, the problem isn't ALURE, isn't libogg?
00:32:32raptor has joined
00:32:32ChanServ sets mode +o raptor
00:33:19raptornope, the problem is not alure libogg or libvorbis
00:33:35raptorthere is a memory corruption somewhere i think
00:33:55IAmBeardrun it through valgrind?
00:34:01sam686could i maybe see some of your simple test file that plays ogg music?
00:34:21raptoryes... let me get y ou the link
00:34:40raptorget the source here: http://kcat.strangesoft.net/alure-releases/alure-1.2.tar.bz2
00:34:55raptorin the 'build' directory run: 'cmake ..'
00:35:01raptorthen make
00:35:04sam686valgrind doesn't show much (too much useless info), i tried yesterday... http://sam686.maxhushahn.com/upload/valgrind4.txt
00:35:26raptorit will build alure with linking to libogg and libvorbis and make a binary called alurestream
00:35:36raptoropen the menu.ogg with alurestream binary
00:35:54raptor(you might need to install cmake)
00:42:03sam686ok, got your test working (but no crash)
00:42:10raptoryep
00:42:25raptori though tmaybe we ran out of stack space on 32bit after that - but that doesn't make sense
00:43:09raptori tried reducing the musicChunkLength, but that didn't work either
00:45:20sam686--stack,8388608 in linker flags?
00:47:52sam686i guess the problem isn't stack size4
00:50:59raptornope
00:51:31raptori thought maybe the alureStream *stream pointer was wrong, but i tested to make sure it was set to NULL on creation
00:54:07raptordinner time!
00:55:31Heyub|2I had speghetti for dinner.
01:05:29IAmBeardraptor / sam686 are you gents limiting client-side frame rate for any reason?
01:08:12raptorFPS is set to 100 by default, but can be increased to 1000
01:08:21raptorthere is a /maxfps command you can change in-game
01:13:21Heyub|2Why would you need more than 100fps?
01:15:27IAmBeardit's not that you need more, but I don't know that it's always good to limit the fps
01:18:38Heyub|2Well it helps on slower computers to l imit the fps, then there must be a default fps. I don't know any games that dont have an fps limit.
01:20:12IAmBeardwell, we could go the minecraft route and have two options "max performance (unlimited fps)" or "power saver (limited fps)"
01:22:03Heyub|2Not sure how that would be any different than what is in place.
01:23:18raptorour current system works just fine, and bitfighter is low enough system usage that 100 fps doesn't really hurt anyone
01:23:43raptorany more than 60fps is undetectable to the human eye (consciously)
01:24:04raptorsome say 30fps is good enough, but you can tell a little difference between that and 60
01:25:19raptorok, i'll be back tonight
01:25:22raptor Quit ()
01:29:16sam686there is /maxfps 1000 if you want more frame rate..
01:29:26sam686as in in-game command
01:45:24IAmBeardi'm not saying it's necessary to get a billion frames per second, but getting max fps can be good for benchmarking and such
01:47:34IAmBeardfor void parseComplexStringToMap in stringUtils.cpp, is it possible for the value to be enclosed in a string and therefore it could have the entrySeperator?
01:47:59IAmBeardI'm removing the boost dependancy there (since the algo is fairly basic, anyway), and just want to make sure I'm not missing anything
01:50:14sam686not sure yet
01:51:11IAmBeardi'm not familiar with boost, so i wasn't sure if the boost::tokenizer managed that internally
01:58:24sam686maybe i can try rewriting the parseComplexStringToMap to not use boost..
02:05:53-kloeri- [Global Notice] Hi all. We're experiencing some technical problems and as a side-effect of that services email is currently down. This means that registering nicks and sending password reset emails won't currently work. The mails will be queued up but it's unknown when they'll be delivered. Thank you for using freenode.
02:06:20IAmBeardsam686, i can give you my version
02:07:30IAmBeardsam686, http://pastie.org/3846629
02:08:28sam686ok, i can test that
02:11:10sam686your version have a "endless loop" problem..
02:31:03IAmBeardit shouldn't, but i can fix
02:31:20IAmBeardanyway, night-run to mcdonalds!
02:31:40sam686almost doen fixing your parseComplexStringToMap..
02:42:41sam686http://sam686.maxhushahn.com/upload/text1205/120501_21-05-05.txt i am very very close to fixing (one small problem, it still doesn't quite work)
02:44:04sam686or maybe that does work, something else is broken on the latest release?
02:44:22sam686latest hg i meant
02:52:29sam686i got to test the changes on the link i put and it works ok
02:53:18sam686IAmBeard , parseComplexStringToMap is working without boost (on my link) just remove the printf
02:54:45sam686or you can use this for parseComplexStringToMap (theres is no printf in here) http://sam686.maxhushahn.com/upload/text1205/120501_21-05-18.txt
03:16:30Heyub|2I'm off for the night, good night guys!
03:16:39Heyub|2 Quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
03:22:34raptor has joined
03:22:34ChanServ sets mode +o raptor
03:22:34sam686msg hi raptor, I have narrowed down the problem to one cpp test file. make http://sam686.maxhushahn.com/upload/test2_alure.zip Put test2 into bitfighter folder, and cd test2, and make, cd ../exe, ./musictest
03:22:51raptorhi, ok, i'll test...
03:28:42raptorubuntu 12.04 makes me want to gouge my eyes out...
03:29:56sam686you could change desktop background to black or gray or some other picture...
03:30:04IAmBeardanything after ubuntu 9 makes me quite angry
03:30:15IAmBeardi liked classic gnome
03:31:21IAmBeardanywho, it's bedtime for me
03:31:36sam686like this ubuntu? http://sam686.maxhushahn.com/upload/11Screenshot.png
03:32:00sam686my laptop lcd is kind of limited to 1024 x 576...
03:32:11raptorhow did you get the bar on the bottom again?
03:32:34sam686i don't know, it was there since i install it 2 years ago
03:32:45sam686they might have recently changed that on later version
03:34:12sam686maybe it might be posssible to install gnome?
03:34:57sam686or maybe its in the themes?
03:35:46sam686http://www.techjail.net/howto-get-old-gnome-ubuntu-look-back-in-11-04-lucid-lynx.html
03:36:00sam686says to log out, and "Then select �Gnome� at the bottom of your PC."
03:38:51IAmBeardnight gents
03:38:56raptorgood night
03:39:22IAmBeard Quit (Quit: Leaving)
03:39:37raptorok sam686, i get the crash with your file
03:39:47raptoranything look funny to you?
03:40:50sam686they look like mostly the same problem (and nearly the same backtrace apart from not going through ClientGame in a test2/main.cpp)
03:41:24sam686so that means the problem is not Zap, not TNL,
03:42:13sam686the problem is either: alure, libogg, libvorbisfile or inputting bad date in test2/main.cpp
03:42:28sam686data (not date)
03:42:33raptorwell, the problem isn't libogg or libvorbis
03:42:43raptorand i don't think alure
03:42:49raptorso that leaves bad data?
03:43:04sam686maybe, but whats wrong with it?
03:43:44raptori have no idea
03:54:31sam686looks like I got the usleep wrong ("define Sleep usleep" should be "static void Sleep(unsigned int A) {usleep(A * 1000);} "
03:55:20sam686\ Sleep ( 1 / 1000 seconds) usleep (1 / 1000000 seocnds)
03:58:47raptorah
03:58:55raptorusleep is microseconds
05:01:37raptorwell, i've been talking with the openal dev
05:01:52raptorhe said to compile against libsndfile as a test
05:02:09raptori did, and it plays just find, no crashing (libsndfile links against libvorbis)
05:02:16raptor*just fine
05:12:56raptorsam686: i compiled against dynamic libalure.so.1 (instead of libalure.a) and it runs ok
05:18:54sam686so maybe libalure was the problem?
05:19:11raptorlooks like it is libalure, or how I compiled it...
05:19:52sam686it looks like we do our own libalure compiling (in bitfighter folder)
05:19:58raptoryes
05:19:59sam686so it may be fixable..
05:20:47sam686maybe a dynamic lib may be better, saves disk space and avoid the need to compile alure
05:21:04sam686but will then need to install libalure lib..
05:21:28raptoryeah, and that doesn't exist on many distros
05:22:42raptorok, it's a building problem i think
05:22:55raptori just linked against the libalure-static.a from the source archive, and it runs fine
05:52:32raptori've been playing around with the config.h and Makefile, adjusting all sorts of settings, but still crashes
05:58:06kodaws has joined
05:58:32sam686well, that one little crashy problem we are spending so much time on...
05:58:39sam686and it is already past midnight
05:58:49raptoryeah...
05:58:55raptorit's driving me crazy
06:09:43raptori got it to work
06:09:53raptorlet me see now i need to narrow it down
06:23:23raptorsolved it
06:32:28sam686ok, so what shoudl i do to fix it? a simple hg pull if you made changes?
06:32:39raptorquestion
06:33:06raptoron 32bit machine what is 'typedef long' ?
06:33:16raptoris that different than on 64bit machine?
06:34:12sam686not sure..
06:36:00raptori need to find out what a 'long long' is on 64 bit
06:36:18sam686sizeof(long long)?
06:36:27sam686sizeof(size_t)?
06:39:13raptorok, committed the fix
06:40:33BFLogBot - Commit 21ee5c002c17 | Author: buckyballreaction | Log: Fix sound crash in 32-bit Linux. I can't believe how long this took to fix
06:51:57sam686ok, about one more minute to compile, to test if it works for me
06:52:15raptorwhat a small thing that caused such a big error...
06:53:13sam686trying to find the problem is hard, fixing it is easy once found..
06:53:58raptori bet it crashed on 32bit x86 mac, too
06:55:33sam686maybe not, because mac is done very differently (windows is done differently too)
06:55:46sam686like, how did the alure came from for windows and not crash?
06:56:37sam686i see libvorbisfile.dll and .lib but no compiling of libvorbis..
06:56:43sam686in windows
06:56:45raptorthat's because I didn't compile it against the headers in the bitfighter repo
06:57:07raptorit only failed because it compiled against the libogg/ headers
06:57:08sam686it could of also crash on windows if done that way, i bet
06:57:15raptoryes
06:58:01sam686it does work now after that fix (no crash)
06:58:08raptoryay!!
06:58:17raptorI retriggered my linux packages
06:58:25raptorbut ubuntu will fall behind again, i'm sure
07:02:18raptorok, well time for bed
07:02:20raptorgood night!
07:04:57raptor Quit ()
07:37:42watusimoto has joined
07:37:42ChanServ sets mode +o watusimoto
07:41:06sam686 Quit (Ping timeout: 246 seconds)
07:48:40zoomber_mbp has joined
07:48:46zoomber_mbp Quit (Client Quit)
11:20:51Renderwahn Quit (Quit: leaving)
11:21:47Renderwahn has joined
13:36:09IAmBeard has joined
13:37:22IAmBeardgood/bad news; i'm sort of sick today, meaning i may put a little time into bitfighter programming, but probably not a lot
13:54:19Heyub has joined
13:55:11HeyubI killed the off-topic discussions lol
14:08:52Watusimoto_ has joined
14:53:00Watusimoto_ Quit (Ping timeout: 246 seconds)
14:53:08raptor has joined
14:53:11raptor Quit (Changing host)
14:53:11raptor has joined
14:53:11ChanServ sets mode +o raptor
14:53:18raptorgood morning!
14:57:37raptorwatusimoto: we solved the 32bit music playing bug
14:57:47raptorand i re-triggered the linux builds with a patch
15:46:12raptorso i should get probably get a github account...
15:46:21raptornow i need to come up with another pseudonym
15:47:25Heyubgothub.
15:49:00raptorsay what
15:49:18Heyub"git" hub, so you "got" hub
15:50:17HeyubI suppose accents don't do well over the text :P
15:50:35raptoroh.. uh,, hardy har har...
15:51:42raptoryeah... it's a real skill to convey full ideas over plain text
15:51:49raptorone that i do not have
15:52:26HeyubI live in northern Al, and the accent here is thick as clay.
15:52:38raptorAlabama?
15:52:43HeyubYeah.
15:52:51raptorwow, i believe it...
15:54:42HeyubMy mom suFriendliest place I've ever lived in... A bit strange at times though...
15:55:04Watusimoto_ has joined
15:56:29HeyubPeople get upset when someone shoots their "pet" deer.
15:56:35raptorhaha
15:56:38raptorthat's awesome
15:56:49raptorerr.. not the shooting, but the idea
15:56:58raptorunless they're hungry
15:57:18HeyubA lot of people hunt deer here.
15:57:20kodaws Quit (Ping timeout: 250 seconds)
15:57:35HeyubIm probably the only teenager for 100 miles that hasn't hunted lol
15:58:40HeyubOur property is right next to property owned by a hunting club, drives mom crazy when they wander onto our land.
16:01:00raptori bet
16:25:11IAmBeardHeyub, where abouts are you from?
16:53:48watusimoto Quit (Ping timeout: 245 seconds)
17:13:04Watusimoto_ Quit (Ping timeout: 252 seconds)
18:24:24LordDVG has joined
18:39:02LordDVG Quit (Ping timeout: 276 seconds)
18:40:25LordDVG has joined
18:54:26Watusimoto has joined
19:23:21Watusimotohi
19:23:29raptorhi
19:25:02raptordid you see the fix to the crazy 32bit crash
19:25:57Watusimotoha
19:25:58Heyub Quit (Read error: Connection reset by peer)
19:26:13Watusimotoour bug or theirs?
19:26:20Heyub has joined
19:26:22raptorboth?
19:26:34Watusimotowell, good catch
19:26:37raptormy problem was that i used the 64bit headers for libogg
19:26:56raptori had no idea that a 'long' on 64bit was different than on 32bit
19:28:04raptorbut why on earth would you ever use anything different than 'long long' if it is the same on all platforms, and 'long' is different?
19:28:17raptorso that part is the libogg peoples problem
19:28:21raptor(if it's a problem)
19:35:46Heyub|2 has joined
19:36:28raptori retriggered my linux builds...
19:36:37raptorbut not sure what to do about ubuntu
19:39:18Heyub Quit (Ping timeout: 246 seconds)
19:41:08Watusimotonot much to do...
19:41:23raptor!bug
19:41:23BFLogBotTo enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current running bug list: http://bitfighter.org/wiki/index.php/Running_Bug_List
19:41:32Watusimotobump up the versino number and release a linux version?
19:41:37raptorthose two evil editor bugs
19:41:54raptori just added a patch
19:42:12raptorprobably not many were affected
19:42:38BFLogBot - Commit f2101757cb09 | Author: watusim...@bitfighter.org | Log: Macroize the luaw code needed for implementing classes
19:42:40BFLogBot - Commit 8da8fbf814de | Author: watusim...@bitfighter.org | Log: Merge
19:44:01raptormacro!
19:44:57raptor{P{P
19:45:01raptorwhat is that
19:45:10raptorsaerch string
20:05:22Watusimotoyes
20:05:58Watusimotoit's a marker I use sometimes... easy to type, unique
20:12:46BFLogBot - Commit ffa51cda2051 | Author: watusim...@bitfighter.org | Log: Remove commented code
20:41:33sam686 has joined
20:41:33ChanServ sets mode +v sam686
20:47:42LordDVG Quit (Remote host closed the connection)
20:59:29raptorself-conscious about the {P{P eh?
21:00:05sam686what is a " { P { P " ?
21:02:51Watusimotoit's a comment to myself
21:03:06Watusimotosecret meaning
21:03:10Watusimotokind of like a rune
21:03:10sam686oh, i see that in some of latest changes
21:04:16IAmBeard}P}P
21:04:31IAmBeardWatusimoto, how many times have i told you to close the braces
21:04:33IAmBeard!!!
21:04:35IAmBeard:P
21:04:49raptora rune - i like that
21:04:57Watusimotooh, maybe that was my problem
21:05:04Watusimotothanks!
21:05:26Heyub|2Witch craft.
21:10:22WatusimotoI give up -- which craft?
21:13:19Heyub|2"runes small stones, pieces of bone, etc., bearing such marks, and used as divinatory sumbols. A spell or incantation"
21:15:22raptorlike in-game achievements!
21:15:39Heyub|2LOL wow... I had not... I...
21:21:45IAmBeardwhat are you trying to say raptor? :P
21:24:33raptorfootloose says loadouts with numpad still isn't working...
21:25:57IAmBeardgents, any idea where dSprintf() is declared in the code?
21:26:21IAmBeardthe top-row number keys and numpad may need different key codes, and will need nunmlock on
21:26:25IAmBeard*numlock
21:26:54raptorthey have different keycode, and numlock doesn't matter at the framework level, i think (with SDL)
21:27:27IAmBeardi haven't tried numpad stuff with sdl before, so I'm not sure
21:27:48IAmBeardis footloose's bitfighter client using SDL 1.2 or 1.3/2.0?
21:28:07raptorno one is on sdl 2.0
21:28:12sam686tnlPlatform.h have dSprintf
21:28:14raptorexcept windows devs
21:29:32Watusimotoplatform.cpp, 485
21:29:57sam686many laptop users don't have the extra button to fit the numpad, it is a number lock to turn some letters into numbers in laptop, i guess
21:30:37sam686some laptop and netbook don't have number lock and no such number pad on it (like my tiny laptop without no cd rom reader)
21:32:39IAmBeardwell, most have a numlock as a Fn+key
21:33:01IAmBeard^ that is, if it's a laptop
21:33:06BFLogBot - Commit a6717e08ef9f | Author: watusim...@bitfighter.org | Log: Move resource item over to luaW -- much duplicated code to investigate
21:39:40raptorWatusimoto: you prefer one line methods to be one line? :)
21:40:06Watusimotoonly when it's preferable!
21:40:40Watusimotoif you are referring to my grouping of similar string defs in MoveObject, I think it's much easier to read
21:40:53Watusimotoand to understand, and therefore yes, in this case I do
21:46:52IAmBeardafter breaking a substantial amount of code, I finally cleaned up one class :P I'm on a roll
21:46:53IAmBeardhah
21:50:12IAmBeardgents, with the current map format, if i put a random line of garbage into the file, would it just skip that line, or would it toss an error out?
21:52:22raptorskip-de-doo
21:56:42IAmBeardawesome possum, that means we can add things in as we go
21:56:47raptorevery time i see the level line loading code, i think of this: http://xkcd.com/292/
21:57:22IAmBeardGOTO, reminds me of the good olde qbasic days
21:58:26WatusimotoWe've had a lot of discussions about the level code, what it might look like if not what we have
21:59:30WatusimotoNo good resolution
21:59:37Watusimotowe've discussed a xml like format
21:59:48Watusimotosomething that's parsable svg
22:00:01Watusimotoa series of key-value pairs
22:00:06Watusimotolua code
22:00:26Watusimotothough actually, with levelgens, you can already do a whole level as lua code
22:00:32Watusimotoor almost the whole level
22:01:51Watusimotobut it needs to be easily readable
22:02:07Watusimotolots of levelmakers tweak their code by hand
22:12:28IAmBeardi think the format you have is good
22:13:01IAmBeardit's extensible and it works
22:13:45IAmBeardone thing i was thinking of doing for my version is tossing the levelgen along with applicable scripts into a zip file
22:14:10IAmBeardso a level would be something like foobar.zip which would have a levelgen, and custom actions/whatever for the map
22:14:31IAmBeardpossibly some background images, too
22:15:00IAmBeardit would certainly break compatibility, to an extent, but it would be fairly easy to manage, and the zip file would make it compress fairly well
22:15:10Watusimotoit's a good idea
22:15:22WatusimotoI'm heading to bed; we can discuss this more tomorrow
22:15:28Watusimotonight!
22:15:32IAmBeardyeah man, have a good one
22:16:44raptornight
22:20:18Watusimoto Quit (Ping timeout: 246 seconds)
23:00:59raptor Quit ()
23:24:24Heyub|2If you pulse at the same time you go over speed arrow the speed arrows don't do anything.
23:28:05IAmBeardpulse, as in shoot?
23:28:13IAmBeardit may be that you're hitting the projectile
23:28:22IAmBeardyou can do the same with a burst
23:28:27Heyub|2No, as in pressing turbo twice.
23:28:30IAmBeardlet me doubel check
23:28:42IAmBeardhuh
23:33:29sam686probably you are already going too fast past the speed arrows for the speed arrow to make you go faster (in a direction you are going)
23:34:11Heyub|2I am hitting the speed arrows going the same directiont hey are pointing, if that is what your asking.
23:35:02sam686yes, in that case, you are probably going faster then the speed the gofast (speedzone) is set to.
23:36:45IAmBeardgg ir0x539
23:37:31ir0x539haha yea
23:39:22IAmBeardsam686 is the gridDB part of the physics calculations?
23:40:01IAmBeardit appears to be but I just want to be absolutely sure

Index Search ←Prev date Next date→

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