Timestamps are in GMT/BST.
00:21:35 | | -hobana.freenode.net- *** Looking up your hostname... |
00:21:37 | | -hobana.freenode.net- *** Checking Ident |
00:21:37 | | -hobana.freenode.net- *** No Ident response |
00:21:37 | | -hobana.freenode.net- *** Couldn't look up your hostname |
00:21:42 | | BFLogBot has joined |
00:21:42 | | Topic is 'Bitfighter 018a released! | http://www.bitfighter.org/downloads | Join us in the forums! at http://bitfighter.org/forums/' |
00:21:42 | | Set by watusimoto!~eykamp@SU115.tudor.lu on Wed Mar 06 15:04:30 GMT 2013 |
00:21:42 | | -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. |
01:12:31 | | fordcars has joined |
02:12:22 | | bobdaduck has joined |
02:28:26 | fordcars | ouch, the latest s_bot makes the game crash |
03:04:58 | | raptor has joined |
03:04:59 | | ChanServ sets mode +o raptor |
03:13:53 | raptor | bobdaduck: need helps with da levelzgenerationer? |
03:16:23 | bobdaduck | much. |
03:20:46 | fordcars | wow, raptor talking like swag and stuf, bro |
03:21:02 | raptor | ok ok |
03:21:12 | | raptor reverts to proper english from trash |
03:21:50 | fordcars | heh |
03:22:17 | bobdaduck | lol |
03:36:04 | kaen | oh man... |
03:36:08 | | BFLogBot Commit: 6d4e8c21f8eb | Author: kaen | Message: Add "Upload To DB" option in editor add writeFile and readFile util functions factor out getLevelText in EditorUserInterface |
03:36:33 | raptor | pandora's box!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
03:36:36 | kaen | bobdaduck you should build latest and give it a try. |
03:36:39 | kaen | yes indeed |
03:36:42 | bobdaduck | yah? |
03:36:45 | kaen | sorry for the massive commit... |
03:36:49 | raptor | does it force authentication? |
03:36:51 | kaen | yes |
03:37:03 | bobdaduck | okay I'm rushing to get this map finished |
03:37:05 | bobdaduck | but after that |
03:37:06 | kaen | doesn't update levels properly yet |
03:37:08 | bobdaduck | I'll take a look |
03:37:09 | | raptor exhales a breath of relief |
03:37:20 | kaen | also it will report a 302 error when it succeeds, but I'll fix that tonight. |
03:37:49 | raptor | WOW |
03:37:53 | raptor | good job! |
03:38:09 | kaen | thank you :) |
03:38:18 | fordcars | sounds really neat! |
03:38:30 | kaen | try it out fordcars :) |
03:38:34 | kaen | bitfighter.org/pleiades |
03:38:37 | kaen | is the url for the db |
03:38:45 | kaen | I think I |
03:38:49 | kaen | will add in-client rating too |
03:38:57 | raptor | ah fstream... |
03:39:11 | raptor | fstream I think is OK |
03:39:18 | raptor | but sstream... |
03:39:21 | kaen | sstream... |
03:39:26 | kaen | yes |
03:39:26 | raptor | string stream was like 50 times slower |
03:39:31 | raptor | in my performance tests |
03:39:56 | kaen | but it's only running in a thread and, for a non-time-critical task |
03:39:56 | raptor | so as long as it isn't anything in idle() sstream is probably OK.. |
03:40:32 | raptor | and how dare c++ have easy-to-use streams like java and not name them: FileInputStreamReader |
03:40:34 | raptor | ! |
03:40:46 | kaen | hehe |
03:40:47 | raptor | BufferedOutputStreamReader |
03:41:03 | raptor | it's how I upped my words-per-minute to 40! |
03:41:19 | kaen | hehe |
03:41:23 | kaen | my buddy does 120 |
03:41:29 | kaen | I peak at like 70 |
03:42:02 | raptor | testing upload... |
03:42:03 | kaen | my buddy isn't even a programmer. he just does a lot of online role playing... |
03:42:09 | | kaen crosses fingers |
03:42:17 | raptor | can't tell if it's finished |
03:42:24 | kaen | it'll give a message |
03:42:34 | kaen | unless the thread crashes |
03:42:38 | | fordcars Quit (Ping timeout: 245 seconds) |
03:42:39 | kaen | in which case you'll get nothing |
03:42:42 | raptor | so i chose the menu option, then it went back to the editor? |
03:42:48 | kaen | yep |
03:42:58 | kaen | I should make it say "uploading level" I think |
03:43:02 | raptor | do we need somesort of UI callback stuff? |
03:43:11 | kaen | there is a ui callback |
03:43:23 | kaen | and in that callback I make it return to the editor |
03:43:31 | raptor | ah |
03:43:31 | kaen | oh no, not for the message |
03:43:38 | kaen | if that's what you meant |
03:43:54 | raptor | ok, well, i'm not paying attention anymore... it may have worked. checking pleaiddiersssess |
03:44:02 | kaen | doesn't look like it :< |
03:44:20 | raptor | no console output yet.. |
03:44:22 | kaen | I uploaded ricochet and bebop with it fine |
03:44:25 | raptor | should I try again? |
03:44:29 | kaen | can't hurt |
03:44:49 | raptor | how quick would it be? |
03:44:55 | kaen | like 3 seconds |
03:45:00 | raptor | hmmm... nothing |
03:45:22 | kaen | I just tested it with the stock rabbit map too |
03:45:24 | raptor | although my level is like 130K |
03:45:29 | kaen | oh haha |
03:45:34 | kaen | that's exactly too big I think |
03:45:38 | kaen | the buffer is 128k |
03:45:41 | raptor | hahaha |
03:45:43 | kaen | I should increase that |
03:45:45 | raptor | ok, trying another.. |
03:45:55 | raptor | largest level was something like 'son of airlock' |
03:46:00 | raptor | at 1MB or so? |
03:46:03 | raptor | 900 K? |
03:47:02 | raptor | ok, uploaded a different one, got 302 immediately |
03:47:17 | kaen | good! |
03:47:22 | raptor | yay it's there! |
03:47:25 | raptor | great work! |
03:47:29 | kaen | weeeeeeeeeeeeeeeeeeeee! |
03:47:43 | kaen | now to work out the bugs |
03:47:49 | kaen | already have three lol |
03:48:53 | kaen | four: the download prefix is wrong |
03:49:09 | kaen | also it shouldn't be "download_" either imo. maybe "db_" ? |
03:49:20 | raptor | yeah, something shorter |
03:49:26 | raptor | feel free to change liberally |
03:49:51 | bobdaduck | ID 102 |
03:49:52 | bobdaduck | GG |
03:49:58 | kaen | ID 102 ? |
03:50:03 | bobdaduck | In my level. |
03:50:05 | kaen | I don't understand |
03:50:06 | bobdaduck | I have 102 id items |
03:50:11 | kaen | good god. |
03:51:11 | bobdaduck | oohhhh yes. |
03:51:15 | bobdaduck | Its nearing completion. |
03:51:19 | bobdaduck | Have to finish it today |
03:53:30 | kaen | bobdaduck I was meditating on your thoughts earlier regarding level db organization |
03:53:46 | kaen | obviously the current main page is useless as you pointed out |
03:54:10 | raptor | i would have a default presentation of 'newest' or 'popular' then allow sorting/searching |
03:54:25 | bobdaduck | yeah? |
03:54:36 | kaen | I was thinking several short divs with various types of latest/best lists |
03:54:39 | kaen | newest |
03:54:43 | kaen | recently commented on |
03:54:51 | kaen | most popular X this week/month |
03:54:52 | kaen | etc. |
03:55:05 | bobdaduck | Newest would work well |
03:55:06 | kaen | like 6 different headings in a 2-column format |
03:55:15 | bobdaduck | and some highlight levels as most popular |
03:55:28 | kaen | that would be a good entry point if you didn't know what you're looking for |
03:58:50 | kaen | wow I just looked over my url encoder... |
03:58:58 | kaen | nobody else look please. |
04:00:22 | raptor | all good code has been revised... |
04:06:12 | | Brixmon has joined |
04:06:50 | raptor | homework... sigh |
04:07:42 | kaen | hi Brixmon |
04:09:24 | bobdaduck | Hi Brixmon |
04:11:12 | raptor | hi Brixmon |
04:11:44 | raptor | you know we're small when all the members ping the newcomer... |
04:12:48 | bobdaduck | xD |
04:15:06 | bobdaduck | LEVEL COMPLETE |
04:15:08 | bobdaduck | BWAHAHAHAHAHAHA |
04:15:13 | raptor | do i get to test? |
04:15:17 | bobdaduck | yes |
04:15:20 | bobdaduck | I need six members |
04:15:29 | raptor | well there's 5 in kaen test right now... |
04:15:39 | raptor | pass? |
04:16:18 | bobdaduck | sec |
04:16:23 | bobdaduck | adding last polishes |
04:16:27 | bobdaduck | get everyone ready in lobby |
04:16:34 | raptor | me? |
04:16:47 | bobdaduck | yeah |
04:16:53 | bobdaduck | rally the troups! |
04:17:40 | raptor | ok, they're a-comin' to the lobby |
04:25:55 | | Brixmon Quit (Quit: Page closed) |
04:38:24 | bobdaduck | What'd ya think kaen? |
04:43:44 | kaen | I had no strong personal response |
04:44:01 | kaen | I didn't really see the end area though except for ~1s |
04:44:30 | kaen | did you build latest yet bobdaduck? |
04:44:35 | kaen | if anyone can break it I know you can. |
04:44:51 | kaen | large levels don't count because that's a known bug :) |
04:48:46 | bobdaduck | lol |
04:48:51 | bobdaduck | no I haven't built latest |
04:48:52 | bobdaduck | eating |
04:53:54 | | kaen Quit (Ping timeout: 256 seconds) |
04:55:11 | | kaen has joined |
04:55:41 | kaen | I ingest function calls for sustenance. |
04:59:52 | raptor | mmmm null pointers |
04:59:58 | raptor | heading home! |
05:00:02 | kaen | empty calories |
05:00:04 | | raptor Quit () |
06:00:30 | | BFLogBot Commit: f68fa0c9a96e | Author: kaen | Message: Clean up HttpRequest and improve level upload messages |
06:20:28 | | Platskies has joined |
06:24:48 | | Platskies Quit (Ping timeout: 260 seconds) |
06:53:15 | | Platskies has joined |
06:54:04 | bobdaduck | hg pull -u? |
06:57:07 | bobdaduck | building |
07:02:40 | bobdaduck | kaen: I downloaded ricochet II from the db |
07:02:54 | bobdaduck | and the .levelgen file was proper, but the .level file had no line endings. |
07:03:18 | bobdaduck | Also got build errors that I'm unwilling to fix |
07:06:30 | | Platskies Quit (Remote host closed the connection) |
07:07:03 | | Platskies has joined |
07:07:11 | | watusimoto has joined |
07:07:12 | | ChanServ sets mode +o watusimoto |
07:08:09 | bobdaduck | Watusimoto can you compile the latest? |
07:08:27 | watusimoto | hi |
07:08:35 | watusimoto | the latest in the repository? |
07:08:41 | watusimoto | I haven't tried for a couple of days |
07:08:51 | watusimoto | but it should compile |
07:08:56 | bobdaduck | I did pull -u |
07:08:59 | watusimoto | why do you ask? |
07:09:01 | bobdaduck | and I got some errors |
07:09:07 | watusimoto | like what? |
07:09:20 | bobdaduck | UIEditor.obj : error LNK2019: unresolved external symbol "public: __thiscall Zap::LevelDatabaseUploadThread::LevelDatabaseUploadThread(class Zap::ClientGame *)" (??0LevelDatabaseUploadThread@Zap@@QAE@PAVClientGame@1@@Z) referenced in function "void __cdecl Zap::uploadToDbCallback(class Zap::ClientGame *,unsigned int)" (?uploadToDbCallback@Zap@@YAXPAVClientGame@1@I@Z) |
07:09:28 | watusimoto | and what platform are you compiling on? |
07:09:28 | bobdaduck | weird errors. |
07:09:28 | bobdaduck | Windows 7 |
07:09:29 | bobdaduck | C++ 201 |
07:09:31 | watusimoto | Ah, link errors |
07:09:34 | bobdaduck | Yeah |
07:09:34 | watusimoto | ok |
07:09:42 | bobdaduck | Oh shoot! |
07:09:47 | bobdaduck | I have to add some folder don't I |
07:10:02 | watusimoto | one common cause of errors like this is someone has added new .cpp files, but they aren't in the project |
07:10:16 | watusimoto | in this case, this looks like a new class that kaen might have added |
07:10:34 | watusimoto | so you need to look for something like LevelDatabaseUploadThread.cpp |
07:10:54 | watusimoto | right click on the Zap folder on the project tree in VC++ |
07:11:14 | watusimoto | and look for files that might need to be included in the project |
07:11:35 | watusimoto | if you can't get it, I'll take a look tonight and try to get the project fixed up |
07:11:53 | watusimoto | oh, select Add Existing after you've right-clicked |
07:11:54 | | Platskies Quit (Ping timeout: 256 seconds) |
07:12:10 | bobdaduck | okay |
07:12:16 | bobdaduck | the file is there in the Zap folder |
07:12:33 | watusimoto | which file? |
07:12:42 | bobdaduck | levelDatabaseUploadThread.cpp |
07:12:53 | watusimoto | has it been added to the project? |
07:13:02 | bobdaduck | uhh |
07:13:04 | bobdaduck | maybe? |
07:13:04 | watusimoto | i.e. do you see it in vc++ |
07:13:28 | bobdaduck | I don't see it |
07:13:30 | bobdaduck | I think |
07:13:54 | watusimoto | the right-click on the zap folder in vc++, and click add existing and add the .cpp and the .h files |
07:13:55 | bobdaduck | How to add? |
07:14:24 | watusimoto | there should be a window or tab or pane or whatever called something like project explorer or ... something |
07:14:34 | watusimoto | a window that shows all the files in the project |
07:14:54 | bobdaduck | okay |
07:14:59 | bobdaduck | Think I found it, lets see. |
07:15:00 | watusimoto | i think it's on by default, but can be closed, so I'm not sure where it would be |
07:15:03 | watusimoto | ok good |
07:15:09 | bobdaduck | aight attempting to build again |
07:15:18 | bobdaduck | 1>c:\bitfightersourcetrue\zap\leveldatabasedownloadthread.cpp(57): error C3861: 'snprintf': identifier not found |
07:15:34 | watusimoto | not that again! |
07:15:56 | watusimoto | do a global search for snprintf. There is a comment in one of the tnl files that says what to replace that with |
07:16:14 | watusimoto | which I added a few days ago after getting the same error elsewhere |
07:16:40 | bobdaduck | okay so there's like eight billion results |
07:16:51 | watusimoto | look for one that's part of a comment |
07:17:11 | watusimoto | actually, give me one of the results |
07:17:20 | watusimoto | (not one from sqlite.cpp) |
07:17:34 | bobdaduck | //Note, according to http:blahahabahad, sprintf and _snprintf are not quite the same |
07:17:46 | watusimoto | ok, open that file and look at that line |
07:18:00 | watusimoto | right above or below there should be some explnanation |
07:18:25 | bobdaduck | not seeing it |
07:18:35 | watusimoto | there will be a set of lines that starts with #ifdef __MSVCC__ or something |
07:19:05 | bobdaduck | okay I see those |
07:19:17 | watusimoto | can you paste those here? |
07:19:24 | bobdaduck | / Note, according to http://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010, sprintf and |
07:19:30 | bobdaduck | / _snprintf are not quite the same, though the differences do not matter here. |
07:19:30 | bobdaduck | #if _MSC_VER |
07:19:30 | bobdaduck | # define snprintf _snprintf |
07:19:30 | bobdaduck | #endif |
07:19:39 | watusimoto | what file is that in? |
07:19:52 | bobdaduck | HTTPRequest.cpp |
07:20:12 | watusimoto | the #if _MSC_VER line? |
07:20:27 | bobdaduck | yeah |
07:21:11 | watusimoto | mmm... it shouldn't be. But in any case you can fix by pasting that #if block above the problem lines in your .cpp file |
07:22:04 | watusimoto | msvc++ has a fn called _snprintf, whereas gcc has snprintf, and this line says on vc++ use the _ version |
07:22:23 | watusimoto | it's a real pain |
07:23:23 | bobdaduck | woah it works |
07:23:38 | bobdaduck | oooh fancy level info |
07:23:42 | watusimoto | I'll have to implement a better fix tonight when my compilation fails |
07:25:01 | watusimoto | if you read that url, it will explain a bit more about why this stupid fix is so |
07:25:25 | watusimoto | if you care |
07:25:32 | bobdaduck | I don't want to do the technical part of programming! I just want the magic to come out. |
07:25:52 | bobdaduck | xD |
07:26:12 | watusimoto | sometimes the explanations of why crap is so crappy can be interesting... at least to me |
07:27:03 | bobdaduck | yeah |
07:28:26 | bobdaduck | okay so can someone disable turret friendly fire? |
07:28:56 | watusimoto | you mean you shooting turret, or being shot accidentally? |
07:29:07 | bobdaduck | All parts are stupid |
07:29:12 | bobdaduck | but looking at things objectively |
07:29:20 | bobdaduck | My turrets are better at killing me than enemies are |
07:29:22 | bobdaduck | and that is STUPID. |
07:29:32 | watusimoto | you're talking to someone who has always wanted friendly fire on in all situations |
07:29:33 | bobdaduck | ooooh lots of badges shiny |
07:29:37 | bobdaduck | xD |
07:29:59 | bobdaduck | Because people don't troll hard enough with mines already |
07:30:15 | watusimoto | mines are dangerous toys. |
07:30:20 | bobdaduck | No |
07:30:26 | bobdaduck | They're a tool for trolling your teamates |
07:30:53 | bobdaduck | You don't play often enough... |
07:31:54 | bobdaduck | Shiny badges! Do we know what all the designs might mean? |
07:31:58 | watusimoto | no, probably not :-) |
07:32:07 | watusimoto | to both comments |
07:32:07 | bobdaduck | hah okay |
07:32:23 | watusimoto | most are just designs to play with |
07:32:51 | watusimoto | and a sort of notebook of ideas so when we implement a badge we have some ideas to draw on |
07:33:11 | bobdaduck | I revoke my complaint about levelinfo animations |
07:33:21 | watusimoto | I figured :-) |
07:33:24 | bobdaduck | xD |
07:34:56 | bobdaduck | Want to see my april fools map? |
07:35:10 | watusimoto | I can't right now... sorry! |
07:35:20 | bobdaduck | aw |
07:35:33 | watusimoto | but I do want to see it |
07:35:49 | bobdaduck | NOT EVEN JUST FOR 30 SECONDS? |
07:36:05 | watusimoto | i can't run it at work |
07:36:11 | watusimoto | firewalls and such |
07:36:53 | bobdaduck | right |
07:36:54 | bobdaduck | Oh well |
07:58:03 | | Platskies has joined |
08:03:03 | | bobdaduck Quit (Remote host closed the connection) |
08:31:14 | | Platskies Quit (Remote host closed the connection) |
12:23:25 | | Watusimoto_ has joined |
13:04:37 | kaen | hello watusimoto. if you're around I believe the snprintf def can be removed from HttpRequest. I'll take the remaining call out of LevelDatabaseDownloadThread today |
13:05:16 | watusimoto | ok, thanks. it's part of the vc++ 09?? standard (?) which vc++ does not support |
13:06:34 | kaen | I'm so bad at tracking which functions are and are not standard :/ |
13:06:52 | watusimoto | well... it is standard. just not in vc++ ;-) |
13:07:11 | kaen | oh I see :) |
13:07:50 | watusimoto | the fix is easy ;; we just need to put that define somewhere central, and everything should work |
13:08:11 | watusimoto | vc++ does implement snprintf, it's just called _snprintf |
13:08:34 | watusimoto | so removing it is not actually necessary |
14:08:16 | | Watusimoto_ Quit (Ping timeout: 264 seconds) |
14:49:47 | | Watusimoto_ has joined |
14:54:08 | watusimoto | kaen: I think the TNL function dSprintf is an adequate substitute for snprintf -- it is cross platform |
14:55:13 | kaen | definitely. other tnl versions also have dAtoI and friends, although I couldn't find them in ours. |
14:56:12 | kaen | but I'm going to use sstream since it's a worker thread and I already use sstream in the other parts. Plus there's no buffer wrangling. |
14:59:10 | | Watusimoto_ Quit (Ping timeout: 264 seconds) |
15:09:55 | | Platskies has joined |
15:10:17 | | Platskies Quit (Remote host closed the connection) |
15:19:31 | | BFLogBot Commit: 9b0895a38d3f | Author: kaen | Message: use seekg and tellg to read a whole file at once |
15:26:06 | | Watusimoto_ has joined |
15:28:22 | | BFLogBot Commit: 50c1ed4a8827 | Author: kaen | Message: use writeFile in doSaveLevel. s_fprintf has a fixed buffer size |
15:30:58 | | Watusimoto_ Quit (Ping timeout: 264 seconds) |
15:51:53 | | kaen Quit (Ping timeout: 240 seconds) |
15:56:42 | | raptor has joined |
15:56:42 | | ChanServ sets mode +o raptor |
15:57:17 | raptor | hello |
16:06:10 | | kaen has joined |
16:08:41 | raptor | so... dSprintf is what we want for everything right? |
16:08:47 | raptor | the TNL one... |
16:08:56 | kaen | yeah |
16:09:06 | kaen | if you really want sprintf I mean.... |
16:09:07 | kaen | :) |
16:09:48 | raptor | yeah - it's used for all the string stuff in performance-critical areas |
16:10:29 | kaen | right |
16:11:07 | raptor | I think I actually tried replacing it once with something faster... but quickly got in over my head |
16:11:51 | | kaen looks under the hood |
16:12:35 | raptor | there was actually a thread on stackoverflow about finding the fastest one... |
16:12:50 | raptor | trying to find it.. |
16:16:32 | raptor | argh can't find it any more.. |
16:17:34 | kaen | hah dsprintf is just a #define wrapper for vsnprintf or _vsnprintf |
16:18:25 | kaen | I have a hard time imagining that one could beat an in-place buffer write |
16:19:18 | raptor | yeah... |
16:19:19 | kaen | unless maybe you used a function with more limited capabilities than printf to save time there. |
16:19:33 | raptor | maybe I'm thinking of something else... |
16:19:53 | kaen | I saw the thread for fastest number-only formatting |
16:19:58 | kaen | basically fast atoi loops |
16:20:05 | raptor | ^^ that was it |
16:21:05 | kaen | I'm not sure if you guys saw the 'delete this;' in my upload/download thread classes |
16:21:18 | raptor | oh yes - that gave me pause |
16:22:00 | raptor | I thought the thread should be deleted outside of itself, though I can't remember why.. |
16:22:14 | kaen | it's safe because it's the last operation it will perform on itself |
16:23:10 | kaen | and TNL's impelementation requires the object to exist when run() returns so that it can cast some return value that's never actually used... |
16:23:14 | kaen | so I can't use a local variable |
16:23:50 | kaen | actually I just can't use a local variable at all since the thread stores data on itself |
16:25:18 | raptor | this is a good site for performance tests: http://tinodidriksen.com/ |
16:27:13 | kaen | hey that is really good |
16:27:35 | raptor | yeah... except several of the fastest ones are BOOST related... which I don't want to touch |
16:27:42 | kaen | heh |
16:27:44 | raptor | *fastest winners |
16:28:48 | raptor | there's some weird algo called 'naive' that is used in several things that I don't exactly know what it means... |
16:29:55 | kaen | I think it's the schoolboy version of the algorithm -- what a prof would show you so understand the algo |
16:30:15 | kaen | as a baseline for performance comparisons |
16:30:42 | raptor | except it's like 10 times faster than the standard string to int test |
16:30:51 | raptor | 10 times faster than atof |
16:30:58 | raptor | err atoi, whatever |
16:31:04 | | raptor is looking at multiple comparisons |
16:32:13 | kaen | it uses bit operations to convert to ascii codes |
16:32:21 | raptor | crazy |
16:32:40 | kaen | that's exactly not what I'd call naive. |
16:32:45 | raptor | haha |
16:33:00 | raptor | it's intriguing |
16:33:49 | kaen | pardon me, there are no bit operations |
16:33:54 | kaen | but he's comparing ints to chars |
16:35:30 | kaen | I actually rewrote my urlencoder to do that last night ^^ |
16:35:50 | kaen | HttpRequest.cpp:190 |
16:36:11 | raptor | ha! |
16:36:30 | kaen | isn't it pretty? :) |
16:36:34 | raptor | so the assumption is that everyone keeps the standard ascii format for digits |
16:36:56 | kaen | yes exactly |
16:37:02 | kaen | in that sense his algo is quite naive |
16:37:36 | kaen | but UTF uses identical values for the ascii characters |
16:38:16 | raptor | oh wow, i just ran the tests... |
16:38:29 | raptor | without optimizations, naive() compares with atoi |
16:38:35 | raptor | but with -O3 |
16:38:44 | raptor | it's 3 times as fast |
16:38:52 | kaen | I believe that |
16:39:08 | kaen | it's small, highly optimizable routine |
16:39:34 | raptor | neat! |
16:41:50 | kaen | hmm I'm running out of bugs I think |
16:41:57 | kaen | I guess I have to do the hard one now |
16:42:15 | raptor | i always dread it when I hit that point... |
16:42:30 | kaen | Uploading new levels works fine -- updating an old one just creates a new one |
16:42:37 | kaen | or actually maybe it just fails silently now |
16:42:49 | raptor | you have PUT support in the HTTP client? |
16:42:59 | kaen | no just POST |
16:43:17 | raptor | doesn't the spec say POST is just create, but PUT is update? |
16:43:23 | kaen | yes |
16:43:32 | raptor | except PUT can be update or create I think.. |
16:43:37 | kaen | I don't know what the difference is in format. it might just be the method declaration |
16:43:47 | kaen | yes that's correct |
16:46:57 | kaen | so I guess I should be using PUT instead of POST, but I don't really want the client to decide between one or the other |
16:47:23 | kaen | I was thinking about adding a another level option: LevelDatabaseId |
16:48:20 | kaen | the db could append it once a file is uploaded, and a client could receive it in the response of an upload |
16:48:36 | kaen | that way it could add it to the local copy as well |
16:49:00 | kaen | if I use the id number for this, it will allow people to change their maps' name without creating a new entry |
16:50:14 | raptor | yes |
16:50:35 | raptor | we need an ID - so everything else about a map can be changed |
16:50:53 | kaen | yep |
16:51:15 | kaen | and then when the server gets an upload without a level id it can create a new one by default |
16:51:53 | raptor | good idea |
16:52:20 | kaen | and then the server can also do some string processing like it does with Script and LevelName to ensure the level contents are valid (enough for the db anyway) |
16:53:27 | kaen | right now it automatically pulls the levelgen filename and level name, and also constructs a unique normalized level filename |
16:53:40 | kaen | which also servers as a user-friendly identifier for /dlmap |
16:55:29 | kaen | the server actually uses this identifier to decide whether to insert or update, and this is the crux of the bug at hand |
17:00:54 | | watusimoto Quit (Read error: Operation timed out) |
17:12:35 | | Watusimoto has joined |
17:14:29 | raptor | IDs |
17:14:39 | raptor | is what we need... |
17:14:44 | kaen | already have them working server side |
17:14:53 | kaen | just need to wire up the client real quick |
17:15:09 | kaen | "real quick" |
17:15:48 | raptor | heh |
17:16:11 | kaen | oh boy. I get to dig into the levelloader. |
17:16:23 | raptor | NOOOoooo |
17:16:50 | kaen | first observation: LevelLoader is defined in gameLoader.h |
17:16:57 | kaen | this should be fun. |
17:17:10 | raptor | this is what I think of when I finally find the code: http://xkcd.com/292/ |
17:18:39 | kaen | OH GOD WHAT AM I LOOKING AT |
17:19:06 | kaen | as you can likely infer, I just saw the actual parser |
17:19:11 | raptor | hahaha |
17:19:22 | kaen | but I'm not here for that; I'll just turn my head and keep looking... |
17:19:30 | raptor | now you know why Watusimoto have stayed away... |
17:19:40 | raptor | *Watusimoto and I |
17:19:40 | kaen | yes |
17:19:46 | Watusimoto | hi |
17:19:53 | kaen | the only reason it needs to be a stateful parser is the quote handling |
17:20:00 | raptor | because it works... but completely un-understandable without lots of effort |
17:20:01 | kaen | which I argue is absolutely not needed |
17:20:19 | kaen | oh... textItem |
17:20:51 | kaen | but if the string is always the last argument then you still don't need quotes |
17:21:46 | kaen | #ifdef SAM_ONLY |
17:21:50 | kaen | wow this file... |
17:21:52 | raptor | haha |
17:22:52 | | koda has joined |
17:26:18 | Watusimoto | I actually think it's pretty understandable |
17:26:21 | Watusimoto | just messy |
17:27:09 | Watusimoto | just tossing that out there |
17:29:48 | raptor | :) |
17:31:03 | kaen | I agree. it's only got six states and it's obvious what they do |
17:31:23 | kaen | although not complex, I would say it is complicated |
17:31:28 | Watusimoto | and they have great names "eatingwhitespace" |
17:31:37 | kaen | or rather, it's a complication of the problem. |
17:31:58 | Watusimoto | it occupies a lot of space to do something that could be done with words = parse(line) |
17:32:04 | kaen | yes. |
17:32:22 | Watusimoto | and, in fact, we have a string parser that we already use for some stuff |
17:32:26 | Watusimoto | in stringutils, i think |
17:32:43 | Watusimoto | we may actually have two that are slight variants on the other |
17:33:15 | kaen | very slight it seems -- parseString even handles quotes |
17:34:20 | kaen | I think the difference is that parseString doesn't handle escaping |
17:44:15 | Watusimoto | I don't remember why we have two |
17:44:26 | raptor | we used to have three |
17:44:36 | raptor | I combined one once, I think |
17:44:40 | Watusimoto | probably had the one without escaping, then added one with ewscaping, and never bothered to remove the old and do the testing |
17:44:48 | Watusimoto | I do remeber that |
17:44:52 | raptor | all had different signatures |
17:44:59 | raptor | for whatever reason.. |
17:45:42 | Watusimoto | history is messy |
17:54:58 | raptor | i had a question for you Watusimoto last night... |
17:55:00 | raptor | hmm |
17:55:04 | raptor | oh |
17:55:04 | raptor | Lunar classes |
17:55:28 | raptor | In trying to convert the 'TeamInfo' class, the old constructor was like this: local team = TeamInfo(1) |
17:55:36 | raptor | where you'd pass in the number of the team you wanted |
17:55:47 | | bobdaduck has joined |
17:55:54 | raptor | but with converting to LuaW, that syntax doesn't work anymore |
17:56:50 | raptor | same with WeaponInfo |
17:57:26 | Watusimoto | what would work? |
17:57:46 | Watusimoto | what are we doing? fetching info about a team? |
17:57:58 | raptor | yes, included what players are on it,e tc. |
17:58:31 | Watusimoto | what if we did team = levelgen:getTeamInfo(1) |
17:58:47 | Watusimoto | though that seems a bit weird |
17:58:48 | raptor | GameInfo converted to LuaW ok because its constructor was GameInfo() which translated nicely into GameInfo.new() |
17:59:13 | bobdaduck | Wat off work? |
17:59:16 | Watusimoto | what I really want to do is team = game:getteamInfo(1) |
17:59:23 | raptor | ok |
17:59:27 | Watusimoto | at home, but about to cut up cauliflower |
17:59:35 | raptor | if that is the case, then I can do that... |
17:59:40 | Watusimoto | but we don;t ahve a game object |
17:59:45 | raptor | yes we do ish |
17:59:48 | raptor | GameInfo |
17:59:58 | Watusimoto | gameinfo.getTeamInfo(1) |
18:00:05 | Watusimoto | gameinfo.getWeaponInfo(1) |
18:00:07 | raptor | was the Lua psuedo-object that got loads of junk about the running game |
18:00:10 | raptor | yes |
18:00:16 | Watusimoto | that seems ok |
18:00:19 | Watusimoto | lots of infos |
18:00:33 | Watusimoto | but fundamentally logical |
18:00:43 | raptor | there was also a PlayerInfo and a RobotPlayerInfo, which are identical.. |
18:00:52 | Watusimoto | :-) |
18:00:57 | bobdaduck | So time to see my april fools map? |
18:01:06 | raptor | but the Ship c++ would instantiate the PlayerInfo, but the Robot class would do the other |
18:01:07 | Watusimoto | for about 1 min |
18:01:14 | Watusimoto | bobdaduck: 018a? |
18:01:15 | bobdaduck | okay |
18:01:21 | bobdaduck | yeah |
18:04:00 | Watusimoto | nuts! |
18:04:07 | Watusimoto | ok, back in a bit |
18:08:58 | | Watusimoto Quit (Ping timeout: 245 seconds) |
18:13:14 | bobdaduck | So raptor if I was to make a levelgen that modified everyone's loadouts... |
18:13:37 | kaen | seeker-only map please |
18:13:39 | raptor | yeah... i wonder.. |
18:13:43 | raptor | 3 seekers |
18:13:54 | raptor | 2 armors |
18:14:02 | bobdaduck | I'm trying to force tanker cloak seeker ninja |
18:14:08 | kaen | bahahah |
18:14:16 | raptor | what is the ninja part? |
18:14:23 | bobdaduck | Being a ninja. |
18:14:43 | raptor | tank ninja == armor cloak, according to quartz |
18:15:24 | bobdaduck | yeah |
18:16:38 | | Watusimoto has joined |
18:18:35 | raptor | Robot has setCurrLoadout |
18:18:38 | raptor | but not ship |
18:20:20 | Watusimoto | I did not anticipate changing players' loadouts |
18:21:23 | raptor | yeah, well, there is no limit to bobdaduck's imagination |
18:22:05 | Watusimoto | that concerns me |
18:29:18 | bobdaduck | xD |
18:29:30 | bobdaduck | The part where my imagination has no limits, or changing players loadouts? |
18:35:36 | Watusimoto | well, both really... they're connected in this case |
18:35:40 | Watusimoto | why would you want to do that? |
18:36:20 | bobdaduck | Because cloaking tanker seeker ninjas |
18:37:59 | bobdaduck | And dungeons |
18:38:08 | bobdaduck | And in levels where you want to make someone start with a default loadout |
18:38:53 | raptor | bobdaduck: methinks you are getting the sandbox/dungeon fever |
18:38:55 | bobdaduck | And to force everyone to use like, only seekers |
18:39:07 | bobdaduck | I told you before |
18:39:10 | raptor | because.. now that you *can* do crazy stuff, you are now compelled to |
18:39:28 | bobdaduck | I figure we've pretty much already thrown actual solid gameplay out the window so I might as well go along with it |
18:40:01 | bobdaduck | But I've only made like two levelgen dungeons so far and probably won't make a third |
18:40:07 | bobdaduck | (assuming I can ever finish this second one. |
18:40:09 | bobdaduck | ) |
18:40:15 | kaen | just make sure to tag it properly :) |
18:40:46 | bobdaduck | tag? |
18:41:42 | kaen | surely these qualify as "novelties" |
18:41:49 | bobdaduck | I suppose |
18:41:55 | bobdaduck | But what about like, Tron |
18:41:59 | kaen | "already thrown actual solid gameplay out the window" |
18:42:01 | bobdaduck | Is tron a competitive novelty? |
18:42:14 | kaen | hmm I'd say that's appropriate |
18:42:45 | bobdaduck | appropriate? |
18:43:03 | kaen | tron can appropriately be called a competitive novelty |
18:44:01 | kaen | since it maintains the paradigm of competitive play while also having novel mechanics |
18:44:23 | bobdaduck | levelgen carnival |
18:44:26 | bobdaduck | Lobby novelty? |
18:44:32 | kaen | there you go |
18:44:37 | kaen | you're already good at this |
18:44:52 | raptor | so basically because |
18:44:59 | raptor | a. we added better Lua scripting |
18:45:05 | bobdaduck | I think it might be best to not seperate tags. Make them more and more specific. So if someone searches "novelty" levelgen carnival doesn't come up. Only if you search lobby novelty |
18:45:10 | raptor | b. we have players who've figured it ou |
18:45:24 | bobdaduck | Makes things more specific allowing for better searches |
18:45:32 | kaen | bobdaduck, I'm going to allow AND, OR and NOT for searches |
18:45:42 | raptor | then it follows that we've shot ourselves in the foot with normal gameplay? |
18:45:46 | bobdaduck | that works |
18:46:18 | kaen | raptor, well, you've given the players the freedom to disregard gameplay when making and playing levels |
18:46:25 | kaen | and in fact you've facilitated that end |
18:46:37 | kaen | not so much that it has to be thrown out, but you're powerless to enforce it. |
18:46:41 | bobdaduck | what the knrl so many ricochets |
18:46:47 | raptor | i know! |
18:47:00 | bobdaduck | lol |
18:47:00 | kaen | yes I was testing some edge cases with updating/uploading |
18:47:25 | kaen | I should probably add a "delete" function too.... |
18:47:52 | bobdaduck | Novelties have always existed, but now the novelties have a "good/bad" tier of their own because levelgens. |
18:48:23 | Watusimoto | I will say I have really mixed feelings about the scripting (and not because of the bobdaduck levels) |
18:48:43 | kaen | yes. I think it's ultimately a gain because if we stimulate critical dialogue about them they will hopefully improve in quality |
18:48:49 | Watusimoto | it's a lot of work and i'm not sure the results will benefit the game |
18:48:56 | kaen | I have to agree Watusimoto |
18:49:08 | bobdaduck | everything ever. |
18:49:09 | kaen | imo I'd just scrap levelgens all together |
18:49:27 | Watusimoto | well, we'll see. one thing that has been proven to me is that players will do stuff I hadn't conceived of, and some of it is really awesome |
18:49:46 | bobdaduck | I'ma head to work |
18:49:49 | bobdaduck | Back in 15 |
18:49:51 | Watusimoto | laterz |
18:49:58 | raptor | so damage control |
18:49:59 | bobdaduck | WE WILL CONTINUE THIS CONVERSATION. |
18:50:10 | raptor | do i not help anyone do levelgens anymore? |
18:50:17 | kaen | hmm... |
18:50:26 | Watusimoto | the question is can levelgens actually improve a level? |
18:50:31 | raptor | because at least bobdaduck and Little_Apple have shown willingness to stick at it and learn themselves, too |
18:50:39 | Watusimoto | we have a pretty thin track record |
18:50:44 | bobdaduck | I haven't been able to make very many serious/actual levels with levelgens... My traitor's gate level is nifty but is it better than a level than a non-levelgen level? |
18:50:47 | | bobdaduck Quit (Remote host closed the connection) |
18:50:49 | Watusimoto | even mazeracer was somewhat of a novelty level |
18:51:46 | kaen | even ricochet only used levelgens grudgingly -- it really just wanted in-game support |
18:52:00 | kaen | that said, I personally have some ideas for competitive maps which use levelgens. |
18:52:22 | raptor | so maybe we keep the 'barrier to entry' high somehow? |
18:52:23 | kaen | the danger is commending honors to people who just do stupid levelgen tricks. |
18:53:30 | kaen | I think maybe we just adopt a stance of RTFM |
18:53:36 | raptor | yes |
18:53:36 | kaen | there's seed knowledge in the community now |
18:54:05 | Watusimoto | we might just be in the stupid trick phase as people learn how to do stuff |
18:54:13 | Watusimoto | wittness orbitbot and eliza |
18:54:17 | kaen | yes, I think we'll grow out of it |
18:54:19 | raptor | heh |
18:54:31 | raptor | orbitbot was my teacher... |
18:54:39 | kaen | we should also passively encourage people who use levelgens for sincerely competitive maps |
18:54:48 | Watusimoto | me too :-) i don't really care what people do in dungeon levels. |
18:54:59 | kaen | same. |
18:55:04 | Watusimoto | so if people want ot make flashy color wheels, then that's fine |
18:55:12 | kaen | not worth the mental energy of trying to regulate |
18:55:16 | Watusimoto | the question is will they hone their skills to make a good map? |
18:55:29 | kaen | I think they just need some good role models |
18:55:55 | Watusimoto | I hope so :-) |
18:56:25 | raptor | Quartz is a decent mapmaker even if somewhat 'salty' in-game :) |
18:56:36 | Watusimoto | I think the minefield script is an example of where a script can be good |
18:56:47 | raptor | and when he and bobdaduck make maps together, usually bobdaduck does a small levelgen script |
18:56:54 | Watusimoto | (haven't actually tried it though...) |
18:57:11 | kaen | it's got some issues I still haven't fixed. |
18:58:09 | Watusimoto | a question I posed earlier is woudl that be a good object to take out of the scripting realm and make a 'real' object? |
18:58:37 | kaen | from the technical standpoint of them existing, there are loads of benefits |
18:59:00 | kaen | but if they can be done workably lua, I don't think we should make them c++ |
18:59:18 | kaen | and there's not really strong demand for them from the community |
18:59:47 | Watusimoto | maybe because no one knows how to use them :-) |
18:59:55 | Watusimoto | they require some technical skill |
19:00:02 | kaen | they really got luke-warm reactions at best during the contest |
19:00:15 | Watusimoto | people don;t like mines |
19:00:18 | kaen | yes |
19:00:22 | Watusimoto | but i do :-) |
19:00:40 | raptor | haha |
19:00:48 | Watusimoto | ever since I read a history on booby traps I've been in favor! |
19:01:53 | Watusimoto | my favorite was a story from ww2 where the retreating germans put a huge bomb on a very slow fuse in a building they figured the allies would make their hq. 2 days later it blew up and killed a bunch of officers |
19:02:15 | kaen | oh wow I've never heard that one before |
19:02:21 | kaen | good guess. |
19:03:21 | Watusimoto | or my other favorite story about a series of houses that were booby trapped... so teh americans would trigger the trap and hide in a drainage ditch while the bomb went off. In the last house, the bomb was attached to another hidden in the drainage ditch, which killed everyone |
19:04:03 | Watusimoto | it seems like they had a sense of humor. sort of. |
19:04:19 | Watusimoto | maybe I can make a levelgen that does that! |
19:04:21 | | bobdaduck has joined |
19:04:47 | bobdaduck | okey what'd I miss |
19:08:02 | Watusimoto | we're getting rid of levelgens |
19:08:13 | kaen | yeah, too much hassle |
19:08:14 | bobdaduck | Like I said last time the minefield script-as-an-actual-object was brought up, I feel like mines and spybugs just need regen |
19:08:16 | bobdaduck | cool |
19:08:32 | Watusimoto | we're replacing it with universal engineer |
19:08:39 | bobdaduck | NOOOOOOOOOOO |
19:08:47 | bobdaduck | I DON'T EVEN KNOW WHAT THAT MEANS AND I'M OUTRAGED |
19:08:48 | kaen | engineerable ships |
19:08:55 | bobdaduck | xDDD |
19:08:57 | Watusimoto | engineerable everything, really |
19:09:04 | kaen | engineerable bitfighter |
19:09:13 | kaen | engineerable engineer modules |
19:09:16 | kaen | it'll be great bob |
19:09:19 | kaen | you'll love it. |
19:09:22 | Watusimoto | engineerable reality |
19:09:41 | Watusimoto | actually, if we added an engineerable girlfriend, we'd have a lot more players |
19:09:51 | bobdaduck | So... we're replacing levelgens with levelgens? |
19:09:52 | kaen | hehe |
19:09:59 | Watusimoto | but it might lose some of that wholesome quality we've got going |
19:10:02 | bobdaduck | elizabot? |
19:10:13 | Watusimoto | something like that :-) |
19:10:41 | Watusimoto | next checkin has another animation for you bobdaduck |
19:10:43 | | BFLogBot Commit: 5627c80a4634 | Author: watusimoto | Message: Formatting, dead code |
19:10:44 | | BFLogBot Commit: 09d35f3c8f6d | Author: watusimoto | Message: Animate loadout indicator changes... pretty subtle... |
19:10:46 | | BFLogBot Commit: d5ac8049d108 | Author: watusimoto | Message: Merge |
19:10:53 | bobdaduck | cool |
19:11:06 | bobdaduck | Makes the game more professional |
19:11:12 | Watusimoto | ok, dinner time. feedback welcome, as always |
19:11:17 | Watusimoto | back later |
19:13:13 | raptor | with kaen's http request code, maybe we can make bots hook into real chat bots! |
19:13:36 | bobdaduck | xD |
19:16:40 | | Watusimoto Quit (Ping timeout: 264 seconds) |
20:01:29 | bobdaduck | So, hats |
20:01:54 | bobdaduck | actually scratch that, I don't want to talk about hats. |
20:09:18 | raptor | BBB |
20:13:38 | | Watusimoto has joined |
20:18:44 | | BFLogBot Commit: 23c7b9567eb9 | Author: watusimoto | Message: We did something |
20:18:45 | | BFLogBot Commit: 3f905e8fff59 | Author: watusimoto | Message: Add missing classes to VC++ project |
20:26:00 | raptor | we did something |
20:26:50 | kaen | I read it twice |
20:26:55 | kaen | then I went to the project page |
20:27:00 | kaen | thinking it was broken over a newline |
20:27:05 | kaen | and then I looked at the diff |
20:27:10 | kaen | and then I was like ._. |
20:27:17 | raptor | haha me too! |
20:37:58 | bobdaduck | hm? |
20:38:06 | raptor | so BBB |
20:41:32 | Watusimoto | Glad I could entertain you gentlemen! |
20:44:23 | bobdaduck | So BBB |
20:44:31 | raptor | maps! |
20:44:46 | raptor | looks like we've gathered about 1/3 of what we'd need |
20:44:57 | bobdaduck | I haven't looked at a map list in earnest |
20:45:12 | bobdaduck | And also I think usually we have people suggest maps they'd like in the BBB |
20:47:02 | raptor | so I should open a thread? |
20:47:25 | raptor | usually I'd have a date set first |
20:49:18 | bobdaduck | April 20ish |
20:51:15 | kaen | \o/ |
20:51:38 | kaen | BFLogBot? |
20:51:42 | bobdaduck | Actually, april 20 solid works great |
20:51:48 | bobdaduck | !bot |
20:51:48 | BFLogBot | I'm a real boy! |
20:51:48 | kaen | !bot |
20:51:48 | BFLogBot | I'm a real boy! |
20:52:39 | kaen | needed to merge first... |
20:52:39 | kaen | \o/ |
20:52:46 | | BFLogBot Commit: dbb6f230b586 | Author: kaen | Message: add LevelDatabaseId support to client |
20:52:47 | | BFLogBot Commit: 50fb3a596c81 | Author: kaen | Message: merge |
20:53:00 | raptor | oooo |
20:53:05 | kaen | so... the client is feature complete now afaik |
20:53:22 | kaen | uploading, downloading, and updating |
20:53:35 | bobdaduck | nice! |
20:55:04 | | Little_Apple has joined |
20:55:10 | Little_Apple | hello |
20:55:28 | kaen | hello |
20:56:01 | Little_Apple | i found a refference in the bitfighter luadocs.... |
20:57:35 | Little_Apple | in the bots section: |
20:57:36 | Little_Apple | function getName() |
20:57:47 | Little_Apple | return("Asimov") |
20:57:49 | Little_Apple | end |
20:57:53 | raptor | heh |
20:58:24 | raptor | If you don't supply a name to a bot, it's *supposed* to have a random one added chosen from a list |
20:58:27 | Little_Apple | im guessing its a refference to isaac asimov? |
21:00:04 | kaen | no, it's Asimov S. Bot |
21:00:14 | kaen | trolololol |
21:00:51 | kaen | I've been staring at the computer screen for too long |
21:01:00 | raptor | haha |
21:02:18 | bobdaduck | lol |
21:02:30 | Little_Apple | does the timer function work any different with a bot than in a levelgen? |
21:03:03 | raptor | no |
21:03:08 | Little_Apple | ok |
21:03:19 | raptor | bots *require* onTick() I think |
21:04:20 | Little_Apple | arent they subscribed to that be default? |
21:04:27 | raptor | yes |
21:11:03 | raptor | engineering teleporters: success or failure? |
21:11:25 | kaen | overall success imo |
21:11:46 | kaen | I feel like they're well balanced, although they have a high cost of risk to use |
21:12:00 | raptor | yes |
21:12:06 | raptor | do they need to be repairable? |
21:12:13 | bobdaduck | I'm against anything that gives engineer more power |
21:12:20 | bobdaduck | yes they need to be repairable, for consistency sake |
21:12:47 | kaen | I think you should also be able to deploy the pieces separately |
21:12:56 | kaen | although I imagine there's a technical limitation there. |
21:13:16 | bobdaduck | Giving engineer more variety than just "forcefield or turret" is nice |
21:13:22 | kaen | yep |
21:16:54 | Watusimoto | bots can unsbscribe from onTick |
21:17:27 | raptor | I think 'kaen test' is becoming ever more corrupted - I keep finding like 4 variaions of several maps, and many more that all say 'edited by Lamp' (not to mention the troll maps) |
21:17:58 | kaen | well, it can have eternal slumber shortly |
21:18:04 | bobdaduck | Whoo! |
21:18:15 | kaen | I didn't have the foresight to back up all of the maps before I put it up :/ |
21:19:00 | bobdaduck | At some point I will probably raid the server of every map that can ever possibly be worthwhile |
21:19:18 | bobdaduck | I've tried to do it like five times now but like eight people always join the game which interfere's with my /nextmap spam |
21:19:22 | kaen | actually I think I'll leave it up and just have chron wipe the maps every 24 hours |
21:19:38 | kaen | bobdaduck, same made a zip you could pick through on a local server |
21:19:48 | raptor | actually |
21:20:01 | bobdaduck | that's too harddd |
21:20:09 | bobdaduck | I'ma just raid it for maps. |
21:20:15 | kaen | good luck |
21:20:18 | bobdaduck | Probably in the morning when noone's on |
21:20:24 | raptor | I think sam686 had a cleaning cron - it would move unused levels after a week or so |
21:20:36 | raptor | also he put up an HTTP dir listing of all the maps in the levels folder |
21:20:56 | bobdaduck | That'd be really nice, actually. To wipe kaen test every few days |
21:21:09 | bobdaduck | Except for like, a lobby map |
21:21:11 | kaen | that's what I'll do then |
21:21:33 | raptor | i don't know how he determined a level was unused... maybe file access time? |
21:21:40 | kaen | sounds right |
21:21:47 | kaen | yes, one lobby map would be a good touch |
21:22:02 | kaen | couldn't be overwritten, and would keep the server from crashing if all the others were wiped |
21:22:14 | kaen | I'll have to find a good one |
21:22:32 | raptor | one of the tutorial maps :) |
21:22:42 | kaen | genius |
21:23:12 | bobdaduck | raptor |
21:23:16 | raptor | bobdaduck |
21:23:17 | bobdaduck | have you seen Quartz tutorial? |
21:23:19 | bobdaduck | Its amazing |
21:23:22 | raptor | no? |
21:23:25 | raptor | really? |
21:23:29 | bobdaduck | You gotta see this |
21:23:35 | raptor | you have it? |
21:23:42 | bobdaduck | its on kaen test |
21:23:54 | Little_Apple | its the best one ever made |
21:26:59 | raptor | kaen: I've been thinking of other ways to encode our usernames into consistent things other than words |
21:27:06 | raptor | like in-game icons |
21:27:12 | kaen | awesome! |
21:27:22 | bobdaduck | awesome! |
21:27:23 | raptor | or arty-like things |
21:27:24 | raptor | somehow |
21:27:27 | bobdaduck | And ship shapes! |
21:27:35 | bobdaduck | and hats! |
21:27:37 | kaen | like the fractal geometry stuff on SO? |
21:27:38 | bobdaduck | No scratch that |
21:27:39 | bobdaduck | No hats. |
21:27:44 | raptor | kaen: exactly! |
21:27:58 | raptor | just a silly idea.. |
21:28:00 | kaen | oh man that sounds awesome |
21:28:10 | kaen | yes, I'm a big fan of silly ideas |
21:28:25 | kaen | and also fractals and geometry |
21:28:57 | kaen | so I guess it's time to polish up the web app a bit |
21:29:29 | kaen | what are your thoughts about releasing the web UI? |
21:29:31 | raptor | question: if Lamp logs in, grabs my map, edits it, and tries to reupload; what happens? |
21:29:43 | kaen | it will fail |
21:29:45 | bobdaduck | Because he does that ALL THE TIME. |
21:29:50 | kaen | unless he removes the id entry |
21:29:56 | bobdaduck | Why will it fail? |
21:30:01 | bobdaduck | the levelcredits line? |
21:30:03 | kaen | he doesn't have perms for that map id |
21:30:10 | kaen | no, there's a LevelDatabaseId line now |
21:30:11 | raptor | ok |
21:30:21 | bobdaduck | excellent |
21:30:31 | bobdaduck | is it visible/editable from ingame? |
21:30:36 | kaen | if he does remove the entry it will be put up as lamp_rave_party |
21:30:37 | bobdaduck | Because please tell me its not. |
21:30:39 | kaen | no |
21:30:43 | kaen | except |
21:30:44 | bobdaduck | WHOO |
21:30:53 | | fordcars has joined |
21:30:53 | kaen | the upload message changes based on whether it's set or not |
21:31:05 | kaen | so you know if you're uploading a new map or updating an old one |
21:31:12 | raptor | and if I put another name in the levelcredits, like 'Lamp' and try to upload it (a new map), what happens? |
21:31:28 | kaen | no processing is done on level credits |
21:31:45 | raptor | oh really |
21:31:47 | raptor | ok |
21:31:57 | bobdaduck | I feel like there's so many problems with this system |
21:32:02 | bobdaduck | but at the same time that it just might work |
21:32:03 | bobdaduck | xD |
21:32:07 | kaen | list as many as you can think of :) |
21:32:13 | kaen | I think it's pretty locked down |
21:32:15 | raptor | bobdaduck: yes, but little by little it will become better |
21:32:22 | raptor | so |
21:32:24 | kaen | you should see the tests I wrote. |
21:32:29 | kaen | much more devious than any 12 year old |
21:32:32 | bobdaduck | lol |
21:32:36 | bobdaduck | I dunno about that |
21:32:37 | raptor | you have concept of ID and uploader |
21:32:41 | bobdaduck | our 12 year olds are pretty devious |
21:32:44 | raptor | no author? |
21:32:59 | kaen | uploader will be changed to author |
21:33:03 | raptor | ok |
21:33:11 | kaen | under the assumption that you only upload your own maps |
21:33:11 | raptor | because of forced authentication, right? |
21:33:15 | kaen | yes |
21:33:57 | Little_Apple | so... i made a bot |
21:34:04 | kaen | cool! |
21:34:04 | raptor | I KNEW IT |
21:34:23 | kaen | secretly |
21:34:27 | kaen | I want to have a bot written comp |
21:34:31 | kaen | tournament style 1v1 |
21:34:40 | kaen | bot writing* |
21:34:47 | raptor | ha! |
21:34:50 | raptor | good idea |
21:34:51 | bobdaduck | xD |
21:34:57 | kaen | I've been dreaming about it for a while now |
21:35:03 | raptor | wait... didn't we have an idea for a tournament at one time? |
21:35:03 | Little_Apple | and maybe 4 people at max would enter... |
21:35:15 | bobdaduck | I can make a level for it! |
21:35:15 | kaen | yes, to both of you |
21:35:21 | kaen | but not you bob |
21:35:27 | kaen | YOU MAY NOT PARTICIPATE |
21:35:37 | bobdaduck | xD |
21:35:40 | bobdaduck | :( |
21:35:42 | kaen | ... I'm just being silly |
21:36:00 | kaen | but yeah I still want to do the 2v2 tourny too |
21:36:16 | kaen | but I was actually hoping to get spec mode working and write in tourny support for 019 |
21:37:06 | kaen | but we don't really need it as long as we have screen shots |
21:37:24 | bobdaduck | Spec mode would be cool. |
21:37:28 | bobdaduck | Better than /idle. |
21:37:41 | bobdaduck | And can I have an option to disable server idle kicking? |
21:40:04 | bobdaduck | So I obsess with manipulating bitfighter's culture.... |
21:40:20 | bobdaduck | No hats. |
21:40:23 | bobdaduck | Hats could be cool though. |
21:40:30 | bobdaduck | Ship emoticons was my first attempt. |
21:40:43 | Little_Apple | reddit had hats yesterday. |
21:40:47 | bobdaduck | The zapdance smiley is a good start. But I can go further! |
21:41:13 | Little_Apple | also, http://bitfighter.org/forums/viewtopic.php?f=12&t=1916&p=19712#p19712 |
21:41:21 | bobdaduck | saw it |
21:41:53 | bobdaduck | lol |
21:41:56 | bobdaduck | haven't tested it but |
21:42:48 | bobdaduck | ARE YOU GUYS NOT FASCINATED BY THE CULTURAL DYNAMIC WE HAVE AS A COMMUNITY? |
21:43:22 | bobdaduck | I always want to poke it and see what happen. |
21:43:38 | Little_Apple | it oozes soy sauce. |
21:43:44 | | raptor reminds everyone there is a reason he doesn't have access to 'Off-Topic' |
21:44:51 | Little_Apple | ok quick question. can a levelgen add bots? |
21:45:00 | raptor | I don't think so |
21:45:06 | Little_Apple | aw ok |
21:45:19 | raptor | Watusimoto may have had plans at one time.. |
21:45:32 | Little_Apple | i think it could be a pretty cool feature |
21:46:06 | bobdaduck | Not even just off topic! The players we have are all so diverse! What would happen if there was bitfighter currency? What if our forums emoticons were all bitfighter themed? What if ships had hats? |
21:46:30 | Little_Apple | i can has fez plis |
21:48:08 | bobdaduck | We're all so into the game, that we've started seeing faces and emotions in those triangles, and I can decorate them and make them MEAN something. |
21:48:43 | raptor | ok, in my name-to-color-generator |
21:48:56 | raptor | kaen is (RGB): #0332ff |
21:49:06 | raptor | bobdaduck: #d52811 |
21:49:20 | raptor | raptor: #15ab4e |
21:49:27 | Little_Apple | there should be a feature that lets you use a webcam and by using facial recognition, replace the triangle ship with a vector graphic rendition of the player's face. |
21:49:37 | raptor | watusimoto: #f11d4a |
21:49:41 | raptor | (hot pink!) |
21:49:52 | bobdaduck | NOT FAIR. |
21:50:13 | raptor | Little_Apple: #115efb |
21:50:32 | bobdaduck | Please tell me you're releasing this with 019 |
21:50:41 | raptor | am I? |
21:50:52 | raptor | I thought I was just doing silly stuff |
21:51:00 | bobdaduck | For the global chat |
21:51:04 | kaen | I, too, think it would be really cool |
21:51:04 | bobdaduck | lobby |
21:51:20 | raptor | bobdaduck: your a very aggressive red |
21:51:23 | raptor | *you're |
21:51:37 | raptor | I think I got all the HSV stuff to stay in a good range |
21:52:07 | bobdaduck | Make it so wat and I are switched pls |
21:52:10 | raptor | but bobdaduck brought up the problem - people will say their color isn't what they want... |
21:52:12 | bobdaduck | (kidding, I am content) |
21:52:24 | bobdaduck | People won't know there's an algorithm at all |
21:52:26 | Little_Apple | wait.. why am i blue? |
21:52:34 | kaen | it's based on your username |
21:52:35 | bobdaduck | da ba dee da ba die |
21:52:42 | raptor | because the code chose you to be |
21:52:44 | Little_Apple | who's ever heard of a blue apple?? |
21:52:49 | bobdaduck | lol |
21:53:02 | Little_Apple | well.. actually... |
21:53:03 | kaen | BLUE HIS HOUSE WITH A BLUE LITTLE WINDOW |
21:53:07 | kaen | AND A BLUE CORVETTE |
21:53:14 | raptor | NOOOO (my ears!) |
21:53:17 | bobdaduck | And everything is blue, for him |
21:53:18 | bobdaduck | xD |
21:53:27 | Little_Apple | i guess this works.. http://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Indigo_iMac_G3_slot_loading.jpg/250px-Indigo_iMac_G3_slot_loading.jpg |
21:53:37 | bobdaduck | xD |
21:53:49 | kaen | It took me almost five years to get that song out of my head last time... |
21:53:51 | kaen | thanks a lot bob |
21:54:33 | bobdaduck | I have that as my ringotne |
21:54:34 | bobdaduck | lol |
21:55:09 | bobdaduck | BUT I CAN FIX IT. We'll replace it with dubstep! |
21:55:14 | Little_Apple | nooooo |
21:55:30 | Little_Apple | oh oh oh oh new daft punk album |
21:55:46 | kaen | BLUEEE WOMWOMWOM DABADEEDEEDEEDEE |
21:55:51 | bobdaduck | xDD |
21:56:22 | bobdaduck | Hey, you gotta admit, a dubstep version would not get stuck in your head for years. |
21:56:55 | raptor | the human brain has a tendency to forget pain, you're right |
21:57:15 | kaen | hey, any ideas for a better name than pleiades? |
21:57:24 | kaen | I'm tired of misspelling it. |
21:57:27 | bobdaduck | xDD |
21:57:33 | raptor | cassiopeia? :-D |
21:57:34 | bobdaduck | sedaielp |
21:57:40 | kaen | heh |
21:57:51 | kaen | I actually thought of cassiopeia first |
21:58:02 | kaen | which is why pleiades seemed easy to remember at the time... |
21:58:18 | bobdaduck | xD |
21:58:33 | raptor | http://en.wikipedia.org/wiki/List_of_constellations |
21:58:35 | bobdaduck | Hermes |
21:58:41 | raptor | draco |
21:59:03 | Little_Apple | my bot should come packaged with the game. |
21:59:05 | bobdaduck | Hermes, messenger in greek mythology |
22:00:08 | raptor | actually these names would be a better fit thematically: http://en.wikipedia.org/wiki/List_of_open_clusters |
22:00:29 | kaen | Triangulum |
22:00:33 | kaen | seems appropriate |
22:00:34 | raptor | haha |
22:01:01 | kaen | but yes start clusters are more what I was looking for |
22:01:02 | bobdaduck | "wild duck" |
22:01:08 | kaen | star clusters* |
22:01:11 | kaen | yes I saw that too :) |
22:01:18 | bobdaduck | That's my final vote. |
22:01:47 | bobdaduck | Time for lunch! |
22:01:50 | | bobdaduck Quit (Remote host closed the connection) |
22:24:51 | | bobdaduck has joined |
22:25:14 | Little_Apple | hello |
22:25:42 | bobdaduck | hai guise |
22:26:14 | raptor | huh, it's broke |
22:26:38 | Little_Apple | fun |
22:27:04 | bobdaduck | what is? |
22:30:25 | raptor | i |
22:30:26 | raptor | m |
22:30:29 | raptor | an |
22:30:30 | raptor | id10t |
22:31:16 | bobdaduck | cool |
22:33:42 | raptor | ok Little_Apple it's fixed |
22:33:48 | Little_Apple | :D |
22:37:37 | | fordcars Quit (Ping timeout: 245 seconds) |
22:50:53 | Little_Apple | it works! amazing! |
22:52:12 | Little_Apple | doesnt change name if targeting someone on opposite team tho |
22:52:59 | Little_Apple | im off for now |
22:53:07 | | Little_Apple Quit (Quit: Page closed) |
22:54:14 | raptor | boo |
22:57:18 | | koda Quit (Quit: k thx bai) |
23:01:34 | | fordcars has joined |
23:02:11 | raptor | ok fixed again |
23:02:14 | raptor | and heading home! |
23:02:17 | | raptor Quit () |
23:12:41 | | SolumnMushroom has joined |
23:15:22 | SolumnMushroom | I have been trying to install various Linux distros on my iBook G4 over Mac OS X 10.5 because Apple is stupid. So far nothing has worked. Any ideas? |
23:15:42 | SolumnMushroom | I've tried Debian and Fedora so far |
23:18:20 | fordcars | OpenSuse? |
23:18:49 | fordcars | check if you have the right architecture distro, since you have PPC and Linux is normally arm |
23:20:51 | fordcars | this is the best way== http://mintppc.org/about |
23:20:56 | fordcars | ppc mint linux |
23:25:24 | kaen | SolumnMushroom, any info on how they didn't work? |
23:25:44 | kaen | if the livecd didn't even boot then it's likely because you got the wrong arch |
23:26:07 | SolumnMushroom | Debian won't boot and Fedora crashes with no error message |
23:26:07 | kaen | crashes? |
23:26:07 | kaen | when |
23:26:08 | kaen | ? |
23:26:55 | fordcars | what is the exact distro you are using? |
23:27:30 | kaen | fordcars did you check out the level db yet? |
23:28:07 | fordcars | euh, no... Do you need the latest Bitfighter? |
23:28:13 | SolumnMushroom | Debian is 6.0.7 PPC and Fedora 11 |
23:28:21 | kaen | well, you do for uploading/downloading via the client :P |
23:28:21 | SolumnMushroom | PPC |
23:28:21 | fordcars | huh |
23:28:34 | kaen | but it's got a web page at bitfighter.org/pleiades |
23:28:59 | kaen | still in alpha though... |
23:29:22 | fordcars | hehe nice! are you hosting that on bitfighter.org? |
23:29:34 | fordcars | oh yeah you are :P |
23:29:43 | kaen | :) |
23:30:00 | kaen | it uses the forum user accounts for logging in |
23:30:08 | fordcars | nice |
23:30:26 | kaen | yeah and I just got uploading/updating in the editor working this morning if you build from latest |
23:30:28 | SolumnMushroom | Going to try MintPPC now |
23:30:49 | fordcars | ok |
23:30:52 | kaen | SolumnMushroom, good luck! |
23:30:58 | SolumnMushroom | It would help if I plugged in my CD/DVD drive... |
23:31:07 | kaen | :| |
23:31:26 | SolumnMushroom | I need an external for my netbook |
23:32:19 | fordcars | argh. If you want, you can use target disk mode if you have a another mac with a disk drive somewhere |
23:33:20 | SolumnMushroom | It's not a problem with the G4, it works fine. It's a problem with my Windows computer. It doesn't have a CD/DVD drive built in |
23:34:07 | SolumnMushroom | To the ethernet cord! |
23:35:09 | fordcars | haaaaa ok |
23:35:35 | SolumnMushroom | I don't trust my wireless card without any drivers... |
23:36:25 | SolumnMushroom | BTW, I already wiped my drive so good riddence to PPC Mac OS |
23:41:38 | SolumnMushroom | So much for Mint. I think it's getting standard Debian. |
23:41:54 | SolumnMushroom | I could be wrong though |
23:42:51 | fordcars | well, it's specially made for ppc... |
23:42:59 | fordcars | but I just found that quick |
23:46:33 | SolumnMushroom | "The debootstrap program exited with an error (return value 127)." |
23:46:44 | SolumnMushroom | I hate my life... |
23:52:43 | SolumnMushroom | Let's try something else... |