Timestamps are in GMT/BST.
| 00:09:38 | Heyub | Thats a hard one, seeing as some players are also unable to play soccer. |
| 03:02:41 | sam686 | See any problems with the tiny size of the editor stuff? http://sam686.maxhushahn.com/upload/screenshot_editor_fullscreen.png |
| 03:03:25 | raptor | not yet... |
| 03:03:43 | raptor | the right side toolbar looks empty |
| 03:03:54 | sam686 | they sre so tiny (and unneccessary bottom right being blank) |
| 03:04:37 | sam686 | it only happens on fullscreen very high resolutions, windows mode simply stretch like this: http://sam686.maxhushahn.com/upload/screenshot_editor_maximized.png |
| 03:04:59 | raptor | huh |
| 03:06:38 | sam686 | it does look kind of odd to see it big in a maximized window, and tiny on fullscreen... |
| 04:35:39 | Heyub | I think Im headed to bed... Good night! |
| 04:35:44 | raptor | night |
| 05:17:11 | raptor | good ngiht folksd |
| 05:19:31 | | raptor Quit () |
| 06:13:15 | | Zoomber Quit (Quit: Zoomber) |
| 06:13:27 | | Heyub Quit (Ping timeout: 246 seconds) |
| 06:59:04 | | sam686 has left |
| 07:12:48 | | ir0x539 Quit () |
| 07:31:12 | | kodaws has joined |
| 09:29:13 | | LordDVG has joined |
| 10:41:10 | | ir0x539 has joined |
| 11:14:37 | | kodaws Quit (Ping timeout: 246 seconds) |
| 12:08:26 | | kodaws has joined |
| 13:25:58 | | kodaws Quit (Ping timeout: 250 seconds) |
| 13:59:08 | | IAmBeard has joined |
| 14:32:39 | | Heyub|2 has joined |
| 14:43:01 | | Watusimoto has joined |
| 14:51:28 | | raptor has joined |
| 14:51:28 | | ChanServ sets mode +o raptor |
| 14:51:53 | raptor | I will make an effort to type Lua rather than LUA |
| 14:51:57 | raptor | and good morning! |
| 15:01:47 | | watusimoto1 has joined |
| 15:02:01 | watusimoto1 | hi |
| 15:02:06 | raptor | hi |
| 15:03:05 | watusimoto1 | sorry for screwing your lua fixes up! |
| 15:03:22 | raptor | no problem - it was just GCC being as pedantic as usual |
| 15:03:43 | watusimoto1 | I don't know how that compiled on windows, either, but I recompiled before I checked in, just to make sure |
| 15:03:49 | watusimoto1 | oh well |
| 15:03:52 | raptor | oh haha |
| 15:03:57 | raptor | the missing ternary operator? |
| 15:04:03 | watusimoto1 | yes |
| 15:04:03 | raptor | that was odd... |
| 15:13:10 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 15:26:33 | IAmBeard | raptor, don't go into #lua and type LUA, they will destroy you |
| 15:26:40 | IAmBeard | happened to me once a few years ago |
| 15:26:42 | IAmBeard | it wasn't good |
| 15:26:57 | raptor | wow, that is exactly what watusimoto1 said in an e-mail a couple days ago |
| 15:27:11 | IAmBeard | we're almost the same person!!!!!! :::OOOOOOO |
| 15:27:14 | IAmBeard | lol |
| 15:27:49 | raptor | i'm almost tempted to do it now... |
| 15:28:12 | IAmBeard | there's a good chance that one of the irc opers will track you down and check to see if you were trolling |
| 15:28:28 | IAmBeard | not just an op on the channel, like an actual freenode oper |
| 15:28:50 | raptor | no no - i'd be completely honest about it.. |
| 15:29:11 | IAmBeard | they may also not enjoy you saying "LUA is a stinky fish" |
| 15:29:29 | IAmBeard | especially if you followed that statement with "trolololololol" |
| 15:29:35 | raptor | haha |
| 15:31:32 | IAmBeard | but seriously, those guys on the channel can be almost-nazis |
| 15:32:24 | watusimoto1 | the lua guys won't kill you on IRC, they'll track you down and do it in real life |
| 15:32:33 | IAmBeard | ^ what he said |
| 15:33:00 | IAmBeard | my misfortune with them was when i was a noob, so it was a little scarier than what it would have been to me now |
| 15:33:01 | IAmBeard | hah |
| 15:33:13 | watusimoto1 | :-) |
| 15:35:25 | IAmBeard | watusimoto, sometime in the future, would you ever think of switching from lua to javascript or gamemonkey? |
| 15:35:37 | IAmBeard | not that lua is bad by any means |
| 15:36:08 | watusimoto1 | only if it offered some real advantages |
| 15:36:36 | watusimoto1 | I looked at a lot of stuff before going with lua, and it seemed the best of the lot |
| 15:36:59 | watusimoto1 | easy to bind, small, fast, easy to code |
| 15:37:10 | watusimoto1 | purportedly |
| 15:37:16 | IAmBeard | i think the only real reason to switch to one of those two is that (for js) it's fairly common, or (for gamemonkey) it's very similar to c |
| 15:37:38 | IAmBeard | yeah, i haven't ever done any benchmarking with any of the scripts |
| 15:37:51 | IAmBeard | although I'd suspect that the speed difference would be marginal at best |
| 15:37:56 | watusimoto1 | the theory is that non-devs will do the bot programming, so similarity to C is less important than ease of use for semil literate programmers |
| 15:38:09 | watusimoto1 | especially when we get into triggers in lua |
| 15:38:19 | watusimoto1 | or rather in-game triggers coded in lua |
| 15:38:29 | watusimoto1 | which is what I'm working on now |
| 15:39:09 | IAmBeard | right on - if you haven't played with gamemonkey script, though, you should peek at it at some point; http://www.gmscript.com/ |
| 15:39:46 | watusimoto1 | that was not around when I was evaluating lua, or at least I never saw it before |
| 15:40:04 | IAmBeard | it's a little more elegant to integrate it into code, but if we already have a lot of the lua heavy-lifting in, it may not really be worth the trade-off |
| 15:40:25 | IAmBeard | yeah, gamemonkey script isn't super popular simply because it hasn't been around as long as lua, so it's a little harder to find |
| 15:41:49 | IAmBeard | if you like it, i can swap if off in the huge code rewrite i'm doing |
| 15:41:56 | watusimoto1 | seems to avoid using that stupid bit of lua syntax, the : |
| 15:42:09 | IAmBeard | or just add some switches so we could select it at compile time |
| 15:42:16 | watusimoto1 | I actually find bits of lua fairly annoying |
| 15:43:07 | IAmBeard | yeah, i got into lua a long time ago for an irc bot i did, then revisited it a few years ago for garry's mod (what an awesome game, if you don't play it), and I've never really been able to enjoy coding lua |
| 15:43:18 | watusimoto1 | I'd like to see a bot or levelgen written in GM side-by-side with one from Lua. |
| 15:43:38 | IAmBeard | okay, i'll add that into my todo list to do some speed tests and code comparison |
| 15:43:39 | watusimoto1 | Assuming equal performance, ease-of-learning is a big issue |
| 15:43:41 | raptor | never seen gamemonkey before... |
| 15:43:59 | watusimoto1 | your todo list is already pretty long :-) |
| 15:44:11 | IAmBeard | it's true, but I don't think we're in any hurry |
| 15:44:24 | IAmBeard | and most of the todo list is little things, other than the codebase rewrite |
| 15:44:25 | IAmBeard | hah |
| 15:47:05 | IAmBeard | and i think most of the modularization may take a backseat, because there is a lot of planning involved (for instance, making a stable API for the loading/unloading, determining how each module would get updated properly and still work well with others, etc.) |
| 15:48:38 | IAmBeard | my main priorities are going to be speed and stability fixes |
| 15:49:50 | watusimoto1 | http://codeplea.com/game-scripting-languages -- a little old, but suggests gm slightly outperforms lua; also has a link to scripts written in each |
| 15:50:48 | watusimoto1 | latest gm release is feb |
| 15:55:06 | IAmBeard | so want me to toss that in to benchmark it? |
| 15:56:16 | watusimoto1 | I'd say give it a lower priority -- lua is working pretty well at the moment, and while we could change without too much trauma, I'd prefer to see some of the other stuff on your list first |
| 15:56:46 | watusimoto1 | unless it's something you're just burning to do... |
| 15:57:57 | IAmBeard | well, i still have a lot to do before i even get there, so it's lower priority |
| 15:58:25 | watusimoto1 | ok, sounds good. we can discuss again when you get closer |
| 16:01:05 | | kodaws has joined |
| 16:40:55 | watusimoto1 | heading out... see y'all later |
| 16:41:01 | raptor | later |
| 16:45:24 | | watusimoto1 Quit (Ping timeout: 252 seconds) |
| 16:50:40 | IAmBeard | and on that note, i'm getting back to ye goode olde contract work |
| 17:23:39 | | Watusimoto has joined |
| 17:28:19 | Watusimoto | hi |
| 17:28:24 | raptor | hi |
| 17:30:42 | Watusimoto | it's no worse than lunar, but every time we pass a reference to an object from C++ to lua, we create an object that has to be malloc'ed, then later gc'ed |
| 17:31:02 | raptor | with the new LuaW? |
| 17:31:16 | raptor | that's your LuaProxy class that I moved to the bottom of the header? |
| 17:31:22 | Watusimoto | yes -- it's very frustrating -- I feel like we should be able to reuse the objects somehow, as we create the same thing over and over again |
| 17:31:39 | Watusimoto | no, it's in the luaw_push functino |
| 17:32:49 | Watusimoto | this line: |
| 17:32:50 | Watusimoto | luaW_Userdata* ud = (luaW_Userdata*)lua_newuserdata(L, sizeof(luaW_Userdata)); |
| 17:33:23 | Watusimoto | creates a new userdata object that consists of a pointer to a c++ object, and a pointer to the object's type |
| 17:33:50 | Watusimoto | so it's an 8 byte allocation |
| 17:34:08 | IAmBeard | you could implement a cache system for lua objects |
| 17:34:11 | Watusimoto | they accumulate for a while, then there's an orgy of 8 byte deallocations |
| 17:34:24 | Watusimoto | I was thinking about that, but not sure it would work |
| 17:34:36 | raptor | that sounds familiar, like a million thunks in the night |
| 17:34:55 | Watusimoto | luaw does thunking, just doesn't call it that |
| 17:35:02 | Watusimoto | so it sounds more firendly |
| 17:35:36 | Watusimoto | the problem is we need some sort of reference counting mechanism, and that's very difficult when you pass raw pointers |
| 17:35:51 | Watusimoto | which is the lighter alternative that we could use (with no ref/derefing) |
| 17:36:10 | Watusimoto | what we need is something equivalent to luavec that works with userdatas |
| 17:36:37 | Watusimoto | I think if we can find a work around, it will make running many bots much easier on the server |
| 17:36:56 | raptor | what about RefPtr |
| 17:37:03 | Watusimoto | won't work |
| 17:37:14 | raptor | smart pointers fail? |
| 17:37:24 | Watusimoto | refptr and the like only work when you pass by reference, not a raw pointer |
| 17:37:27 | Watusimoto | that was my first idea |
| 17:37:54 | Watusimoto | I can create 100 pointers to a refptr object, and it will have no idea I did so |
| 17:38:15 | Watusimoto | and to pass an object to lua you need to use a pointer |
| 17:38:36 | raptor | ok |
| 17:38:45 | raptor | huh |
| 17:38:51 | Watusimoto | when you copy a refptr, the copy contstructor can increment the ref count |
| 17:38:52 | raptor | i didn't know it only worked by reference... |
| 17:39:05 | Watusimoto | but when you just point to it, well, it's just a random memory address |
| 17:39:34 | Watusimoto | you never see boost::shared_ptr<testItem> *item |
| 17:40:22 | Watusimoto | always boost::shared)ptr<testItem> item |
| 17:41:47 | Watusimoto | so I could pass a raw pointer to the c++ object to lua, but I'd have no way of knowing when lua was done with it |
| 17:42:07 | Watusimoto | luaW works by harnessing the gc process to reduce it's reference count |
| 17:42:41 | Watusimoto | so lua is done with the userdata, and collects it; luaW detects this and does some stuff |
| 17:43:05 | Watusimoto | so the allocation/deallocation process is fundemantal to the luaW approach |
| 17:43:35 | Watusimoto | but luaW might be lighter weight than lunar |
| 17:44:37 | Watusimoto | so... that's my main issue right now |
| 17:44:50 | Watusimoto | other than that, luaw seems to be working pretty well |
| 17:45:04 | | LordDVG Quit (Read error: Connection reset by peer) |
| 17:45:18 | Watusimoto | I ran it for 25 minutes with no significant memory increase |
| 17:45:28 | raptor | ok |
| 17:45:30 | raptor | hmmm |
| 17:45:51 | raptor | and we could get rid of all the Lua* classes with it? |
| 17:46:00 | Watusimoto | next test is either inheritance, or replacing luaprojectile |
| 17:46:01 | Watusimoto | yes |
| 18:02:04 | Watusimoto | just a dumb promo idea: |
| 18:02:04 | Watusimoto | http://photo.stamps.com/Store/cart/?addItemToOrder=true&_requestid=32597 |
| 18:02:05 | Watusimoto | crappy picture, but you get the idea |
| 18:04:36 | raptor | i just see 'your cart' ).00 |
| 18:04:41 | raptor | 0.00 |
| 18:05:13 | Watusimoto | oh, rats |
| 18:05:25 | Watusimoto | well, it's a postage stamp with a scne from Bitfighter on it |
| 18:10:15 | Watusimoto | I don't suppose any of our players still use stamps, much less to communicate with other potential players |
| 18:17:48 | | raptor Quit (Ping timeout: 252 seconds) |
| 18:19:53 | | raptor has joined |
| 18:19:54 | | ChanServ sets mode +o raptor |
| 18:21:57 | raptor | ok, so when experimenting with openVPN, expect to be knocked offline if you mess up the config... |
| 18:28:13 | | Watusimoto Quit (Ping timeout: 260 seconds) |
| 18:41:09 | | kodaws Quit (Ping timeout: 252 seconds) |
| 18:51:25 | Heyub|2 | Postage stamp? Whats a postage stamp... |
| 19:03:06 | raptor | an archaic device used to send the written word when people valued it more... |
| 19:06:03 | Heyub|2 | Good definition lol :P |
| 19:23:06 | | Watusimoto has joined |
| 20:38:17 | | sam686 has joined |
| 20:38:18 | | ChanServ sets mode +v sam686 |
| 20:43:15 | raptor | yay we're all here |
| 20:43:37 | Watusimoto | in Luxembourg? |
| 20:43:54 | raptor | uh, in cyberawesomespace? |
| 20:44:00 | Watusimoto | ah |
| 20:44:10 | Watusimoto | tomorrow is May Day |
| 20:44:15 | Watusimoto | holiday! |
| 20:44:58 | raptor | please explain this holiday |
| 20:45:52 | Watusimoto | welcome to spring day |
| 20:46:18 | Watusimoto | old celtic festival day, I think |
| 20:46:21 | | BFLogBot - Commit 9ffdd9f04135 | Author: watusim...@bitfighter.org | Log: Improve rendering code slightly |
| 20:46:23 | | BFLogBot - Commit 9958f8a0b1c1 | Author: watusim...@bitfighter.org | Log: Rename function, disable script caching when testing from the editor |
| 20:46:24 | | BFLogBot - Commit ead3f5e1b42a | Author: watusim...@bitfighter.org | Log: Fix LuaWrapper proxy issue -- now correctly counts references for proxied objects |
| 20:46:26 | | BFLogBot - Commit 6ae8aa42c01e | Author: watusim...@bitfighter.org | Log: Merge |
| 20:46:57 | Watusimoto | maypole |
| 20:46:59 | Watusimoto | all that |
| 20:47:36 | Watusimoto | also International Workers Day |
| 20:47:48 | Watusimoto | but I suspect the Celts were there first |
| 20:48:04 | raptor | did they sacrifice anybody? |
| 20:49:35 | raptor | ok, let's see this merge... |
| 20:50:09 | Watusimoto | probably... |
| 20:51:56 | sam686 | http://sam686.maxhushahn.com/upload/text1204/120430_15-04-35.txt |
| 20:52:07 | sam686 | when it tried to play music... |
| 20:52:42 | raptor | odd.... |
| 20:52:50 | raptor | latest code or 017a? |
| 20:53:03 | sam686 | yes (maybe one day old at the most) |
| 20:53:50 | raptor | huh - i didn't touch the soundsystem |
| 20:57:15 | sam686 | only happens when there is music files in music folder, no problems if there is no music files |
| 21:00:17 | sam686 | it might be me mixing some debug with non-debug (tnl make debug, zap make non-debug for example) |
| 21:07:31 | raptor | is that on linux? |
| 21:07:51 | raptor | is it dedicated server? |
| 21:08:26 | sam686 | yes on linux, no not on dedicated server, it is on my laptop computer linux |
| 21:08:46 | sam686 | hint: http://sam686.maxhushahn.com/blahblah (it says ubuntu) |
| 21:09:00 | sam686 | my desktop is still windows, though |
| 21:11:40 | raptor | huh, maybe libogg/libvorbis has a bug on your system... but probably not |
| 21:13:31 | raptor | is that because menu.ogg is missing from the 'music' folder? |
| 21:13:42 | raptor | maybe i forgot to put a check in there... |
| 21:16:24 | sam686 | there is game.ogg and menu.ogg |
| 21:17:24 | sam686 | still the same error after a full rebuild of "make debug" |
| 21:17:37 | raptor | i don't get it... |
| 21:18:09 | raptor | cd exe && cp -r ../resources/* ./ |
| 21:19:38 | sam686 | did that, and re run again, same problem |
| 21:22:19 | raptor | does that happen immediately upon start-up? |
| 21:22:34 | sam686 | yes |
| 21:22:48 | raptor | would there be a way to see if anything is null on SoundSystem.cpp:902 |
| 21:23:00 | raptor | it just doesn't make sense |
| 21:24:33 | sam686 | i might be back in a few minutes |
| 21:36:38 | raptor | so Watusimoto, did you understand OK what i was trying to explain why GCC couldn't compile LuaWrapper.h before? |
| 21:36:53 | Watusimoto | I think so |
| 21:36:56 | raptor | it's a simple problem, but i'm not always very good at explaining... |
| 21:37:05 | raptor | ok |
| 21:38:37 | Watusimoto | unless you were explaining something different than what I understood |
| 21:39:51 | raptor | just that since we included all the method declarations in the header, we had no definitions |
| 21:40:04 | raptor | so all declarations need to be in order |
| 21:40:40 | Watusimoto | yes |
| 21:42:07 | raptor | wasn't as bad as this GCC problem i ran into last week: http://stackoverflow.com/questions/5446005/why-dont-static-member-variables-play-well-with-the-ternary-operator |
| 21:42:28 | raptor | ServerGame.cpp:95 |
| 21:44:52 | Watusimoto | yuck |
| 21:46:28 | sam686 | maybe the alternative to ternary operator problem is maybe use enum |
| 21:46:39 | Watusimoto | of java |
| 21:46:42 | Watusimoto | or java |
| 21:46:46 | raptor | haha |
| 21:46:54 | sam686 | almost like the same problem with static const F32 value can't be defined inside the class |
| 21:47:01 | raptor | java and I aren't on speaking terms today... |
| 21:48:20 | raptor | ok, going home... Watusimoto that last merge still compiles just fine |
| 21:48:23 | raptor | thanks |
| 21:48:30 | raptor | later! |
| 21:48:35 | Watusimoto | great. bye! |
| 21:48:49 | | raptor Quit () |
| 21:50:09 | IAmBeard | java and a programmer should never be on speaking terms |
| 21:54:40 | Watusimoto | I agree, but Java with Eclipse was one of the best combos I've ever used |
| 22:01:56 | IAmBeard | it's not bad...I'm not much of an IDE guy, so when i've tried eclipse (i'm actually using it a bit for work right now), it's fairly confusing |
| 22:02:44 | IAmBeard | anywho, i need to walk my dog, make/eat some supper with my wifey, then i'll hopefully get some time to dedicate towards bitfighter |
| 22:04:25 | Watusimoto | no worries |
| 22:37:03 | | Heyub|2 Quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/) |
| 23:05:53 | IAmBeard | looks like tonight is nachoes! |
| 23:05:57 | IAmBeard | who doesn't like nachoes |
| 23:15:13 | | raptor has joined |
| 23:15:13 | | ChanServ sets mode +o raptor |
| 23:16:49 | | raptor is a J2EE programmer by trade |
| 23:16:59 | sam686 | here is this (this time with alure debug compile) http://sam686.maxhushahn.com/upload/text1204/120430_17-04-42.txt |
| 23:17:26 | raptor | buffers is NUL?? |
| 23:17:29 | raptor | that should not be |
| 23:21:46 | | BFLogBot - Commit fb69067ca2cb | Author: sam8641 | Log: It might help to allow alure to build as debug mode |
| 23:27:13 | raptor | updated that makefile a bit |
| 23:31:49 | | BFLogBot - Commit d5d2271b3f70 | Author: buckyballreaction | Log: Slightly better Makefile layout for ALURE |
| 23:43:55 | sam686 | what could it be? a malloc corruption maybe? whats calling abort? |
| 23:44:03 | raptor | not sure |
| 23:44:53 | raptor | what version of libvorbis and libogg do you have? |
| 23:45:08 | sam686 | how do i find out |
| 23:45:09 | sam686 | ? |
| 23:45:18 | raptor | you have a package manager? |
| 23:45:27 | raptor | i usually look in that for 'ogg' and 'vorbis' |
| 23:48:16 | sam686 | libogg Version: 1.1.4-dfsg-2 (libogg0 |
| 23:49:46 | | sam686_ has joined |
| 23:49:47 | | ChanServ sets mode +v sam686_ |
| 23:51:25 | raptor | and vorbis? |
| 23:52:05 | sam686_ | 1.2.3-3ubuntu1.1 (libvorbisenc2) |
| 23:52:34 | raptor | these are the current versions: https://www.xiph.org/downloads/ |
| 23:52:42 | raptor | also, what ubuntu version are you again? |
| 23:53:03 | sam686_ | how do i find out the version? |
| 23:53:33 | raptor | cat /etc/lsb-release |
| 23:53:37 | raptor | or /etc/os-release |
| 23:53:43 | raptor | or /etc/debian-release |
| 23:53:49 | raptor | something like that |
| 23:54:42 | sam686_ | cat /etc/lsb-release |
| 23:54:44 | sam686_ | DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS" |
| 23:54:52 | raptor | excellent, thanks |
| 23:55:35 | sam686_ | i mostly just updated lots of things like yesterday though.. |
| 23:55:42 | raptor | restarted since? |
| 23:56:15 | sam686_ | yes, it was restarted afterwards.. |
| 23:57:26 | raptor | x86_64? or x86? |
| 23:57:30 | raptor | (the os) |
| 23:57:32 | raptor | uname -a |
| 23:57:46 | sam686_ | just x86 |
| 23:58:11 | sam686_ | Linux owner86-laptop 2.6.32-41-generic #88-Ubuntu SMP Thu Mar 29 13:08:43 UTC 2012 i686 GNU/Linux |
| 23:58:38 | raptor | i'd say force a of reinstall libogg and libvorbis |
| 23:58:41 | raptor | and try again... |
| 23:59:00 | raptor | if it's still broken, then we'd have to find different versions for you somehow |