#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-05-01

Timestamps are in GMT/BST.

00:02:46sam686_oh, and for libvorbisfile3 version i have: 1.2.3-3ubuntu1.1
00:02:48IAmBeardgdb?
00:04:26raptoralready used and we have a stacktrace, it's either libvorbis or libogg on his ubuntu system that is crashing
00:04:53IAmBeardcustom built, or from aptitude?
00:05:00raptorsystem packages
00:05:30IAmBeardhave you tried purging the package and grabbing it again - usually a crash like that is caused from the headers being out of date
00:05:52sam686_i went something like owner@owner86-laptop:~$ sudo apt-get install --reinstall libvorbisfile3
00:06:01sam686_and the same for libogg0
00:06:10sam686_but the problem is still there (the same)
00:07:29raptorso, either - revert to an older version (if it got updated yesterday) OR rebuild your own packages OR install a newer version of ubuntu or different distro
00:10:49IAmBeardi think it's somewhat fair to assume people building from source on linux can build the library themselves - inconvenient from a support perspective, but most linux people can manage their problems :P
00:11:11IAmBeardoh, sam686 do that with the -dev package, too
00:11:25raptorthe -dev package won't help here
00:11:35IAmBeardthe dev packages have the headers
00:11:42raptoryes, but he can already compile fine
00:12:19sam686_i did fully recompile (from scratch) after all those updates...
00:13:02raptori think in practice, most linux users can manage their systems, *except* ubuntu+derivatives users (sam686_ can i'm sure, though)
00:13:46sam686_on the update history, i see
00:13:49sam686_libvorbis-dev (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1
00:13:50sam686_libvorbis0a (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1
00:13:52sam686_libvorbisenc2 (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1
00:13:53sam686_libvorbisfile3 (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1
00:14:57sam686_only question is how to undo that specific update
00:15:20Heyub has joined
00:20:42sam686_found a "force version" in synampic package manager
00:23:09raptorsorry, dinner called
00:23:22raptorwhole wheat pancakes
00:23:26raptortasty goodness
00:23:35raptoroh good, try and revert
00:24:03Watusimoto Quit (Ping timeout: 246 seconds)
00:29:34HeyubI had tacos.
00:29:40raptoroooo
00:30:10raptori like black bean tacos
00:30:17raptori like *all* tacos, actually
00:30:27HeyubI only like home made tacos.
00:30:57HeyubCome to think of it I only like home made food...
00:31:02HeyubAnyways...
00:31:04sam686_downgraded libvorbis but the problem is still there
00:32:15raptorwell that stinks - i wonder if watusimoto's Lua changes are make weird memory calls..
00:38:33sam686 Quit ()
00:38:46sam686_ is now known as sam686
00:41:52raptor Quit (Ping timeout: 252 seconds)
00:55:00raptor has joined
00:55:00ChanServ sets mode +o raptor
01:13:03mollie_ has joined
01:13:08mollie_hi
01:13:13sam686hi
01:13:14HeyubHello
01:13:20mollie_hello
01:13:37sam686hello
01:14:01mollie_I was on bitfighter and nowbobys plaing
01:14:37mollie_body and playing
01:14:57mollie_ Quit (Client Quit)
01:41:24raptor Quit (Ping timeout: 245 seconds)
01:41:47raptor has joined
01:41:47ChanServ sets mode +o raptor
01:42:00sam686looks like, 016 also crash with "SEGABRT" on 016 as well on my linux
01:42:13sam686nearly the same backtrace too
01:42:45raptorthat makes it seem more like a libvorbis or libogg error...
01:43:00raptorbecause i've changed the sound system a lot since 016
01:49:29raptor Quit ()
01:50:21raptor has joined
01:50:21ChanServ sets mode +o raptor
01:52:24HeyubIm sad :(
01:52:29raptorhow come?
01:52:40HeyubNaev don't work on PPC
01:52:49raptorahh....
01:53:14raptoractually, i may be able to help with that... i wonder if they have the mac project in their repo
01:53:19HeyubIts annoying because thats what I do models on, so I gotta keep switching the files onto my laptop.
01:54:08raptorlet me see if i can build it on ppc mac...
01:54:24raptorit's probably a fools errand, but hey - i have experience :)
01:55:14HeyubI looked into that but in the "COMPILE" it says "PPC versions are unfortunately unavailable due to lack of libpng.dylib..."
01:55:23raptorha! i have that one
01:56:58raptordo you have to manually install the ndata file on mac?
01:57:08HeyubYes
01:57:17HeyubI think so, that is what I read anyways..
02:15:45raptorHeyub: do you have x11 installed?
02:16:32HeyubYes
02:21:23raptoryay compiling
02:24:19HeyubYou're awesome raptor :)
02:29:38raptoroh my goodness it completed...
02:29:45raptoruhhh... let me see something
02:31:57Heyubok
02:38:09raptorok, i'll have a package for you in a few minutes - no guarantee it won't crash!
02:38:54HeyubI understand how that is :P Thanks again.
02:40:48sam686valgrind: the 'impossible' happened: http://sam686.maxhushahn.com/upload/valgrind2.txt
02:41:01sam686though, there is a few invalid memory writes it says
02:41:26raptorhaha
02:41:47raptorHeyub: special order for you: http://sam686.maxhushahn.com/upload/naev-0.5.3-ppc.zip
02:42:10Heyubraptor: :P Thanks, I'll try it out now.
02:43:45sam686there is this: Invalid write of size 4 in /usr/lib/dri/i915_dri.so i wonder if the problem might be the graphics drivers... i guess time to try to turn off hardware opengl?
02:44:52raptorHeyub: if it works, let me know and i'll post my findings to #naev
02:48:26raptorsam686: what if you set music to 0 in teh INI first, does it still crash?
02:50:45sam686there isn't a music= but a MusicVolume=10
02:51:17raptoryes that - set it to zero
02:51:18sam686still crash with MusicVolume=0
02:51:25raptordifferent stack trace?
02:51:38sam686same stacktrace
02:51:59sam686MusicVolume=0 doesn't try to stop it from playing music
02:52:10sam686but removing the music files does
02:59:41sam686 Quit (Remote host closed the connection)
03:01:33Heyubbrb
03:01:37Heyub has left
03:01:58sam686 has joined
03:01:58ChanServ sets mode +v sam686
03:02:34Heyub_ has joined
03:42:41Heyub_Im headed ot bed, good night.
03:42:48raptornight!
03:42:53raptornaev ppc still ok?
03:42:59Heyub_ Quit (Quit: Page closed)
03:45:27sam686 Quit (Remote host closed the connection)
03:51:00sam686 has joined
03:51:00ChanServ sets mode +v sam686
04:07:05raptorhi sam686, welcome back
04:09:27sam686LUA seem to now crash like in ways i don't know... almost want to have LUA run in a seperate process so a seperate process can segfault all it wants to but avoid crashing the server..
04:10:02raptoryeah - watusimoto has messed up the Lua code
04:11:05sam686though, did you ever crash like me in a 32-bit linux ubuntu? (try virtual machine)
04:11:17raptornot yet...
04:11:20sam686as in the music crash
04:11:38sam686only time it doesn't crash is if it is not playing a OGG file
04:11:46raptoroh, i don't have a vm of ubuntu - i got rid of it...
04:12:20sam686why? out of disk space?
04:13:12raptorno - i think i removed it because i didn't think i'd need it anymore (since ubuntu updates so oftern)
04:13:58sam686you could always download an newest ISO image, and have your virtual machine use that ISO image to install to blank hard disk..
04:14:18raptoryou mean of the latest ubuntu?
04:14:27sam686yes... if you want to
04:14:35raptoryeah, let me try that...
04:14:36sam686though, there is 32 vs 64 bit also..
04:15:01sam686my computer is only 32-bit CPU (64 bit won't work for me)
04:17:08raptorthe download will still take about 6 min..
04:18:11sam686you probably only need about 16 GB blank hard disk for ubuntu (I first set up as 8 GB but quickly running out of disk space about a month after install)
04:18:34raptorok
04:19:06sam686as for me changing to 16 GB, i used a boot disk and gparted to shrink my windows FAT32, expand EXT4
04:19:28raptoryeah, i won;t need to worry about it with VMs.
04:20:04sam686(only for real computer, not virtual machine) I made my swap partition bigger then my total RAM to allow hypernate in linux
04:20:22raptorgood idea
04:22:40sam686a good idea for virtual machines is, have 2 blank disks (one for where it will be fully install to EXT4, the other for swap partision covering entire second hard disk)
04:22:55sam686so if you need more disk space, delete the swap-only hard disk file..
04:22:56raptorok downloaded...
04:24:37sam686ubuntu install should be fast then debian install (copy image vs install / configure lots of packages)
04:41:20raptorok installed, but i can't figure out how to install packages...
04:41:26raptorthey made the OS stupid
04:44:17sam686what does it look like?
04:44:34raptorhorrid purple and orange
04:45:26sam686like this? http://en.wikipedia.org/wiki/File:Ubuntu_12.04.png
04:45:37raptorexactly
04:46:10sam686except, mine is still the old way, top and bottom bar (though i removed the top bar)
04:48:30raptori can't find sdl development headers yet for it
04:48:35raptorit must have been newly released
04:50:53sam686hint: ctrl + alt + f2 (or terminal) sudo apt-get install (whatever in the bitfighter build instructio'n)
04:53:09raptorok, good it's installing
04:54:19raptorok, forgot about that page
04:54:23raptorall installed now
04:54:26raptorcloning...
04:56:13sam686did you use 32-bit or 64-bit ?
04:56:21sam686for ubuntu
04:56:23raptor32
04:56:40sam686good, just like my real non-virtual computer
04:57:02raptorcompiling
05:01:48raptorglibc detected memory corruption
05:01:52raptorand i can't get a stack trace
05:02:16sam686running inside gdb?
05:02:22raptoryep
05:02:29sam686did you "make debug"?
05:02:34raptoryup
05:03:20sam686thats mostly the same problem i have..
05:03:34sam686except i do get backtrace
05:04:36sam686delete music files and the problem is gone, isn't it?
05:06:52sam686the problem is also gone when using WAV files in music folders (for 016, 017 is coded to only play menu.ogg or game.ogg, i think)
05:07:16raptoryep, deleted music files and problem is gone
05:07:17sam686as long as no OGG in music folder, it doesn't crash, it seems
05:07:28raptorthat is so weird...
05:08:41sam686you can look as my backtrace http://sam686.maxhushahn.com/upload/text1204/120430_17-04-42.txt
05:10:11sam686it is probably either libvorbisfile.so.6 or /usr/lib/libogg.so.0 that is probably corrupting memory?
05:10:21raptorman, i have no idea
05:10:32raptori know other people on other linux distros aren't having this problem...
05:12:10sam686maybe we could narrow it down with one custom test.cpp that only plays music?
05:13:03raptori'm trying to set a break point in gdb
05:15:13sam686i have success setting preakpoints (using CodeLite) i kind of tried to follow but looks ok will it enters some missing-symbol binary libvorbisfile.so.3
05:15:46sam686i can't follow inside the libvorbisfile if i don't have the source code..
05:17:21raptorinteresting...
05:21:44raptorwell, i need to sleep now - i still have no idea what the problem is
05:21:49sam686ok
05:22:02raptori wonder if this happens on 64bit
05:22:20sam686don't know, i can't try it casue i don't have 64 bit
05:22:38raptorlibvorbisfile3 is installed...
05:24:49raptorwell, good night... maybe i'll think of something tomorrow..
05:24:57sam686ok
05:25:11raptor Quit ()
09:32:28kodaws has joined
10:35:34sam686 Quit (Ping timeout: 245 seconds)
11:27:51LordDVG has joined
11:32:33kodaws Quit (Ping timeout: 246 seconds)
13:01:06kodaws has joined
13:04:58kodaws is now known as swadok
13:10:10swadok is now known as kodaws
13:32:22Heyub has joined
13:32:36HeyubGood morning.
14:15:14Watusimoto has joined
14:23:11IAmBeardgood morning fellas
14:37:53IAmBeardtonight i have about three hours of dedicated work for bitfighter
14:38:12IAmBeardwhich i'm hoping will get about 70% of the code reworked into the new format
14:46:14HeyubThis is terrible, I've been wearing the same clothes for a week and mom still hasn't done the laundry. She gets upset when someone besides her does the laundry...
14:56:18raptor has joined
14:56:18ChanServ sets mode +o raptor
14:56:23IAmBeardi'd say let her get upset and wash your friggin clothes :P
14:56:25IAmBeardbut that's just me
14:56:28kodaws Quit (Ping timeout: 260 seconds)
14:57:03HeyubThats what I concluded today.
14:57:34IAmBeardone piece of advice i got from one of my highschool teachers was "Sometimes it's better to do something and say your sorry, than it is to ask permission"
14:57:49Heyublol
14:57:58raptor'until you bork the washing machine...'
14:58:15IAmBeardseriously though, you should remember it - it doesn't always apply, but when it does, it usually gets the job done
14:58:23IAmBeardaw, a washing machine isn't hard to work
14:58:31raptorbuenos dias folks
14:58:46raptorHeyub: naev still working?
14:59:02IAmBeardtyping on a keyboard is easily 100x harder than loading your clothes in the washer, adding some detergent and setting the tempature
14:59:09IAmBeardmorning rap
14:59:38raptornorming
14:59:51IAmBeard:D
15:00:01IAmBeardit's funny because i'm dyslexic
15:00:21HeyubAh, I see.
15:00:24raptorbah
15:00:48HeyubI have a friend whos dyslexic adn lktas eikl htis
15:00:55IAmBeard:(
15:01:10IAmBeardis it sad that I can read that fluently?
15:01:20HeyubIts cool because I'm really good at word twisters now.
15:01:44HeyubNot at all :P
15:06:26IAmBeardanywho, tonight's tasks are to build a container base-class for the bitfighter scripting and physics - should make it easier to subclass for different physics engins
15:06:29IAmBeard*engines
15:06:36IAmBeardand scripting engines, too
15:06:43IAmBeardbut that's not for another 6 hours or so
15:10:36IAmBeardraptor / Watusimoto , do you gents think it might be a good idea to add in some sort of documentation generator support?
15:10:41IAmBeardlike doxygen or something
15:10:55raptorhttp://bitfighter.org/~raptor/doxygen_post017a/
15:11:15IAmBeard:D
15:11:26IAmBeardwell, that's convenient :D
15:11:51raptorwe do have a hierarchy issue or two...
15:12:11raptorbut it's much better than it was (if that means anything...)
15:14:53IAmBeard:D
15:15:11IAmBeardwow, that was more :D than i wanted - why did I do a dark roast coffee this morning
15:15:29IAmBeardi will counteract it with one :(
15:16:07HeyubI thought :) was good
15:16:27IAmBeardit is but i was like i was being too happy
15:16:40IAmBeardyou can't respond to everything with a :D because then people think you are crazy
15:17:05HeyubPeople will think that anyways...
15:17:33Heyub*ahem*... :P
15:17:33IAmBeard:D
15:19:20raptori just see colons and letters everywhere...
15:19:57Heyublol
15:20:41IAmBeardfriggin goatse - i was tricked into going to that website as a young niave man, and now anytime someone says or types "colon" the horror returns
15:21:01IAmBeard:(
15:23:08Heyub:(
15:39:30raptor Quit ()
16:02:25raptor has joined
16:02:26ChanServ sets mode +o raptor
16:07:38kodaws has joined
16:36:21Watusimoto Quit (Ping timeout: 246 seconds)
16:46:40LordDVG Quit (Remote host closed the connection)
17:20:19Watusimoto has joined
17:36:32sam686 has joined
17:36:32ChanServ sets mode +v sam686
18:07:02LordDVG has joined
18:10:32IAmBeardanother awesome weapon idea; a bullet that sticks to asteroids/map floating objects and lets them go through worm holes
18:22:47raptori'm having a hard time figuring out to what your pronoun 'them' is referring
18:26:48sam686i guess the server 96.44.134.183 which was running "Bitfighter sam686" is dead, can't SSH to it anymore and can't load http://96.44.134.183 ( what i heard that was fehosting which is dying or probably dead )
18:27:00IAmBeardasteroids and stuff
18:27:25raptoroh, so you stick an asteroid, then that asteroid can go through a wormhole?
18:27:30IAmBeardyeah
18:31:37HeyubMaybe players could also stick other players then those players couldnt go through a wormhole...
18:33:15IAmBeardHeyuv, that might be another weapon, like a disruptor
18:33:32IAmBeard*Heyub
18:33:53HeyubCool
18:34:22IAmBeardanother weapon i've thought of is an anchor of some sort - shoot an asteroid, or a flag, and then shoot a wall and it forms a chain to hold the object there until it's shot/broken
18:36:00IAmBeardand i've also toyed with the idea that all players may get all the weapons all the time, and the loadout zones can either change the ship model or the modules on the ship
18:36:21IAmBeardand if we change some weapons to be ammo based, loadout zones could replenish that ammo
18:38:38HeyubMight want to be careful letting chains into soccer games lol
18:40:21IAmBeardit's my intention to allow gamemodes to limit what weapons are available, or even if the player must take the classic approach and pick three weapons
18:59:38Watusimotowhere do you see that being useful>
19:01:37raptorhi Watusimoto
19:01:44Watusimotohi
19:02:22raptorsam686 and I came across a really, really crazy crash on ubuntu only
19:02:31Watusimotorelated to sound?
19:02:34raptoryes
19:02:46Watusimotosam is good at finding crazy crashes
19:02:47sam686its the music OGG
19:02:53Watusimotohi sam
19:03:06Watusimotois it fixable?
19:03:11raptorside note: and i can't believe how nonfunctional default ubuntu install is nowadays
19:03:23raptori have no idea how to fix...
19:03:37raptori wonder if it is 32bit only...
19:03:57Watusimotowhat are our options?
19:04:21IAmBeardWatusimoto, sometimes weapons don't have to be super useful - fun weapons will always throw in a strange twist
19:04:47raptorwell, i'm going to try it on other 32bit distros
19:04:52raptorand on 64bit ubuntu
19:05:33Watusimotocan we get around the bug by static linking in a working version of ogg player?
19:05:56raptorthat's a good idea, too
19:06:02WatusimotoIAmBeard -- we will have a practical limit on having 9 weapons in total
19:06:13Watusimotowe have about... what, 5 or 6 now?
19:06:19Watusimotoone slot is reserved for heat seekers
19:06:25raptorit's somewhere in the chain of alure -> libogg -> libvorbis
19:06:29Watusimotoand another for some sort of ray gun
19:06:44Watusimotokind of a reverse-repair
19:06:58Watusimotodon't need to aim, just fire and hit
19:07:01Watusimotojust be close
19:08:20IAmBeardWatusimoto the limitation can be extended by doing a half-life style weapon categories (pressing a weapon button repeativiely would cycle through that category) - and selecting the weapons could be changed to use mouse clicks rather than pressing the number
19:08:45Watusimotowhat would joystick users do?
19:08:56IAmBeardhow are they switching weapons now?
19:09:04raptoroh yikes
19:09:06Watusimotowith their number buttons
19:09:11raptor32bit openSUSE crashed, too
19:09:19Watusimotoyikes!
19:09:32IAmBeardthen it resorts back to cycling with the number bottons
19:09:36Watusimotoso the loadout menu comes up, and they press a controller button associated with a particular button
19:10:05Watusimotothere are probably some workable solutions, which we can work out when we have too many compelling weapons
19:10:07raptorsam686: i wonder if it is an issue with a size_type somewhere in ALURE
19:10:33Watusimotoso crashes on most 32 bit distros, none of the 64 bit ones?
19:10:53raptornot that i've tested: openSUSE fedora, debian
19:11:00raptorneed to do ubuntu next
19:11:18sam686also works fine on my 32-bit windows xp, it looks like it is limited to 32-bit linux? (if it works ok on 64-bit ubuntu)
19:12:05Heyub|2 has joined
19:14:54Heyub Quit (Ping timeout: 246 seconds)
19:15:14raptorwait, i'm getting a different stack trace on openSUSE 32.bit - something in the VideoSystem...
19:25:18raptorok, fixed the video error(X11 problem in my VM) and now i get the familiar trace with crash: http://pastie.org/3845095
19:27:17WatusimotoIAmBeard: how are you with c++ templates?
19:27:50IAmBeardi'm fairly good in c++ all-around - i've done a fair amount of templating
19:27:53IAmBeardwhat's the issue?
19:28:12Watusimotook
19:28:25Watusimotoclass TestItem is a subclass of MoveItem
19:28:41Watusimotoeach subclass of MoveItem will need a member variable that looks like this:
19:28:57WatusimotoLuaProxy<TestItem> *mLuaProxy
19:29:10Watusimotowith TestItem replaced with whatever the subclass name is
19:29:40Watusimotoso ResourceItems, another subclass of MoveItem, will need a member var LuaProxy<ResourceItem> *mLuaProxy
19:29:43IAmBeardwouldn't you want MoveItem if it's subclassed?
19:29:44Watusimotoand so on
19:30:01Watusimotono, I don't think so
19:30:01IAmBeardLuaProxy<MoveItem *>
19:30:20Watusimotobecause I have other templates that are looking specifically for LuaProxy<TestItem>
19:30:26IAmBeardah, okay
19:30:31Watusimotoand, anyway, that didn't work :-)
19:30:48IAmBeardis that in the code somewhere? can i peeksee at it?
19:31:12WatusimotoI have another functino like this:
19:31:13Watusimototemplate <class T> void setLuaProxy(LuaProxy<T> *obj);
19:31:29Watusimotothat's in MoveItem
19:31:31Watusimotook
19:31:34Watusimotowhat to give you
19:31:54IAmBeardcan i get some line numbers?
19:32:10Watusimotohttp://pastie.org/3845135
19:32:23Watusimotothat's got the headers for both MoveItem and TestItem
19:32:30WatusimotoI'll give you line numbers in a sec
19:33:15WatusimotoAll the code is here
19:33:16Watusimotohttp://pastie.org/3845144
19:33:57Watusimotoso the template delcaration is c. line 190 in the header
19:34:58Watusimotothere are 4 relevant lines there
19:35:19WatusimotoLine 191, and 196-198
19:35:46WatusimotogetLuaProxy and setLuaProxy are just getters/setters for mLuaProxy
19:36:14IAmBeardokay, you need to have your code inline inside templates
19:36:18Watusimotoand push is a different issue altogether, not relevant to thei issue at hand
19:36:50IAmBeardthere is a long compiler explanation, but in short, it has to do with how the templating system works in c++
19:37:08IAmBeardso just toss the code in from the source inside the header, and you should be fine
19:37:18Watusimotosee 1054 in the second file
19:37:27Watusimotois that what you mean?
19:37:50IAmBeardyeah, just move that inside the header
19:37:57Watusimotook, will try that
19:38:10Watusimotothis is almost my first foray into templates
19:39:30IAmBeardbecause templating is somewhat ambiguous, if you declare the template in a different area from where you implement it, the compiler will lose all continence, kill an infant in asia, and move the world one centimeter closer to the sun
19:39:59Watusimotook
19:40:11Watusimotoleave this one as is?
19:40:11WatusimotoLuaProxy<MoveItem> *mLuaProxy;
19:40:22IAmBeardyeah, the variable declaration shouldn't be an issue
19:40:35Watusimotook, compiling
19:40:35IAmBeardbut then again, I don't know how LuaProxy is setup
19:40:43Watusimotoneither do I :-)
19:40:54IAmBeardoh, is that just a thirdparty lua thing?
19:40:54Watusimotobut I wrote it
19:41:09Watusimotono, but it's almost a week old
19:41:38Watusimotoit uses templates too
19:41:46IAmBeardyou may get an issue with the declaration IF LuaProxy isn't templated properly
19:41:50Watusimotobuild failed
19:41:52Watusimotolet's see why
19:42:15Watusimotooh great
19:42:30Watusimotoerror C2440: '=' : cannot convert from 'LuaProxy<T> *' to 'LuaProxy<T> *'
19:42:42Watusimotoin the setter
19:43:12WatusimotoI think because one has a generic T and the other has a MoveItem
19:43:27WatusimotoThe setter again:
19:43:28Watusimoto template <class T> void setLuaProxy(LuaProxy<T> *obj) { mLuaProxy = obj; }
19:44:26IAmBeardwhere is that line being called?
19:45:01Watusimotofrom LuaWrapper.h, line 741
19:45:17WatusimotoThere is a line:
19:45:17Watusimotoobj->setLuaProxy(this);
19:45:30sam686if you look at "output" instead of "error list", it might say what "T" equals for each, i think...
19:45:30IAmBeard^ that needs to be templated
19:45:40IAmBeardobj->setLuaProxy<MoveItem>(this)
19:45:51WatusimotoI could try that
19:46:26Watusimotothis *might* cause problems later, but we can worry about those later
19:46:27IAmBeardwith templating, some compilers might take a guess at the type, BUT from my experience, compilers are completely stupid and should never be left to their own devices
19:46:53Watusimotosam686: you are right; lots more info in output
19:49:00Watusimotook, one issue is that now LuaWrapper needs to know about MoveItems
19:49:24WatusimotoI can include MoveItem.h, but until now, it has been nicely generic
19:49:58WatusimotoI'll try it to see if that fixes the issue
19:52:56raptorok, 64bit ubuntu runs fine
19:53:01Watusimotocan you actually have a templated member variable like I am trying to create?
19:53:15raptorso that leaves: what would cause problems between 32/64 bit systems?
19:53:46Watusimotopointer magic gone wrong?
19:53:53Watusimotoassuming the ptr is 64 bits
19:54:05IAmBeardWatusimoto, want me to tackle the bug you're fidgetting with?
19:54:11IAmBeardwith templating
19:54:48sam686the music crash problem appears to happens on 32-bit linux only (no problems with windows xp 32-bit and no problems with 64-bit)
19:54:56Watusimotosure -- I want to try a couple of other things, but I'll happily pass this frustration on if you think you can tackle it
19:55:59IAmBeardyeah, i think i can in about 4 hours (my wife has a community band practice tonight so i have the house to myself :D)
19:56:16WatusimotoI *know* I can fix it with a macro
19:56:25Watusimotobut I'm trying to be good
19:56:26raptormacro macro!
19:56:35raptoroh
19:57:12WatusimotoI could fix all of this with a macro in the vein of those TNL uses
19:57:29raptormacro macro!
19:57:46raptorit's a template header... already putting code inline
19:59:22Watusimotowait -- you want me to use a macro???
19:59:33raptoreh...
19:59:42WatusimotoIf I fix this template style, I will try to get the code out of the header
19:59:46raptorjust adding fuel to the fire
20:00:00WatusimotoWe already have this line:
20:00:01WatusimotoTNL_DECLARE_CLASS(TestItem);
20:00:05Watusimotowe could add
20:00:23WatusimotoDECLARE_LUA_OBJECT(TestItem);
20:00:40Watusimotowith all the code we need to make the luaproxy work
20:02:13Watusimotoit wouldn't even be that much code in the macro... just a member variable declaration, a getter, and a setter
20:02:41Watusimotothat's not so horrible, is it?
20:04:12IAmBeardit's not, but it doesn't do proper type checking
20:04:25IAmBeardwhich COULD result in some larger issues later down the road
20:05:00raptorso the openal-soft developer says we may have hit an obscure libogg bug...
20:17:18IAmBeardhave you guys maybe considered switching to portaudio?
20:17:24raptorNOOOOO
20:17:50raptoroh sorry
20:17:53sam686lots of work to port... for what?
20:17:55raptori thought you meant pulseaudio
20:18:22IAmBeardwell, openal is mostly geared toward 3d sound effects, which may be overcomplicating what you have
20:18:22raptori am unfamiliar with port audio, but openAL is already cross-platform, 3D, and works on every device
20:18:54raptorwe could have gone with SDL_mixer
20:19:03raptorbut openAL is more widely supported
20:20:29Watusimotoraptor loves to swap in new audio systems
20:20:48raptorsay it ain't so
20:21:15IAmBeardlol
20:21:46raptori even wrote the mac microphone input patch for openal-soft
20:22:05sam686i think there not hardly any penalty to have 3D vs 2D for openAL (and even for openGL)
20:22:14raptornope, no penalty
20:22:17raptoropenAL is great
20:22:41sam686what would we use as an alternative to openAL? owr own software rendering?
20:22:50sam686probably not, slow
20:22:59sam686openGL, imeant
20:23:03raptorsad, my next test at the 32bit crash failed
20:25:01sam686at the extreme, try converting openAL to "beep();"
20:28:03kodaws Quit (Ping timeout: 246 seconds)
20:28:49IAmBeardjust as a side note from work, it would be interesting (by this I mean I have no idea what good it would do, but it could be cool) to implement voice commands
20:30:15sam686there is already some quick-chat thing like pressing V and other buttons, want to turn those into voice (along with text chat as usual)?
20:31:15IAmBeardbut I mean voice commands like "select weapon x" and the game switches to that weapon
20:31:23IAmBeardbut it would be almost useless
20:31:25raptortoo slow, me thinks
20:31:31IAmBeard:P
20:31:45sam686voice recognision have problems...
20:31:57Heyub|2Voice commands have to be really good, or they are no good at all.
20:33:48Watusimotosorry raptor:
20:33:50Watusimotothe implementation (definition) of a template class or function must be in the same file as its declaration. That means that we cannot separate the interface in a separate header file, and that we must include both interface and implementation in any file that uses the templates.
20:39:06raptoryes, templates have to always be in header files...
20:40:16WatusimotoI didn't realize that was a hard and fast rule
20:40:30raptoryeah, i ran into it when i rewrote Vector
20:42:12sam686you can have class template<T> AA : public BB, and have all BB class function go into CPP file (AA function probably need to stay in inside the class usually in header.
20:42:36raptori can't believe all 32bit linux version of bitfighter since 016 have been borken
20:42:48sam686bork?
20:42:55raptorbrok
20:42:59raptor*broken
20:44:09sam686is 016 isn't broken by default? I think it came with no music be default?
20:44:25raptoroh yes, you're right...
20:44:29sam686no music = no music crash
20:44:32raptorcorrect
20:45:59IAmBeard^ perfect logic :D
20:46:01WatusimotoI had a problem running ubuntu bitfighter on my linux laptop... twice, it crashed so hard I had to reboot
20:46:21raptorwhen? what version? what architecture?
20:46:21IAmBeardI can look into possible structure issues in my rewrite
20:46:23Watusimotoprobably unrelated
20:46:36Watusimotorunning Mint 64 bit
20:46:42Watusimoto(I think)
20:46:57sam686what graphics are you using? intel graphics?
20:47:12Watusimotousing whatever came prebuilt from that linux games site
20:47:18Watusimotonot sure about hw details
20:47:51raptorinteresting
20:48:00raptori'm looking at the patches that playdeb added
20:48:10WatusimotoBoth times I was demoing the games
20:48:27raptorone disables the lua profiler?
20:48:29WatusimotoMade for a really good show :-)
20:48:50WatusimotoI think the lua profiler has been disabled everywhere for a while
20:48:53raptorhttp://pastie.org/3845528
20:49:35WatusimotoNoone has ever used the profiler
20:50:02raptorwell, the header is included in robot.cpp
20:50:18raptorcan i remove?
20:51:24LordDVG Quit (Remote host closed the connection)
20:52:44Watusimotosure -- comment it out at least; maybe someday someone will be motivated to profile something
20:53:02Watusimotothe idea was we could use it to find areas where we could boost bot performance
20:53:08Watusimotobut that was before we had any bots
20:53:17Watusimotoand I have no idea how to use it
20:53:59BFLogBot - Commit 39613fb26dd0 | Author: buckyballreaction | Log: Remove Lua profiler include
20:56:04IAmBeardi'll be back in about 2 hours to do some fun codings
20:56:33IAmBeardalthough i'll stay logged on so if you gents need me (I can't see why, but anywho), just leave me a PM
20:59:21Watusimotook; I'll have a checkin for you if you want to take a stab at doing the template stuff
20:59:35Watusimotoif not... macro time!
21:05:01Watusimotook, checking in. This version compiles, but does not run with my test bot
21:05:20Watusimotothe challenge is to replace the marked code with a template
21:05:40Watusimotothough for other reasons, I'm thinking this may end up being a macro job anyway
21:05:49Watusimotobut there you go
21:06:03raptorCorollary: and compiles on three platforms
21:06:33Heyub|2Very vuage question here... What is lua? Bitfighter is the first I ever heard of it, it seems to only be used for ais.
21:07:04raptorLua is a scripting language
21:07:31raptorit is used so you can write a script and run it in bitfighter without having to recompile the game
21:07:52Heyub|2Oh, whereas if you did it in C you would have to recomplie the game?
21:07:56raptoryes
21:08:08Heyub|2That makes more sense now, thank you.
21:08:14raptorso it lets people write bots or levelgens that can be loaded up with the game (if in the right folder)
21:09:14Watusimotoalso used for customizing WoW
21:10:05raptorWindows-on-Windows?
21:10:11Heyub|2lol
21:10:22Heyub|2You've never heard of that raptor?
21:10:23raptorthat's not WoW is it...
21:10:30Heyub|2World of Warcraft
21:10:33raptorohhhh
21:10:45raptorreally? that has Lua built in?
21:11:23WatusimotoI thin kso
21:12:05Watusimotook, I'm done for the evening
21:12:19Watusimotocode for the Great Template Challenge has been committed
21:12:22raptorok, good night - i still don't know what to do about this crash..
21:12:36Watusimotolet's discuss our options tomorrow
21:13:00Watusimotoif there is not an obvious course, maybe best to let it stew for a few hours
21:13:18raptorthat's what i did last night...
21:13:21raptorbut i like stew
21:14:02BFLogBot - Commit 54477af86783 | Author: watusim...@bitfighter.org | Log: Reorder functions for clarity -- may eventually combine
21:14:04BFLogBot - Commit 7b1405f0ba36 | Author: watusim...@bitfighter.org | Log: Remove unused LuaTestItem proxy class
21:14:05BFLogBot - Commit aaab9840e332 | Author: watusim...@bitfighter.org | Log: Remove superfluous code
21:14:07BFLogBot - Commit 33718cd41d22 | Author: watusim...@bitfighter.org | Log: Remove commented code
21:14:08BFLogBot - Commit 6e592ecc8274 | Author: watusim...@bitfighter.org | Log: Remove more unused delarations
21:14:10BFLogBot - Commit f2aa2b1dd65e | Author: watusim...@bitfighter.org | Log: Attempts at expanding luaW work to other classes with less typing... this compiles, but does not work. See comments in moveObject.h about what needs to happen. Will fix all of this tomorrow one way or another.
21:14:11BFLogBot - Commit 1c7cb6b940f7 | Author: watusim...@bitfighter.org | Log: Comment... need to figure out why the line above the added comment does not override the commented line (imported from grandparent class)...
21:14:13BFLogBot - Commit 7c7b640ad75a | Author: watusim...@bitfighter.org | Log: Merge
21:14:53WatusimotoIf I did all my lua stuff in a macro, I could also include this delcaration we need everywhere:
21:14:54Watusimotostatic const char className[];
21:15:02Watusimotoand get that out of our classes
21:15:20WatusimotoLeaning more and more towards a macro!
21:15:32Watusimotolet's see what the morning brings
21:15:44raptorhe
21:15:46raptorhehe
21:15:50raptorbwhahaha
21:15:53raptorok
21:16:20WatusimotoI think the code will actually be clearer with a macro!
21:16:44Watusimotowell anyhow... good night
21:17:05raptornight
21:17:16Heyub|28 people online
21:18:00raptor!bot
21:18:00BFLogBotI'm a real boy!
21:18:20Heyub|2Thats weird.
21:18:28Heyub|2The website says they are online, but no one is online.
21:19:49raptorthey're hangin out in the menus
21:20:05raptoroh, check here: http://bitfighter.org/bitfighterStatus.json
21:20:23raptorthey're all on protocol 33: or bitfighter 016
21:20:34Heyub|2:o
21:22:39Watusimoto Quit (Ping timeout: 246 seconds)
21:22:56raptorok, i got into their game and told them to update
21:23:06raptorthey responded by saying "when is it recess time?"
21:34:41Heyub|2what?
21:34:57raptoryeah, then they shut down the server
21:35:48Heyub|2maybe a school computers
21:36:15Heyub|2Though I think a school wouldnt allow hosting...
21:36:20Heyub|2Except for Lan
21:36:55raptorwell....
21:37:06raptorwe have a lan workaround built into the master server :)
21:37:40Heyub|2Clever!
21:38:59Heyub|2Do you think my comment a bout user submissions is a bit... crude?
21:39:27sam686its called "punching through firewall", it might not always work if you are also behind a NAT router or firewall..
21:40:16raptornah - it's a tame comment by some of the other users' standards
21:41:41Heyub|2thats good :)
22:56:41sam686 Quit (*.net *.split)
22:57:09raptorwooohooo net split!
22:57:57Heyub|2What is net split o.0
22:58:14raptorhttp://en.wikipedia.org/wiki/Netsplit
22:59:16sam686 has joined
22:59:23raptorwelcome back!
23:00:45sam686 is now known as 18WAAXERJ
23:00:46sam686 has joined
23:00:46ChanServ has joined
23:00:46ChanServ has left
23:00:46ChanServ sets mode +v sam686
23:00:46sam686 Quit (Client Quit)
23:00:47raptor Quit (Changing host)
23:00:47raptor has joined
23:00:54Myzaree has joined
23:01:2618WAAXERJapparently, card.freenode.net server got disconnected or isolated from the big freenode network
23:01:4018WAAXERJeveryone went away while i was in card
23:02:3418WAAXERJ is now known as sam686
23:02:35ChanServ sets mode +v sam686
23:04:03Heyub|2lol
23:09:27Myzaree Quit ()
23:11:35raptorsam686: could it be that the stack is too small on 32bit machines ?
23:11:52Myzaree has joined
23:11:57raptorhi Myzaree
23:12:39Myzareehello
23:13:35Myzaree Quit (Client Quit)
23:13:59Myzaree has joined
23:22:40raptorok sam686, i found out that is is definitely bitfighter's fault it is crashing
23:23:14raptorbecause I can play that ogg on 32bit machine using the alurestream binary which uses libvorbis/libogg the same way
23:23:28raptorso problem in memory somehow?
23:24:56raptorsomething somewhere isn't allocating memory properly...
23:24:59raptormaybe
23:34:20TheBeard has joined
23:36:13Heyub|2The bard is here, maybe he'll sing us a... Oh, Beard, hi beard!
23:42:32IAmBeard Quit (Ping timeout: 260 seconds)
23:42:53raptor has left
23:50:57Myzaree Quit (Ping timeout: 272 seconds)

Index Search ←Prev date Next date→

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