Timestamps are in GMT/BST.
| 00:04:52 | | raptor has joined |
| 00:04:52 | | ChanServ sets mode +o raptor |
| 00:36:26 | | raptor Quit () |
| 00:42:42 | | Little_Apple has joined |
| 00:42:47 | Little_Apple | helloo |
| 00:51:13 | | sam686 has joined |
| 00:51:14 | | ChanServ sets mode +v sam686 |
| 01:01:44 | | Little_Apple Quit (Quit: Page closed) |
| 01:11:02 | | raptor has joined |
| 01:11:03 | | ChanServ sets mode +o raptor |
| 01:43:51 | | Little_Apple has joined |
| 01:43:54 | Little_Apple | helloo |
| 01:44:00 | raptor | hi |
| 01:44:13 | Little_Apple | whatcha doin? |
| 01:44:21 | raptor | falling asleep at the keyboard |
| 01:44:32 | Little_Apple | ah. may i bother you? |
| 01:44:37 | raptor | ok |
| 01:44:44 | raptor | the answer is false |
| 01:44:48 | raptor | no.. B |
| 01:45:13 | Little_Apple | would you know of any good beginning lua tutorials? |
| 01:45:42 | raptor | are you thinking specifically about bitfighter's Lua? |
| 01:46:43 | Little_Apple | no, just lua in general |
| 01:46:58 | Little_Apple | like for an original game |
| 01:47:23 | raptor | I'd start here: http://luatut.com |
| 01:48:12 | Little_Apple | is that an introduction to programming with lua or just the language? |
| 01:49:11 | raptor | looks like just Lua stuff, taught simply |
| 01:49:17 | Little_Apple | ok... |
| 01:49:23 | raptor | some idea of how programming works is always useful |
| 01:49:46 | Little_Apple | so its a tutorial for people with no prior programming knowledge? |
| 01:49:54 | raptor | I don't think so |
| 01:50:03 | Little_Apple | ok |
| 01:50:07 | raptor | i think it expects some minimum programming knowledge |
| 01:50:16 | Little_Apple | k |
| 01:50:17 | raptor | actually |
| 01:50:20 | raptor | it's pretty basic |
| 01:50:31 | raptor | the first lesson even tells you what a 'for' loop is |
| 01:50:41 | Little_Apple | er.. |
| 01:51:05 | Little_Apple | yea id need an extreme programming basics tutorial. |
| 01:54:20 | Little_Apple | any basic crash course game tutorials? |
| 01:54:34 | raptor | oh yikes - i'm sure there are |
| 01:54:54 | Little_Apple | ok.. |
| 01:55:00 | Little_Apple | i should look into it more. |
| 01:55:05 | Little_Apple | and put much more effort into it. |
| 01:55:06 | raptor | game programming can go very in-depth, though |
| 01:55:16 | Little_Apple | yep |
| 01:55:24 | raptor | like if you really want to learn to be a good programmer, do a game :) |
| 01:55:37 | raptor | because it requires so many varied skills |
| 01:55:45 | Little_Apple | id probably make some terrible 2d tf2 rip off |
| 01:55:57 | raptor | heh |
| 01:56:09 | Little_Apple | but then again i have some ideas that arent completely stolen |
| 01:57:12 | Little_Apple | id also like to help with bitfighter development if i ever do learn c++ or lua. well. |
| 01:57:43 | sam686 | there are several kinds of programming language... Bitfighter uses C++ compiling and LUA script, there is java which usually automatically works on multiple platforms (most java programs runs on both windows / linux / mac) |
| 01:59:23 | Little_Apple | java is better as coffee |
| 02:00:04 | raptor | coffee = gross *hack*hack* |
| 02:00:16 | sam686 | C++ often have the best runtime speed and smaller RAM usage (but sometimes very slow compiling if programs gets very big due to huge number of C++ headers to include) |
| 02:00:23 | Little_Apple | coffee is amazing |
| 02:00:35 | raptor | an amazing drug when you first start it yes |
| 02:00:41 | Little_Apple | lol |
| 02:01:04 | raptor | then when you're 30 - 40, you see your coworkers are hooked on it and have withdrawals |
| 02:01:15 | Little_Apple | lua doesnt need to compile woo |
| 02:01:54 | Little_Apple | aaand gtg. byee |
| 02:01:58 | | Little_Apple Quit (Quit: Page closed) |
| 02:02:32 | raptor | sam686: do you still get stack overflow errors when launching anything Lua? |
| 02:02:36 | raptor | bots/ levelgne |
| 02:02:40 | raptor | *levelgen |
| 02:03:00 | sam686 | script can be slower then compiled binary.. |
| 02:03:18 | sam686 | checking latest changes in bitfighter 018 |
| 02:11:10 | | kaen Quit (Ping timeout: 265 seconds) |
| 02:14:03 | sam686 | got to fix LUA somehow, maybe check whick revision broke LUA.. |
| 02:14:44 | raptor | i'm taking a short break, i'll be back later |
| 02:14:52 | sam686 | ok |
| 02:14:57 | raptor | maybe in 2 hours or so. |
| 02:15:10 | | raptor Quit () |
| 03:14:42 | | koda Quit (Quit: koda) |
| 03:45:04 | | BFLogBot - Commit 07b05be8293c | Author: sam8641 | Log: Fix LUA stack overflow, logprint recursively calls itself? |
| 04:08:05 | | kaen has joined |
| 04:09:28 | | ChanServ Quit (*.net *.split) |
| 04:18:15 | | raptor has joined |
| 04:18:49 | raptor | are we in th emiddle of a net split? |
| 04:20:12 | sam686 | ChanServ [ChanServ@services.] has quit IRC: NETSPLIT *.net *.split |
| 04:20:28 | sam686 | maybe only the chanserv / nickserv got split, i guess |
| 04:21:08 | sam686 | oh by the way, the LUA's stack overflow is fixed (update and copy resource/script to exe |
| 04:21:13 | raptor | ok |
| 04:40:12 | raptor | night |
| 04:40:26 | | raptor Quit () |
| 06:02:31 | | -mrmist- [Global Notice] - Hi everyone. As you may have noticed our services (nickserv, chanserv etc.) have broken again. We're busy running around like headless chickens to get them back for you. freenode staff are around to help if there are emergency channel situations. Thanks for flying freenode! |
| 06:25:17 | | Watusimoto has joined |
| 07:03:21 | | sam686 Quit (Ping timeout: 245 seconds) |
| 07:56:50 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 08:06:54 | | ChanServ has joined |
| 08:33:19 | | ChanServ Quit (shutting down) |
| 08:33:59 | | ChanServ has joined |
| 10:26:20 | | raptor has joined |
| 10:26:20 | | ChanServ sets mode +o raptor |
| 10:48:51 | | raptor Quit () |
| 12:01:58 | | LordDVG has joined |
| 12:10:27 | | LordDVG Quit (Remote host closed the connection) |
| 13:29:37 | | Watusimoto has joined |
| 13:49:30 | | Watusimoto Quit (Ping timeout: 244 seconds) |
| 14:41:53 | | raptor has joined |
| 14:41:54 | | ChanServ sets mode +o raptor |
| 15:58:31 | | koda has joined |
| 16:27:38 | raptor | looks like there are two crashes with Lua on Mac |
| 16:28:11 | raptor | this one happens on start-up if there is a scriptdir with scripts in it (or robots): http://pastie.org/pastes/4726069 |
| 17:05:21 | | sam686 has joined |
| 17:05:21 | | ChanServ sets mode +v sam686 |
| 17:48:16 | raptor | hi sam686 |
| 17:48:22 | raptor | any idea with this?: pastie.org/pastes/4726069 |
| 17:48:58 | sam686 | hi, unclickable link (missing http: |
| 17:49:50 | raptor | http://pastie.org/pastes/4726069 |
| 17:49:53 | raptor | huh |
| 17:49:55 | raptor | weird |
| 17:49:56 | sam686 | which levelgen or robot is it? |
| 17:50:03 | raptor | start-up on mac |
| 17:50:58 | raptor | if i don't specify a scriptdir or robotdir (or rootdatadir with those as sub-directories) on start-up, then it doesn't crash |
| 17:51:43 | sam686 | is the scriptdir up to date? (from resource/script) |
| 17:52:06 | raptor | i'll check again... |
| 17:52:20 | raptor | but the mac build always copies over it anew |
| 17:52:30 | raptor | i'll do a manual copy |
| 17:54:18 | raptor | huh - i just removed all resources, and it still crashes |
| 17:58:03 | raptor | wait |
| 17:58:05 | raptor | argh |
| 17:58:14 | raptor | it didn't update the scripts directory... |
| 18:00:18 | raptor | nope, still crashes |
| 18:00:41 | raptor | I just manually copied all scripts and it still failes |
| 18:00:43 | raptor | *fails |
| 18:01:11 | sam686 | not sure whats going on |
| 18:01:48 | raptor | maybe bad characters in the #define? |
| 18:03:37 | raptor | the crash on exit is just as weird: http://pastie.org/pastes/4717789 |
| 18:03:43 | sam686 | can you add a printf("%s %i\n", ename, evalue); on LuaScriptRunner.cpp line 864? (in the middle in while loop) |
| 18:03:53 | raptor | sure |
| 18:04:34 | sam686 | then, what does the back trace say? |
| 18:06:02 | raptor | Phaser 0 |
| 18:06:03 | raptor | Bouncer 1 |
| 18:06:05 | raptor | Triple 2 |
| 18:06:13 | raptor | Burst 3 |
| 18:06:13 | raptor | HeatSeeker 4 |
| 18:06:13 | raptor | Mine 5 |
| 18:06:13 | raptor | Turret 6 |
| 18:06:13 | raptor | SpyBug 7 |
| 18:07:40 | sam686 | did it fail again like usual? different backtrace? (might be printf crash if bad ename variable) |
| 18:08:03 | raptor | same backtrace |
| 18:09:44 | sam686 | not sure, maybe it might be a streamstring bug |
| 18:09:50 | sam686 | instead of code << ename << "=" << evalue << ","; |
| 18:10:34 | sam686 | try: code << ename; code << "="; code << evalue; code << ","; (new line after each ; ) |
| 18:10:45 | raptor | ok |
| 18:11:55 | sam686 | by putting on each seperate line, it makes it easier to see which one is causing the problem.. |
| 18:12:07 | raptor | same trace (except on line 866 now) |
| 18:12:17 | sam686 | which line is that? |
| 18:12:43 | raptor | the code << ename; code << "="; |
| 18:12:49 | raptor | the '=' |
| 18:13:07 | sam686 | so, it is having a problem with code << "="? |
| 18:13:21 | raptor | oh oops, forgot to split those up |
| 18:14:14 | raptor | nope: code << ename; |
| 18:14:16 | raptor | is the problem |
| 18:14:46 | | LordDVG has joined |
| 18:14:53 | sam686 | maybe the char* pointer suddenly goes bad.. |
| 18:15:00 | sam686 | try code << string(ename); |
| 18:15:49 | raptor | it works! |
| 18:15:54 | raptor | odd |
| 18:17:09 | sam686 | so it was probably a problem with "char *" part... a pointer that points to.. someplace the code didn't own which might have conflict with something.. |
| 18:17:21 | raptor | looks like it |
| 18:18:20 | raptor | wait |
| 18:18:22 | raptor | no |
| 18:18:23 | raptor | it failed |
| 18:18:36 | raptor | ah... it worked the first time because i forgot to pass the rootdatadir |
| 18:18:47 | raptor | so no, that string(ename) didn't fix it :( |
| 18:18:52 | sam686 | on line 853, change it to string ename; |
| 18:19:08 | sam686 | on line 861, change it to while((ename = string(va_arg(args, char*))) != 0) |
| 18:19:17 | raptor | ok |
| 18:19:44 | sam686 | and you can get rid of string() part inside while loop |
| 18:20:54 | raptor | got no match for operator != errror |
| 18:22:40 | sam686 | oh, try while((ename = va_arg(args, char*)).c_str() != 0) |
| 18:22:46 | sam686 | I got that to compile |
| 18:23:06 | sam686 | or it may cause problems.. |
| 18:23:15 | | bobdaduck has joined |
| 18:23:30 | bobdaduck | So when we release 018 will it have full music? |
| 18:23:34 | sam686 | oops, now it is craching on mine... |
| 18:23:48 | bobdaduck | Far as I know 017 only has the one song. |
| 18:23:58 | bobdaduck | I went and downloaded _K's music pack but I don't think anyone else has it. |
| 18:24:04 | bobdaduck | ALSO SUP. |
| 18:24:09 | raptor | crash sam686 |
| 18:24:11 | raptor | hi bobdaduck |
| 18:24:15 | raptor | uhh music... |
| 18:24:18 | raptor | well... |
| 18:24:36 | raptor | i think that's watusimoto's department... |
| 18:24:46 | raptor | and i think he is hating the music we added already |
| 18:24:54 | bobdaduck | lol |
| 18:25:01 | raptor | (the song in 017 and the menu music) |
| 18:25:19 | bobdaduck | Well, with the pack I downloaded from _k it actually seems to work pretty well. |
| 18:25:23 | raptor | sam686: crash on the 'while...' part |
| 18:25:26 | bobdaduck | Since it has, well, like, variety. |
| 18:25:30 | raptor | haha |
| 18:25:37 | sam686 | I have an idea to fix, http://sam686.maxhushahn.com/upload/text1209/120915_13-09-29.txt |
| 18:26:10 | raptor | ok... |
| 18:26:10 | sam686 | oops, add a ename in while((ename = va_arg(args, char*)) != 0) |
| 18:26:26 | raptor | ok |
| 18:26:30 | bobdaduck | Whatcha doin? |
| 18:26:57 | raptor | mac is crashy again :-/ |
| 18:27:06 | sam686 | mostly, trying to fix a problem |
| 18:27:09 | raptor | and i'm technically the mac developer... |
| 18:27:18 | raptor | and I want someone else to be it |
| 18:27:27 | bobdaduck | Have you tried kicking the tires? |
| 18:27:36 | bobdaduck | Hm, I haven't been source diving in forever... |
| 18:27:41 | bobdaduck | forgot how to get it xD |
| 18:27:48 | raptor | is that some euphemism for something of which i am unaware? |
| 18:28:10 | raptor | bobdaduck: are you on a mac? |
| 18:28:14 | bobdaduck | Well in the movies if a car breaks down they kick the tires and it starts rolling... |
| 18:28:18 | bobdaduck | no, unfortunately |
| 18:28:33 | raptor | ah yes |
| 18:28:45 | | raptor considers not being on a mac fortunate |
| 18:29:03 | bobdaduck | lol |
| 18:29:28 | raptor | sam686: crash on 863, the line with string ename_string |
| 18:29:36 | raptor | i think this is a wild goose chase? |
| 18:31:44 | sam686 | change line 863 to char ename_string[100]; strncpy(ename_string, ename, sizeof(ename_string)); |
| 18:35:11 | raptor | same trace |
| 18:35:18 | raptor | i'm going to try something crazy |
| 18:37:42 | raptor | bobdaduck: on windows system, then? |
| 18:42:58 | raptor | i wonder if its a line-ending problem with the preprocessor definitions |
| 18:43:12 | raptor | probably not - but at least i'll rule it out |
| 18:43:44 | raptor | it could also be a stringstream problem - maybe we shouldn't use them (aren't they slow??) |
| 18:44:15 | raptor | ok, not a line-ending problem :( |
| 18:48:35 | bobdaduck | yeah |
| 18:48:37 | bobdaduck | windows |
| 19:02:15 | sam686 | raptor, try this, http://sam686.maxhushahn.com/upload/text1209/120915_14-09-54.txt no stringstream in it |
| 19:02:39 | raptor | ok |
| 19:03:47 | raptor | crash, same place |
| 19:03:51 | raptor | in the loop with ename |
| 19:03:59 | raptor | i'm thinking it has to do with va_list |
| 19:04:11 | raptor | maybe the args aren't passed with a trailing NULL? |
| 19:08:50 | sam686 | or maybe it thinks it is a 32-bit integer zero instead of (char *)NULL (in line 916 LuaScriptRunner) |
| 19:09:02 | sam686 | especially if running on 64-bit compiler (64 bit pointers) |
| 19:09:11 | raptor | hmm, yes, that may be |
| 19:13:49 | sam686 | does using (char*)0 or (char*)NULL fix the problem? (in line 916 LuaScriptRunner) |
| 19:14:12 | sam686 | down a few lines of add_enum_to_lua( L, "Weapons", |
| 19:14:38 | raptor | oh my goodness that fixed it |
| 19:14:46 | raptor | all i did was change 0 to NULL |
| 19:15:54 | raptor | that was bonkers |
| 19:15:56 | raptor | pushed |
| 19:16:51 | | BFLogBot - Commit c7a1c9561ec3 | Author: buckyballreaction | Log: Fix crazy Mac crash on start-up. Should always use NULL instead of 0 when va_list is involved |
| 19:17:24 | sam686 | there is one problem with using just NULL, i see "#define NULL 0" in a visual c++ 2008's stdlib.h |
| 19:18:15 | raptor | wonderful |
| 19:18:39 | raptor | so maybe it's a compiler problem? the mac gcc isn't smart... |
| 19:18:43 | raptor | ? |
| 19:19:24 | sam686 | gcc might be different on its headers, i think |
| 19:19:28 | raptor | i'm going to make sure it works on 32bit |
| 19:19:36 | raptor | so does that commit break you? |
| 19:20:00 | sam686 | no, because we already only do 32-bit for windows |
| 19:20:21 | sam686 | but that might break 64-bit compiling with visual C++ |
| 19:20:25 | sam686 | on windows |
| 19:20:29 | raptor | i bet it should work |
| 19:20:32 | raptor | on 64bit |
| 19:24:33 | raptor | oh good 32bit mac still works |
| 19:24:37 | raptor | ok, what a dumb fix |
| 19:25:49 | raptor | hey bobdaduck, interesting in beta testing 018 for us? :) |
| 19:26:18 | raptor | i can probably get you a windows build in a few min |
| 19:36:15 | raptor | bobdaduck, if you're interested. let us know and we can play with you a bit: http://sam686.maxhushahn.com/upload/1bitfighter-018-beta.zip |
| 19:36:28 | raptor | sam686: we should probably start an 018 new features list in main.cpp? |
| 19:36:54 | sam686 | ok.. |
| 19:38:02 | raptor | we can do it here: http://beta.etherpad.org/p/018_new_stuff |
| 19:45:17 | sam686 | So I was mostly right to say (char*)NULL or (char*)0, because sizeof(NULL) on all 64-bit compiling is not always 8 bytes http://stackoverflow.com/questions/1674150/null-definition-problem-on-64-bit-system |
| 19:46:00 | sam686 | problem is, compiler don't know what specific type to add in when a function have (...) |
| 19:46:51 | raptor | ah, so i should change the code again to be specific? (char*)NULL? |
| 19:46:56 | raptor | in both places? |
| 19:47:29 | sam686 | don't need to when comparing, as compiler knows to convert the size |
| 19:48:11 | sam686 | bit it might need to in places the compiler don't know what size to input, such as printf or our add_enum_to_lua |
| 19:48:20 | raptor | yes, that's what i mean |
| 19:48:26 | raptor | in add_enum_to_lua |
| 19:48:44 | sam686 | yes in add_enum_to_lua arguments input, no when comparing or setting a variable |
| 19:48:55 | raptor | maybe (const char*)NULL |
| 19:49:23 | sam686 | you can try, const don't make a difference on size |
| 19:53:30 | bobdaduck | sorry |
| 19:53:35 | bobdaduck | was playing a game of league xD |
| 19:53:40 | bobdaduck | yeah sure |
| 19:53:44 | bobdaduck | beta 18 sounds fun |
| 19:54:08 | raptor | want to play now? (I can host for a bit..) |
| 19:54:09 | bobdaduck | file isn't downloading though? |
| 19:54:15 | raptor | hmmm |
| 19:54:33 | raptor | just started for me.. |
| 19:54:36 | bobdaduck | goes to about:blank and loads forever |
| 19:54:56 | raptor | weird |
| 19:55:04 | raptor | sam686 is your server OK? |
| 19:55:56 | bobdaduck | if I remove the extention at upload it loads something |
| 19:56:02 | bobdaduck | not anything useful, just a splash screen |
| 19:56:06 | bobdaduck | but still loads. |
| 19:56:52 | raptor | hmmm... |
| 19:57:03 | raptor | sam686, does your apache need to be restarted? |
| 19:58:59 | bobdaduck | HE'S DEADDD |
| 19:59:08 | raptor | ok, i'll provide a different download... |
| 19:59:34 | sam686 | restarted apache, if thats the problem |
| 19:59:35 | raptor | have to restart my windows VM again |
| 19:59:43 | raptor | it works! |
| 19:59:47 | raptor | bobdaduck: try again |
| 19:59:51 | bobdaduck | still just loading |
| 19:59:57 | raptor | clean cache |
| 19:59:57 | sam686 | as you even access http://sam686.maxhushahn.com/ ? |
| 20:00:07 | raptor | open in new tab/page |
| 20:00:15 | bobdaduck | nope, its not working there either anymore |
| 20:00:24 | sam686 | does http://208.107.12.78/ work? |
| 20:00:59 | bobdaduck | nope. |
| 20:01:06 | bobdaduck | and it works for raptor? |
| 20:01:18 | raptor | yes |
| 20:01:28 | bobdaduck | its giving me a "connection reset" error. |
| 20:01:52 | bobdaduck | cleared cache, still nothgin. |
| 20:01:58 | | BFLogBot - Commit bde18576ca08 | Author: sam8641 | Log: Tell cimpiler the size of NULL what we inputting, sizeof(NULL) not always the same as sizeof(void*) |
| 20:02:01 | raptor | ok, i'll pu telsewhere... |
| 20:02:06 | bobdaduck | couldn't you just send me the zip as an attachment on the bf forums? |
| 20:02:19 | raptor | it's too big for forum attachments |
| 20:02:31 | sam686 | i don't know, bobdaduck seem to unable to access my server not at all... |
| 20:02:37 | bobdaduck | yeah |
| 20:02:49 | raptor | almost done... |
| 20:03:05 | bobdaduck | I'm pinging all three and geting nothing (IP, server, and the upload itself) |
| 20:03:06 | raptor | ok bobdaduck: ftp://ftp.novell.com/outgoing/1bitfighter-018-beta.zip |
| 20:03:23 | bobdaduck | worked. |
| 20:04:07 | raptor | it's a debug version, so just run the bitfighter_d.exe from the folder |
| 20:04:26 | bobdaduck | right |
| 20:05:09 | raptor | ok sam686 join me? |
| 20:05:18 | raptor | (sorry i forgot to commit that change, and thanks for doing it) |
| 20:09:41 | | Watusimoto has joined |
| 20:12:35 | sam686 | test for bobdaduck, does http://208.107.12.78/ work now? |
| 20:32:25 | bobdaduck | yeah |
| 20:32:51 | sam686 | must have just been my dumb firewall with incorrect settings.. |
| 20:33:16 | raptor | ***LEVELGEN ERROR*** Error encountered while attempting to run script's main() function: Could not validate params for function LuaScriptRunner::subscribe(). Expected one of the following: |
| 20:33:17 | raptor | Robot Object, Event |
| 20:33:19 | raptor | Levelgen Script, Event. Aborting script |
| 20:34:12 | raptor | http://pastie.org/4727206 |
| 20:34:15 | raptor | ^^ is the script |
| 20:42:12 | Watusimoto | that script should work |
| 20:42:18 | raptor | hi Watusimoto |
| 20:42:21 | Watusimoto | hi |
| 20:42:21 | raptor | you've arrived! |
| 20:42:25 | Watusimoto | sort of |
| 20:42:33 | Watusimoto | just woke up from after dinner nap |
| 20:42:59 | bobdaduck | goodmorning |
| 20:43:00 | raptor | we're testing with bobdaduck on my server right now |
| 20:43:03 | raptor | morning |
| 20:43:14 | Watusimoto | oh, I see the issue, maybe |
| 20:43:24 | raptor | i wanted to show him the scipt |
| 20:43:38 | Watusimoto | subscribe was at one time called with robot:subscribe(event) |
| 20:43:41 | Watusimoto | that ":" |
| 20:43:54 | Watusimoto | is really a short cut for robot.subscribe(robot, event) |
| 20:44:25 | Watusimoto | so to clarify, robot:subscribe() is exactly equivalent to robot.subscribe(robot) |
| 20:44:37 | Watusimoto | think of the "." as a static method call |
| 20:44:55 | Watusimoto | so before we go further, is that clear? |
| 20:45:15 | raptor | i don't know what i need to change to make it work... |
| 20:46:16 | raptor | so i need to have some object at the start? |
| 20:46:23 | raptor | levelgen.subscribe()? |
| 20:46:38 | Watusimoto | before I speuclate on that, I want to make sure you understand how the lua suytax works in this case because, in my opinion, it is confusing as hell |
| 20:46:41 | Watusimoto | The colon syntax is used for defining methods, that is, functions that have an implicit extra parameter self. Thus, the statement |
| 20:46:41 | Watusimoto | function t.a.b.c:f (params) body end |
| 20:46:41 | Watusimoto | is syntactic sugar for |
| 20:46:41 | Watusimoto | t.a.b.c.f = function (self, params) body end |
| 20:46:48 | Watusimoto | this from the lua reference manual |
| 20:46:57 | raptor | that makes sense |
| 20:47:03 | Watusimoto | not to me :-)\ |
| 20:47:04 | raptor | yes, i understand |
| 20:47:17 | Watusimoto | so anyway, in the past, we always called subscribe like this: |
| 20:47:23 | Watusimoto | robot:subscribe(event) |
| 20:47:30 | raptor | syntactic sugar |
| 20:47:41 | Watusimoto | in the code you posted, it is just subscribe(event) |
| 20:48:00 | Watusimoto | and lua is complaining because it doesn't know who is subscribing |
| 20:48:46 | Watusimoto | now, I don't remember where I was in the whole refactor bit, because it's been over a month since I looked at this code, but my intention was to make the new syntax be just "subscribe(event)" |
| 20:49:14 | Watusimoto | and then, depending on context, convert that to (in this case) levelgen:subscribe(event) |
| 20:49:32 | Watusimoto | so my guess is either I haven't done that yet, or I did it and it doesn't work |
| 20:49:41 | Watusimoto | or I did it and it worked and then I broke it |
| 20:50:02 | Watusimoto | so the (short term) fix is try subscribe(levelgen, event) or levelgen:subscribe(event) |
| 20:50:22 | Watusimoto | though it is my intent that the code, as written, will work |
| 20:50:30 | Watusimoto | it just, apparently, doesn't |
| 20:50:43 | Watusimoto | now let me check something |
| 20:51:38 | raptor | heh, ok bobdaduck, i guess that concludes my hosting |
| 20:51:46 | sam686 | LUA crash? |
| 20:51:49 | raptor | yes |
| 20:51:59 | raptor | levelgen:subscribe(event) doesn't work |
| 20:52:15 | raptor | but subscribe(levelgen, event) crashes bitfighter |
| 20:52:27 | Watusimoto | in levelgen_helper_functions I see this code: |
| 20:52:28 | Watusimoto | -- |
| 20:52:28 | Watusimoto | -- And two more |
| 20:52:28 | Watusimoto | -- |
| 20:52:28 | Watusimoto | -- function subscribe(event) |
| 20:52:28 | Watusimoto | -- subscribe_levelgen(levelgen, event) |
| 20:52:31 | Watusimoto | -- end |
| 20:52:33 | Watusimoto | -- function unsubscribe(event) |
| 20:52:35 | Watusimoto | -- unsubscribe_levelgen(levelgen, event) |
| 20:52:37 | raptor | shouldn't we guarantee that bitfighter never crashes because of Lua? |
| 20:52:37 | Watusimoto | -- end |
| 20:52:39 | Watusimoto | all commented out |
| 20:52:44 | Watusimoto | yes |
| 20:52:55 | bobdaduck | also |
| 20:52:58 | Watusimoto | I missed the beginning of the conversation... did this cause bf to crash? |
| 20:53:21 | Watusimoto | I think the last thing Idid before vacation was to remove that commented out code because I wanted to get rid of it |
| 20:53:42 | raptor | sam686 had to comment something else out because it caused a stack overflow |
| 20:54:09 | raptor | bobdaduck has some strong feelings about the weapons and such for 018... :) |
| 20:54:12 | Watusimoto | my way of getting rid of the levelgen: portion of levelgen:sbuscribe() was to remap subscribe to subscribe_levelgen() that knew that it was the levelgen doing the subscribing |
| 20:54:46 | Watusimoto | I tried to do that in C++ and remove the line from the lua code |
| 20:55:25 | Watusimoto | bobdaduck has never been shy with his opinions :-) |
| 20:56:04 | Watusimoto | ah, in robot_helper_functions, we have this: |
| 20:56:05 | Watusimoto | function subscribe(event) |
| 20:56:06 | Watusimoto | subscribe_bot(bot, event) |
| 20:56:06 | Watusimoto | end |
| 20:56:06 | Watusimoto | function unsubscribe(event) |
| 20:56:06 | Watusimoto | unsubscribe_bot(bot, event) |
| 20:56:07 | Watusimoto | end |
| 20:56:43 | Watusimoto | so maybe those two lines need to be uncommented |
| 20:56:55 | Watusimoto | though things may just be broken :-( |
| 20:57:24 | sam686 | want to make your turrets not do damage to you? like it does when your team ship's bullets can't hurt you |
| 20:57:24 | raptor | yeah - i'm thinking i'll just leave Lua alone for now... |
| 20:57:53 | raptor | oh yeah - bobdaduck thinks pre-placed turrets in levels on your team shouldn't be destroyable by you |
| 20:58:11 | Watusimoto | no, probably uncommenting won't work |
| 20:58:40 | Watusimoto | if you want, you can add it as a bug to the running bug list |
| 20:58:46 | raptor | brb - have to play 'the car game' with my 3 year old |
| 21:00:29 | Watusimoto | aha! |
| 21:00:50 | Watusimoto | in luaScriptRunner, we have this: |
| 21:00:51 | Watusimoto | METHOD(CLASS, subscribe, ARRAYDEF({{ ROBOT, EVENT, END }, { LEVELGEN, EVENT, END }}), 2 ) \ |
| 21:00:51 | Watusimoto | METHOD(CLASS, unsubscribe, ARRAYDEF({{ ROBOT, EVENT, END }, { LEVELGEN, EVENT, END }}), 2 ) \ |
| 21:00:59 | Watusimoto | but no equivalent for levelgens |
| 21:01:11 | Watusimoto | oh wait, forget that... it's right there |
| 21:02:31 | Watusimoto | I'll bet levelgen:subscribe(event) will fix the problem for the moment |
| 21:02:38 | raptor | it failed |
| 21:02:45 | Watusimoto | car game failed? |
| 21:02:55 | raptor | levelgen:subscribe |
| 21:03:04 | Watusimoto | phooey |
| 21:03:08 | bobdaduck | there shouldn't be any music in the lobby screen, and someone /really/ needs to add _k's music into the release as well, for varieties sake. |
| 21:03:11 | Watusimoto | well, add it to the list, and I'll fix it |
| 21:03:37 | Watusimoto | lua is making me crazy |
| 21:03:51 | bobdaduck | lol |
| 21:04:12 | bobdaduck | where's the list? |
| 21:04:23 | bobdaduck | is it still on sourceforge? |
| 21:04:31 | raptor | !bug |
| 21:04:31 | BFLogBot | To 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 |
| 21:04:34 | raptor | the runnign list |
| 21:04:40 | raptor | feel free to add stuff |
| 21:05:12 | bobdaduck | what's this bflogbot? Just says certain things whenever a keyword comes up? |
| 21:05:32 | raptor | !bbb |
| 21:05:32 | BFLogBot | Big Bitfighter Battle! |
| 21:06:13 | bobdaduck | lol |
| 21:06:18 | bobdaduck | okey |
| 21:06:55 | bobdaduck | would music changes be classified as "things that really should get done"? |
| 21:07:44 | sam686 | Ok, got the vote option about "should team be able to kill their own turrets / forcefields"? available, http://bitfighter.org/forums/viewtopic.php?t=1573 |
| 21:08:11 | sam686 | I am not sure how most players want it, as I put up a vote.. |
| 21:09:05 | bobdaduck | I voted for not being able to destroy self engineered objects, for the sake of forcing people to engineer mildly intelligently. |
| 21:12:22 | Watusimoto | this debate has been going on since the birth of bf |
| 21:12:59 | raptor | debate? I just code what i'm told... |
| 21:13:28 | sam686 | but I wasn't sure what the results are, there wasn't any votes on such debate in history.. |
| 21:13:51 | sam686 | or I don't know what the results was, if there was one.. |
| 21:14:25 | bobdaduck | I think I'm the only vocal member about it. |
| 21:14:39 | bobdaduck | I can't imagine anyone liking it, but I think they tolerate it. |
| 21:18:59 | raptor | Watusimoto: did you see my latest commit in how to fix one of the crashes on Mac? |
| 21:19:06 | raptor | talk about bonkers |
| 21:19:21 | Watusimoto | no |
| 21:19:25 | Watusimoto | you fixed it/ |
| 21:19:26 | Watusimoto | ? |
| 21:19:32 | raptor | there were two crashes |
| 21:19:36 | Watusimoto | the lua crash you posted yesterday? |
| 21:19:39 | raptor | both Lua related |
| 21:19:46 | raptor | no, it was the one i didn't post |
| 21:20:09 | raptor | anyways this was the fix: https://code.google.com/p/bitfighter/source/detail?r=c7a1c9561ec32bfc6f8313826fb81352e1c6f998 |
| 21:20:39 | raptor | with sam's clarification: https://code.google.com/p/bitfighter/source/detail?r=bde18576ca089f7c854383f05bd07315b6390d5f |
| 21:21:05 | Watusimoto | what??? |
| 21:21:10 | raptor | heh |
| 21:21:14 | Watusimoto | did you change 0 to NULL or NULL to 0? |
| 21:21:18 | raptor | 0 to NULL |
| 21:21:25 | Watusimoto | wtf?? |
| 21:21:31 | Watusimoto | how did you find that? |
| 21:22:01 | raptor | well after spending an hour on thinking it was a problem with stringstreams - i just had this stupid hunch |
| 21:22:11 | Watusimoto | I don't think I ever would have identified that... |
| 21:22:19 | raptor | sam686 did too |
| 21:22:52 | raptor | that maybe the terminator was wrong somehow (because the crash was failing in the while loop at LuaScripRunner.cpp:864 |
| 21:22:55 | raptor | ) |
| 21:23:35 | raptor | basically, the 64bit mac compiler interpreted 0 as a 64bit zero, when va_list needed an 8bit 0 |
| 21:23:35 | sam686 | I will be back in about 15 minutes, eating a quick food |
| 21:24:04 | raptor | so changing to NULL (on Mac) made the compiler realize it was an 8bit zero |
| 21:24:25 | Watusimoto | wow |
| 21:24:33 | raptor | but then sam686 figured it could still crash on other systems, so he added the cast (char*)NULL |
| 21:24:39 | raptor | to be absolutely sure |
| 21:26:19 | Watusimoto | I was going to say that add_enum_to_lua looks compleetly alien to me |
| 21:26:30 | Watusimoto | and then I scrolled up and realized I didn;t write it |
| 21:27:20 | Watusimoto | and now I realize I have no recollection of why I added that |
| 21:27:38 | Watusimoto | oh, grouping of enums |
| 21:27:40 | raptor | yes... i was wondering the same thing... it is used only once |
| 21:28:02 | Watusimoto | ah, so Weapons.phaser Weapons.triple, etc. |
| 21:28:05 | Watusimoto | for our enums |
| 21:28:22 | Watusimoto | rather than just phaser, triple, etc. in the global namespace as they are now |
| 21:28:42 | Watusimoto | aren't you supposed to be playing with your son? |
| 21:29:48 | Watusimoto | I think I just tried it with Weapons and hadn't yet expanded it to all our enums |
| 21:29:49 | raptor | he ran off to play in the pizza dough my wife is making |
| 21:30:06 | Watusimoto | I now recall a conversation about this; maybe I did this as a pilot |
| 21:30:16 | Watusimoto | trying to corral all our enum values a little |
| 21:31:05 | Watusimoto | ah I see |
| 21:31:07 | Watusimoto | // Weapon enums -- push all, using enum name as the Lua name |
| 21:31:07 | Watusimoto | # define WEAPON_ITEM(value, b, c, d, e, f, g, h, i, j, k, l) lua_pushinteger(L, value); \ |
| 21:31:07 | Watusimoto | lua_setglobal (L, #value); |
| 21:31:07 | Watusimoto | WEAPON_ITEM_TABLE |
| 21:31:07 | Watusimoto | # undef WEAPON_ITEM |
| 21:31:09 | Watusimoto | add_enum_to_lua( L, "Weapons", |
| 21:31:10 | raptor | if i was on the receiving end of that conversation, i was probably half-asleep |
| 21:31:11 | Watusimoto | # define WEAPON_ITEM(value, b, luaEnumName, d, e, f, g, h, i, j, k, l) luaEnumName, value, |
| 21:31:13 | Watusimoto | WEAPON_ITEM_TABLE |
| 21:31:15 | Watusimoto | # undef WEAPON_ITEM |
| 21:31:17 | Watusimoto | 0); |
| 21:31:18 | sam686 | any functions that have (...) may have the problem with any type could be inputted and any type could be incorrectly used, almost like a reinterpret_cast |
| 21:31:22 | Watusimoto | I add them twice |
| 21:31:24 | Watusimoto | once to the global namespace, once to the Weapons.xxx structure |
| 21:31:27 | Watusimoto | so it was definitely a pilot |
| 21:32:04 | Watusimoto | yes, sam, you are right |
| 21:32:35 | sam686 | almost like printf("%s", 3); can crash, even though the compiler don't catch it as an error.. |
| 21:33:12 | sam686 | note, recent GCC might be able to warn of that problem, but not visual c++, that i know of.. |
| 21:33:45 | Watusimoto | or like string s = "hi"; printf(%s, s) compiles and runs and prints garbage and is impossible to debug because it looks correct |
| 21:33:50 | | LordDVG Quit (Quit: Leaving) |
| 21:34:16 | raptor | and mac... do i have to be the mac developer? |
| 21:34:29 | Watusimoto | no |
| 21:34:34 | Watusimoto | we could drop the platform |
| 21:34:47 | sam686 | yes, that too, applies to any function that can imput any number of arguments (and any type), function containing (...) as an argument |
| 21:35:07 | Watusimoto | sorry raptor, I know you hate doing it |
| 21:35:19 | raptor | :) |
| 21:35:23 | Watusimoto | :( |
| 21:35:31 | sam686 | little_apple, Blackbird, Zoomber, and maybe other players use mac... |
| 21:35:37 | raptor | it's the contrast between debugging on it and my Linux system |
| 21:36:19 | Watusimoto | do you guys generally agree that putting our lua enums in a namespace is better than the current way of not doing so? |
| 21:36:21 | sam686 | or we could use Java, have little or no effort to make it run on mac and linux (any arch including PPC, MIPS) and windows. |
| 21:36:25 | Watusimoto | Weapons.phaser vs. phaser |
| 21:36:32 | raptor | i don't mind namespaces |
| 21:36:40 | raptor | may help the mental organization |
| 21:37:18 | Watusimoto | it will break existing code |
| 21:37:39 | raptor | yes, but that isn't really a change in code state, is it? :) |
| 21:37:44 | sam686 | namespace might be good to reduce conflicts with existing variables |
| 21:38:00 | Watusimoto | another change I am contemplating that will break code: |
| 21:38:10 | sam686 | but not sure about compatibility.. though s_bot don't use any weapons other then the default, phaser |
| 21:38:18 | raptor | BREAK IT |
| 21:38:20 | Watusimoto | we haev a bunch of methods like getLoc() and sucn that were named to avoid internal conflicts with existing methods like getPos |
| 21:38:32 | Watusimoto | or getTeamIndx instead of getTeamIndex |
| 21:39:17 | sam686 | most levelgen don't use nothing except random and addLevelLine.. |
| 21:39:18 | Watusimoto | now with using luaW, I think we can avoid conflicts other ways, so we could rename some functions to be, perhaps, better |
| 21:39:28 | Watusimoto | levelgens will be fine |
| 21:39:34 | Watusimoto | bots will break |
| 21:39:39 | Watusimoto | well, bot will break :-) |
| 21:39:50 | Watusimoto | since s_bot is really still the king of all bots |
| 21:40:17 | raptor | i've already updated all the bots once... |
| 21:40:18 | Watusimoto | if we wanted to rename, we could keep old names for a version or two and print deprecation warnings |
| 21:40:25 | raptor | BREAK IT ALL |
| 21:41:09 | Watusimoto | I'm still working on DOCUMENT IT ALL |
| 21:41:30 | raptor | we're a small enough project that we can make huge sweeping changes without much backlash... |
| 21:42:24 | sam686 | there aren't barely any good robots to break... |
| 21:43:04 | raptor | RepairBot wasn't too bad... it even made it into a level design contest! |
| 21:44:22 | sam686 | orbitbot only circles, clone bot only clones moves, eliza only chat, my mine bot only place mines witn no movement, timer.bot only measuers milliseconds, a few other robots i don't even think they work anymore on 017 / 016.. |
| 21:45:32 | sam686 | quickbotv2 was good for CTF only, but mostly s_bot replaced it for any gametype... except a small problem on non-picking up Soccer |
| 21:51:13 | raptor | Watusimoto: i wonder if we can poach players from xpilot? |
| 21:51:29 | Watusimoto | how would we do that? |
| 21:51:39 | raptor | Although, there are like 30 servers up and no players, sounds just like Bitfighter! |
| 21:51:58 | raptor | i have no attack plan, just pondering out loud |
| 21:52:19 | raptor | maybe we can poach code... |
| 21:52:56 | raptor | ansi C |
| 21:52:58 | raptor | hmmm |
| 21:53:14 | Watusimoto | ha |
| 21:53:24 | Watusimoto | we don't want that code |
| 21:53:42 | Watusimoto | ideas yes, players (if there are any) yes, code.... ew. |
| 21:53:57 | Watusimoto | and don't poach textured walls! |
| 21:54:04 | raptor | haha |
| 21:54:09 | Watusimoto | I can no longer believe I propsed that |
| 21:54:57 | raptor | our editor looks like it has the awesomest graphics in the world when comparing them |
| 21:55:24 | Watusimoto | our editor isn;t bad |
| 21:56:36 | raptor | heh - they just barely removed Windows CE support from SDL 2 |
| 21:57:29 | Watusimoto | barely removed? |
| 21:57:44 | raptor | yes, this morning |
| 21:58:01 | raptor | i remember seeing something that ran WinCE back in the 90s |
| 21:59:12 | Watusimoto | ah, as in recently removed |
| 21:59:51 | raptor | my colloquialisms have confused another |
| 21:59:59 | sam686 | maybe I think it might be because winCE is outdated, and no |
| 22:00:17 | sam686 | and too little or no projects use SDL on winCE i think |
| 22:01:20 | Watusimoto | I was going to propose porting bf to winCE, but maybe it's too late |
| 22:02:02 | sam686 | android and iphone are both way more popular then winCE or even "windows Phone" |
| 22:03:24 | sam686 | http://en.wikipedia.org/wiki/Windows_Mobile#Market_share - Have fun with declining Market Share of Windows Phone... |
| 22:04:25 | raptor | haha |
| 22:05:00 | sam686 | http://www.bgr.com/2011/12/13/apple-and-google-dominate-smartphone-space-while-other-vendors-scramble/ |
| 22:05:33 | sam686 | looks like Android is becoming more popular then iOS (apple iPhone, iPad, and maybe others) |
| 22:06:02 | raptor | I HATE IOS |
| 22:06:34 | sam686 | I am pretty sure raptor likes Android, cause it is based on linux.. |
| 22:07:50 | raptor | i keep debating with myself if i should buckle down and learn Obj-C |
| 22:08:02 | raptor | but that platform makes me so angry... |
| 22:08:05 | Watusimoto | he likes it because it's based on java |
| 22:08:27 | Watusimoto | and java is just awesome |
| 22:08:31 | raptor | sadly, i find it more familiar because I'm a java coder, yes |
| 22:08:35 | Watusimoto | am i right? |
| 22:08:40 | raptor | right |
| 22:08:50 | raptor | well, not about the awesome part |
| 22:09:02 | raptor | but that android is based on it, and i can handle that better, yes |
| 22:14:31 | raptor | Watusimoto: have you been keeping track of new features/bug for 018 anywhere? If not, i've started to |
| 22:14:59 | Watusimoto | you mean other than google and other than our running bug list? |
| 22:15:09 | Watusimoto | and other than the two bits of paper I have somewhere? |
| 22:15:18 | raptor | i mean the lists we add to main.cpp |
| 22:15:27 | Watusimoto | oh... |
| 22:15:28 | Watusimoto | no |
| 22:15:57 | raptor | anyways, i found this neat collaborative site: http://beta.etherpad.org/p/018_new_stuff |
| 22:20:14 | | Watusimoto Quit (Read error: Connection reset by peer) |
| 22:21:32 | | Watusimoto has joined |
| 22:23:32 | Watusimoto | is that better than our wiki? |
| 22:23:39 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 22:23:42 | Watusimoto | easier, perhaps |
| 22:23:51 | Watusimoto | until someone wipes it out |
| 22:25:23 | raptor | yeah, it's temporary |
| 22:26:00 | raptor | no history |
| 22:26:15 | raptor | oh no wait - there is history |
| 22:29:01 | raptor | wow Watusimoto, i think you've pretty much spent all your 018 dev time in Lua land |
| 22:30:07 | Watusimoto | sadly |
| 22:31:22 | Watusimoto | maybe we could use that instead of our wiki based bug list? |
| 22:31:38 | raptor | hmmm |
| 22:31:44 | raptor | you mean set up the server-side software? |
| 22:31:47 | raptor | on bitfighter.org? |
| 22:32:01 | raptor | that might be a good idea... |
| 22:37:25 | Watusimoto | I was thinking of just using the version you linked to |
| 22:37:25 | sam686 | This is the html output http://sam686.maxhushahn.com/018_new_stuff.php |
| 22:37:35 | Watusimoto | create a doc there and start using it |
| 22:37:51 | raptor | oh |
| 22:37:55 | Watusimoto | not great html, but we could work with it -- or format it ourselves |
| 22:38:08 | Watusimoto | we could also use google docs or anything else |
| 22:38:28 | raptor | i'm just being consistent with the format already started in main.cpp |
| 22:45:32 | Watusimoto | one good thing about doing this documentation is that I've identified numerous missing items |
| 22:45:40 | raptor | oh good |
| 22:45:52 | Watusimoto | or not, as I need to implement them |
| 22:46:30 | Watusimoto | but looking at one of my todo lists, there are some -luadoc items, that I think I can just cross off! |
| 22:47:00 | raptor | yay |
| 22:47:53 | Watusimoto | at some point I'm going to ask you guys to review the docs |
| 22:48:32 | raptor | they look great! |
| 22:48:59 | raptor | (I'm practicing for my next QA job..) |
| 22:53:52 | raptor | dinner! |
| 22:57:16 | | BFLogBot - Commit 5e3de8aa503c | Author: watusim...@bitfighter.org | Log: Impvoved Lua documentation |
| 22:57:17 | | BFLogBot - Commit c3a53961319d | Author: watusim...@bitfighter.org | Log: Merge |
| 23:24:35 | raptor | so ALT is *still* stuck down when alt + tab away on windows? bobdaduck says it is |
| 23:24:56 | Watusimoto | it is |
| 23:25:01 | raptor | WHAT |
| 23:25:45 | sam686 | its now not only alt, it goes for holding down any buttons when clicking away from SDL2 window |
| 23:26:15 | raptor | yes, but that part was always part of bitfighter, wasn't it? |
| 23:26:16 | sam686 | happens on windows, not sure about linux / mac |
| 23:26:42 | raptor | like hold down shoot, alt+tab away, ship still shoots |
| 23:26:55 | sam686 | SDL 1.x i think didn't do that on any held down buttons on windows.. |
| 23:26:58 | Watusimoto | yes, but that is different |
| 23:27:17 | Watusimoto | if you alt-tab away, bf never hears the release event |
| 23:27:19 | Watusimoto | this is fine |
| 23:27:51 | Watusimoto | but when you press alt-enter, it should only matter if alt is acutally down, not if it was pressed at some time earlier |
| 23:27:54 | Watusimoto | if that makes sense |
| 23:27:57 | | bobdaduck has joined |
| 23:28:03 | Watusimoto | we need to examine the actual state of the alt key |
| 23:28:09 | raptor | le sigh |
| 23:28:16 | bobdaduck | LE SIGH |
| 23:28:18 | bobdaduck | OHNOES |
| 23:28:23 | raptor | brb |
| 23:28:30 | bobdaduck | Hi again. |
| 23:28:30 | | raptor Quit () |
| 23:32:01 | | raptor has joined |
| 23:32:02 | | ChanServ sets mode +o raptor |
| 23:32:15 | raptor | hi |
| 23:32:29 | bobdaduck | sup. |
| 23:32:38 | raptor | mmmm supper was good, thanks |
| 23:36:22 | raptor | wow, so many of my commits are something like 'Fix compiling...' |
| 23:38:06 | raptor | oh yeah - i added bot balancing |
| 23:38:10 | raptor | forgot about that... |
| 23:40:29 | bobdaduck | I'm about to see |
| 23:40:33 | bobdaduck | what version of bitfighter |
| 23:40:40 | bobdaduck | was the last that I messed around in the source on. |
| 23:41:21 | raptor | Watusimoto: what BBB badges should we have? gold/silver/bronze/participation? or just gold/participation? |
| 23:41:33 | bobdaduck | gold/silver/bronze would be nice. |
| 23:41:35 | Watusimoto | well, we have one clear winner |
| 23:41:48 | raptor | yes, and it's always sam686... :) |
| 23:42:00 | Watusimoto | and then it seemed to be a cluster of unclear 2nd and 3rders |
| 23:42:26 | Watusimoto | winners list is in the forums, right? |
| 23:42:32 | raptor | this last one we had 1 2nd and 2 3rds |
| 23:42:50 | raptor | http://bitfighter.org/forums/viewtopic.php?f=20&t=1567&p=15794#p15762 |
| 23:43:25 | raptor | did i tell you, i found out that SMITE was CleverBot |
| 23:43:35 | Watusimoto | ha, no |
| 23:43:40 | Watusimoto | forums search stinks |
| 23:43:41 | sam686 | all nine BBB results are in the forum, showing the wins.. |
| 23:43:41 | bobdaduck | lolwut? |
| 23:43:53 | raptor | i gave you the link no? ^^ |
| 23:43:58 | | raptor clicks |
| 23:44:01 | Watusimoto | yes |
| 23:44:10 | Watusimoto | I was searching when you sent it |
| 23:44:15 | Watusimoto | anyway |
| 23:44:18 | raptor | ok, it worked |
| 23:44:23 | sam686 | thats BBB9, there is other BBB in different topic of BBB results |
| 23:44:31 | Watusimoto | 24, 14, 13 |
| 23:44:35 | Watusimoto | are the results |
| 23:44:45 | Watusimoto | in this case |
| 23:44:45 | bobdaduck | How'd you find out Smite was cleverbot? |
| 23:44:53 | raptor | i think our bbb special code should have a handicapp for sam686 |
| 23:44:59 | Watusimoto | followed by 11, 10, and so on down the list |
| 23:45:12 | raptor | bobdaduck: compared all the IP logs on the master server :) |
| 23:45:20 | Watusimoto | ha |
| 23:45:30 | Watusimoto | I guess I don't feel strongly |
| 23:45:32 | sam686 | like what? me doing only half the damage to everyone handicap? half energy capacity? |
| 23:45:46 | Watusimoto | gold, silver, bronze would be ok |
| 23:45:58 | Watusimoto | we could add simulated lag to sam's connection |
| 23:45:58 | raptor | a random timer that would render sam686 stationary for 1 sec |
| 23:46:10 | bobdaduck | rofl |
| 23:46:19 | Watusimoto | add a bot that targeted only him |
| 23:46:30 | raptor | i wrote that one! |
| 23:46:55 | raptor | TerrorBot (aka SentinelBot) |
| 23:47:05 | bobdaduck | lol |
| 23:47:10 | Watusimoto | kill_s_bot |
| 23:47:11 | raptor | http://bitfighter.org/forums/viewtopic.php?f=12&t=1455 |
| 23:47:55 | Watusimoto | done! |
| 23:48:01 | raptor | ? |
| 23:48:14 | bobdaduck | is everyone allowed to compare IP logs from master? |
| 23:48:15 | raptor | the doc project? |
| 23:48:29 | raptor | bobdaduck, no, just me :) and |
| 23:48:30 | Watusimoto | kill s bot is done |
| 23:48:38 | Watusimoto | docs are faaaaaar from done |
| 23:48:41 | | raptor waves his hand... |
| 23:48:49 | raptor | you don't know that it can be done.... |
| 23:49:01 | bobdaduck | lol |
| 23:49:01 | Watusimoto | trying to figure out how to docuemtn enums |
| 23:49:09 | Watusimoto | and our custom data types such as Point |
| 23:49:21 | Watusimoto | which don't really belong to a class |
| 23:49:23 | Watusimoto | etc. |
| 23:49:33 | raptor | structs? |
| 23:49:45 | raptor | i thought they are classes.. |
| 23:50:35 | raptor | i forgot i made new badges... |
| 23:50:44 | sam686 | only the limited people could view the master log which stores IP address (raptor, watusimot, and me), server (could be your hosting server) logs IP addresses too bot only the players connect to server... |
| 23:50:50 | bobdaduck | can we add player profile capabilities? |
| 23:51:11 | bobdaduck | badges methinks will quickly fall off the score sheet. |
| 23:51:29 | bobdaduck | but a lookup/profile screen would be cool. |
| 23:51:30 | | raptor Quit () |
| 23:51:45 | | raptor has joined |
| 23:51:46 | | ChanServ sets mode +o raptor |
| 23:51:56 | raptor | bobdaduck: like what? kaen wrote some stats: http://www.bitfighter.org/stats/stats.php |
| 23:52:05 | bobdaduck | yeah. |
| 23:52:09 | bobdaduck | make those viewable in-game. |
| 23:52:25 | raptor | oh |
| 23:52:31 | raptor | hmmm |
| 23:52:45 | | raptor mind goes blank |
| 23:52:53 | sam686 | might be difficult, besides all computers that can run bitfighter also have a web browser.. |
| 23:53:22 | raptor | ohyeah, the zonecontroller badge |
| 23:53:36 | bobdaduck | but its seperate from the game. |
| 23:53:45 | bobdaduck | A miscellanious thing that one can check. |
| 23:53:49 | raptor | yes |
| 23:53:51 | bobdaduck | If its in game, its integral. |
| 23:54:02 | raptor | we could make it an offshoot of the high scores menu somehow |
| 23:54:15 | bobdaduck | Also badges. |
| 23:54:24 | bobdaduck | If we had a profile screen we could fix overflow. |
| 23:55:19 | raptor | you mean in the scoreboard? |
| 23:56:28 | bobdaduck | yeah. |
| 23:56:45 | sam686 | as in, choosing any one or 2 of all your ten badges you earned to display? |
| 23:56:54 | bobdaduck | Like, three badges is almost too much for the tab screen to handle already. |
| 23:56:57 | bobdaduck | yeah, as in choosing. |
| 23:57:38 | bobdaduck | and if it displayed fun stats like kaen's does, that'd be nice too. |