#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-05-01

Timestamps are in GMT/BST.

00:26:59BFLogBot Commit: f125ac19868b | Author: buckyballreaction | Message: Add CMake support to generate Visual Studio project files. Generated files compile and link
00:28:43raptorthat was insane
02:45:24BFLogBot Commit: 80012f2cbd1c | Author: buckyballreaction | Message: Use Clipper's hierarchical PolyTree structures to maximize speed with poly2tri. This is about as fast as we can go with poly2tri and its limitation on non-complex polygons. We are now (slightly) faster than Triangle at triangulating levels in all cases I've tested
02:53:26raptor Quit ()
02:58:43Watusimoto has joined
03:28:46Flynnn Quit (Quit: This computer has gone to sleep)
03:29:11Flynnn has joined
03:57:05Flynnn Quit (Quit: Leaving)
04:03:17Watusimotokaen: assuming you are not around... if I'm wrong, please ping e
04:03:18Watusimotome
04:10:03koda has joined
04:37:32Watusimoto Quit (Ping timeout: 268 seconds)
04:41:24LordDVG has joined
05:24:10Watusimoto has joined
05:30:50LordDVG Quit (Remote host closed the connection)
07:00:55koda Quit (Quit: koda)
07:03:51kaenWatusimoto, just woke up
07:03:59Watusimotogood morning!
07:04:03kaenmorning!
07:04:10Watusimotohappy May Day!
07:04:20kaensame to you :)
07:04:49WatusimotoI am trying to get a 018a server up for testing and configuation purposes for the BBB, and for some reason cmake is failing
07:05:05WatusimotoI've documented my steps very carefully here:
07:05:13Watusimotohttp://bitfighter.org/wiki/index.php/Building_Bitfighter#Linux
07:05:23Watusimotounder the Building a dedicated server on a typical clean Centos 5 or 6 virtual server instance section
07:05:35WatusimotoI started with a post-nuked clean server
07:05:56Watusimotothe two patches referenced are the two that were on sam's server
07:06:10Watusimotoit breaks at the cmake .. step
07:06:44kaenthose patches look right, can you paste the cmake output?
07:07:07Watusimotohere:
07:07:07Watusimotohttp://pastebin.com/SKvNnJsY
07:07:22Watusimotothe patches applied cleanly
07:07:49Watusimotothe Makefile is not being built
07:08:12Watusimotobut when I tried these same steps last night, it worked great
07:08:21kaenvery strange indeed
07:08:48Watusimotoyes
07:09:26kaencan you check that ./cmake/Modules is empty?
07:09:32WatusimotoI would be willing to do it all again if you are completely stuck
07:09:34Watusimotook
07:09:48Watusimotowhich folder is '.'?
07:09:53Watusimotobuild?
07:09:58kaenthe source root
07:10:00kaenbitfighter
07:10:41Watusimoto ls cmake/Modules
07:10:41WatusimotoFindMySQL.cmake FindZLIB.cmake
07:10:48kaenok
07:11:13kaentry: rm ./cmake/Modules/FindZLIB.cmake
07:11:26kaenand then run cmake again
07:11:51Watusimoto[bitfighter@foo bitfighter]$ rm cmake/Modules/FindZLIB.cmake
07:11:51Watusimoto[bitfighter@foo bitfighter]$ cd build
07:11:51Watusimoto[bitfighter@foo build]$ cmake ..
07:11:51Watusimoto-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
07:11:51Watusimoto-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
07:11:51Watusimoto-- Configuring done
07:11:53Watusimoto-- Generating done
07:11:56Watusimoto-- Build files have been written to: /home/bitfighter/bitfighter/build
07:11:58Watusimoto[bitfighter@foo build]$
07:12:12kaentime to make :)
07:12:18Watusimoto:-)
07:12:50kaenyeah... I added cmake find modules from my ubuntu system into the tarball because I thought they weren't a standard part of cmake
07:13:12kaenand so in order to build 018a on anything other than (basically) my laptop, you have to clean the cmake/Modules directory
07:13:24Watusimotooh wait... the makefile is built!
07:13:35WatusimotoI didn't get that when you mentioned that above
07:13:40kaenhehe
07:14:24Watusimotoyou think I should add that rm step to the instructions?
07:14:55Watusimotothey're going to need to be rewritten for 019 anyway
07:15:09Watusimoto(making)
07:16:00kaenmost definitely
07:16:03Watusimotobuilt!
07:16:07kaen\o/
07:18:08Watusimotook, great, thanks!
07:20:15Watusimoto185 ms lag from here
07:22:03kaenI don't see it
07:30:41Watusimotowho will be configuring the server?
08:08:09raptor has joined
08:08:09ChanServ sets mode +o raptor
08:08:25raptorgood day!
08:09:04raptorWatusimoto: I'll be configuring the server
08:09:16Watusimotolucky you!
08:09:20raptorI have some patches that I wish to apply and I'll be gathering the levels...
08:09:53WatusimotoI wrote up complete instructions including some security hints on how to install 018a on centos
08:10:10Watusimotoways to make it easy to avoid chown -R bitfighter *
08:10:13Watusimoto:-)
08:10:37raptorhah!
08:11:08Watusimotohttp://0bin.net/paste/93af0628952d724ba6a4b9447ecfb1e04ae34664#VaTOH/ZxME5FeUmujYfWIRwgJmH4rARY/lwKl/z8SMU=
08:11:16Watusimotoplease confrim receipt
08:11:21raptorreceived
08:11:33Watusimotothat's the pw for the bitfighter account
08:11:36Watusimotoon the server
08:11:36raptorfor access to said server?
08:11:39raptorok
08:11:39Watusimotoyes
08:12:00Watusimoto173.254.233.155
08:12:03Watusimotothat's the ip
08:12:16Watusimotoso that account has no special privs, no root access
08:12:22raptorperfect!
08:12:30Watusimotoif you need anything I can either create you a prived account, or install whatever myself
08:12:51raptorI'm in!
08:12:58Watusimotoright now the server is running under screen
08:13:08Watusimotoyou know how to work that, right?
08:13:20raptoryes-ish, but I prefer kaen-loop
08:13:24raptor:)
08:13:26Watusimotowhatever you like
08:13:53raptorserver seems good so far?
08:13:56WatusimotoI found this for running my son's minecraft server. Was thinking about converting it to a bitfighter service
08:14:21Watusimotooops where idd that go?
08:14:24raptorso much RAM without a web server!
08:14:37Watusimotohttp://forums.bukkit.org/threads/tutorial-centos-bukkit-installation.56371/
08:14:40Watusimotounder step 6
08:14:46Watusimotothat machine has 1GB ram
08:14:53Watusimotoso would have a lot even with a web server
08:14:55raptoroh yeah, an init script
08:15:03raptorI've written those before
08:15:04Watusimotoit
08:15:10Watusimotoit's rather nice ...
08:15:15raptoryes
08:15:18Watusimotoservice minecraft start
08:15:23Watusimotoeven my son can do that!
08:15:28Watusimotoservice bitfighter start
08:15:44raptorwe could create a config file in /etc/ and have it point to a levels dir
08:15:49raptorand INI, etc
08:16:08Watusimotothat's an idea
08:16:24Watusimotoanyway, it would save users from having to dink around with screen or whatever
08:16:54Watusimotoand screen becomes slighly painful if you are su-ing to other users
08:17:11Watusimotoyou have to change permissions on the pts file somewhere
08:18:42Watusimotoalright... I'm getting the boot from this computer
08:18:51raptorok
08:18:52Watusimotoit is, apparently, time to play minecraft
08:18:57raptorhah
08:19:34Watusimotothey say they don't want the server today, but there is the possibility I'll need to temporarily convert it to a minecraft server
08:19:45raptorok
08:19:58Watusimotobut I'll let you know if we do that
08:21:32WatusimotoHappy May Day, btw
08:22:18raptoroh it's May!
08:22:20raptorwow
08:46:25thread_ has joined
08:46:34thread_hello!
08:46:51raptorhi
08:49:14kaenhi!
08:55:22raptorthread_: you can talk about stuff in the main channel - no need to ping me directly (also you may get better help from those more knowledgeable than I)
09:11:32koda has joined
09:25:10bobdaduck has joined
09:30:59Watusimoto Quit (Ping timeout: 264 seconds)
09:31:01raptorok, I put together the BBB server
09:31:07raptorit has 2 levels on it!
09:31:33raptorwhat patches did we want to apply? the Lua FF patch, the team balance patch, and... ???
09:31:57bobdaducklol
09:32:13bobdaduckjust work so hard that you release 019 before friday
09:32:26raptorbwahahaAHAHahaAhAhhHAA
09:32:30bobdaduckyah? YAH?
09:32:38raptor directs bobdaduck towards the running bug list
09:32:56bobdaduckWoah
09:33:00bobdaduckI've been slacking off
09:33:47bobdaduckGotta find you some more bugs
09:33:50raptorso we need some way for you to send me levels
09:34:06raptorlike gather what you can and zip it up and send it somehow
09:34:21raptorthen we need to make an ordered level list
09:34:45bobdaduckyeah
09:34:55bobdaduckWe don't have any sort of order on it though
09:35:23raptorusually the order is to just mix up the game types - I can start one on our BBBX page..
09:35:49bobdaduckyeahh
09:35:55bobdaduckshould probably get everything together though
09:39:14raptorwhat should be the opening map? Kompressor's Gambit ?
09:40:42bobdaduckRave party?
09:41:17raptorI was serious about patches... any others that I forgot that may be required for one of your levels?
09:41:37Watusimoto has joined
09:41:48bobdaduckNot that I can think of
09:41:56bobdaduckWe're only doing RTS though
09:42:08raptori thought there was one of your levels that required the FF patch?
09:42:12raptorthe team bases one?
09:42:13bobdaduckHm
09:42:18bobdaduck*goes through levels*
09:42:33raptorit's the one where you never know where you are
09:42:46raptorhad a stock-y feel to it
09:42:51bobdaducktraitor's gate
09:42:57bobdaduckyeah that's not even on the map list
09:46:58raptor6 zone control??
09:47:04bobdaduck...Yeah?
09:47:14Watusimotobobdaduck: you probably saw, the bbb server is up for performance testing
09:47:38bobdaduckWhy?
09:47:55raptorto test the server and see if it'll be laggy
09:47:56Watusimototo see how the pings are
09:48:36bobdaduckah.
09:48:48bobdaduckDoesn't kaen's server have pretty good ping? Could we use his?
09:48:52raptorWatusimoto: I set up a 'servers' directory on the VPS and am setting up the 'bbbx' one
09:49:01kaenit has good ping but unstable network conditions
09:49:15Watusimotohow so?
09:49:51kaenwell, the provider seems to have over-provisioned the physical servers, so occasionally the ping will rise to >300ms for periods of an hour or more
09:50:03kaenthat occurs infrequently and sporadically
09:50:15kaenalthough I'm able to fix it by restarting the vps
09:51:36kaenwhen that's not happening though, I believe it's the fastest server for most of our players
09:51:54Watusimotoyou're talking about the BBB server?
09:52:07kaenI was talking about my server :)
09:52:12Watusimotoah, I see
09:52:21WatusimotoI was woindering how you claimed to restart it
09:52:26kaenhehe
09:55:10raptorok bobdaduck, feel free to replace that bottom list with others...
09:55:43bobdaduckuh?
09:55:45raptoralso, do you seriously want Tron as a filler map?
09:55:53bobdaduckits just all the maps sorted by gametype isn't it?
09:55:55bobdaduckNah
09:56:01raptorfiller maps need to last 10 min regardless of score
09:56:02bobdaduckToo small
09:56:26raptoryeah, so that bottom list is pre-ordered, but sorted by gametype
09:56:41bobdaduckI vote DnD as a filler map then
09:56:42raptorand we should finalize it first by removing/adding any other maps
09:57:11raptorthat we have second thoughts about...
09:57:16raptoruhhh
09:57:19raptorDnD....
09:57:28raptorthat would require some levelgen patches, right?
09:57:43raptor(I've forgotten which ones I've given you...)
09:57:46bobdaduckperhaps
09:58:17raptorso we'd have 3 filler maps
09:58:34raptorone at each hour or so (or after every ~10 levels)
09:58:38bobdaduckyeah
09:59:27raptorI'm saddened I couldn't find Soccer Series 9+
10:00:00bobdaducklol
10:00:04bobdaduck_K never posted it
10:02:17raptorhmmm
10:02:34raptorI could probably copy it real quick from the youtub video...
10:02:37raptor:)
10:04:25bobdaduckIt looked simple enough xD
10:05:09raptorso RTS is on the menu?
10:06:34bobdaduckYeah
10:06:47bobdaduckI'm *slightly* concerned about doing both it and feudalism
10:06:47raptor*and* feudalism??
10:06:50bobdaduckxD
10:06:57raptorI think we should do just one
10:06:57bobdaduckMake them really spread apart.
10:07:00raptoror that
10:07:07bobdaduckOne RTS-like map per 2 hours won't be so bad.
10:07:21bobdaduckOR we could count them as filler break maps
10:07:51bobdaduckAnd so RTS/feudalism/dnd each hour as a break?
10:08:44raptoryou have to guarantee that they'd last at least 10 min
10:09:02bobdaduckI would?
10:09:03bobdaduckxD
10:09:03Watusimotomy kids are planning on getting up at 4AM to play
10:09:14Watusimotoso pick good levels!
10:09:27raptorso RTS/Feudalism should not be break maps
10:09:29bobdaduckI mean DnD will last 40 minutes if we let it. Its completely arbitrary when DnD ends
10:09:40bobdaduckRTS has a map time of 20 minutes I think
10:09:50bobdaduckAnd usually resolves at about 5 minutes
10:10:04bobdaduckNowait RTS is 30 minutes
10:10:12bobdaduckAnd Feudalism is 15...
10:10:21raptorno i mean guarantee it - with no possible way of winning even if 19 players are AFK and 1 is doing the level by himself
10:10:46bobdaduckSo make level a dungeonz?
10:11:03raptoror put the score so high it's impossible or unattainable
10:11:13Watusimotobobdaduck: invisible asks that you include lines, his contest winning level, as well as other contest winners. That's all. Back later
10:11:23bobdaduckWe don't
10:11:34raptoroh yeah, Lines
10:11:37bobdaduckwait lines was posted wasn't it.
10:11:40bobdaduckI thought it wasn't...
10:11:53raptoroh, it may not have been...
10:12:30bobdaduckWell we'll have to make room for it
10:12:37bobdaduckAnd I refuse to get rid of lamp's flag dungeon.
10:14:00raptorok then kil lHTF - Power Plant
10:14:04raptor*kill
10:14:09bobdaduckNah
10:14:11bobdaduckI'm replacing
10:14:12bobdaduckuh
10:14:15raptorFeudalism?
10:14:16bobdaduckShoot what did I just replace
10:14:23bobdaduckA ZC
10:14:45raptorreplace the list below in the appropriate section
10:15:28bobdaduckkdone
10:15:31raptorok
10:15:42raptorwhat about those maps under 'Possibles' ?
10:15:43Watusimoto Quit (Ping timeout: 258 seconds)
10:15:53bobdaduckVeto all of them
10:16:07raptorok 'Around the Bend' is in our list
10:16:20raptorReserves list?
10:16:31bobdaducklol uhhh
10:17:09bobdaduckFor if we go through the maps too fast right?
10:17:16raptoryes
10:17:26bobdaduckWe'll probably want several of those.
10:17:55bobdaduckah go back
10:17:55bobdaduckxD
10:18:08raptork
10:18:10bobdaduckokay you can delete them now
10:19:19raptorbobdaduck: come to 'kaen test' to see one of the break maps
10:36:11bobdaduck!bot
10:36:11BFLogBotI'm a real boy!
10:38:32raptor!bbb
10:38:32BFLogBotBig Bitfighter Battle!
10:39:57bobdaduckyeaAHHHHHHHHH
10:40:50thread_Hey raptor, you're the developer right? in the next version can we have a function in Lua that just returns a list of all ships?
10:41:09thread_I feel like it would make the levelgens much cleaner if we didn't all register ship lists
10:41:28raptorhi thread_, i'm one of the devs
10:41:57raptorthread_: there is already a way to get all players in the level
10:42:10thread_is there?
10:42:18bobdaduckThere is?
10:42:22raptoryeah, but it may be documented poorly...
10:42:26raptorlet me find it
10:42:35raptorI just found it 2 days ago..)
10:43:23raptorin main() do: game = GameInfo()
10:43:36raptorthen anywhere you want is: game:getPlayers()
10:43:46thread_that's wonderful!
10:43:48raptorthat returns a list of PlayerInfo about all the players
10:44:47bobdaduckSo I can then do something to all players based on that?
10:44:49raptoryeah, see the poorly documented stuff here: http://bitfighter.org/wiki/index.php/Scripting_018#GameInfo
10:45:03raptorbobdaduck: probably
10:45:17raptoryou still have to keep you're own registry
10:45:21raptor*your
10:45:58raptorif you want to tie weird objects to players, that is
10:47:10bobdaduckhm
10:55:26bobdaduckare plugins able to get selected items?
10:57:41bobdaduckI'm wanting a plugin that converts a zone of one type (goalzone) into a zone of another type (invisible zone) without having to redo all the geometry
10:58:09thread_I could probably write you a script that does that
10:59:43bobdaduckI'm looking for a plugin
10:59:48bobdaduckwhich is slightly different
10:59:57thread_yea, just thought I'd offer
11:00:10bobdaduck(check out editor plugins in the... F1 menu? I dunno where it is xD)
11:01:03bobdaduckPlugins are basically levelgen scripts that you run from the editor to make simpler. The default one is a curve tool which makes circles that look nice and stuff
11:01:18raptorbobdaduck: plugins don't have that for 018a
11:01:22raptor019 they do already
11:01:26bobdaduckdrat.
11:02:20raptorand actually, I wrote a plugin for 019 that let's you select/deselect all objects of a specific type: http://code.google.com/p/bitfighter/source/browse/resource/editor_plugins/item_select.lua
11:02:32bobdaduckWhoo!
11:02:44bobdaduckOkay so what args go into counterMenuItem?
11:02:53thread_now you can delete all walls without effort :P
11:03:16bobdaducknmd found it
11:04:03bobdaduckThat's something I requested a while ago
11:09:37bobdaduckWhat's a symbol that indicates speed but doesn't have directional affiliation?
11:11:04kaenspeedometers
11:11:24bobdaduckPerfect!
11:11:44bobdaduckWhere I can I find draw_curves.lua if I deleted mine?
11:12:07raptorhttp://code.google.com/p/bitfighter/source/browse/resource/editor_plugins/
11:12:30bobdaduckThanks
11:12:35bobdaduckaccidentally deleted it a while ago
11:38:14Watusimoto has joined
11:39:53bobdaduckSomeone should try to teach me about dictionaries again
11:45:00Watusimoto Quit (Ping timeout: 260 seconds)
11:49:13kaenbobdaduck, they're called "tables" in lua: http://lua-users.org/wiki/TablesTutorial
11:49:30bobdaduckI've read this before
11:49:35bobdaduckWill read again though
12:00:35bobdaduckOkay I guess cross-referencing tables is the confusing part for me
12:01:16bobdaduckMaking two tables work together
12:11:37thread_I think a table IS a dictionary actually. you can use a string as a key
12:11:41kaenyou mean tables in tables?
12:11:49thread_ex. table[apple] = foo
12:11:53kaena table is both a dictionary and an array
12:11:57raptortable is a quadrilateral
12:12:05raptorarray is a square
12:12:12raptordictionary is a parallelogram
12:12:25kaenit has both ordered and unordered elements
12:12:45bobdaduckOh shoot raptor we can't use DnD for the BBB -- Its not finished. There's still five classes to make plus whip/nunchucker
12:13:50kaenbobdaduck, what's your specific question about tables?
12:14:03bobdaduckI don't understand how to make two tables work together
12:14:28bobdaduckI'm not doing this, but lets say in DnD I want to actually store in a table what class each ship is
12:14:29raptorhe probably wants it so one key -> multiple data
12:14:41raptorso a complex object of sorts
12:15:11raptori usually do something like this: maintable (key -> subtable)
12:15:33raptorthen subtable is a dictionary with whatever
12:15:45bobdaduckAnd then lets say I want to print out each ship and its class. I'd have to iterate through the registeredShips array, and then do SOMETHING to another array that stores the ship's class
12:16:09raptorsubtable["name"] subtable["ship"] subtable["favoriteicecream"]
12:16:27bobdaduckAt this point I am completely lost.
12:16:37bobdaduckWell, not completely.
12:16:39bobdaduck85%.
12:16:55thread_Are you thinking like with my blink script? I can go over how I did that if you want
12:16:57raptorso you need a lesson in data structures instead of anythign really Lua-y
12:17:13bobdaduckProbably
12:17:30raptorlunch!
12:17:40bobdaducklunch!
12:17:44thread_wat?
12:17:48bobdaducklol
12:18:42kaenso, you want to iterate through nested tables?
12:19:02bobdaduck....maybe?
12:19:03bobdaduckxD
12:19:45bobdaduckI don't have a specific use case; I just know it'll be really useful if I can figure them out.
12:24:27kaenit'd be better if you could explain it with a line of code that you want to work
12:24:38kaenbut, here's how to iterate over nested tables: http://pastebin.com/CSVC4gRt
12:25:52kaenif you have a table `foo = { bar = { "one", "two", "three" } }` then you can access the subelements like so: `foo["bar"][1]`
12:26:15bobdaduckThat's good to know
12:26:37raptorbobdaduck: you want something like this to store your data: http://pastie.org/7749269
12:26:40raptorthat is not Lua code
12:26:47raptorbut to illustrate the structure
12:28:19bobdaduckOkay so lets say I have two tables, "registeredPlayers" and "registeredZoneSwords"
12:28:32Watusimoto has joined
12:28:49bobdaduckAnd for each player if he doesn't have a sword I make the sword for him
12:29:01bobdaduckHow do I tie the sword to the player in the registeredPlayers table?
12:29:18kaenokay, you want the elements of you player's table to be tables themselves
12:29:30bobdaduckand, more importantly (or at least I understand this less) how do I access it later.
12:29:55kaenoh wait, what is your registeredPlayers table made of right now?
12:30:01kaenplayer names? or playerinfo objects?
12:30:18raptor goes to eat lunch
12:30:20bobdaduckuh I think its made of playerinfo objects in the example
12:30:23bobdaduckbye
12:30:25kaenokay, perfect
12:30:29kaenthen they're already tables
12:30:45kaenso you just need to create your own attribute, which is really easy
12:30:59kaenregisteredPlayers[index]["sword"] = swordZone
12:31:08bobdaduck is slowly becomeing lost
12:31:23kaenyou just put two dereferences right after each other
12:31:55bobdaduckokay what if I register by player names instead of playerInfo
12:31:57kaenthat's the same as: player = registeredPlayers[index] ; player["sword"] = swordZone
12:32:25kaenthen you should just register it with a table, and put the name in that table alongside the sword zone
12:33:01bobdaduckuh, okay.
12:33:08bobdaduckI sort of understand
12:34:23kaenadding a new player would be like: table.insert(registeredPlayer, { name = playerName })
12:34:56kaenwhich creates a table with an attribute "name" set to the player's name and adds that to the registeredPlayers table
12:35:02kaennow you have a table made of tables
12:35:20kaento get the player's name: registeredPlayers[index]["name"]
12:35:38kaento set the player's sword: registeredPlayers[index]["sword"] = swordZone
12:35:41kaenetc.
12:35:54bobdaduckwhy the quotes?
12:36:03thread_those are strings
12:36:14thread_Lua allows strings for keys in tables
12:36:17kaenmore exactly, the table's keys are strings
12:36:37kaenif you did: registeredPlayers[index][sword] -- no quotes
12:36:57kaenthen lua would look for a variable named sword, and use its contents as the key to look up
12:37:01kaenthis is called interpolation
12:37:17kaenindex is a variable, sword should be a string
12:37:33kaen(because index is the iterator variable of your loop)
12:37:57bobdaduckso table[key], right?
12:38:06kaenyes
12:38:24kaenunless key is the literal name of the key, then you want table["key"]
12:39:46bobdaduckokey
13:02:50bobdaduckraptor when you get back: Is it possible for me to check which player scored?
13:02:55bobdaduck goes to lunch
13:05:17raptorhi
13:05:30raptornope, we'd need an event for it...
13:12:00thread_ Quit (Ping timeout: 245 seconds)
13:25:55bobdaduckThere's a playerScored event
13:25:58bobdaducker no
13:26:01bobdaduckscoring event anyway
13:26:41bobdaduckexcept its not in events
13:26:43bobdaduckuhhh
13:26:46bobdaduckxD
14:01:31kaen Quit (Ping timeout: 272 seconds)
14:08:07bobdaduckSo how would I use that?
14:08:23raptorit's misleading
14:08:26raptorit's not an event
14:08:30bobdaduckis it touchable at all?
14:08:33raptoris an enum
14:08:46bobdaduckyah
14:09:00bobdaduckwhat would it be used for in levelgens. Is it touchable?
14:09:10raptori know of know way to know when a scoring event takes place
14:09:19raptor*know of no
14:09:27bobdaduckwhat is the scoringEvent enum do.
14:09:34raptorthere's examples around it I think
14:09:50raptorlooks like it just lets you get the point value for a specific scoring event
14:09:58bobdaduckhuh.
14:11:03bobdaduckWell, uh... Request for lua API: event onPlayerScored(playerinfo, gametype)
14:11:52raptoryeah, good request
14:12:00raptorcan you open a google issue for me?
14:12:12raptorfeature request
14:12:32bobdaduckuh
14:15:07bobdaduck!bug
14:15:07BFLogBotTo enter a bug, please make sure it is reproducible and then go to http://code.google.com/p/bitfighter/issues/list | Also, see current running bug list: http://bitfighter.org/wiki/index.php/Running_Bug_List
14:16:39bobdaduckkdone
14:17:12raptorexcellent! thanks
14:23:07bobdaduckKnow what else would be really useful?
14:23:20raptorquestion for all the people: does anyone know of some opensource image sharing software that works like imgur/etc. but can be set up internally? like a pastie for images
14:23:34bobdaduckuh
14:23:39bobdaduckI use bitfighter.org/forums
14:23:43raptorinternally == privately
14:23:52raptorneeds to have drag and drop
14:24:15bobdaduckI got nothin'
14:24:37bobdaduckI'd really like to be able to manipulate individual projectiles via levelgen
14:24:55koda Quit (Quit: koda)
14:26:02bobdaduckEven if just adding/removing
14:27:07bobdaduckThough if I could do advanced things like burst:setLife() or phaser:setDamage() that would be nice too.
14:27:51WatusimotoI don't think we should be altering the fundamental physics of the game
14:28:03bobdaduckyeah yeah yeah xD
14:28:17bobdaduckI'm okay with that.
14:28:39Watusimotoraptor -- if you were on windows, I'd have a good solution for you
14:28:44Watusimotofor the image sharing
14:29:06bobdaduckOne other more out-there request: playerInfo:isKeyPressed()
14:29:14Watusimotoassuming you are not on windows though
14:29:58raptori need a web site to share stupid stuff with other developers internally
14:30:08raptorstupid stuff == code + screenshots, etc.
14:30:21raptori've set up an internal pastie that's really ugly
14:30:31raptorbut i need something for images..
14:31:06bobdaduckplayerInfo:isKeyPressed would actually be really nice...
14:32:02bobdaduckI dunno, is that even doable?
14:36:04raptorbobdaduck: not directly, you could only get things the server knows about: like ship movement, etc
14:36:28bobdaduckOkay how about this: isShipDroppingItem
14:37:06bobdaduckCould I use that to get every time someone presses the b key?
14:42:07raptorthat could be programmed, but the user could have it mapped to any key he wants
14:42:26bobdaduckRight right. Just isShipDroppingItem would be nice...
14:42:47bobdaduckShip:setHealth() and Ship:setEnergy() are going to be in 019, right?
14:44:33bobdaduckSorry just suddenly wanting updates on a lot of things
14:55:30LordDVG has joined
14:56:44bobdaduckuh so back to the tables questions: how do I put values in the second part of the table?
14:57:05bobdaducktable.insert(thisTable, value1, value2)?
14:57:28bobdaduckthisTable[value1][value2]?'
15:08:09kaen has joined
15:13:41kaen Quit (Ping timeout: 264 seconds)
15:46:12kaen has joined
16:01:00thread_ has joined
16:33:23bobdaduckalright heading to the home!
16:34:18bobdaduck Quit (Remote host closed the connection)
16:36:12LordDVG Quit (Remote host closed the connection)
16:36:50thread_what are the parameters on the ShipEnteredZone event?
16:37:32raptorthat's documented here: http://bitfighter.org/wiki/index.php/Scripting_018
16:37:46raptorwe need to get that junk into the luadocs somehow
16:38:47raptorback later
16:38:51raptor Quit ()
16:49:30thread_ Quit (Quit: Page closed)
16:52:57Watusimotoextra includes much?
16:53:32Watusimotohold on
16:53:34kaenmuch extra includes
16:53:37Watusimotomachine locked
16:54:32Watusimotohttp://pastie.org/7750381
16:54:44Watusimotomy shuffling things around is paying off
16:54:50Watusimotothis is the header for game.cpp
16:54:58Watusimotoor rather the top of that file
16:55:05Watusimotoshowing the includes I was able to remoe
16:55:21Watusimotoand this is before I started on any real work on the class
16:55:30WatusimotoI have 2-3 more that I think I should be able to get rid of
16:55:52Watusimotoother classes show similar results
16:56:04Watusimotothings are starting to get a bit untangled
16:56:20Watusimotoit is my goal to be able to add ship.cpp to our test framework without adding any opengl code
16:56:55kaencool!
16:57:21Watusimotoshould also make compiling a bit faster
16:57:26kaenI'm actually writing tests for HttpRequest right now
16:57:35Watusimotoexcellent!
16:57:43kaengoing swimmingly, but I'm having a bit of a rough patch
16:57:53WatusimotoI know the feeling
16:58:21kaenthe core functionality requires a socket to test against. I've made a mock socket that inherits from TNL::Socket, but I can't usefully override it's methods because they're non virtual
16:59:09kaenI don't really want to tweak the libraries any more than they are, so I'm sort of meditating on how to test timeouts and other connection errors
16:59:59Watusimotoyou could virtualize them
17:00:07Watusimotoor make the mock be the parent?
17:00:38kaenmy goal is not to touch anything in TNL
17:01:02kaenand not depend on mocks in production code (e.g. by doing Mock->foo() )
17:02:09koda has joined
17:03:23Watusimotowell, TNL is our baby now
17:03:26WatusimotoI think
17:03:48Watusimotoso virtualizing some methods so you can subclass wouldn't be the end of the world
17:09:06Watusimotonight!
17:14:41Watusimoto Quit (Ping timeout: 272 seconds)
17:29:55koda Quit (Quit: koda)
19:04:35raptor has joined
19:04:35ChanServ sets mode +o raptor
19:21:52kaen greetings
19:21:56raptorgreetings!
19:27:05raptorI should start gathering BBB maps..
19:27:08raptorwork work
19:30:48fordcars has joined
19:30:57fordcarsis bitfighter.org slow to anyone else?
19:31:05raptoralways!
19:31:09fordcarshaha
19:31:36raptorrunning fine for me...
19:32:20Flynnn has joined
19:34:22fordcarsok, it was only for a couple of minutes I guess
19:34:42raptormaybe your renter is torrenting again
19:35:16fordcarshahahaha probably!
19:35:52fordcarsI think he is moving out soon though :D
19:36:03raptoryou should use QoS and make sure he never uses more than 1/2 of the bandwidth throughput
19:36:19raptorif your router supports that
19:38:14fordcarsyeah, we have a few options like that, and we can even block internet completely or setup a schedule :P But he is (supposedly) paying most of the internet
19:38:24raptorah ok
19:40:15thread_ has joined
19:44:33thread_raptor, kaen, can I get your help? I need someone to connect to my server so I can make sure my scripts work for multiple players
19:44:42raptorok, i can
19:45:02thread_server is speaker for the thread
19:45:10raptorIP?
19:45:11thread_password is "wark!"
19:46:02thread_192.168.1.40
19:46:17raptorthat's an internal only IP
19:46:21raptoryou're begins with 68
19:50:20thread_whatever, you made it. glad to know it works
19:51:11thread_ has left
19:51:16kaenI think I like that more than bob's swords
19:51:21kaenhi Flynnn
19:51:34FlynnnYou sensed me switching tabs ._.
19:51:40FlynnnHello :)
19:52:45Flynnnwhy the hell
19:52:53Flynnnhas my browser decided to switch into http mode all of a sudden
19:52:57Flynnn** https
19:54:18Test has joined
19:54:20TestTest
19:54:28Test Quit (Client Quit)
19:56:02raptorTest
19:56:09raptorwas that bobdaduck?
19:56:14Flynnnthat was me lol
19:56:26FlynnnI was looking for your issues list and stumbled upon the irc app
19:58:49Flynnn Quit (Quit: Leaving)
19:59:11Flynnn has joined
19:59:18kaenFlynnn, code.google.com/p/bitfighter/issues
19:59:30Flynnnthankyou
19:59:35kaenyou bet :)
19:59:58kaenvery vexing unit tests...
20:00:06kaenbut it's a happy problem, imo :)
20:00:48Flynnnhehe
20:15:52raptorkaen: do you have an http directory listing of the levels on your server?
20:16:04kaenI do not
20:16:44raptorOK, I'll grab from here: http://sam6.25u.com/bitfighter/?C=S;O=A
20:17:15kaenI was just about to paste that link :)
20:17:32raptori had just remembered it...
20:20:15raptorback in a bit
20:28:40fordcarsbtw, isRobot() doesn't work anymore, not even in eliza
20:57:22fordcarswhy are there 2 of me!!! In Little_Monkey, another fordacars?!?
20:58:06fordcarsIt had 0 ping, I had 349
20:58:26fordcarsanyway, changing password :3
21:10:47raptorkaen: were the maps for the last contest released?
21:10:54raptorthe one Quartz did?
21:13:22fordcarslater guys
21:13:28raptornight
21:14:09kaenmaybe in the results thread?
21:14:17kaen99% sure he did
21:14:48raptorhmmm
21:15:07kaenraptor, http://bitfighter.org/forums/viewtopic.php?f=13&t=1894&p=19866&hilit=wild+west+results#p19866
21:15:12kaenbottom of that post
21:15:46raptorah ha!
21:15:50raptorthanks!
21:17:49fordcars Quit (Ping timeout: 245 seconds)
21:20:33raptorkaen: did your minefield.lua levelgen work with stock 018a?
21:20:42kaenyep
21:20:47raptoroh good
21:21:02kaencan't wait to play ricochet in a BBB :)
21:21:08raptoryeah!
21:21:18raptor(you correclty guessed that I'm hunting for the levels...)
21:21:20kaenI learned to bumper-car opponents into the minefields
21:24:22raptor10 down 31 to go!
21:24:26raptor35
21:39:44Platskies has joined
22:05:11raptorok I have all the levels I can get for the moment
22:05:18raptor28 of 45
22:05:27raptorneed bobdaduck to help with the rest, tomorrow, I think
22:30:45Platskies Quit (Remote host closed the connection)
22:41:53raptorthat's it!
22:42:00raptorI'm browsing the web with lynx from now on!!
23:04:41BFLogBot Commit: c647f17e4a27 | Author: kaen | Message: add HttpRequest tests, necessary mocks, and required TNL virtualizing
23:04:42BFLogBot Commit: ad0298a5eff7 | Author: kaen | Message: merge
23:05:29raptorcommits!
23:07:58raptorand good night!
23:08:01raptor Quit ()
23:28:58Flynnn Quit (Quit: Leaving)

Index Search ←Prev date Next date→

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