Timestamps are in GMT/BST.
| 00:02:46 | sam686_ | oh, and for libvorbisfile3 version i have: 1.2.3-3ubuntu1.1 |
| 00:02:48 | IAmBeard | gdb? |
| 00:04:26 | raptor | already used and we have a stacktrace, it's either libvorbis or libogg on his ubuntu system that is crashing |
| 00:04:53 | IAmBeard | custom built, or from aptitude? |
| 00:05:00 | raptor | system packages |
| 00:05:30 | IAmBeard | have 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:52 | sam686_ | i went something like owner@owner86-laptop:~$ sudo apt-get install --reinstall libvorbisfile3 |
| 00:06:01 | sam686_ | and the same for libogg0 |
| 00:06:10 | sam686_ | but the problem is still there (the same) |
| 00:07:29 | raptor | so, 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:49 | IAmBeard | i 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:11 | IAmBeard | oh, sam686 do that with the -dev package, too |
| 00:11:25 | raptor | the -dev package won't help here |
| 00:11:35 | IAmBeard | the dev packages have the headers |
| 00:11:42 | raptor | yes, but he can already compile fine |
| 00:12:19 | sam686_ | i did fully recompile (from scratch) after all those updates... |
| 00:13:02 | raptor | i think in practice, most linux users can manage their systems, *except* ubuntu+derivatives users (sam686_ can i'm sure, though) |
| 00:13:46 | sam686_ | on the update history, i see |
| 00:13:49 | sam686_ | libvorbis-dev (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1 |
| 00:13:50 | sam686_ | libvorbis0a (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1 |
| 00:13:52 | sam686_ | libvorbisenc2 (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1 |
| 00:13:53 | sam686_ | libvorbisfile3 (1.2.3-3ubuntu1) to 1.2.3-3ubuntu1.1 |
| 00:14:57 | sam686_ | only question is how to undo that specific update |
| 00:15:20 | | Heyub has joined |
| 00:20:42 | sam686_ | found a "force version" in synampic package manager |
| 00:23:09 | raptor | sorry, dinner called |
| 00:23:22 | raptor | whole wheat pancakes |
| 00:23:26 | raptor | tasty goodness |
| 00:23:35 | raptor | oh good, try and revert |
| 00:24:03 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 00:29:34 | Heyub | I had tacos. |
| 00:29:40 | raptor | oooo |
| 00:30:10 | raptor | i like black bean tacos |
| 00:30:17 | raptor | i like *all* tacos, actually |
| 00:30:27 | Heyub | I only like home made tacos. |
| 00:30:57 | Heyub | Come to think of it I only like home made food... |
| 00:31:02 | Heyub | Anyways... |
| 00:31:04 | sam686_ | downgraded libvorbis but the problem is still there |
| 00:32:15 | raptor | well that stinks - i wonder if watusimoto's Lua changes are make weird memory calls.. |
| 00:38:33 | | sam686 Quit () |
| 00:38:46 | | sam686_ is now known as sam686 |
| 00:41:52 | | raptor Quit (Ping timeout: 252 seconds) |
| 00:55:00 | | raptor has joined |
| 00:55:00 | | ChanServ sets mode +o raptor |
| 01:13:03 | | mollie_ has joined |
| 01:13:08 | mollie_ | hi |
| 01:13:13 | sam686 | hi |
| 01:13:14 | Heyub | Hello |
| 01:13:20 | mollie_ | hello |
| 01:13:37 | sam686 | hello |
| 01:14:01 | mollie_ | I was on bitfighter and nowbobys plaing |
| 01:14:37 | mollie_ | body and playing |
| 01:14:57 | | mollie_ Quit (Client Quit) |
| 01:41:24 | | raptor Quit (Ping timeout: 245 seconds) |
| 01:41:47 | | raptor has joined |
| 01:41:47 | | ChanServ sets mode +o raptor |
| 01:42:00 | sam686 | looks like, 016 also crash with "SEGABRT" on 016 as well on my linux |
| 01:42:13 | sam686 | nearly the same backtrace too |
| 01:42:45 | raptor | that makes it seem more like a libvorbis or libogg error... |
| 01:43:00 | raptor | because i've changed the sound system a lot since 016 |
| 01:49:29 | | raptor Quit () |
| 01:50:21 | | raptor has joined |
| 01:50:21 | | ChanServ sets mode +o raptor |
| 01:52:24 | Heyub | Im sad :( |
| 01:52:29 | raptor | how come? |
| 01:52:40 | Heyub | Naev don't work on PPC |
| 01:52:49 | raptor | ahh.... |
| 01:53:14 | raptor | actually, i may be able to help with that... i wonder if they have the mac project in their repo |
| 01:53:19 | Heyub | Its annoying because thats what I do models on, so I gotta keep switching the files onto my laptop. |
| 01:54:08 | raptor | let me see if i can build it on ppc mac... |
| 01:54:24 | raptor | it's probably a fools errand, but hey - i have experience :) |
| 01:55:14 | Heyub | I looked into that but in the "COMPILE" it says "PPC versions are unfortunately unavailable due to lack of libpng.dylib..." |
| 01:55:23 | raptor | ha! i have that one |
| 01:56:58 | raptor | do you have to manually install the ndata file on mac? |
| 01:57:08 | Heyub | Yes |
| 01:57:17 | Heyub | I think so, that is what I read anyways.. |
| 02:15:45 | raptor | Heyub: do you have x11 installed? |
| 02:16:32 | Heyub | Yes |
| 02:21:23 | raptor | yay compiling |
| 02:24:19 | Heyub | You're awesome raptor :) |
| 02:29:38 | raptor | oh my goodness it completed... |
| 02:29:45 | raptor | uhhh... let me see something |
| 02:31:57 | Heyub | ok |
| 02:38:09 | raptor | ok, i'll have a package for you in a few minutes - no guarantee it won't crash! |
| 02:38:54 | Heyub | I understand how that is :P Thanks again. |
| 02:40:48 | sam686 | valgrind: the 'impossible' happened: http://sam686.maxhushahn.com/upload/valgrind2.txt |
| 02:41:01 | sam686 | though, there is a few invalid memory writes it says |
| 02:41:26 | raptor | haha |
| 02:41:47 | raptor | Heyub: special order for you: http://sam686.maxhushahn.com/upload/naev-0.5.3-ppc.zip |
| 02:42:10 | Heyub | raptor: :P Thanks, I'll try it out now. |
| 02:43:45 | sam686 | there 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:52 | raptor | Heyub: if it works, let me know and i'll post my findings to #naev |
| 02:48:26 | raptor | sam686: what if you set music to 0 in teh INI first, does it still crash? |
| 02:50:45 | sam686 | there isn't a music= but a MusicVolume=10 |
| 02:51:17 | raptor | yes that - set it to zero |
| 02:51:18 | sam686 | still crash with MusicVolume=0 |
| 02:51:25 | raptor | different stack trace? |
| 02:51:38 | sam686 | same stacktrace |
| 02:51:59 | sam686 | MusicVolume=0 doesn't try to stop it from playing music |
| 02:52:10 | sam686 | but removing the music files does |
| 02:59:41 | | sam686 Quit (Remote host closed the connection) |
| 03:01:33 | Heyub | brb |
| 03:01:37 | | Heyub has left |
| 03:01:58 | | sam686 has joined |
| 03:01:58 | | ChanServ sets mode +v sam686 |
| 03:02:34 | | Heyub_ has joined |
| 03:42:41 | Heyub_ | Im headed ot bed, good night. |
| 03:42:48 | raptor | night! |
| 03:42:53 | raptor | naev ppc still ok? |
| 03:42:59 | | Heyub_ Quit (Quit: Page closed) |
| 03:45:27 | | sam686 Quit (Remote host closed the connection) |
| 03:51:00 | | sam686 has joined |
| 03:51:00 | | ChanServ sets mode +v sam686 |
| 04:07:05 | raptor | hi sam686, welcome back |
| 04:09:27 | sam686 | LUA 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:02 | raptor | yeah - watusimoto has messed up the Lua code |
| 04:11:05 | sam686 | though, did you ever crash like me in a 32-bit linux ubuntu? (try virtual machine) |
| 04:11:17 | raptor | not yet... |
| 04:11:20 | sam686 | as in the music crash |
| 04:11:38 | sam686 | only time it doesn't crash is if it is not playing a OGG file |
| 04:11:46 | raptor | oh, i don't have a vm of ubuntu - i got rid of it... |
| 04:12:20 | sam686 | why? out of disk space? |
| 04:13:12 | raptor | no - i think i removed it because i didn't think i'd need it anymore (since ubuntu updates so oftern) |
| 04:13:58 | sam686 | you could always download an newest ISO image, and have your virtual machine use that ISO image to install to blank hard disk.. |
| 04:14:18 | raptor | you mean of the latest ubuntu? |
| 04:14:27 | sam686 | yes... if you want to |
| 04:14:35 | raptor | yeah, let me try that... |
| 04:14:36 | sam686 | though, there is 32 vs 64 bit also.. |
| 04:15:01 | sam686 | my computer is only 32-bit CPU (64 bit won't work for me) |
| 04:17:08 | raptor | the download will still take about 6 min.. |
| 04:18:11 | sam686 | you 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:34 | raptor | ok |
| 04:19:06 | sam686 | as for me changing to 16 GB, i used a boot disk and gparted to shrink my windows FAT32, expand EXT4 |
| 04:19:28 | raptor | yeah, i won;t need to worry about it with VMs. |
| 04:20:04 | sam686 | (only for real computer, not virtual machine) I made my swap partition bigger then my total RAM to allow hypernate in linux |
| 04:20:22 | raptor | good idea |
| 04:22:40 | sam686 | a 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:55 | sam686 | so if you need more disk space, delete the swap-only hard disk file.. |
| 04:22:56 | raptor | ok downloaded... |
| 04:24:37 | sam686 | ubuntu install should be fast then debian install (copy image vs install / configure lots of packages) |
| 04:41:20 | raptor | ok installed, but i can't figure out how to install packages... |
| 04:41:26 | raptor | they made the OS stupid |
| 04:44:17 | sam686 | what does it look like? |
| 04:44:34 | raptor | horrid purple and orange |
| 04:45:26 | sam686 | like this? http://en.wikipedia.org/wiki/File:Ubuntu_12.04.png |
| 04:45:37 | raptor | exactly |
| 04:46:10 | sam686 | except, mine is still the old way, top and bottom bar (though i removed the top bar) |
| 04:48:30 | raptor | i can't find sdl development headers yet for it |
| 04:48:35 | raptor | it must have been newly released |
| 04:50:53 | sam686 | hint: ctrl + alt + f2 (or terminal) sudo apt-get install (whatever in the bitfighter build instructio'n) |
| 04:53:09 | raptor | ok, good it's installing |
| 04:54:19 | raptor | ok, forgot about that page |
| 04:54:23 | raptor | all installed now |
| 04:54:26 | raptor | cloning... |
| 04:56:13 | sam686 | did you use 32-bit or 64-bit ? |
| 04:56:21 | sam686 | for ubuntu |
| 04:56:23 | raptor | 32 |
| 04:56:40 | sam686 | good, just like my real non-virtual computer |
| 04:57:02 | raptor | compiling |
| 05:01:48 | raptor | glibc detected memory corruption |
| 05:01:52 | raptor | and i can't get a stack trace |
| 05:02:16 | sam686 | running inside gdb? |
| 05:02:22 | raptor | yep |
| 05:02:29 | sam686 | did you "make debug"? |
| 05:02:34 | raptor | yup |
| 05:03:20 | sam686 | thats mostly the same problem i have.. |
| 05:03:34 | sam686 | except i do get backtrace |
| 05:04:36 | sam686 | delete music files and the problem is gone, isn't it? |
| 05:06:52 | sam686 | the 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:16 | raptor | yep, deleted music files and problem is gone |
| 05:07:17 | sam686 | as long as no OGG in music folder, it doesn't crash, it seems |
| 05:07:28 | raptor | that is so weird... |
| 05:08:41 | sam686 | you can look as my backtrace http://sam686.maxhushahn.com/upload/text1204/120430_17-04-42.txt |
| 05:10:11 | sam686 | it is probably either libvorbisfile.so.6 or /usr/lib/libogg.so.0 that is probably corrupting memory? |
| 05:10:21 | raptor | man, i have no idea |
| 05:10:32 | raptor | i know other people on other linux distros aren't having this problem... |
| 05:12:10 | sam686 | maybe we could narrow it down with one custom test.cpp that only plays music? |
| 05:13:03 | raptor | i'm trying to set a break point in gdb |
| 05:15:13 | sam686 | i 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:46 | sam686 | i can't follow inside the libvorbisfile if i don't have the source code.. |
| 05:17:21 | raptor | interesting... |
| 05:21:44 | raptor | well, i need to sleep now - i still have no idea what the problem is |
| 05:21:49 | sam686 | ok |
| 05:22:02 | raptor | i wonder if this happens on 64bit |
| 05:22:20 | sam686 | don't know, i can't try it casue i don't have 64 bit |
| 05:22:38 | raptor | libvorbisfile3 is installed... |
| 05:24:49 | raptor | well, good night... maybe i'll think of something tomorrow.. |
| 05:24:57 | sam686 | ok |
| 05:25:11 | | raptor Quit () |
| 09:32:28 | | kodaws has joined |
| 10:35:34 | | sam686 Quit (Ping timeout: 245 seconds) |
| 11:27:51 | | LordDVG has joined |
| 11:32:33 | | kodaws Quit (Ping timeout: 246 seconds) |
| 13:01:06 | | kodaws has joined |
| 13:04:58 | | kodaws is now known as swadok |
| 13:10:10 | | swadok is now known as kodaws |
| 13:32:22 | | Heyub has joined |
| 13:32:36 | Heyub | Good morning. |
| 14:15:14 | | Watusimoto has joined |
| 14:23:11 | IAmBeard | good morning fellas |
| 14:37:53 | IAmBeard | tonight i have about three hours of dedicated work for bitfighter |
| 14:38:12 | IAmBeard | which i'm hoping will get about 70% of the code reworked into the new format |
| 14:46:14 | Heyub | This 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:18 | | raptor has joined |
| 14:56:18 | | ChanServ sets mode +o raptor |
| 14:56:23 | IAmBeard | i'd say let her get upset and wash your friggin clothes :P |
| 14:56:25 | IAmBeard | but that's just me |
| 14:56:28 | | kodaws Quit (Ping timeout: 260 seconds) |
| 14:57:03 | Heyub | Thats what I concluded today. |
| 14:57:34 | IAmBeard | one 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:49 | Heyub | lol |
| 14:57:58 | raptor | 'until you bork the washing machine...' |
| 14:58:15 | IAmBeard | seriously though, you should remember it - it doesn't always apply, but when it does, it usually gets the job done |
| 14:58:23 | IAmBeard | aw, a washing machine isn't hard to work |
| 14:58:31 | raptor | buenos dias folks |
| 14:58:46 | raptor | Heyub: naev still working? |
| 14:59:02 | IAmBeard | typing on a keyboard is easily 100x harder than loading your clothes in the washer, adding some detergent and setting the tempature |
| 14:59:09 | IAmBeard | morning rap |
| 14:59:38 | raptor | norming |
| 14:59:51 | IAmBeard | :D |
| 15:00:01 | IAmBeard | it's funny because i'm dyslexic |
| 15:00:21 | Heyub | Ah, I see. |
| 15:00:24 | raptor | bah |
| 15:00:48 | Heyub | I have a friend whos dyslexic adn lktas eikl htis |
| 15:00:55 | IAmBeard | :( |
| 15:01:10 | IAmBeard | is it sad that I can read that fluently? |
| 15:01:20 | Heyub | Its cool because I'm really good at word twisters now. |
| 15:01:44 | Heyub | Not at all :P |
| 15:06:26 | IAmBeard | anywho, 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:29 | IAmBeard | *engines |
| 15:06:36 | IAmBeard | and scripting engines, too |
| 15:06:43 | IAmBeard | but that's not for another 6 hours or so |
| 15:10:36 | IAmBeard | raptor / Watusimoto , do you gents think it might be a good idea to add in some sort of documentation generator support? |
| 15:10:41 | IAmBeard | like doxygen or something |
| 15:10:55 | raptor | http://bitfighter.org/~raptor/doxygen_post017a/ |
| 15:11:15 | IAmBeard | :D |
| 15:11:26 | IAmBeard | well, that's convenient :D |
| 15:11:51 | raptor | we do have a hierarchy issue or two... |
| 15:12:11 | raptor | but it's much better than it was (if that means anything...) |
| 15:14:53 | IAmBeard | :D |
| 15:15:11 | IAmBeard | wow, that was more :D than i wanted - why did I do a dark roast coffee this morning |
| 15:15:29 | IAmBeard | i will counteract it with one :( |
| 15:16:07 | Heyub | I thought :) was good |
| 15:16:27 | IAmBeard | it is but i was like i was being too happy |
| 15:16:40 | IAmBeard | you can't respond to everything with a :D because then people think you are crazy |
| 15:17:05 | Heyub | People will think that anyways... |
| 15:17:33 | Heyub | *ahem*... :P |
| 15:17:33 | IAmBeard | :D |
| 15:19:20 | raptor | i just see colons and letters everywhere... |
| 15:19:57 | Heyub | lol |
| 15:20:41 | IAmBeard | friggin 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:01 | IAmBeard | :( |
| 15:23:08 | Heyub | :( |
| 15:39:30 | | raptor Quit () |
| 16:02:25 | | raptor has joined |
| 16:02:26 | | ChanServ sets mode +o raptor |
| 16:07:38 | | kodaws has joined |
| 16:36:21 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 16:46:40 | | LordDVG Quit (Remote host closed the connection) |
| 17:20:19 | | Watusimoto has joined |
| 17:36:32 | | sam686 has joined |
| 17:36:32 | | ChanServ sets mode +v sam686 |
| 18:07:02 | | LordDVG has joined |
| 18:10:32 | IAmBeard | another awesome weapon idea; a bullet that sticks to asteroids/map floating objects and lets them go through worm holes |
| 18:22:47 | raptor | i'm having a hard time figuring out to what your pronoun 'them' is referring |
| 18:26:48 | sam686 | i 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:00 | IAmBeard | asteroids and stuff |
| 18:27:25 | raptor | oh, so you stick an asteroid, then that asteroid can go through a wormhole? |
| 18:27:30 | IAmBeard | yeah |
| 18:31:37 | Heyub | Maybe players could also stick other players then those players couldnt go through a wormhole... |
| 18:33:15 | IAmBeard | Heyuv, that might be another weapon, like a disruptor |
| 18:33:32 | IAmBeard | *Heyub |
| 18:33:53 | Heyub | Cool |
| 18:34:22 | IAmBeard | another 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:00 | IAmBeard | and 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:21 | IAmBeard | and if we change some weapons to be ammo based, loadout zones could replenish that ammo |
| 18:38:38 | Heyub | Might want to be careful letting chains into soccer games lol |
| 18:40:21 | IAmBeard | it'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:38 | Watusimoto | where do you see that being useful> |
| 19:01:37 | raptor | hi Watusimoto |
| 19:01:44 | Watusimoto | hi |
| 19:02:22 | raptor | sam686 and I came across a really, really crazy crash on ubuntu only |
| 19:02:31 | Watusimoto | related to sound? |
| 19:02:34 | raptor | yes |
| 19:02:46 | Watusimoto | sam is good at finding crazy crashes |
| 19:02:47 | sam686 | its the music OGG |
| 19:02:53 | Watusimoto | hi sam |
| 19:03:06 | Watusimoto | is it fixable? |
| 19:03:11 | raptor | side note: and i can't believe how nonfunctional default ubuntu install is nowadays |
| 19:03:23 | raptor | i have no idea how to fix... |
| 19:03:37 | raptor | i wonder if it is 32bit only... |
| 19:03:57 | Watusimoto | what are our options? |
| 19:04:21 | IAmBeard | Watusimoto, sometimes weapons don't have to be super useful - fun weapons will always throw in a strange twist |
| 19:04:47 | raptor | well, i'm going to try it on other 32bit distros |
| 19:04:52 | raptor | and on 64bit ubuntu |
| 19:05:33 | Watusimoto | can we get around the bug by static linking in a working version of ogg player? |
| 19:05:56 | raptor | that's a good idea, too |
| 19:06:02 | Watusimoto | IAmBeard -- we will have a practical limit on having 9 weapons in total |
| 19:06:13 | Watusimoto | we have about... what, 5 or 6 now? |
| 19:06:19 | Watusimoto | one slot is reserved for heat seekers |
| 19:06:25 | raptor | it's somewhere in the chain of alure -> libogg -> libvorbis |
| 19:06:29 | Watusimoto | and another for some sort of ray gun |
| 19:06:44 | Watusimoto | kind of a reverse-repair |
| 19:06:58 | Watusimoto | don't need to aim, just fire and hit |
| 19:07:01 | Watusimoto | just be close |
| 19:08:20 | IAmBeard | Watusimoto 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:45 | Watusimoto | what would joystick users do? |
| 19:08:56 | IAmBeard | how are they switching weapons now? |
| 19:09:04 | raptor | oh yikes |
| 19:09:06 | Watusimoto | with their number buttons |
| 19:09:11 | raptor | 32bit openSUSE crashed, too |
| 19:09:19 | Watusimoto | yikes! |
| 19:09:32 | IAmBeard | then it resorts back to cycling with the number bottons |
| 19:09:36 | Watusimoto | so the loadout menu comes up, and they press a controller button associated with a particular button |
| 19:10:05 | Watusimoto | there are probably some workable solutions, which we can work out when we have too many compelling weapons |
| 19:10:07 | raptor | sam686: i wonder if it is an issue with a size_type somewhere in ALURE |
| 19:10:33 | Watusimoto | so crashes on most 32 bit distros, none of the 64 bit ones? |
| 19:10:53 | raptor | not that i've tested: openSUSE fedora, debian |
| 19:11:00 | raptor | need to do ubuntu next |
| 19:11:18 | sam686 | also 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:05 | | Heyub|2 has joined |
| 19:14:54 | | Heyub Quit (Ping timeout: 246 seconds) |
| 19:15:14 | raptor | wait, i'm getting a different stack trace on openSUSE 32.bit - something in the VideoSystem... |
| 19:25:18 | raptor | ok, fixed the video error(X11 problem in my VM) and now i get the familiar trace with crash: http://pastie.org/3845095 |
| 19:27:17 | Watusimoto | IAmBeard: how are you with c++ templates? |
| 19:27:50 | IAmBeard | i'm fairly good in c++ all-around - i've done a fair amount of templating |
| 19:27:53 | IAmBeard | what's the issue? |
| 19:28:12 | Watusimoto | ok |
| 19:28:25 | Watusimoto | class TestItem is a subclass of MoveItem |
| 19:28:41 | Watusimoto | each subclass of MoveItem will need a member variable that looks like this: |
| 19:28:57 | Watusimoto | LuaProxy<TestItem> *mLuaProxy |
| 19:29:10 | Watusimoto | with TestItem replaced with whatever the subclass name is |
| 19:29:40 | Watusimoto | so ResourceItems, another subclass of MoveItem, will need a member var LuaProxy<ResourceItem> *mLuaProxy |
| 19:29:43 | IAmBeard | wouldn't you want MoveItem if it's subclassed? |
| 19:29:44 | Watusimoto | and so on |
| 19:30:01 | Watusimoto | no, I don't think so |
| 19:30:01 | IAmBeard | LuaProxy<MoveItem *> |
| 19:30:20 | Watusimoto | because I have other templates that are looking specifically for LuaProxy<TestItem> |
| 19:30:26 | IAmBeard | ah, okay |
| 19:30:31 | Watusimoto | and, anyway, that didn't work :-) |
| 19:30:48 | IAmBeard | is that in the code somewhere? can i peeksee at it? |
| 19:31:12 | Watusimoto | I have another functino like this: |
| 19:31:13 | Watusimoto | template <class T> void setLuaProxy(LuaProxy<T> *obj); |
| 19:31:29 | Watusimoto | that's in MoveItem |
| 19:31:31 | Watusimoto | ok |
| 19:31:34 | Watusimoto | what to give you |
| 19:31:54 | IAmBeard | can i get some line numbers? |
| 19:32:10 | Watusimoto | http://pastie.org/3845135 |
| 19:32:23 | Watusimoto | that's got the headers for both MoveItem and TestItem |
| 19:32:30 | Watusimoto | I'll give you line numbers in a sec |
| 19:33:15 | Watusimoto | All the code is here |
| 19:33:16 | Watusimoto | http://pastie.org/3845144 |
| 19:33:57 | Watusimoto | so the template delcaration is c. line 190 in the header |
| 19:34:58 | Watusimoto | there are 4 relevant lines there |
| 19:35:19 | Watusimoto | Line 191, and 196-198 |
| 19:35:46 | Watusimoto | getLuaProxy and setLuaProxy are just getters/setters for mLuaProxy |
| 19:36:14 | IAmBeard | okay, you need to have your code inline inside templates |
| 19:36:18 | Watusimoto | and push is a different issue altogether, not relevant to thei issue at hand |
| 19:36:50 | IAmBeard | there is a long compiler explanation, but in short, it has to do with how the templating system works in c++ |
| 19:37:08 | IAmBeard | so just toss the code in from the source inside the header, and you should be fine |
| 19:37:18 | Watusimoto | see 1054 in the second file |
| 19:37:27 | Watusimoto | is that what you mean? |
| 19:37:50 | IAmBeard | yeah, just move that inside the header |
| 19:37:57 | Watusimoto | ok, will try that |
| 19:38:10 | Watusimoto | this is almost my first foray into templates |
| 19:39:30 | IAmBeard | because 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:59 | Watusimoto | ok |
| 19:40:11 | Watusimoto | leave this one as is? |
| 19:40:11 | Watusimoto | LuaProxy<MoveItem> *mLuaProxy; |
| 19:40:22 | IAmBeard | yeah, the variable declaration shouldn't be an issue |
| 19:40:35 | Watusimoto | ok, compiling |
| 19:40:35 | IAmBeard | but then again, I don't know how LuaProxy is setup |
| 19:40:43 | Watusimoto | neither do I :-) |
| 19:40:54 | IAmBeard | oh, is that just a thirdparty lua thing? |
| 19:40:54 | Watusimoto | but I wrote it |
| 19:41:09 | Watusimoto | no, but it's almost a week old |
| 19:41:38 | Watusimoto | it uses templates too |
| 19:41:46 | IAmBeard | you may get an issue with the declaration IF LuaProxy isn't templated properly |
| 19:41:50 | Watusimoto | build failed |
| 19:41:52 | Watusimoto | let's see why |
| 19:42:15 | Watusimoto | oh great |
| 19:42:30 | Watusimoto | error C2440: '=' : cannot convert from 'LuaProxy<T> *' to 'LuaProxy<T> *' |
| 19:42:42 | Watusimoto | in the setter |
| 19:43:12 | Watusimoto | I think because one has a generic T and the other has a MoveItem |
| 19:43:27 | Watusimoto | The setter again: |
| 19:43:28 | Watusimoto | template <class T> void setLuaProxy(LuaProxy<T> *obj) { mLuaProxy = obj; } |
| 19:44:26 | IAmBeard | where is that line being called? |
| 19:45:01 | Watusimoto | from LuaWrapper.h, line 741 |
| 19:45:17 | Watusimoto | There is a line: |
| 19:45:17 | Watusimoto | obj->setLuaProxy(this); |
| 19:45:30 | sam686 | if you look at "output" instead of "error list", it might say what "T" equals for each, i think... |
| 19:45:30 | IAmBeard | ^ that needs to be templated |
| 19:45:40 | IAmBeard | obj->setLuaProxy<MoveItem>(this) |
| 19:45:51 | Watusimoto | I could try that |
| 19:46:26 | Watusimoto | this *might* cause problems later, but we can worry about those later |
| 19:46:27 | IAmBeard | with 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:53 | Watusimoto | sam686: you are right; lots more info in output |
| 19:49:00 | Watusimoto | ok, one issue is that now LuaWrapper needs to know about MoveItems |
| 19:49:24 | Watusimoto | I can include MoveItem.h, but until now, it has been nicely generic |
| 19:49:58 | Watusimoto | I'll try it to see if that fixes the issue |
| 19:52:56 | raptor | ok, 64bit ubuntu runs fine |
| 19:53:01 | Watusimoto | can you actually have a templated member variable like I am trying to create? |
| 19:53:15 | raptor | so that leaves: what would cause problems between 32/64 bit systems? |
| 19:53:46 | Watusimoto | pointer magic gone wrong? |
| 19:53:53 | Watusimoto | assuming the ptr is 64 bits |
| 19:54:05 | IAmBeard | Watusimoto, want me to tackle the bug you're fidgetting with? |
| 19:54:11 | IAmBeard | with templating |
| 19:54:48 | sam686 | the 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:56 | Watusimoto | sure -- 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:59 | IAmBeard | yeah, 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:16 | Watusimoto | I *know* I can fix it with a macro |
| 19:56:25 | Watusimoto | but I'm trying to be good |
| 19:56:26 | raptor | macro macro! |
| 19:56:35 | raptor | oh |
| 19:57:12 | Watusimoto | I could fix all of this with a macro in the vein of those TNL uses |
| 19:57:29 | raptor | macro macro! |
| 19:57:46 | raptor | it's a template header... already putting code inline |
| 19:59:22 | Watusimoto | wait -- you want me to use a macro??? |
| 19:59:33 | raptor | eh... |
| 19:59:42 | Watusimoto | If I fix this template style, I will try to get the code out of the header |
| 19:59:46 | raptor | just adding fuel to the fire |
| 20:00:00 | Watusimoto | We already have this line: |
| 20:00:01 | Watusimoto | TNL_DECLARE_CLASS(TestItem); |
| 20:00:05 | Watusimoto | we could add |
| 20:00:23 | Watusimoto | DECLARE_LUA_OBJECT(TestItem); |
| 20:00:40 | Watusimoto | with all the code we need to make the luaproxy work |
| 20:02:13 | Watusimoto | it wouldn't even be that much code in the macro... just a member variable declaration, a getter, and a setter |
| 20:02:41 | Watusimoto | that's not so horrible, is it? |
| 20:04:12 | IAmBeard | it's not, but it doesn't do proper type checking |
| 20:04:25 | IAmBeard | which COULD result in some larger issues later down the road |
| 20:05:00 | raptor | so the openal-soft developer says we may have hit an obscure libogg bug... |
| 20:17:18 | IAmBeard | have you guys maybe considered switching to portaudio? |
| 20:17:24 | raptor | NOOOOO |
| 20:17:50 | raptor | oh sorry |
| 20:17:53 | sam686 | lots of work to port... for what? |
| 20:17:55 | raptor | i thought you meant pulseaudio |
| 20:18:22 | IAmBeard | well, openal is mostly geared toward 3d sound effects, which may be overcomplicating what you have |
| 20:18:22 | raptor | i am unfamiliar with port audio, but openAL is already cross-platform, 3D, and works on every device |
| 20:18:54 | raptor | we could have gone with SDL_mixer |
| 20:19:03 | raptor | but openAL is more widely supported |
| 20:20:29 | Watusimoto | raptor loves to swap in new audio systems |
| 20:20:48 | raptor | say it ain't so |
| 20:21:15 | IAmBeard | lol |
| 20:21:46 | raptor | i even wrote the mac microphone input patch for openal-soft |
| 20:22:05 | sam686 | i think there not hardly any penalty to have 3D vs 2D for openAL (and even for openGL) |
| 20:22:14 | raptor | nope, no penalty |
| 20:22:17 | raptor | openAL is great |
| 20:22:41 | sam686 | what would we use as an alternative to openAL? owr own software rendering? |
| 20:22:50 | sam686 | probably not, slow |
| 20:22:59 | sam686 | openGL, imeant |
| 20:23:03 | raptor | sad, my next test at the 32bit crash failed |
| 20:25:01 | sam686 | at the extreme, try converting openAL to "beep();" |
| 20:28:03 | | kodaws Quit (Ping timeout: 246 seconds) |
| 20:28:49 | IAmBeard | just 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:15 | sam686 | there 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:15 | IAmBeard | but I mean voice commands like "select weapon x" and the game switches to that weapon |
| 20:31:23 | IAmBeard | but it would be almost useless |
| 20:31:25 | raptor | too slow, me thinks |
| 20:31:31 | IAmBeard | :P |
| 20:31:45 | sam686 | voice recognision have problems... |
| 20:31:57 | Heyub|2 | Voice commands have to be really good, or they are no good at all. |
| 20:33:48 | Watusimoto | sorry raptor: |
| 20:33:50 | Watusimoto | the 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:06 | raptor | yes, templates have to always be in header files... |
| 20:40:16 | Watusimoto | I didn't realize that was a hard and fast rule |
| 20:40:30 | raptor | yeah, i ran into it when i rewrote Vector |
| 20:42:12 | sam686 | you 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:36 | raptor | i can't believe all 32bit linux version of bitfighter since 016 have been borken |
| 20:42:48 | sam686 | bork? |
| 20:42:55 | raptor | brok |
| 20:42:59 | raptor | *broken |
| 20:44:09 | sam686 | is 016 isn't broken by default? I think it came with no music be default? |
| 20:44:25 | raptor | oh yes, you're right... |
| 20:44:29 | sam686 | no music = no music crash |
| 20:44:32 | raptor | correct |
| 20:45:59 | IAmBeard | ^ perfect logic :D |
| 20:46:01 | Watusimoto | I had a problem running ubuntu bitfighter on my linux laptop... twice, it crashed so hard I had to reboot |
| 20:46:21 | raptor | when? what version? what architecture? |
| 20:46:21 | IAmBeard | I can look into possible structure issues in my rewrite |
| 20:46:23 | Watusimoto | probably unrelated |
| 20:46:36 | Watusimoto | running Mint 64 bit |
| 20:46:42 | Watusimoto | (I think) |
| 20:46:57 | sam686 | what graphics are you using? intel graphics? |
| 20:47:12 | Watusimoto | using whatever came prebuilt from that linux games site |
| 20:47:18 | Watusimoto | not sure about hw details |
| 20:47:51 | raptor | interesting |
| 20:48:00 | raptor | i'm looking at the patches that playdeb added |
| 20:48:10 | Watusimoto | Both times I was demoing the games |
| 20:48:27 | raptor | one disables the lua profiler? |
| 20:48:29 | Watusimoto | Made for a really good show :-) |
| 20:48:50 | Watusimoto | I think the lua profiler has been disabled everywhere for a while |
| 20:48:53 | raptor | http://pastie.org/3845528 |
| 20:49:35 | Watusimoto | Noone has ever used the profiler |
| 20:50:02 | raptor | well, the header is included in robot.cpp |
| 20:50:18 | raptor | can i remove? |
| 20:51:24 | | LordDVG Quit (Remote host closed the connection) |
| 20:52:44 | Watusimoto | sure -- comment it out at least; maybe someday someone will be motivated to profile something |
| 20:53:02 | Watusimoto | the idea was we could use it to find areas where we could boost bot performance |
| 20:53:08 | Watusimoto | but that was before we had any bots |
| 20:53:17 | Watusimoto | and I have no idea how to use it |
| 20:53:59 | | BFLogBot - Commit 39613fb26dd0 | Author: buckyballreaction | Log: Remove Lua profiler include |
| 20:56:04 | IAmBeard | i'll be back in about 2 hours to do some fun codings |
| 20:56:33 | IAmBeard | although 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:21 | Watusimoto | ok; I'll have a checkin for you if you want to take a stab at doing the template stuff |
| 20:59:35 | Watusimoto | if not... macro time! |
| 21:05:01 | Watusimoto | ok, checking in. This version compiles, but does not run with my test bot |
| 21:05:20 | Watusimoto | the challenge is to replace the marked code with a template |
| 21:05:40 | Watusimoto | though for other reasons, I'm thinking this may end up being a macro job anyway |
| 21:05:49 | Watusimoto | but there you go |
| 21:06:03 | raptor | Corollary: and compiles on three platforms |
| 21:06:33 | Heyub|2 | Very 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:04 | raptor | Lua is a scripting language |
| 21:07:31 | raptor | it is used so you can write a script and run it in bitfighter without having to recompile the game |
| 21:07:52 | Heyub|2 | Oh, whereas if you did it in C you would have to recomplie the game? |
| 21:07:56 | raptor | yes |
| 21:08:08 | Heyub|2 | That makes more sense now, thank you. |
| 21:08:14 | raptor | so it lets people write bots or levelgens that can be loaded up with the game (if in the right folder) |
| 21:09:14 | Watusimoto | also used for customizing WoW |
| 21:10:05 | raptor | Windows-on-Windows? |
| 21:10:11 | Heyub|2 | lol |
| 21:10:22 | Heyub|2 | You've never heard of that raptor? |
| 21:10:23 | raptor | that's not WoW is it... |
| 21:10:30 | Heyub|2 | World of Warcraft |
| 21:10:33 | raptor | ohhhh |
| 21:10:45 | raptor | really? that has Lua built in? |
| 21:11:23 | Watusimoto | I thin kso |
| 21:12:05 | Watusimoto | ok, I'm done for the evening |
| 21:12:19 | Watusimoto | code for the Great Template Challenge has been committed |
| 21:12:22 | raptor | ok, good night - i still don't know what to do about this crash.. |
| 21:12:36 | Watusimoto | let's discuss our options tomorrow |
| 21:13:00 | Watusimoto | if there is not an obvious course, maybe best to let it stew for a few hours |
| 21:13:18 | raptor | that's what i did last night... |
| 21:13:21 | raptor | but i like stew |
| 21:14:02 | | BFLogBot - Commit 54477af86783 | Author: watusim...@bitfighter.org | Log: Reorder functions for clarity -- may eventually combine |
| 21:14:04 | | BFLogBot - Commit 7b1405f0ba36 | Author: watusim...@bitfighter.org | Log: Remove unused LuaTestItem proxy class |
| 21:14:05 | | BFLogBot - Commit aaab9840e332 | Author: watusim...@bitfighter.org | Log: Remove superfluous code |
| 21:14:07 | | BFLogBot - Commit 33718cd41d22 | Author: watusim...@bitfighter.org | Log: Remove commented code |
| 21:14:08 | | BFLogBot - Commit 6e592ecc8274 | Author: watusim...@bitfighter.org | Log: Remove more unused delarations |
| 21:14:10 | | BFLogBot - 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:11 | | BFLogBot - 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:13 | | BFLogBot - Commit 7c7b640ad75a | Author: watusim...@bitfighter.org | Log: Merge |
| 21:14:53 | Watusimoto | If I did all my lua stuff in a macro, I could also include this delcaration we need everywhere: |
| 21:14:54 | Watusimoto | static const char className[]; |
| 21:15:02 | Watusimoto | and get that out of our classes |
| 21:15:20 | Watusimoto | Leaning more and more towards a macro! |
| 21:15:32 | Watusimoto | let's see what the morning brings |
| 21:15:44 | raptor | he |
| 21:15:46 | raptor | hehe |
| 21:15:50 | raptor | bwhahaha |
| 21:15:53 | raptor | ok |
| 21:16:20 | Watusimoto | I think the code will actually be clearer with a macro! |
| 21:16:44 | Watusimoto | well anyhow... good night |
| 21:17:05 | raptor | night |
| 21:17:16 | Heyub|2 | 8 people online |
| 21:18:00 | raptor | !bot |
| 21:18:00 | BFLogBot | I'm a real boy! |
| 21:18:20 | Heyub|2 | Thats weird. |
| 21:18:28 | Heyub|2 | The website says they are online, but no one is online. |
| 21:19:49 | raptor | they're hangin out in the menus |
| 21:20:05 | raptor | oh, check here: http://bitfighter.org/bitfighterStatus.json |
| 21:20:23 | raptor | they're all on protocol 33: or bitfighter 016 |
| 21:20:34 | Heyub|2 | :o |
| 21:22:39 | | Watusimoto Quit (Ping timeout: 246 seconds) |
| 21:22:56 | raptor | ok, i got into their game and told them to update |
| 21:23:06 | raptor | they responded by saying "when is it recess time?" |
| 21:34:41 | Heyub|2 | what? |
| 21:34:57 | raptor | yeah, then they shut down the server |
| 21:35:48 | Heyub|2 | maybe a school computers |
| 21:36:15 | Heyub|2 | Though I think a school wouldnt allow hosting... |
| 21:36:20 | Heyub|2 | Except for Lan |
| 21:36:55 | raptor | well.... |
| 21:37:06 | raptor | we have a lan workaround built into the master server :) |
| 21:37:40 | Heyub|2 | Clever! |
| 21:38:59 | Heyub|2 | Do you think my comment a bout user submissions is a bit... crude? |
| 21:39:27 | sam686 | its called "punching through firewall", it might not always work if you are also behind a NAT router or firewall.. |
| 21:40:16 | raptor | nah - it's a tame comment by some of the other users' standards |
| 21:41:41 | Heyub|2 | thats good :) |
| 22:56:41 | | sam686 Quit (*.net *.split) |
| 22:57:09 | raptor | wooohooo net split! |
| 22:57:57 | Heyub|2 | What is net split o.0 |
| 22:58:14 | raptor | http://en.wikipedia.org/wiki/Netsplit |
| 22:59:16 | | sam686 has joined |
| 22:59:23 | raptor | welcome back! |
| 23:00:45 | | sam686 is now known as 18WAAXERJ |
| 23:00:46 | | sam686 has joined |
| 23:00:46 | | ChanServ has joined |
| 23:00:46 | | ChanServ has left |
| 23:00:46 | | ChanServ sets mode +v sam686 |
| 23:00:46 | | sam686 Quit (Client Quit) |
| 23:00:47 | | raptor Quit (Changing host) |
| 23:00:47 | | raptor has joined |
| 23:00:54 | | Myzaree has joined |
| 23:01:26 | 18WAAXERJ | apparently, card.freenode.net server got disconnected or isolated from the big freenode network |
| 23:01:40 | 18WAAXERJ | everyone went away while i was in card |
| 23:02:34 | | 18WAAXERJ is now known as sam686 |
| 23:02:35 | | ChanServ sets mode +v sam686 |
| 23:04:03 | Heyub|2 | lol |
| 23:09:27 | | Myzaree Quit () |
| 23:11:35 | raptor | sam686: could it be that the stack is too small on 32bit machines ? |
| 23:11:52 | | Myzaree has joined |
| 23:11:57 | raptor | hi Myzaree |
| 23:12:39 | Myzaree | hello |
| 23:13:35 | | Myzaree Quit (Client Quit) |
| 23:13:59 | | Myzaree has joined |
| 23:22:40 | raptor | ok sam686, i found out that is is definitely bitfighter's fault it is crashing |
| 23:23:14 | raptor | because I can play that ogg on 32bit machine using the alurestream binary which uses libvorbis/libogg the same way |
| 23:23:28 | raptor | so problem in memory somehow? |
| 23:24:56 | raptor | something somewhere isn't allocating memory properly... |
| 23:24:59 | raptor | maybe |
| 23:34:20 | | TheBeard has joined |
| 23:36:13 | Heyub|2 | The bard is here, maybe he'll sing us a... Oh, Beard, hi beard! |
| 23:42:32 | | IAmBeard Quit (Ping timeout: 260 seconds) |
| 23:42:53 | | raptor has left |
| 23:50:57 | | Myzaree Quit (Ping timeout: 272 seconds) |