#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-10-03

Timestamps are in GMT/BST.

00:01:00Zoomber has joined
00:01:00ChanServ sets mode +v Zoomber
00:04:00Zoomberi have a voice now
00:17:00sam686error C2065: 'hi' : undeclared identifier - i had to type it in the wrong place, in the code instead of in-game chat...
00:18:00raptorhaha
00:20:00sam686luaLevelGenerator.cpp line 292, can you just copy the function LuaLevelGenerator::logprint(lua_State *L) into print without logging?
00:21:00sam686then in resource/scripts/levelgen_helper_functions.lua that is where it can be used in levelgens
00:21:00sam686but what about robots?
00:23:00sam686i see another logprint in luaUtils.cpp line 55 for logprint
00:29:00raptorWell, that is what I did
00:29:00raptorI created another method based on logprint to output to oglconsole
00:29:00raptorbut i wasn't sure if that is what watusimoto meant to do from his e-mail
00:34:00sam686i guess LuaLevelGenerator::logprint happen to be completely unused
00:34:00raptoryeah...
00:35:00raptorproblem is, i can't test my new print function because of a crash in the editor..
00:35:00raptorhaven't been able to figure it out yet
00:35:00sam686what crash?
00:35:00raptorlet me duplicate it again real quick..
00:36:00Zoomberooooh
00:36:00Zoomberfound my toolbox
00:36:00Zoomberraptor: working on gimp for the first time
00:36:00Zoomberhad no idea there was a toolbox hidden on my other monitor
00:37:00raptorok sam686
00:37:00raptorhere is the backtrace: http://pastie.org/2629475
00:37:00raptorbasically just start the editor
00:37:00raptorpress '/' to open the console
00:37:00raptorand type 'run'
00:37:00raptorthen <enter>... and CRASH
00:37:00sam686UIManager::getEditorUserInterface (this=0x0) why is "this" null?
00:37:00raptorexactly!!!
00:38:00sam686something may be wrong with processEditorConsoleCommand
00:38:00raptorthat's what i looked at
00:38:00raptori think it's because it's not getting the proper ClientGame*
00:38:00raptorbut not sure how to fix it
00:39:00sam686in processEditorConsoleCommand, game->getUIManager()->getEditorUserInterface() might be returning NULL
00:40:00raptori think game->getUIManager() is returning NULL
00:40:00sam686i got console errors, simply by typing random command too...
00:41:00sam686somehow, game->getUIManager() is NULL
00:42:00raptoryes
00:42:00raptorwhich makes me think it's the wrong 'game' object
00:42:00sam686the problem appear to be something wrong with ClientGame *game = (ClientGame *)gamePtr;
00:43:00sam686all the values inside game is mostly junk and invalid..
00:43:00raptoryes!
00:43:00raptori think it's a random memory junk
00:43:00raptorsomehow we need to use getGame()
00:44:00raptorbut it's a C function, so I'm not sure how gamePtr is even passed in yet..
00:47:00sam686gamePtr = 0x01c3b858, seem to point to _OGLCONSOLE_Console
00:48:00sam686in oglconsole.c line 1179, userConsole->enterKeyCallback((void*)userConsole,userConsole->inputLine); userConsole is 0x01c3b858
00:49:00raptorah ha!
00:49:00raptorthe function has 3 arguments, but only two are being passed by the callback
00:50:00Zoomberwow raptor gimp is awesome
00:51:00raptorZoomber: welcome to the world of open source
00:51:00Zoomberits too bad all of you let me know about gimp
00:51:00Zoomberit will probably be the downfall of this earth, now that i have this power
00:51:00raptoryou must shed the old Mac walled garden
00:51:00Zoomberoh
00:51:00Zoomberabout that..
00:51:00Zoombermy garden has a secret passageway
00:52:00Zoombercalled..x11
00:52:00raptor:)
01:00:00raptorsam686: I need a way to get ClientGame into processEditorConsoleCommand without passing it as an argument
01:01:00sam686gClientGame ?
01:01:00sam686not sure if there is any easier way..
01:24:00raptorit's fixed!
01:24:00raptorok committing...
01:30:00BFLogBot - Commit e693330fe1ae | Author: buckyballreaction | Log: Fix crash with running commands in oglconsole from editor
02:05:00ChompyRandom has joined
02:08:00ChompyRandom Quit (Client Quit)
02:09:00Flynnn Quit (Quit: Leaving)
02:39:00raptorsam686: still up?
03:02:00Zoomberits taking a bajillion hours to upload my gimp gif
03:02:00raptoris it animated?
03:03:00raptorfilesize?
03:06:00raptoroh man... i'm falling asleep fast
03:06:00raptorgood night folks
03:14:00Zoomberyeah
03:14:00Zoomberanimated
03:17:00Zoombernight raptor
03:24:00raptor Quit (Remote host closed the connection)
03:24:00Little_Apple has joined
03:25:00Little_AppleUmm.. Why is the site down?
03:25:00Zoomber?
03:25:00Zoomberwhat?
03:26:00Little_AppleBitfighter.org is down!
03:26:00Little_AppleWhy is that? :\
03:27:00Little_AppleHi pointblank
03:27:00Little_AppleHi pointblank *
03:28:00Zoomberhes not going to talk to you unless you join #pointblank
03:28:00Little_AppleLol. Ok. Nvm about the site. I tried it a minute ago and it said it was down due to technical problems.
03:29:00Little_AppleWhy is he called pointblank?
03:31:00Little_AppleThe sites acting up again..... D:
03:32:00Little_AppleITS ARMAGEDDON!!!! Srsly wuts happenin.
03:33:00Little_Apple Quit (Quit: Page closed)
03:43:00Zoombersam686 on?
03:47:00Zoombercake blackbird is cake
03:47:00Zoomberpointblank cake blackbird
04:23:00Zoomber Quit (Quit: Zoomber)
04:33:00karamazovapyzoomber loves nazigold
04:33:00karamazovapyzoomber hoards nazigold
04:35:00Flynnn has joined
05:24:00Flynnn Quit (Read error: Connection reset by peer)
05:24:00Flynnn has joined
05:25:00FlynnnNT has joined
05:26:00Pointblank Quit (Ping timeout: 248 seconds)
05:29:00Flynnn Quit (Ping timeout: 256 seconds)
05:31:00Pointblank has joined
06:05:00FlynnnNT Quit (Quit: This computer has gone to sleep)
06:23:00Flynnn has joined
06:40:00Flynnn Quit (Quit: This computer has gone to sleep)
10:52:00kodax has joined
12:02:00watusimoto has joined
12:02:00ChanServ sets mode +o watusimoto
12:14:00watusimoto Quit (Ping timeout: 258 seconds)
14:01:00raptor has joined
14:01:00ChanServ sets mode +o raptor
14:16:00BFLogBot - Commit b52192ac8fb8 | Author: sam8641 | Log: Fix ZAP_DEDICATED, fix compiler error in incomplete fix of oglConsole
14:17:00raptorwhat did i break?
14:17:00sam686has the fix of "Fix crash with running commands in oglconsole from editor" gaving you compile error? it gaven me errors, had to fix it...
14:17:00raptorno...
14:17:00raptoractuall, i don't know..
14:17:00raptori always to a full recompile before committing
14:18:00raptorinteresting... i remember making that change...
14:18:00raptori wonder if I pressed ctrl+z before committing
14:18:00sam686umm, did you forget to save or something scewed up in commit?
14:19:00raptorprobably messed up the commit - because I had already compiled and tested (which means I saved it oK)
14:19:00raptorthanks for catching that...
14:19:00raptorsorry if it took much time to track down
14:20:00sam686i haven't checked on the code after your commit, until now..
14:20:00raptorso for whatever reason - lua scripts still don't run
14:20:00raptorit doesn't crash anymore
14:21:00raptorbut if you do 'run curvegen' in the oglconsole, it doesn't work
14:21:00raptorsome other bug somewhere...
14:22:00sam686why did /setscore changed to /setwinscore ? i am used to using /setscore
14:22:00raptorbecause someone requested the ability to set a team's score
14:23:00raptorbut i didn't code that yet...
14:23:00raptorsetwinscore was just more specific
14:23:00sam686there is a /add which currently add time..
14:23:00sam686ok..
14:23:00raptoryeah, that probably needs to be more specific, too
14:25:00sam686i have found some problems, robot score is keeping track of, but in client's scoreboard robot score shows as zero
14:25:00raptorare you doing bughunting?
14:26:00sam686i also see " got zapped" with no names of robots.
14:26:00raptorhaha
14:26:00raptori bet that's related to the new clientInfo stuff
14:27:00sam686in CTF, flags seem to return to (0,0)
14:28:00raptorthat seems to happen a lot..
14:30:00raptorbrb
14:35:00raptorback
14:41:00watusimoto has joined
14:41:00ChanServ sets mode +o watusimoto
14:42:00raptoroh hey
14:42:00raptori just sent you an e-mail, watusimoto
14:42:00watusimotojust saw it...
14:43:00watusimotoI think you propsoed what I was thinking
14:43:00raptorthe one i sent like 1 min. ago?
14:43:00watusimotojust copy the method, remove the logging to logfile, and that will become the core of the new print function
14:43:00watusimotoyes
14:43:00raptoryes
14:43:00raptorok
14:43:00raptorgood
14:43:00watusimotoso print() will go to console
14:43:00watusimotoat least in some contexts
14:44:00watusimotoI'm not sure, for example, that it makes senese for levelgens, but it might
14:45:00raptorok - I figured I add it to LuaUtil, then override print in the levelgen_helper_functions.lua script (or where ever depending on where it makes sense)
14:47:00watusimotothough... it might be cool to have logging on a dedicated server appear in a remote admin's console
14:47:00watusimotothat might make interacting with the server easier
14:47:00watusimotojust a thought that ocurred to me
14:47:00raptorthat's a totally new feature...
14:48:00watusimotoyes
14:48:00raptori think that might be agood one, too
14:48:00watusimotonot exactly connected to what you're doing, but you sparked the idea
14:49:00watusimotoor maybe we have a /showlog that opens a console and shows the last 100, 500, ??? lines of the logfile
14:49:00watusimotolines of the remote logfile, that is
14:49:00watusimotomaybe that is a new type of resource for the dataconnection stuff
14:50:00raptoryes
14:50:00raptoron a side note
14:50:00raptorrelated to my print()
14:50:00watusimotoso it could be sent via data connection rather than via in-game methods
14:50:00watusimotoyes
14:50:00raptorlua scripts aren't run anymore with 'run' in the editor oglconsole
14:51:00raptorsam686 and I fixed a crash with running them, but now they just don't load the output into the editor
14:51:00watusimotodon't understand the first line -- are they run via other mechanism, or is the mechanism broke?
14:51:00raptorin editor
14:52:00raptorpress '/'
14:52:00sam686yes, Ctrl + R and Ctrl + i doesn't work in editor
14:52:00watusimotoso it's broken
14:52:00raptortype 'run curvegen' (if curvegen.lua was in your scripts folder)
14:52:00raptornothing happens
14:52:00watusimotodid that ever work? (it's been so long since I looked at this stuff...)
14:52:00raptorand curvegen outputs a well-formed BarrierMaker line
14:53:00raptoroh yes - that's how i tested my getopts example in 015
14:53:00raptor015a
14:53:00watusimotoit sounds like you;re saying it works and it doesn't work
14:53:00watusimotorun curvegen does nothing, or outputs a line?
14:53:00raptordoesn nothing
14:53:00watusimotobut should output a line
14:53:00raptorcorrect
14:54:00raptorif you ran that 'arc.lua' script i sent you
14:54:00watusimotook, then it's something broken that needs oto be fixed
14:54:00raptorit would place an arc made from barriers in the editor
14:54:00watusimotoI'm startiung to work through the list of errors sam sent a while back
14:54:00raptorand spit out debugging statements to stdout
14:54:00watusimotook
14:54:00raptorit doesn neither
14:55:00watusimotook
14:55:00watusimotoand we agree that those debugging statements should end up in the console if you are running from there
14:55:00raptorthe oglconsole?
14:55:00watusimoto(and maybe even if you aren't) -- yes
14:55:00raptorI think so yes - I have already coded that feature - i just cant' test :)
14:56:00watusimotowhen I say console, I mean oglconsole... if I mean the OS console, I'll say terminal or something
14:56:00raptorok
14:56:00watusimotounless we agree on some other terminology :-)
14:56:00raptorcommand prompt, shell, cli
14:56:00watusimotoall those == terminal
14:56:00raptorumm, black window which doth suck our souls
14:57:00watusimotomine's red
14:57:00raptorreally?
14:57:00raptorwow, that would be crazy
14:57:00watusimotoyes ok, I'll try to take a look tonight, after I finish fixing a refactor I'm doing to make editing attributes in the editor work better
14:57:00raptorok
14:58:00raptorwork visa yet?
14:58:00watusimotothat should allow me to fix several other of sam's reported bugs
14:58:00watusimotono visa
14:58:00watusimoto@#$%^
14:58:00watusimotoeach week I tell myself that sitting tight another week is far cheaper than retreat
14:58:00raptorcan't seem to join that channel...
14:58:00watusimotoso I keep sitting tight
14:58:00raptorugh
14:59:00raptori don't envy your situation
14:59:00watusimotoa the moment, the only major issue is money and health insurance
14:59:00watusimotothe kids are all set... for the moment
14:59:00raptoroh good
14:59:00watusimototheir life is as it would be with the visa, except my older son can't play in his soccer games
14:59:00watusimotowhich is kind of an irritant, but not a major disruption
14:59:00watusimotothey're in school, playing soccer, and that's all that really matters
15:00:00watusimotolearning french
15:00:00raptoris there not another local language?
15:00:00watusimotoGerman and Luxembourgish, but French is the most important at the moment.
15:00:00watusimotothe question comes if the retreat option seems more viable
15:01:00raptorah
15:01:00watusimotothat would come with major disruption for them
15:01:00watusimotoscholl is in German, French is still taught as a foreign language
15:01:00watusimotountil next year for my older son, when school is in french
15:01:00raptorinteresting
15:01:00watusimotoat least at the school that leads on to university
15:02:00watusimotowhich is the one that he should be in
15:02:00watusimotoif he ends up in the technical school, not sure what language that's in
15:02:00raptorjava!
15:02:00watusimoto6th grade is the big moment of reconing here
15:02:00raptor:)
15:02:00watusimotoI want more for him than Java
15:02:00raptorinteresting
15:02:00raptorhaha
15:02:00watusimotoI want him to have a life
15:02:00raptornow i feel great being stuck with j2ee
15:03:00raptor6th grade, huh?
15:03:00watusimotoit's not impossible to switch, but 6ht grade is where you are channeled into different schools, with different futures
15:03:00watusimotoyup
15:03:00watusimotobetter not screw around
15:03:00raptorseems like there is nothing like that here in the states
15:03:00watusimotoso there's lots of tests, and interviews, and all that
15:04:00watusimotothere's elite private school
15:04:00watusimotothat's a little like the system here
15:04:00watusimotobut for most kids, the US system is very different
15:05:00watusimotoso he's got to master 4 years worth of french this year
15:05:00raptorwow
15:05:00raptorgood luck to him
15:05:00watusimotoexactly!
15:05:00watusimoto:-)
15:21:00raptorso I had a coding practices question for you
15:21:00raptorI notice that you put method declarations in headers a lot
15:22:00raptorwhich increase compile time
15:23:00raptorand whenever i've made significant changes to a class, I move all the declarations out of the .h file and into the .cpp
15:24:00raptordo you have an thoughts on whether what I do is good/bad, watusimoto?
15:45:00watusimoto Quit (Read error: Operation timed out)
16:10:00kodax Quit (Read error: Operation timed out)
16:16:00raptor Quit (Remote host closed the connection)
17:05:00dudesteve has joined
17:05:00dudesteve Quit (Client Quit)
17:18:00dudesteve has joined
17:18:00dudestevehello?
17:19:00dudesteveahem...?
17:19:00dudesteve... sigh
17:20:00dudesteve Quit (Client Quit)
18:06:00Flynnn has joined
19:19:00raptor has joined
19:19:00ChanServ sets mode +o raptor
19:42:00raptorso I wonder if Android for iphone exists...
19:50:00koda has joined
19:54:00raptorhttp://www.idroidproject.org/
21:09:00raptor Quit (Remote host closed the connection)
22:57:00Disconnected.
23:30:00-calvino.freenode.net- *** Looking up your hostname...
23:30:00-calvino.freenode.net- *** Checking Ident
23:30:00-calvino.freenode.net- *** No Ident response
23:31:00-calvino.freenode.net- *** Couldn't look up your hostname
23:31:00BFLogBot has joined
23:31:00Topic is 'Latest release 015a http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/'
23:31:00Set by raptor!~raptor@unaffiliated/greenmachine on Sat Apr 30 22:51:58 PDT 2011
23:31:00-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.

Index Search ←Prev date Next date→

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