#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-03-27

Timestamps are in GMT/BST.

00:11:50masterkaen has joined
00:11:54masterkaen Quit (Client Quit)
00:12:03kaen Quit (Remote host closed the connection)
00:12:39kaen has joined
00:13:22kaen Quit (Remote host closed the connection)
00:14:13kaen has joined
00:14:49bobdaduck_ has joined
00:17:26bobdaduck Quit (Ping timeout: 248 seconds)
00:19:50kaenraptor I was reading through the logs and here's some food for thought regarding the potential level db integration:
00:20:36kaenthe db itself implements all kinds of protective logic regarding update permissions and that sort of thing, and I have a complete (100% coverage) test suite for it
00:22:22kaenI can transparently expose a few urls for getting, updating, and listing levels (try http://bitfighter.org/pleiades/levels/raw/23 for an example)
00:22:54kaenand we can use http authentication (i.e. authenticate via request headers) to for updating in-game and stuff
00:23:28kaenso the simplest solution to hook up the two systems would probably be with a simple http library (or maybe even 2-3 pre-crafted request templates)
00:24:17kaenthe db also returns HTTP errors with useful error messages (level not found, you do not have permission for that level, etc.) and standard error codes (401, 403, and 404)
00:25:02kaenthat way there's no involvement with server code or master code, and only very dumb logic in the client (it either works or it doesn't)
00:25:12bobdaduck_also kaen think you could give users capability for personal level directories? (so if I want an upload directory for dungeons, novelties, levels, or whatever)
00:29:39masterkaen has joined
00:29:39kaen Quit (Read error: Connection reset by peer)
00:29:54masterkaen is now known as kaen
00:30:02kaen Quit (Changing host)
00:30:02kaen has joined
00:30:17kaen<kaen> and that way when we need to fix some logic, we can just tweak the db, which is much more malleable than doing a release
00:30:17kaen<kaen> bobdaduck_ I'll do tags
00:30:17kaen<kaen> that way you can search for novelties by everyone, or just novelties by bobdaduck, etdc.
00:30:17kaen<kaen> etc.*
00:30:28kaentomorrow I get a real internet connection...
00:30:31bobdaduck_okay
00:35:14raptor Quit (Disconnected by services)
00:35:30bobdaduck_And then you can see my map!
00:35:36raptor has joined
00:35:36ChanServ sets mode +o raptor
00:36:22raptorhello
00:37:31bobdaduck_Goodmorning!
00:37:56raptorhi
00:38:06raptorso yeah... onMsgReceived() has the playerInfo int here, too
00:41:17raptorkaen: i like the dumb client idea very much
00:41:50kaenI think it will ultimately be both more maintainable and more secure
00:42:50kaenalso, it feels nice writing a greenfield project with 100% coverage :)
00:42:57raptorhaha
00:42:57kaenI've been using TDD for it
00:42:58raptori bet!
00:43:02raptorTDD?
00:43:14kaentest driven design
00:43:22kaenI write a failing test, make it pass, then refactor
00:43:47raptorman, I don't think i've done that before.. even at work!
00:43:59bobdaduck_Wow
00:44:01kaenI've been getting into it more and more lately
00:44:12kaenit's awesome because I do large refactors and know 100% for sure if I've subtly broken anything
00:44:22bobdaduck_That's pretty much how I've been putting together RTS...
00:46:13kaenis there an HTTP request mechanism in the client already by chance?
00:50:24kaenI hate to suggest adding yet another lib, but curl is cross platform and supports everything we need
00:50:43kaenwe can even do the HTTP auth via http://user:password@bitfighter.org/pleides/whatever
00:50:45raptorkaen: no
00:50:52raptorbut should be trivial I think
00:51:03raptorcurl... yes
00:51:05kaenhmm maybe not trivial
00:51:10kaeneven curl requires writting a callback
00:51:20raptoroh duh
00:51:22raptorc++
00:51:33kaenbut certainly on the same level of complexity in the client
00:51:42raptori briefly thought of java when you asked that question
00:51:48kaenand infinitely less complex in the server and master (since they are not involved)
00:51:49kaenoh lol
00:52:12kaensame level of complexity as writing the needed RPCs in TNL, I meant
00:52:39raptori would favor some lightweight client that is one class... if it exists :)
00:52:50kaenhmm yes, that would be ideal
00:52:57raptoralso, if you haven't notice.. we gots TTF fonts now!
00:53:15raptoralso, you were right - textured quads are fast
00:53:38raptor(I needed to research quite a bit more first to come to that conclusion..)
00:53:48Platskies has joined
00:54:08kaengood, glad to hear :)
00:54:14kaensorry I couldn't help at all though :/
00:54:20kaenanyway, this is interesting: http://googolflex.com/?p=322
00:54:27raptorbut you've been doing the level DB!
00:54:32kaenalso, https://github.com/mrtazz/restclient-cpp
00:54:43kaenwhich is more fleshed out, and is also a single class as you mentioned
00:55:25kaenit's actually *more* suited than curl because it has a RESTful interface (which is mirrors the structure of the db app)
00:55:40kaenoh...
00:55:47kaenDependencies
00:55:47kaenlibcurl
00:55:54kaen*sigh*
00:55:59raptoryeah...
00:56:11raptorcan i just say that i *love* single class deps...
00:56:21kaenme too
00:56:22raptor*libs (not deps)
00:56:25kaenright, right
00:56:37raptorcloning that restclient-cpp...
00:57:19raptorbooo
00:57:22raptorit wraps libcurl
00:57:25raptorbooooooo
00:57:30raptorso that's what you meant...
00:57:35kaenyeah, saw that right after I wen all gah-gah
00:57:50kaenanywe it looks like we can write a simple class ourselves
00:57:56raptortime to use shred
00:58:01kaenhehe
00:58:31kaenlike I said we need maybe three pre-made request templates
00:58:34kaenand then some sprintf
00:58:52kaenget, update, and index
00:58:55kaenmaybe add
00:58:58raptorwe have to do a socket, right? and wait for a response..
00:59:11kaentnl exposes a socket class and a thread class iirc
00:59:22kaenif you didn't want to block on the request
00:59:31raptori've used the thread class... not the socket, though
00:59:39kaenor actually you can do non-blocking single threaded classes I think
00:59:49kaenhaven't done raw socket stuff in a while
01:00:23raptormaybe here?: https://github.com/cpp-netlib/cpp-netlib
01:00:33raptori did some socket stuff for BFLogBot
01:00:39raptorbut it was cake in Java
01:01:52kaenthat link depends on uri which depends on boost
01:02:01raptorNOOOOOooooo
01:02:23kaenplus it's pretty beefy in its own right
01:02:30raptorugh, yeah, looks beefy
01:03:31raptorman, hit *another* curl wrapper project
01:04:05kaenI can't believe there isn't a one-class "make this request and return the output" lib
01:04:18raptorhere's a lead maybe?: http://stackoverflow.com/questions/5237963/cross-platform-c-c-http-library-with-asynchronous-capability
01:04:30raptorjust libevent
01:04:47kaentnl's socket's can be non-blocking
01:05:01kaenhttp://opentnl.sourceforge.net/doxydocs/classTNL_1_1Socket.html
01:05:25raptoroh good!
01:05:40kaenI don't think we can do any better than that: super small, no external deps, etc
01:05:45kaenI'll start playing around with a clone
01:05:59raptorwith libevent?
01:06:06raptoror jsut TNL
01:06:11kaenI was just going to use TNL
01:06:16raptoryeah, OK
01:08:48BFLogBot Commit: d0d99841b6ff | Author: watusimoto | Message: Better menu rendering, slightly less hacky
01:09:02raptorok look... someone is still awake
01:09:07kaenhehe
01:09:14Watusimotonot for long!
01:09:56Watusimotokaen, just a quick note before I head off to bed... the level database stuff looks really great! I can't wait to integrate it into the client somehow
01:10:11raptorthat's what were discussing now, in fact :)
01:10:15raptor*we're
01:10:32raptorWatusimoto: are you pretty much settled on the 'prime' font for HUD?
01:10:47Watusimotounless we find something better
01:10:57Watusimotoit looks orbitronish and is pretty compact
01:11:12raptorbut you do consider it better than the stroke roman?
01:11:20Watusimotomy recent ui work should (untested) work if we drop in a different font
01:11:22Watusimotoyes
01:11:23WatusimotoI do
01:11:26raptorok
01:11:30Watusimotodo you?
01:11:54raptorI suffer from the madness of change
01:12:12Watusimotowell, you'll notice I reverted the menus to roman
01:12:34raptorI think we should be changing the fonts, it's good
01:12:57Watusimotothere's plenty of time to adjust/make adjusments
01:12:58raptorthis font does seem a little weird to me though - I think I mentioned it sends my brain flying off in various directions
01:13:10raptorbut I'm willing to get used to it
01:13:23Watusimotowell... find a better one! :-)
01:13:26WatusimotoI'm open
01:13:37WatusimotoI'll continue to look around a bit
01:13:59raptorso a good question to ask
01:14:12raptorhow quickly readable is the font when in fast gameplay
01:14:31Watusimotothat is a good question
01:14:49WatusimotoI contemplate it as I drift off to sleep :-)
01:14:57raptorok
01:15:08raptor(bytheway - i think the most readable font is roman)
01:15:19Watusimotoit's pretty readable, I agree
01:15:28Watusimotoit just looks like old autocad
01:15:31raptormaybe it was helvetica?
01:15:38raptorhaha it totally does!
01:16:07Watusimotook, we can revisit this issue; to reiterate, I can change the font without losing too much recent work
01:16:15raptorok cool
01:16:18Watusimotoso I really am open to other ideas
01:16:28Watusimotosee y'all in the morning
01:16:31raptorwhat do you think about the level info screen? not enough alpha?
01:16:36raptorok, good night!
01:16:54WatusimotoI'll make some specific suggestions about level info screen soon
01:16:58raptorok good
01:17:01Watusimotonight
01:17:03raptornight
01:18:26raptormaybe Baskerville ?
01:21:50Watusimoto Quit (Ping timeout: 256 seconds)
01:23:26kaenraptor I keep triggering a SIGTRAP after updating to latest: http://pastie.org/7131487
01:23:27kaen Quit (Quit: Leaving)
01:23:32raptoroh
01:23:37raptorcomeback!
01:24:02raptorit's because you need to have a font directory now: ln -s ../resource/fonts
01:24:21raptor(if you're reading the logs)
01:24:38kaen has joined
01:24:52kaenraptor I keep triggering a SIGTRAP after updating to latest: http://pastie.org/7131487
01:24:59raptorit's because you need to have a font directory now: ln -s ../resource/fonts
01:25:19raptor(i got the same thing earlier today)
01:25:36kaenah, perfect
01:29:04Platskies Quit (Remote host closed the connection)
01:30:21kaenso I imagine it's not supposed to look like this...
01:30:21kaenhttp://sam6.25u.com/upload/9screenshot_0.png
01:30:33raptorhahaha
01:30:35raptorwow
01:30:39raptornope!
01:30:54raptori guess you're our compatibility tester?
01:31:01bobdaduck_No that's totally right
01:31:06bobdaduck_I hear the kids love it
01:31:14bobdaduck_Nobody reads anymore anyways
01:31:39raptorkaen: what would even make it do that??
01:32:10kaennot really sure...
01:32:20kaenmaybe it has to do with my alpha blending thing?
01:32:32raptorhmm... maybe
01:32:40raptordo you not support GL_BLEND?
01:32:47raptorand if not, is there an alternative?
01:32:49bobdaduck_ Quit (Remote host closed the connection)
01:33:22kaennot sure how to check off the top of my head...
01:33:29kaenbut glxinfo | grep -i blend yields only extensions
01:34:03raptorwhat gfx chip do you have? (i'll do research - so you can work on more important things)
01:35:54kaen01:05.0 VGA compatible controller: ATI Technologies Inc M860G [Mobility Radeon 4100]
01:36:17kaenblending works with fglrx but not with mesa/gallium
01:36:42kaenI'll try to install fglrx and see if it gives the same problem
01:37:20kaenI say try because it's a 23MB download :x
01:37:28raptorblech
01:37:34raptordon't worry about it for now
01:37:38raptori'll do the research
01:37:41kaen01:05.0 VGA compatible controller: ATI Technologies Inc M860G [Mobility Radeon 4100]
01:37:43kaenoops sorry
01:37:53kaen1% [1 fglrx 463 kB/23.0 MB 2%] 9,156 B/s 51min 7s
01:38:00raptorugh
01:46:37kaenraptor, adding " glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);" to FontManager::initialize fixes it
01:46:42kaenit's the texture blending function
01:46:50raptorreally??
01:46:54kaenyes.
01:47:05raptorWOW.. does that fix anything else for you?
01:47:16kaenno.
01:47:27kaenit only applies to textures :P
01:47:32raptorha! ok
01:47:47raptori'd say check it in!
01:47:54kaenokay
01:47:56kaenit's been a while
01:48:00raptor(unless the call needs to be made elsewhere?)
01:49:47kaenhmm I'd say since it only affects font stuff it's best to put it in the fontmanager
01:49:53kaenit could be made in videosystem perhaps
01:49:57raptorok sounds good
01:50:00fordcars has joined
01:50:02raptorfont manager is fine
01:50:08fordcarsGreetings fellow Bitfighters!
01:50:12kaenhello, hello
01:50:39kaen fights off the nightmares of his last hg push
01:51:16fordcarsheh
01:51:59fordcarsanybody, does this still work :( ---- onMsgReceived(message, senderPlayerInfo)
01:52:11fordcarsin bots?
01:52:25raptorback monsters!
01:52:33raptorfordcars: maybe?
01:52:35raptorlet me test
01:52:43fordcarssenderPlayerInfo this doesn't
01:53:01fordcarsthe rest does though
01:53:21kaen*phew*
01:53:23BFLogBot Commit: acf1d24d511d | Author: kaen | Message: set texture blending function in FontManager::initialize
01:54:45raptoryay kaen!
01:54:53raptorfirst step to recovery! :)
01:55:03fordcarsI think
01:55:18raptorno wait.. that was 'recognition'.. ummm... i forget the steps
01:55:34fordcarsso kaen, being an active developer again?
01:55:50kaentrying~
01:56:00fordcars:P
01:56:02kaenI've only been inactive because I can't really hold an irc connection
01:56:05raptorfordcars: this works: function onMsgReceived(message, playerInfo, global)
01:56:15raptorall three of those arguments are filled out properly
01:56:25raptormaybe you just don't know how to use 'playerInfo' ?
01:56:39fordcarsok, updating the Super outdated Wiki
01:56:44kaenthanks!
01:56:45raptorwhy?
01:56:47fordcarsyes, I do!!!!
01:56:54fordcarsonMsgReceived(message, senderPlayerInfo, global)
01:56:58raptorfordcars: it doesn't need it
01:57:02raptoryeah that's fine
01:57:08fordcars?
01:57:13raptorthose arguments don't need to be specific names
01:57:24raptorthey could be: onMsgReceived(a, b, c)
01:57:28raptorand it would still work
01:57:29fordcarsohhhhhhhhh crap
01:57:44kaenshouldn't it work with or without the third one?
01:57:50raptoryou just need to know that a == text; b == PlayerInfo object; c == boolean
01:57:53fordcarsheh, they are like local variables?
01:57:56raptoryeah, it'll work with just one, too
01:57:59kaenexactly
01:58:01raptorfordcars: yes
01:58:33raptoralso fordcars, look here for how to use the PlayerInfo object: http://bitfighter.org/wiki/index.php/Scripting_018#PlayerInfo
01:59:05fordcarsyes, but why doesn't my code *get* the play... OHHHHHH that's why! It's an object, not text (playerInfo)
01:59:15kaen:P
01:59:31fordcarsargh, And I took that code from senitel bot...
01:59:42fordcarswell *took*
01:59:46kaenraptor when you get a chance can you check that I didn't break the font for everyone else by fixing it for myself?
01:59:48raptoryay sentinel bot!
02:00:00raptorkaen: already done, it works!
02:00:05kaenoh good
02:00:48kaenI hate the fact that OGL is a state machine.
02:01:04kaenthough I certainly can't think of a better to do it myself :P
02:01:08kaenbetter way*
02:01:38kaenmaybe the methods should all just take 1000+ optional parameters...
02:01:54raptorhaha
02:11:18kaen Quit (Ping timeout: 240 seconds)
02:18:14SolumnMushroom has joined
02:18:31SolumnMushroomI am finally back
02:19:18SolumnMushroomAnd now, with an awesome Katamari remix I found: http://www.youtube.com/watch?v=so2VbUQOZxw
02:34:30fordcarsargh, why do I always get this: attempt to call missing or unknown method 'getPlayerInfo' (a nil value) 50% of the times I call getPlayerInfo
02:34:52raptorpastie your script
02:35:04fordcarsok
02:35:09raptorgetPlayerInfo()
02:36:06fordcarsI wrote that in my code, but server logs say that :/
02:36:20raptoryes...
02:36:30raptorwhat object are you calling that on?
02:36:44fordcarsShip or Robot
02:36:47fordcarshttp://pastie.org/7132208
02:36:48raptorah ok
02:36:48Platskies has joined
02:38:01raptoryou should use the table 'itemsla' instead of 'items' right?
02:38:18raptoripairs(items)
02:38:26raptorshoudl that be iparis(itemsla) ?
02:38:29fordcarseuh, right
02:39:47fordcarsfor index, item in ipairs(itemsla) do
02:39:53fordcarsok
02:40:58Platskies Quit (Ping timeout: 240 seconds)
02:41:31fordcarsyeah, it seems to work. Thanks! Onto to the next bugs!
02:43:47fordcarsyay it works!
02:48:32fordcarsdoes a "for" loop stop when it does the "do"?
02:49:37raptora for loop only stops when it is done going through every item in the table
02:49:52raptoror if you say 'break' in the loop when it meets some requirement
02:49:58fordcarsreally? so it's not a loop?
02:50:00fordcarsyeah I have one
02:50:16fordcarsinfinite loop?
02:50:24fordcarsheh ok good to know
02:50:33raptorit's not an infinite loop, no, but it is a loop through the entire table
02:52:08fordcarsok
02:52:19fordcars:P That is actually a good thing
02:52:30fordcarsand While is an infinite loop I think?
02:55:50fordcarswhoa this is really neat actually
03:24:08fordcarsI have to go :( So, night!
03:28:33fordcars Quit (Ping timeout: 245 seconds)
03:39:55raptorheading to bed early. night!
03:40:02raptor Quit ()
04:00:43SolumnMushroom Quit (Quit: Leaving)
05:03:17bobdaduck has joined
05:14:39raptor has joined
05:14:41ChanServ sets mode +o raptor
05:14:49raptorI'm not here!
05:16:02raptorwe have three regular players now with similar names: Bob, Bob'o, bobdaduck
05:16:21raptorit's... disconcerting
05:18:46bobdaduck_ has joined
05:18:47bobdaduck_Every time I see Bob I make sure to compliment him on his name.
05:18:54raptorheh
05:21:16bobdaduck Quit (Ping timeout: 264 seconds)
05:23:09raptorwhat to do...
05:23:13bobdaduck_about what
05:23:29raptori feel like I should add some new feature that'll add lots of bugs
05:23:45bobdaduck_suns
05:24:21raptori wonder how hard it would really be start observer mode...
05:24:31raptorhmmm... maybe i should research some
05:24:36raptorwhere's kaen..
05:25:54bobdaduck_sunssss
05:27:45raptorare you still serious about suns?
05:36:53bobdaduck_yes.
05:36:56bobdaduck_xD
05:37:03raptorreally?
05:37:27bobdaduck_I even made a fancy advertisement with concept art in it!
05:37:30bobdaduck_http://bitfighter.org/forums/viewtopic.php?f=4&t=1859&p=19090#p19090
05:46:02raptorsadness - i'm falling asleep before I can do anything..
05:51:37bobdaduck_aww
05:51:41bobdaduck_no suns?
05:51:51raptorsun won't come up till tomorrow
05:55:41raptornight!
05:55:45raptor Quit ()
06:10:21bobdaduck_ Quit (Remote host closed the connection)
06:11:09Flynnn has joined
06:53:44Platskies has joined
07:07:18Flynnn Quit (Quit: Leaving)
08:37:06koda has joined
08:51:55watusimoto has joined
08:51:55ChanServ sets mode +o watusimoto
09:54:45Platskies Quit (Remote host closed the connection)
10:01:12Platskies has joined
10:03:23Platskies Quit (Remote host closed the connection)
10:31:57Platskies has joined
11:48:21Platskies Quit (Remote host closed the connection)
13:56:49bobdaduck has joined
14:36:12Platskies has joined
14:36:53Platskies Quit (Remote host closed the connection)
16:01:35raptor has joined
16:01:35ChanServ sets mode +o raptor
16:01:45raptorhello!
16:03:24bobdaduckGoodmorning, gentleraptor.
16:03:41raptormornin'
16:07:14Nothing_Much Quit (Ping timeout: 245 seconds)
16:20:27Nothing_Much has joined
16:22:14raptorinductors!
16:29:56bobdaduckhomosexuals!
16:30:00bobdaduckwhat?
16:30:08raptoruhh
16:30:20raptorbrain is on technical not social issues...
16:30:45raptorinductor == fundamental electrical component
16:31:34bobdaduckso are inductors homosexual?
16:32:11raptorthere is no such thing as a magnetic monopole
16:32:18raptorso i'd say...
16:32:20raptorirrelevant
16:33:49bobdaduckI'm trying to figure out how to make a gay pun off of that
16:34:10bobdaduck^^gay pun^^
16:34:32raptor thinks bobdaduck should set his mind on his work...
16:34:52bobdaduckMy work doesn't require my mind
16:40:24raptorkirchoff's law!
16:42:12raptorthat canadian tech school was playing agian this morning
16:42:36raptor16 players or so
16:48:59bobdaduckI wonder what that be like.
16:49:53raptorok, off to work!
16:50:32bobdaduckglhf
16:50:44raptorwhould we do another level design contest before a BBB?
16:50:51raptorour BBB page is still there..
16:51:10bobdaduckI will eventually get the ambition to go through maps and complete the BBB page
16:51:16raptorheh
16:51:25raptorok, off to work - back later
16:51:31raptor Quit ()
16:51:33bobdaduckAssuming that happens this week, I vote no to another contest.
17:12:01Watusimoto_ has joined
17:16:17raptor has joined
17:16:18ChanServ sets mode +o raptor
17:20:19koda Quit (Read error: Connection reset by peer)
18:46:39Flynnn has joined
18:55:38Watusimoto_ Quit (Ping timeout: 240 seconds)
19:24:19Nothing_Much Quit (Ping timeout: 246 seconds)
19:38:03Nothing_Much has joined
19:52:49Flynnn Quit (Quit: Leaving)
20:02:31Watusimoto_ has joined
20:42:10Nothing_Much Quit (Quit: Leaving)
21:01:48fordcars has joined
21:14:57raptorbobdaduck: it was brought to my attention that you created a thread in off-topic to provoke Lamp
21:15:11bobdaduckSort of, but yes.
21:16:04raptori have to say my favorite post was BlackBird's response to Opti
21:16:16raptorbut
21:16:23raptorLamp seems a little... provoked
21:16:50bobdaduckIt seems he's going with it now
21:17:06bobdaduckFarther down at the bottom he's posting the :| emote upside down, or rotating, etc
21:18:17bobdaduckAdmittedly, it was sort of a bad idea, though I do think it got the idea across... The problem is, now everyone is going into all the other threads and posting just ":|" as responses
21:18:33raptor\I just want to make sure Lamp doesn't leave with bad taste because there is possible gang-picking-on going on
21:18:45raptorI don't ever read off-topic..
21:18:56bobdaduckYeah, and watusimo has it hidden from him
21:19:35fordcarsBlackBird: I never liked you lamp. In fact i hated you. So i put a fathead junior over you. Now i don't even see you anymore.
21:19:41fordcarsouch
21:19:47bobdaduckYou're right though. I'll send Lamp a PM. Wait, he says his PM system is broken... Uh.
21:19:52bobdaduckYeah I dunno why blackbird posted that.
21:23:22raptorWhen people make direct attacks, I usually edit them out and add an edit line like so: 'Edit by raptor: no personal attacks please'
21:23:40bobdaduckMy response would be to just delete the post outright...
21:23:50raptoror whatever courteous rebuttal seems best
21:23:50bobdaduckI can't tell what blackbird was even saying there though.
21:23:55raptorok
21:24:14raptordidn't you figure out why is PM system was broken?
21:24:29bobdaduckNope
21:25:18bobdaduckI sort of had an idea, but I'm not sure if it actually worked.
21:25:26bobdaduckWe'll see, I guess
21:26:52raptoroh my... the phpbb permission system is atrocious
21:27:42bobdaduckrofl
21:31:07LordDVG has joined
21:33:32bobdaduck Quit (Remote host closed the connection)
21:38:24koda has joined
21:44:59Platskies has joined
21:46:09Darrel has joined
21:58:08BFLogBot Commit: ff1c3d271194 | Author: watusimoto | Message: Rename variable
21:58:10BFLogBot Commit: 22ddd062cc29 | Author: watusimoto | Message: Try to bring more rationality to this messy rendering stuff, make prettier
21:58:12BFLogBot Commit: 69e153ff7adf | Author: watusimoto | Message: Pull out the sliding animation into its own class, simplify slightly
21:58:13BFLogBot Commit: a1aff709e584 | Author: watusimoto | Message: Make method names more consistent
21:58:15BFLogBot Commit: e653ee7651d3 | Author: watusimoto | Message: Extract level info display into its own class
21:58:16BFLogBot Commit: 4f55173fc3f8 | Author: watusimoto | Message: Fix initial display issues
21:58:18BFLogBot Commit: 580b3c00a844 | Author: watusimoto | Message: Merge
21:58:31raptorcommits!
21:59:11Watusimoto_this will probably break the unix build, as I added some new classes/files
21:59:37raptorok
21:59:47Watusimoto_we now have a slidey-inney-outy class
22:00:04raptoroh boy!
22:00:06Watusimoto_actually, I should have used that as the name!
22:00:43raptorlevel info into it's own class?
22:02:01Watusimoto_yes
22:02:19Watusimoto_because it needs a special parent class
22:02:28LordDVG Quit (Remote host closed the connection)
22:02:41Watusimoto_which will probably give you some insight into my ideas
22:02:45raptorit works!
22:02:51Watusimoto_of course!
22:03:15Watusimoto_the loadout/quick chat menus are pretty good now, too, though the first module selected does not turn red anymore
22:03:19raptorso... our UI framework is more frameworky
22:03:27Watusimoto_slightly
22:07:34fordcarsawesome guys, keep it up!
22:08:19kaen has joined
22:09:09raptorI think we should figure out how to remove the login page as the first screen...
22:09:24Watusimoto_ok, I agree... if we can figure it out
22:09:40Watusimoto_the thing is that the login is required for so many of the subpages
22:10:19Watusimoto_hosting, joining, editing (though not until testing a level), (possibly in future) high scores... nearly everything
22:10:20raptorcan we write some sort of interceptor for any page that requires it
22:10:23Platskies Quit (Remote host closed the connection)
22:10:42raptorif username not found, then popup login screen
22:11:33Watusimoto_yes, and maybe allow users to modify/save credentials in the options menu
22:11:50Watusimoto_so we can autologin if we have those
22:12:09Watusimoto_motd needs to be decoupled from logging in
22:12:17Watusimoto_(unless you did that already)
22:12:26Watusimoto_as does version check
22:12:57masterkaen has joined
22:12:58masterkaen Quit (Changing host)
22:12:59masterkaen has joined
22:13:00raptorI've already done the work for anonymous connections
22:13:02kaen Quit (Disconnected by services)
22:13:06masterkaen is now known as kaen
22:13:11raptorso motd can be decoupled from the current login
22:13:17raptorrequirement
22:16:04Watusimoto_also, if interacting with the new level database happens, we'll need login for that?
22:16:32raptoractually
22:16:50raptorkaen: is working on a dumb HTTP client I think using TNL::Socket
22:17:06raptorhe and I were discussing this yesterday
22:18:04kaenthe authentication from client to the db can/should/will be stateless
22:18:18kaenso you just send the creds when updating/adding as part of the headers
22:19:09raptorhi kaen!
22:19:15kaenhello :)
22:19:19kaengot my connection set up finally
22:19:50bobdaduck has joined
22:20:01raptorhooray!
22:20:08bobdaducksuns?
22:20:23kaenpuns!
22:23:43Watusimoto_maybe we can use that for motd and general game stats
22:24:01kaenthe HTTP request thing?
22:24:04kaenthat's good idea!
22:24:30raptorbefore I did the work for anonymous master connections via RPC, we decided on doing it via RPC for some reason... do you remember why Watusimoto_?
22:24:47kaenwell, HTTP requests are loads heavier than an rpc is
22:24:58raptorI don't remember - but I don't mind my work disappearing in favor of something else
22:25:45Watusimoto_because that was all we had at the time
22:26:24Watusimoto_true that an http request is heavier... but we do some stuff now as part of the connection that seem well suited to http request
22:26:36kaentrue.
22:26:51Watusimoto_get the motd scrolling message, get the latest version number, ...
22:26:51Darrel Quit (Read error: Connection reset by peer)
22:27:34Watusimoto_raptor did a bunch of work to let you create a udp conneciton to grab that stuff, but it seems like it might be better to get it via a more standard mechansim
22:28:04Watusimoto_especially as that's not in-game, and its a connection with the master, so performance is not an issue
22:28:48kaentrue, but if we decide to put stats in-game with HTTP transport then we could be potentially looking at large performance costs
22:29:14kaenconsidering that HTTP will require a new connection for each request and is transmitted over TCP and has its own protocol overhead
22:29:27Watusimoto_we probably wouldn't do that, as we already have a udp connection established by that point
22:29:32kaenoh okay
22:29:36kaenthen I have no objections
22:29:53Watusimoto_we're talking about moving the login out of the front of the game
22:30:03kaenooh I see
22:30:03fordcars[18:20] <@raptor> hooray! [18:20] <bobdaduck> suns? [18:21] <kaen> puns! --------- :P
22:30:04Watusimoto_which means more stuff will have to happen before you are logged in
22:30:20fordcarslater, guys, gtg
22:30:22fordcarslater
22:30:25kaenbb
22:30:28fordcars has left
22:30:30Watusimoto_so we have a choice; anon udp connection, or http
22:30:56Watusimoto_http feels better to me in that circumstance, though I'd be interested in contrary opinions
22:34:43kaenI just typed and deleted three different attempts to articulate my reservations. I could not express them, so it I appears that I actually have none :)
22:35:35raptorconversely, does that mean we *should* do UDP connections for updating levels from the level DB?
22:36:13kaenwe'd be reimplementing all of the logic I put into the DB into the master...
22:36:50kaenand we'd have to synchronize the two implementations
22:37:09kaenI am definitely *strongly* against that one
22:37:21raptorwaht if master just wraps a local HTTP call? :)
22:37:39kaenI was thinking about that, but then what's the savings?
22:37:46kaenyou just have a more complex collaboration
22:38:00kaenclient -> master via udp, master -> apache via http
22:38:05kaenversus client -> apache directly
22:38:06raptorok I agree
22:38:17raptorjust thought I'd bring up all sides to the story :)
22:38:52kaencertainly.
22:39:30Watusimoto_i concur with that -- one interface, use it directly if we can
22:40:12Watusimoto_especailly if it is not something that really needs to happen on an established connection like match making
22:42:14Watusimoto_ is now known as watusimot
22:42:27watusimothmmm... can't change my nick to watusimoto
22:42:36watusimotseems too long for /nick
22:42:43watusimot is now known as wtusimoto
22:42:51raptorits because you're still on at work
22:42:55raptoryou need to 'ghost' that user
22:43:07raptorusing: /nickserv ghost watusimoto <password>
22:43:08wtusimoto is now known as verylongnick999w
22:43:38watusimoto Quit (Disconnected by services)
22:43:45verylongnick999wdid that work?
22:43:54verylongnick999w is now known as watuismoto
22:44:00watuismotohooray!
22:44:06watuismototoo much work!
22:44:12watusimoto has joined
22:44:12ChanServ sets mode +o watusimoto
22:44:17raptorhahaha
22:44:42raptoryou spelled your nick wrong and your work client came back online
22:45:24fordcars has joined
22:51:35kaenit's like a monty python bit in here xD
22:52:32kaenbobdaduck, list me off some tags
22:52:47kaenI have novelty, dungeon, competitive, and workinprogress right now
22:53:21bobdaducksorry back
22:53:23bobdaduckhm?
22:53:35kaenfor the level db
22:53:53bobdaduckokay
22:53:53fordcarsyay Monthy Python
22:54:26bobdaduckI suppose "joke" and "resource" should be some tags too.
22:54:36kaenresource?
22:54:43kaenI'd like them to be self-explanatory
22:54:57raptorno multiple-meaning words
22:55:14kaenI can make an "engineer-enabled" column for filtering
22:55:21kaenlike we'll have for different game modes
22:55:36kaenand whether it has a levelgen
22:56:00kaennovelty vs. joke is kind of a blurry line, too
22:56:17kaenanything which is a joke and not novel is just... garbage
22:56:25kaenwhich should maybe be a tag :)
22:56:48raptortrash
22:57:01raptorlevel contest entry
22:57:15kaenactually I wanted to add a system for handling contests
22:57:18kaenas a separate component
22:57:43bobdaduckOkay so joke I'm thinking maps like "wildest west of all the wests", where novelty is more rollercoasters sort of thing.
22:57:53bobdaduckResource is something that's not a map.
22:57:55kaenhmm I see
22:58:00kaenoh?
22:58:21kaenthat's interesting, I actually wrote code to treat levelgens and levels as generic "submissions"
22:58:31kaenin an attempt to allow multiple levelgen dependencies
22:58:31bobdaduckLamp's posted a few of those, like the one where he designed this massive barriermaker swirly thing in an svg converter
22:58:42kaenokay that makes sense
22:58:58kaenanyway, I did that and decided it didn't merit the complexity it added
22:59:11kaenonly after I had build a completely working system for it, of course :P
23:01:21koda Quit (Quit: k thx bai)
23:02:55bobdaduckhm?
23:06:46kaenI had a system so that you could upload levelgens and levels as independent things, so that you could rate levelgens and also say that a single level depended on multiple levelgens (like libraries or something)
23:07:07kaenwhich is hypothetically possible in lua since you can include files
23:07:31kaenbut like I said, I decided it's not worth it because that has never been done to my knowledge
23:08:07kaenalthough I still kind of want to let different levels depend on the same levelgen without having to paste it twice
23:08:21kaenoh and also I added an "upload a file" option.
23:09:35raptorheading home!
23:09:44kaenbb!
23:09:48raptor Quit ()
23:21:16BFLogBot Quit (Ping timeout: 256 seconds)
23:21:16Disconnected.
23:21:18-moorcock.freenode.net- *** Looking up your hostname...
23:21:18-moorcock.freenode.net- *** Checking Ident
23:21:25-moorcock.freenode.net- *** No Ident response
23:21:45-moorcock.freenode.net- *** Couldn't look up your hostname
23:21:51BFLogBot has joined
23:21:51Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/'
23:21:51Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 GMT 2013
23:21:52-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.
23:37:19kaenman what is with all of these people playing on a locked server?!
23:37:34kaenthere were 8 all on a passworded server....
23:37:53kaenand a few confused stragglers on some the periphery
23:43:07fordcarsprobably a school...?
23:45:54kaenmaybe if they were pacific islanders :P
23:46:54fordcarshaha yeah

Index Search ←Prev date Next date→

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