#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-04-30

Timestamps are in GMT/BST.

00:09:38HeyubThats a hard one, seeing as some players are also unable to play soccer.
03:02:41sam686See any problems with the tiny size of the editor stuff? http://sam686.maxhushahn.com/upload/screenshot_editor_fullscreen.png
03:03:25raptornot yet...
03:03:43raptorthe right side toolbar looks empty
03:03:54sam686they sre so tiny (and unneccessary bottom right being blank)
03:04:37sam686it only happens on fullscreen very high resolutions, windows mode simply stretch like this: http://sam686.maxhushahn.com/upload/screenshot_editor_maximized.png
03:04:59raptorhuh
03:06:38sam686it does look kind of odd to see it big in a maximized window, and tiny on fullscreen...
04:35:39HeyubI think Im headed to bed... Good night!
04:35:44raptornight
05:17:11raptorgood ngiht folksd
05:19:31raptor Quit ()
06:13:15Zoomber Quit (Quit: Zoomber)
06:13:27Heyub Quit (Ping timeout: 246 seconds)
06:59:04sam686 has left
07:12:48ir0x539 Quit ()
07:31:12kodaws has joined
09:29:13LordDVG has joined
10:41:10ir0x539 has joined
11:14:37kodaws Quit (Ping timeout: 246 seconds)
12:08:26kodaws has joined
13:25:58kodaws Quit (Ping timeout: 250 seconds)
13:59:08IAmBeard has joined
14:32:39Heyub|2 has joined
14:43:01Watusimoto has joined
14:51:28raptor has joined
14:51:28ChanServ sets mode +o raptor
14:51:53raptorI will make an effort to type Lua rather than LUA
14:51:57raptorand good morning!
15:01:47watusimoto1 has joined
15:02:01watusimoto1hi
15:02:06raptorhi
15:03:05watusimoto1sorry for screwing your lua fixes up!
15:03:22raptorno problem - it was just GCC being as pedantic as usual
15:03:43watusimoto1I don't know how that compiled on windows, either, but I recompiled before I checked in, just to make sure
15:03:49watusimoto1oh well
15:03:52raptoroh haha
15:03:57raptorthe missing ternary operator?
15:04:03watusimoto1yes
15:04:03raptorthat was odd...
15:13:10Watusimoto Quit (Ping timeout: 256 seconds)
15:26:33IAmBeardraptor, don't go into #lua and type LUA, they will destroy you
15:26:40IAmBeardhappened to me once a few years ago
15:26:42IAmBeardit wasn't good
15:26:57raptorwow, that is exactly what watusimoto1 said in an e-mail a couple days ago
15:27:11IAmBeardwe're almost the same person!!!!!! :::OOOOOOO
15:27:14IAmBeardlol
15:27:49raptori'm almost tempted to do it now...
15:28:12IAmBeardthere's a good chance that one of the irc opers will track you down and check to see if you were trolling
15:28:28IAmBeardnot just an op on the channel, like an actual freenode oper
15:28:50raptorno no - i'd be completely honest about it..
15:29:11IAmBeardthey may also not enjoy you saying "LUA is a stinky fish"
15:29:29IAmBeardespecially if you followed that statement with "trolololololol"
15:29:35raptorhaha
15:31:32IAmBeardbut seriously, those guys on the channel can be almost-nazis
15:32:24watusimoto1the lua guys won't kill you on IRC, they'll track you down and do it in real life
15:32:33IAmBeard^ what he said
15:33:00IAmBeardmy 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:01IAmBeardhah
15:33:13watusimoto1:-)
15:35:25IAmBeardwatusimoto, sometime in the future, would you ever think of switching from lua to javascript or gamemonkey?
15:35:37IAmBeardnot that lua is bad by any means
15:36:08watusimoto1only if it offered some real advantages
15:36:36watusimoto1I looked at a lot of stuff before going with lua, and it seemed the best of the lot
15:36:59watusimoto1easy to bind, small, fast, easy to code
15:37:10watusimoto1purportedly
15:37:16IAmBeardi 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:38IAmBeardyeah, i haven't ever done any benchmarking with any of the scripts
15:37:51IAmBeardalthough I'd suspect that the speed difference would be marginal at best
15:37:56watusimoto1the 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:09watusimoto1especially when we get into triggers in lua
15:38:19watusimoto1or rather in-game triggers coded in lua
15:38:29watusimoto1which is what I'm working on now
15:39:09IAmBeardright on - if you haven't played with gamemonkey script, though, you should peek at it at some point; http://www.gmscript.com/
15:39:46watusimoto1that was not around when I was evaluating lua, or at least I never saw it before
15:40:04IAmBeardit'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:25IAmBeardyeah, 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:49IAmBeardif you like it, i can swap if off in the huge code rewrite i'm doing
15:41:56watusimoto1seems to avoid using that stupid bit of lua syntax, the :
15:42:09IAmBeardor just add some switches so we could select it at compile time
15:42:16watusimoto1I actually find bits of lua fairly annoying
15:43:07IAmBeardyeah, 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:18watusimoto1I'd like to see a bot or levelgen written in GM side-by-side with one from Lua.
15:43:38IAmBeardokay, i'll add that into my todo list to do some speed tests and code comparison
15:43:39watusimoto1Assuming equal performance, ease-of-learning is a big issue
15:43:41raptornever seen gamemonkey before...
15:43:59watusimoto1your todo list is already pretty long :-)
15:44:11IAmBeardit's true, but I don't think we're in any hurry
15:44:24IAmBeardand most of the todo list is little things, other than the codebase rewrite
15:44:25IAmBeardhah
15:47:05IAmBeardand 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:38IAmBeardmy main priorities are going to be speed and stability fixes
15:49:50watusimoto1http://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:48watusimoto1latest gm release is feb
15:55:06IAmBeardso want me to toss that in to benchmark it?
15:56:16watusimoto1I'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:46watusimoto1unless it's something you're just burning to do...
15:57:57IAmBeardwell, i still have a lot to do before i even get there, so it's lower priority
15:58:25watusimoto1ok, sounds good. we can discuss again when you get closer
16:01:05kodaws has joined
16:40:55watusimoto1heading out... see y'all later
16:41:01raptorlater
16:45:24watusimoto1 Quit (Ping timeout: 252 seconds)
16:50:40IAmBeardand on that note, i'm getting back to ye goode olde contract work
17:23:39Watusimoto has joined
17:28:19Watusimotohi
17:28:24raptorhi
17:30:42Watusimotoit'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:02raptorwith the new LuaW?
17:31:16raptorthat's your LuaProxy class that I moved to the bottom of the header?
17:31:22Watusimotoyes -- 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:39Watusimotono, it's in the luaw_push functino
17:32:49Watusimotothis line:
17:32:50WatusimotoluaW_Userdata* ud = (luaW_Userdata*)lua_newuserdata(L, sizeof(luaW_Userdata));
17:33:23Watusimotocreates a new userdata object that consists of a pointer to a c++ object, and a pointer to the object's type
17:33:50Watusimotoso it's an 8 byte allocation
17:34:08IAmBeardyou could implement a cache system for lua objects
17:34:11Watusimotothey accumulate for a while, then there's an orgy of 8 byte deallocations
17:34:24WatusimotoI was thinking about that, but not sure it would work
17:34:36raptorthat sounds familiar, like a million thunks in the night
17:34:55Watusimotoluaw does thunking, just doesn't call it that
17:35:02Watusimotoso it sounds more firendly
17:35:36Watusimotothe problem is we need some sort of reference counting mechanism, and that's very difficult when you pass raw pointers
17:35:51Watusimotowhich is the lighter alternative that we could use (with no ref/derefing)
17:36:10Watusimotowhat we need is something equivalent to luavec that works with userdatas
17:36:37WatusimotoI think if we can find a work around, it will make running many bots much easier on the server
17:36:56raptorwhat about RefPtr
17:37:03Watusimotowon't work
17:37:14raptorsmart pointers fail?
17:37:24Watusimotorefptr and the like only work when you pass by reference, not a raw pointer
17:37:27Watusimotothat was my first idea
17:37:54WatusimotoI can create 100 pointers to a refptr object, and it will have no idea I did so
17:38:15Watusimotoand to pass an object to lua you need to use a pointer
17:38:36raptorok
17:38:45raptorhuh
17:38:51Watusimotowhen you copy a refptr, the copy contstructor can increment the ref count
17:38:52raptori didn't know it only worked by reference...
17:39:05Watusimotobut when you just point to it, well, it's just a random memory address
17:39:34Watusimotoyou never see boost::shared_ptr<testItem> *item
17:40:22Watusimotoalways boost::shared)ptr<testItem> item
17:41:47Watusimotoso 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:07WatusimotoluaW works by harnessing the gc process to reduce it's reference count
17:42:41Watusimotoso lua is done with the userdata, and collects it; luaW detects this and does some stuff
17:43:05Watusimotoso the allocation/deallocation process is fundemantal to the luaW approach
17:43:35Watusimotobut luaW might be lighter weight than lunar
17:44:37Watusimotoso... that's my main issue right now
17:44:50Watusimotoother than that, luaw seems to be working pretty well
17:45:04LordDVG Quit (Read error: Connection reset by peer)
17:45:18WatusimotoI ran it for 25 minutes with no significant memory increase
17:45:28raptorok
17:45:30raptorhmmm
17:45:51raptorand we could get rid of all the Lua* classes with it?
17:46:00Watusimotonext test is either inheritance, or replacing luaprojectile
17:46:01Watusimotoyes
18:02:04Watusimotojust a dumb promo idea:
18:02:04Watusimotohttp://photo.stamps.com/Store/cart/?addItemToOrder=true&_requestid=32597
18:02:05Watusimotocrappy picture, but you get the idea
18:04:36raptori just see 'your cart' ).00
18:04:41raptor0.00
18:05:13Watusimotooh, rats
18:05:25Watusimotowell, it's a postage stamp with a scne from Bitfighter on it
18:10:15WatusimotoI don't suppose any of our players still use stamps, much less to communicate with other potential players
18:17:48raptor Quit (Ping timeout: 252 seconds)
18:19:53raptor has joined
18:19:54ChanServ sets mode +o raptor
18:21:57raptorok, so when experimenting with openVPN, expect to be knocked offline if you mess up the config...
18:28:13Watusimoto Quit (Ping timeout: 260 seconds)
18:41:09kodaws Quit (Ping timeout: 252 seconds)
18:51:25Heyub|2Postage stamp? Whats a postage stamp...
19:03:06raptoran archaic device used to send the written word when people valued it more...
19:06:03Heyub|2Good definition lol :P
19:23:06Watusimoto has joined
20:38:17sam686 has joined
20:38:18ChanServ sets mode +v sam686
20:43:15raptoryay we're all here
20:43:37Watusimotoin Luxembourg?
20:43:54raptoruh, in cyberawesomespace?
20:44:00Watusimotoah
20:44:10Watusimototomorrow is May Day
20:44:15Watusimotoholiday!
20:44:58raptorplease explain this holiday
20:45:52Watusimotowelcome to spring day
20:46:18Watusimotoold celtic festival day, I think
20:46:21BFLogBot - Commit 9ffdd9f04135 | Author: watusim...@bitfighter.org | Log: Improve rendering code slightly
20:46:23BFLogBot - Commit 9958f8a0b1c1 | Author: watusim...@bitfighter.org | Log: Rename function, disable script caching when testing from the editor
20:46:24BFLogBot - Commit ead3f5e1b42a | Author: watusim...@bitfighter.org | Log: Fix LuaWrapper proxy issue -- now correctly counts references for proxied objects
20:46:26BFLogBot - Commit 6ae8aa42c01e | Author: watusim...@bitfighter.org | Log: Merge
20:46:57Watusimotomaypole
20:46:59Watusimotoall that
20:47:36Watusimotoalso International Workers Day
20:47:48Watusimotobut I suspect the Celts were there first
20:48:04raptordid they sacrifice anybody?
20:49:35raptorok, let's see this merge...
20:50:09Watusimotoprobably...
20:51:56sam686http://sam686.maxhushahn.com/upload/text1204/120430_15-04-35.txt
20:52:07sam686when it tried to play music...
20:52:42raptorodd....
20:52:50raptorlatest code or 017a?
20:53:03sam686yes (maybe one day old at the most)
20:53:50raptorhuh - i didn't touch the soundsystem
20:57:15sam686only happens when there is music files in music folder, no problems if there is no music files
21:00:17sam686it might be me mixing some debug with non-debug (tnl make debug, zap make non-debug for example)
21:07:31raptoris that on linux?
21:07:51raptoris it dedicated server?
21:08:26sam686yes on linux, no not on dedicated server, it is on my laptop computer linux
21:08:46sam686hint: http://sam686.maxhushahn.com/blahblah (it says ubuntu)
21:09:00sam686my desktop is still windows, though
21:11:40raptorhuh, maybe libogg/libvorbis has a bug on your system... but probably not
21:13:31raptoris that because menu.ogg is missing from the 'music' folder?
21:13:42raptormaybe i forgot to put a check in there...
21:16:24sam686there is game.ogg and menu.ogg
21:17:24sam686still the same error after a full rebuild of "make debug"
21:17:37raptori don't get it...
21:18:09raptorcd exe && cp -r ../resources/* ./
21:19:38sam686did that, and re run again, same problem
21:22:19raptordoes that happen immediately upon start-up?
21:22:34sam686yes
21:22:48raptorwould there be a way to see if anything is null on SoundSystem.cpp:902
21:23:00raptorit just doesn't make sense
21:24:33sam686i might be back in a few minutes
21:36:38raptorso Watusimoto, did you understand OK what i was trying to explain why GCC couldn't compile LuaWrapper.h before?
21:36:53WatusimotoI think so
21:36:56raptorit's a simple problem, but i'm not always very good at explaining...
21:37:05raptorok
21:38:37Watusimotounless you were explaining something different than what I understood
21:39:51raptorjust that since we included all the method declarations in the header, we had no definitions
21:40:04raptorso all declarations need to be in order
21:40:40Watusimotoyes
21:42:07raptorwasn'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:28raptorServerGame.cpp:95
21:44:52Watusimotoyuck
21:46:28sam686maybe the alternative to ternary operator problem is maybe use enum
21:46:39Watusimotoof java
21:46:42Watusimotoor java
21:46:46raptorhaha
21:46:54sam686almost like the same problem with static const F32 value can't be defined inside the class
21:47:01raptorjava and I aren't on speaking terms today...
21:48:20raptorok, going home... Watusimoto that last merge still compiles just fine
21:48:23raptorthanks
21:48:30raptorlater!
21:48:35Watusimotogreat. bye!
21:48:49raptor Quit ()
21:50:09IAmBeardjava and a programmer should never be on speaking terms
21:54:40WatusimotoI agree, but Java with Eclipse was one of the best combos I've ever used
22:01:56IAmBeardit'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:44IAmBeardanywho, 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:25Watusimotono worries
22:37:03Heyub|2 Quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
23:05:53IAmBeardlooks like tonight is nachoes!
23:05:57IAmBeardwho doesn't like nachoes
23:15:13raptor has joined
23:15:13ChanServ sets mode +o raptor
23:16:49raptor is a J2EE programmer by trade
23:16:59sam686here is this (this time with alure debug compile) http://sam686.maxhushahn.com/upload/text1204/120430_17-04-42.txt
23:17:26raptorbuffers is NUL??
23:17:29raptorthat should not be
23:21:46BFLogBot - Commit fb69067ca2cb | Author: sam8641 | Log: It might help to allow alure to build as debug mode
23:27:13raptorupdated that makefile a bit
23:31:49BFLogBot - Commit d5d2271b3f70 | Author: buckyballreaction | Log: Slightly better Makefile layout for ALURE
23:43:55sam686what could it be? a malloc corruption maybe? whats calling abort?
23:44:03raptornot sure
23:44:53raptorwhat version of libvorbis and libogg do you have?
23:45:08sam686how do i find out
23:45:09sam686?
23:45:18raptoryou have a package manager?
23:45:27raptori usually look in that for 'ogg' and 'vorbis'
23:48:16sam686libogg Version: 1.1.4-dfsg-2 (libogg0
23:49:46sam686_ has joined
23:49:47ChanServ sets mode +v sam686_
23:51:25raptorand vorbis?
23:52:05sam686_1.2.3-3ubuntu1.1 (libvorbisenc2)
23:52:34raptorthese are the current versions: https://www.xiph.org/downloads/
23:52:42raptoralso, what ubuntu version are you again?
23:53:03sam686_how do i find out the version?
23:53:33raptorcat /etc/lsb-release
23:53:37raptoror /etc/os-release
23:53:43raptoror /etc/debian-release
23:53:49raptorsomething like that
23:54:42sam686_cat /etc/lsb-release
23:54:44sam686_DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
23:54:52raptorexcellent, thanks
23:55:35sam686_i mostly just updated lots of things like yesterday though..
23:55:42raptorrestarted since?
23:56:15sam686_yes, it was restarted afterwards..
23:57:26raptorx86_64? or x86?
23:57:30raptor(the os)
23:57:32raptoruname -a
23:57:46sam686_just x86
23:58:11sam686_Linux owner86-laptop 2.6.32-41-generic #88-Ubuntu SMP Thu Mar 29 13:08:43 UTC 2012 i686 GNU/Linux
23:58:38raptori'd say force a of reinstall libogg and libvorbis
23:58:41raptorand try again...
23:59:00raptorif it's still broken, then we'd have to find different versions for you somehow

Index Search ←Prev date Next date→

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