Timestamps are in GMT/BST.
| 00:13:00 | | Little_Apple has joined |
| 00:14:00 | Little_Apple | helloo |
| 00:14:00 | Little_Apple | i am back to annoy you |
| 00:14:00 | raptor | are you on christmas break? |
| 00:14:00 | Little_Apple | not yet D: |
| 00:14:00 | Little_Apple | at the end of the week i am |
| 00:15:00 | raptor | do you know where your bitfighter.ini is? |
| 00:15:00 | Little_Apple | yes |
| 00:15:00 | raptor | oh goodie - can you do some beta testing for 016 for me? |
| 00:15:00 | Little_Apple | sure |
| 00:16:00 | Little_Apple | i need to get on the other cmoputer first :P |
| 00:16:00 | Little_Apple | im on the g3 |
| 00:16:00 | raptor | ok, wait |
| 00:16:00 | raptor | i need to compile - it'll be ready in like 5 min. |
| 00:16:00 | raptor | but! |
| 00:16:00 | Little_Apple | imma get on the g4 first |
| 00:16:00 | Little_Apple | yes? |
| 00:16:00 | raptor | you need to save a copy of your bitfighter.ini before you runt he beta |
| 00:16:00 | Little_Apple | ok... why? |
| 00:16:00 | raptor | so you don't get into master connection trouble like last time |
| 00:16:00 | Little_Apple | oh ok :3 |
| 00:16:00 | raptor | then when done testing the beta |
| 00:16:00 | Little_Apple | imma go now |
| 00:16:00 | Little_Apple | brb |
| 00:16:00 | raptor | you put back the original |
| 00:17:00 | Little_Apple | yes |
| 00:17:00 | Little_Apple | BRBB |
| 00:17:00 | | Little_Apple Quit (Client Quit) |
| 00:19:00 | | Little_Apple has joined |
| 00:19:00 | Little_Apple | im heere! |
| 00:19:00 | raptor | hello there |
| 00:19:00 | Little_Apple | C: |
| 00:19:00 | Little_Apple | ok im ready |
| 00:19:00 | Little_Apple | cant stay long |
| 00:19:00 | raptor | i told you 5 min... |
| 00:19:00 | Little_Apple | ok.... :\ |
| 00:20:00 | Little_Apple | TOOO LOONGGG |
| 00:20:00 | Little_Apple | GAAHHH |
| 00:20:00 | Little_Apple | jeopardy theme plays* |
| 00:20:00 | Little_Apple | doo doo doo doo doo doo dooo |
| 00:21:00 | Little_Apple | doo doo doo doo doooo doo doo doo doo doo doo doo doo doo doo doo doooo |
| 00:21:00 | Little_Apple | how much time left :3 |
| 00:21:00 | sam686 | . |
| 00:21:00 | raptor | it's about 20% done |
| 00:21:00 | sam686 | hi |
| 00:21:00 | Little_Apple | D: |
| 00:21:00 | Little_Apple | hi sammy bob |
| 00:21:00 | sam686 | 21 % done? |
| 00:21:00 | raptor | 10% |
| 00:21:00 | Little_Apple | xD |
| 00:21:00 | raptor | it goes backwards just for LA |
| 00:21:00 | Little_Apple | lolz |
| 00:22:00 | Little_Apple | los angeles? |
| 00:22:00 | sam686 | negative twenty three percent? |
| 00:22:00 | Little_Apple | looool |
| 00:22:00 | Little_Apple | i fell like im spamming sometimes |
| 00:22:00 | Little_Apple | feel |
| 00:22:00 | raptor | then i feel you should pay attention to your feelings |
| 00:23:00 | Little_Apple | hahah |
| 00:23:00 | Little_Apple | funny |
| 00:23:00 | Little_Apple | C: |
| 00:23:00 | raptor | did you backup your bitfighter.ini yet? |
| 00:23:00 | Little_Apple | oh o forgot |
| 00:23:00 | Little_Apple | thanx for reminding mee |
| 00:24:00 | Little_Apple | done |
| 00:24:00 | raptor | excellent, make sure it doesn't get deleted |
| 00:24:00 | Little_Apple | i will |
| 00:24:00 | raptor | about 80% done |
| 00:24:00 | Little_Apple | brb |
| 00:25:00 | Little_Apple | i have too sweep the porch x| |
| 00:25:00 | raptor | ok |
| 00:27:00 | Little_Apple | ok back |
| 00:27:00 | Little_Apple | IS IT DONNEE???? |
| 00:27:00 | Little_Apple | TELL MEEE |
| 00:28:00 | Little_Apple | hurry hurry hurry |
| 00:28:00 | Little_Apple | brb again :| |
| 00:28:00 | raptor | it's done compiling |
| 00:28:00 | raptor | i'm uploading it somewhere for you to get... |
| 00:29:00 | raptor | ok Little_Apple, for you: http://host-78-12-107-208.midco.net/upload/Bitfighter-016-beat-for-LA.zip |
| 00:30:00 | raptor | and thanks sam686, as always, for the use of your computer as a staging area |
| 00:30:00 | Little_Apple | ok thanx raptor |
| 00:30:00 | raptor | remember you bitfighter.ini!! |
| 00:30:00 | Little_Apple | you misspelled meta |
| 00:30:00 | Little_Apple | beta* |
| 00:31:00 | Little_Apple | xD |
| 00:31:00 | raptor | bah |
| 00:31:00 | Little_Apple | lol |
| 00:31:00 | raptor | ok |
| 00:31:00 | Little_Apple | you spelled it "beat" |
| 00:31:00 | raptor | so if you want to play 015a again, just copy back the INI |
| 00:31:00 | Little_Apple | yes |
| 00:31:00 | Little_Apple | :3 |
| 00:31:00 | raptor | ok, i need to go home, please test a bunch and come back with any errors - try to make sure we can duplicate them errors |
| 00:31:00 | Little_Apple | do you miss the off topic forum? |
| 00:31:00 | Little_Apple | ok |
| 00:31:00 | raptor | nope |
| 00:31:00 | raptor | :) |
| 00:31:00 | Little_Apple | lol |
| 00:32:00 | Little_Apple | see ya |
| 00:32:00 | raptor | later |
| 00:32:00 | Little_Apple | imma test it now |
| 00:32:00 | | raptor Quit (Remote host closed the connection) |
| 00:32:00 | | Little_Apple Quit (Quit: Page closed) |
| 00:46:00 | | Little_Apple has joined |
| 00:46:00 | Little_Apple | helloooo |
| 00:47:00 | sam686 | hi |
| 00:47:00 | Little_Apple | i tested the new version |
| 00:48:00 | Little_Apple | C: |
| 00:48:00 | sam686 | any problems? |
| 00:49:00 | Little_Apple | one at least |
| 00:49:00 | Little_Apple | the resizing bug in window mode is still there |
| 00:56:00 | | koda Quit (Quit: [koda release];) |
| 00:56:00 | | raptor has joined |
| 00:56:00 | | ChanServ sets mode +o raptor |
| 00:56:00 | Little_Apple | hi there |
| 00:56:00 | raptor | Little_Apple: which resizing bug? |
| 00:57:00 | Little_Apple | when you are in window mode and resize the window it goes blank and you cant see anything |
| 00:57:00 | Little_Apple | other than that i couldnt find any bugs |
| 00:57:00 | Little_Apple | the spawn shield works nicely :D |
| 00:57:00 | raptor | does 015a do thar? |
| 00:57:00 | raptor | that |
| 00:58:00 | Little_Apple | no v15 does not do it |
| 00:58:00 | Little_Apple | noope |
| 00:58:00 | Little_Apple | chuck testa |
| 00:59:00 | raptor | ok |
| 00:59:00 | Little_Apple | its all still there its just the window goes black |
| 01:02:00 | raptor | does the window come back if you move the mouse or a key in a menu? |
| 01:02:00 | raptor | like the arrow keys? |
| 01:02:00 | Little_Apple | no |
| 01:02:00 | Little_Apple | it all stays black |
| 01:02:00 | raptor | ugh, that's bad |
| 01:03:00 | Little_Apple | but its fully functional... you just cant see anything |
| 01:03:00 | raptor | haha |
| 01:03:00 | Little_Apple | botfighter thought ukulele was a company... wow. |
| 01:03:00 | raptor | hehe |
| 01:04:00 | Little_Apple | I MEAN REALLY??? oh poodles.... |
| 01:04:00 | Little_Apple | gahhahahahhhhhhhh...... |
| 01:04:00 | | Flynnn Quit (Read error: Operation timed out) |
| 01:05:00 | raptor | ok, recompiling again on my home mac vm |
| 01:05:00 | Little_Apple | ok lol |
| 01:05:00 | Little_Apple | dont die! |
| 01:06:00 | raptor | yep, goes black |
| 01:07:00 | raptor | but i can still get to menus |
| 01:07:00 | raptor | interesting... |
| 01:07:00 | Little_Apple | see?? I NO LIE! |
| 01:09:00 | Little_Apple | TOMATO SOUP! |
| 01:09:00 | raptor | dinner? |
| 01:09:00 | Little_Apple | no |
| 01:09:00 | Little_Apple | spaggetti |
| 01:09:00 | Little_Apple | or however its spelled |
| 01:10:00 | | Flynnn has joined |
| 01:12:00 | Little_Apple | can your kid eat chili yet? :3 |
| 01:12:00 | raptor | nope |
| 01:12:00 | Little_Apple | aww |
| 01:12:00 | raptor | in a few months |
| 01:12:00 | Little_Apple | :D |
| 01:12:00 | Little_Apple | can he eat steak yet? |
| 01:14:00 | Little_Apple | waffles? |
| 01:14:00 | Little_Apple | poptarts? |
| 01:14:00 | raptor | grilled cheese |
| 01:14:00 | raptor | is fir dinner |
| 01:14:00 | Little_Apple | C: |
| 01:14:00 | Little_Apple | can he eat grilled cheese? |
| 01:16:00 | raptor | i think thw wife may get upset if i test that... |
| 01:16:00 | Little_Apple | WHAT CAN HE EAT??? |
| 01:16:00 | Little_Apple | besides apple sauce :| |
| 01:20:00 | raptor | dinner time! |
| 01:20:00 | Little_Apple | OM A NONMS |
| 01:23:00 | Little_Apple | hurry up and eat |
| 01:23:00 | Little_Apple | hork it down |
| 01:23:00 | Little_Apple | fast fast fast |
| 01:23:00 | Little_Apple | GOGOGOGOGO |
| 01:23:00 | Little_Apple | THIS IS EPIC MEAL TIME |
| 01:23:00 | Little_Apple | EAT IT ALL IN ONE BIT |
| 01:23:00 | Little_Apple | GOGOGOGO EAT LIKE A CANNIBAL |
| 01:23:00 | Little_Apple | EAT SO FAST YOU POOP IT OUT IMMIDEATLY!! |
| 01:25:00 | Little_Apple | GO GO EAT EAT EAT CHUG CHUG CHUG CHUG |
| 01:31:00 | raptor | methinks you need another hobby to pass the time |
| 01:31:00 | Little_Apple | i do |
| 01:32:00 | Little_Apple | the uke :3 |
| 01:32:00 | raptor | oh good |
| 01:32:00 | Little_Apple | and procrastination |
| 01:32:00 | raptor | not good |
| 01:32:00 | Little_Apple | lol |
| 01:32:00 | raptor | i then recommend you play the uke while you idle in IRC - it will prevent outbursts like what I am reading now... |
| 01:33:00 | Little_Apple | i put the pro in procastinate |
| 01:34:00 | Little_Apple | im also posting on the forums |
| 01:36:00 | Little_Apple | i have a science assingment due tomorrow |
| 01:36:00 | Little_Apple | havent touched it :3 |
| 01:37:00 | Little_Apple | i should probably start now |
| 01:40:00 | Little_Apple | yea i will |
| 01:40:00 | Little_Apple | cyuh |
| 01:40:00 | | Little_Apple Quit (Quit: Page closed) |
| 02:11:00 | sam686 | i think the forum is getting a lot crazy now.. |
| 02:23:00 | raptor | be back laterz |
| 02:23:00 | | raptor Quit (Remote host closed the connection) |
| 02:26:00 | | BFLogBot - Commit 9c78392b9119 | Author: buckyballreaction | Log: Add in SDL.framework at hg changeset c5d651a8b679 to fix black screen when resizing on Mac |
| 02:26:00 | | BFLogBot - Commit 2d6e4d3b9290 | Author: buckyballreaction | Log: Update Xcode project to use new SDL framework |
| 02:33:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 02:44:00 | | BlackBird has joined |
| 02:44:00 | BlackBird | Guten Tag |
| 02:46:00 | BlackBird | or Guten Nacht |
| 02:46:00 | BlackBird | Guten Nacht is more accurate |
| 02:47:00 | sam686 | ? |
| 02:48:00 | BlackBird | hi |
| 02:48:00 | sam686 | hi |
| 02:48:00 | BlackBird | irc is quiet tonight |
| 02:49:00 | BlackBird | i guess everyone is on the fourms |
| 02:50:00 | BlackBird | does watusi like my ship alternitives? |
| 02:51:00 | BlackBird | ello? |
| 02:51:00 | sam686 | probably yes, by sending screenshot of the level. |
| 02:51:00 | BlackBird | i know he recieved the screen shot, (raptor told me) but does he like the ship designs? |
| 02:55:00 | sam686 | i don't remember what watusimoto said about the screenshot.. |
| 02:55:00 | BlackBird | oh ok |
| 02:56:00 | BlackBird | if it wasnt for angry birds, we wouldnt have green eggs or ham |
| 02:57:00 | sam686 | i think i found it. http://209.141.63.138/irclogs/index.php?date=2011-12-12 |
| 02:57:00 | sam686 | its at the bottom |
| 02:57:00 | BlackBird | ok |
| 03:00:00 | BlackBird | i dont speak spammish... |
| 03:01:00 | BlackBird | personally, i would at least want some alternitives to what we already have. |
| 03:01:00 | BlackBird | as far as ship deseigns |
| 03:02:00 | BlackBird | well, |
| 03:02:00 | BlackBird | Guten Nacht everyone |
| 03:02:00 | | BlackBird Quit (Quit: Page closed) |
| 03:29:00 | | Flynnn has joined |
| 03:32:00 | | Flynnn Quit (Client Quit) |
| 03:51:00 | | Flynnn has joined |
| 04:34:00 | | raptor has joined |
| 04:34:00 | | ChanServ sets mode +o raptor |
| 04:34:00 | raptor | hello |
| 05:00:00 | sam686 | hi |
| 05:00:00 | raptor | hi |
| 05:03:00 | | sam686|2 has joined |
| 05:03:00 | | sam686 Quit (Disconnected by services) |
| 05:04:00 | | sam686|2 is now known as sam686 |
| 05:04:00 | | ChanServ sets mode +v sam686 |
| 05:04:00 | raptor | fork! |
| 05:04:00 | sam686 | do you think a survivor mode a good idea for Bitfighter? |
| 05:05:00 | raptor | i'm not sure - i personally never like survivor mode much because I would always just be waiting around... |
| 05:05:00 | sam686 | i kind of not sure either, though there is a few people wanting survivor game mode |
| 05:06:00 | sam686 | i will go, night.. |
| 05:07:00 | raptor | ok |
| 05:07:00 | raptor | good night |
| 05:07:00 | | sam686 has left |
| 05:34:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 05:36:00 | | Flynnn has joined |
| 05:36:00 | raptor | night |
| 05:36:00 | | raptor Quit (Remote host closed the connection) |
| 06:30:00 | | raptor has joined |
| 06:30:00 | | ChanServ sets mode +o raptor |
| 06:31:00 | raptor | sigh |
| 06:31:00 | raptor | why am i still up? |
| 06:46:00 | | raptor Quit (Remote host closed the connection) |
| 07:25:00 | | Flynnn Quit (Ping timeout: 252 seconds) |
| 07:30:00 | | Flynnn has joined |
| 07:55:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 07:56:00 | | Flynnn has joined |
| 08:10:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 08:10:00 | | Flynnn has joined |
| 08:18:00 | | Flynnn Quit (Ping timeout: 276 seconds) |
| 08:22:00 | | Flynnn has joined |
| 10:08:00 | | Flynnn Quit (Ping timeout: 252 seconds) |
| 14:09:00 | | raptor has joined |
| 14:09:00 | | ChanServ sets mode +o raptor |
| 14:20:00 | | raptor Quit (Remote host closed the connection) |
| 14:44:00 | | kodax has joined |
| 14:47:00 | | sam686 has joined |
| 14:47:00 | | ChanServ sets mode +v sam686 |
| 15:07:00 | | sam686 Quit (Ping timeout: 245 seconds) |
| 15:12:00 | | kodax Quit (Remote host closed the connection) |
| 15:21:00 | | raptor has joined |
| 15:21:00 | | raptor Quit (Changing host) |
| 15:21:00 | | raptor has joined |
| 15:21:00 | | ChanServ sets mode +o raptor |
| 15:21:00 | raptor | morning! |
| 15:25:00 | | LordDVG has joined |
| 15:34:00 | raptor | watusimoto: so tell me about the Robot Event system |
| 15:34:00 | raptor | could it be used as a template for the fabled supervisor script? |
| 15:45:00 | watusimoto | ah, yes, probably |
| 15:45:00 | watusimoto | so, what to tell you |
| 15:46:00 | watusimoto | the concept is pretty simple |
| 15:46:00 | raptor | yeah - it looks pretty simple |
| 15:46:00 | watusimoto | at various places in the code, we fire an event |
| 15:46:00 | watusimoto | the event handler looks at all the scripts and looks for methods that might respond to that event |
| 15:47:00 | watusimoto | scripts don't register as listeners, per se, but rather have methods with names that indicate they are listening |
| 15:48:00 | watusimoto | the bot might implenet onPlayerDied(playername) [[fictional example, don't rememnber any real ones]] |
| 15:48:00 | watusimoto | when player is killed, if any bots have an onPlayerDied method, it gets called, and is passed the name of the player |
| 15:48:00 | watusimoto | a script listens by having that method, doesn;t listen by not having that method |
| 15:49:00 | raptor | so basically when something happens - it is just added to the event 'queue' |
| 15:49:00 | watusimoto | there is no queue |
| 15:49:00 | raptor | really? |
| 15:49:00 | watusimoto | the handlers are run in "real time" |
| 15:49:00 | watusimoto | i.e. when the player dies, the game stops doing what it's doing to run the bot onPlayerDied methods |
| 15:50:00 | watusimoto | then carries on |
| 15:50:00 | watusimoto | this kind of makes sense since everything happens in a single thread |
| 15:50:00 | raptor | interesting |
| 15:50:00 | watusimoto | it might be cool to have bots in their own threads, in which case we'd need some queuing scheme |
| 15:51:00 | raptor | yes! |
| 15:51:00 | watusimoto | but currently it's single threaded |
| 15:51:00 | raptor | ok |
| 15:51:00 | watusimoto | and there are plenty of difficulties I see with going to a multi-threaded architecture |
| 15:51:00 | raptor | oh yeah |
| 15:51:00 | watusimoto | so the supervisor script would be like a bot, listenting for events and doing somehting |
| 15:51:00 | watusimoto | even the main method of the bots, onTick() is a kind of event listener |
| 15:52:00 | watusimoto | it just listens for the onTick call, which happens each loop of the main idle loop |
| 15:52:00 | watusimoto | one other advantage of the system as we have it is that it makes reading bot code much easier... you know what all the major methods do because the names are standardized |
| 15:52:00 | raptor | I think before threading of bots, we need to reduce the memory usage... |
| 15:52:00 | watusimoto | there will be helper methods and functions, of course, but the system is somewhat self-documenting |
| 15:53:00 | watusimoto | I *kind of* know how to run all the bots in a single interpreter, which will help the memory consumption |
| 15:53:00 | watusimoto | but I don't quite understand Lua enough to do it |
| 15:54:00 | raptor | yeah, that's where I am, too |
| 15:54:00 | raptor | lua and c++ are just so different that it breaks my brain when dealing with both at once |
| 15:54:00 | watusimoto | But I think the supervisor script will be fairly easy -- it's basically a bot |
| 15:54:00 | watusimoto | well, a kind of hybrid between bots and levelgens |
| 15:54:00 | watusimoto | or, really, a levelgen that listens for events like a bot |
| 15:55:00 | watusimoto | and therefore never really exits until the level ends |
| 15:55:00 | watusimoto | I think they will probably implement an onLevelLoaded() method that contains all the level generation stuff, then listen for all the other events, including onTick() |
| 15:56:00 | watusimoto | does that answer your question? |
| 15:56:00 | raptor | yes |
| 15:56:00 | raptor | thanks |
| 15:56:00 | watusimoto | are you thinking about doing that? |
| 15:57:00 | watusimoto | I think it's a feature that can easily wait, but also one that will open the game up considerably once implemented |
| 15:57:00 | raptor | i'm actually thinking about doing the sleep() command and other issues like it - I just needed to get my head around the EventManager... and of course I added a tangent or two.. |
| 15:57:00 | watusimoto | sleep() is probably very easy |
| 15:57:00 | watusimoto | we have timers already |
| 15:57:00 | watusimoto | these are really cool |
| 15:57:00 | watusimoto | (though only documented in the code, alas) |
| 15:57:00 | raptor | yes, i've used the timers |
| 15:57:00 | watusimoto | but I really like the design |
| 15:57:00 | raptor | the only documentation ever read is what's in the code! |
| 15:57:00 | watusimoto | I'm thinking sleep might just set a timer |
| 15:58:00 | watusimoto | or maybe it tells the bot handler not to fire events to the bot until it awakes? |
| 15:58:00 | watusimoto | or should bots still listen to events while sleeping? |
| 15:58:00 | watusimoto | and only ignore the onTick() method? |
| 15:58:00 | raptor | is onTick() the main work horse of bots? |
| 15:59:00 | watusimoto | yes |
| 15:59:00 | watusimoto | most bots will set their move every cycle via the onTick() method |
| 15:59:00 | raptor | so that would be Robot::idle() |
| 15:59:00 | watusimoto | proably called from there |
| 16:00:00 | raptor | wait wait - i see: Robot::setPaused |
| 16:00:00 | watusimoto | I'm opening my vm with the game code on it |
| 16:00:00 | raptor | it's only called from the constructor of ServerGame |
| 16:00:00 | raptor | and set to false |
| 16:01:00 | watusimoto | oh, there is a pause function in-game |
| 16:01:00 | raptor | really?? |
| 16:01:00 | watusimoto | . /pause |
| 16:01:00 | raptor | how do i not know this.. |
| 16:01:00 | watusimoto | that pauses all bots |
| 16:01:00 | watusimoto | then you can step them |
| 16:01:00 | raptor | interesting |
| 16:01:00 | watusimoto | to better see what they're doing |
| 16:02:00 | watusimoto | it can be very helpful |
| 16:04:00 | watusimoto | how do I tell hg to blow away local changes and just use the lastest code? |
| 16:04:00 | raptor | hg revert -a |
| 16:04:00 | watusimoto | trying to do more from the cmd line |
| 16:05:00 | raptor | then do for good measure: hg pull -u |
| 16:05:00 | watusimoto | what's -u? |
| 16:05:00 | raptor | update immediately |
| 16:05:00 | watusimoto | excellent |
| 16:06:00 | watusimoto | hmmm... what are all these methods? |
| 16:06:00 | watusimoto | isSubscribed |
| 16:06:00 | watusimoto | and firends |
| 16:06:00 | watusimoto | in robot.cpp |
| 16:06:00 | raptor | yes! that's why i thought there was a queue |
| 16:06:00 | watusimoto | maybe there is |
| 16:06:00 | watusimoto | ??? |
| 16:06:00 | raptor | hehe |
| 16:07:00 | watusimoto | hmmm |
| 16:07:00 | watusimoto | well, we have so few events, it can't be that hard to figure out |
| 16:07:00 | watusimoto | ah |
| 16:07:00 | watusimoto | maybe |
| 16:08:00 | watusimoto | maybe there is an intermediary that passes the events on to the bots |
| 16:08:00 | watusimoto | fireEvent is a general event firer |
| 16:08:00 | watusimoto | and calls onMsgSent in the lua code |
| 16:08:00 | raptor | i'm not seeing fireEvent used anywhere |
| 16:08:00 | watusimoto | I'm betting this is a lua function in one of the helper scripts |
| 16:09:00 | raptor | oh, there are 4 of them... |
| 16:09:00 | watusimoto | oh |
| 16:09:00 | watusimoto | we only have 5 events |
| 16:09:00 | watusimoto | I think |
| 16:09:00 | raptor | one is used in ship.cpp |
| 16:09:00 | raptor | Ship::onAddedToGame |
| 16:09:00 | raptor | another in Ship::kill |
| 16:10:00 | raptor | see - i think that 'subscriptions' array is the queue |
| 16:10:00 | raptor | or pseudoqueue |
| 16:10:00 | raptor | if that's a word |
| 16:10:00 | watusimoto | but I can't find onMsgSent anywyere |
| 16:10:00 | watusimoto | if that's a workd |
| 16:10:00 | watusimoto | or that |
| 16:11:00 | raptor | EventManager::update cycles through the subscriptions |
| 16:11:00 | watusimoto | from robot_helper_functions.lua: |
| 16:11:00 | watusimoto | function subscribe(event) |
| 16:11:00 | watusimoto | bot:subscribe(event) |
| 16:11:00 | watusimoto | end |
| 16:11:00 | watusimoto | so it looks like we do have to subscribe |
| 16:12:00 | watusimoto | but you don't regsiter a function name, so you use the standard function names I described earlier |
| 16:12:00 | watusimoto | the onTick handler works like this: |
| 16:12:00 | watusimoto | if _declared("onTick") and type(onTick) == "function" then |
| 16:12:00 | watusimoto | onTick(self, deltaT) |
| 16:12:00 | watusimoto | end |
| 16:12:00 | watusimoto | so it checks the bot to see if it implemented onTick, and if so, calls it |
| 16:15:00 | watusimoto | http://bitfighter.org/wiki/index.php?title=Programming_robots#Currently_defined_events |
| 16:16:00 | watusimoto | sample code contains no references to registering |
| 16:16:00 | watusimoto | so that may be a holdover from an older design |
| 16:16:00 | watusimoto | maybe? |
| 16:16:00 | raptor | i see subscribe |
| 16:16:00 | raptor | in sample code |
| 16:17:00 | watusimoto | oh yes... that. |
| 16:17:00 | raptor | :-) |
| 16:17:00 | watusimoto | clearly need to subscribe, as I was saying |
| 16:17:00 | watusimoto | hmmm.... all the samples seem to contain that |
| 16:18:00 | watusimoto | not sure how a hypothetical person could miss that |
| 16:18:00 | watusimoto | so those two samples should also work from the supervisor script |
| 16:19:00 | watusimoto | except instead of doing shippy things, it would do levelgenny things |
| 16:19:00 | watusimoto | like add 1000 asteroids or whatever |
| 16:20:00 | raptor | or randomly add a wall? |
| 16:20:00 | raptor | maybe wall need to be static.. |
| 16:20:00 | watusimoto | ummm.... theoretically |
| 16:20:00 | watusimoto | I mean, it should work |
| 16:21:00 | watusimoto | I think the only thing that won;t currently work is deleting a wall |
| 16:21:00 | watusimoto | we have no mechanism for that at the moment |
| 16:21:00 | raptor | yeah, ignore me - my mind is wandering |
| 16:21:00 | watusimoto | no prob |
| 16:21:00 | raptor | oh the possibilities! |
| 16:23:00 | raptor | well, at the moment I have to figure out annotation-driven java web services... |
| 16:23:00 | raptor | so, i'll get to the bot issues a little later |
| 16:24:00 | watusimoto | ok! |
| 16:28:00 | raptor | evil JEE |
| 16:33:00 | raptor | http://host-78-12-107-208.midco.net/upload/Bitfighter-016-beta-fix-for-resize.zip |
| 16:33:00 | raptor | ^^ if BB or LA ever come around |
| 16:36:00 | watusimoto | ?? |
| 16:36:00 | raptor | I've been using BlackBird and Little_Apple as beta testers for 016 on Mac |
| 16:36:00 | watusimoto | ah, I see |
| 16:36:00 | watusimoto | BB & LA |
| 16:36:00 | raptor | they're the only ones... |
| 16:37:00 | raptor | I can find |
| 16:37:00 | raptor | that have a Mac |
| 16:37:00 | watusimoto | I know the problem |
| 16:37:00 | raptor | what problem? |
| 16:37:00 | watusimoto | finding mac testers |
| 16:37:00 | raptor | ah |
| 16:37:00 | raptor | yes |
| 16:37:00 | watusimoto | I struggeled with that for a long time |
| 16:37:00 | raptor | so - they've help me squish 2 bugs so far - hopefull this build gets the third |
| 16:38:00 | watusimoto | excellent! |
| 16:44:00 | raptor | have you taken a look at the mac download count?: http://code.google.com/p/bitfighter/downloads/list |
| 16:44:00 | raptor | there's also proxy Mac sites that have more - i wonder where they all are? |
| 16:52:00 | | Watusimoto_ has joined |
| 16:52:00 | watusimoto | wow |
| 16:52:00 | watusimoto | hadn't looked at that stat for a long while |
| 17:23:00 | | watusimoto Quit (Ping timeout: 268 seconds) |
| 17:46:00 | | Watusimoto_ Quit (Ping timeout: 244 seconds) |
| 19:03:00 | | Watusimoto has joined |
| 19:09:00 | Watusimoto | did a case from google code case list!!! |
| 19:09:00 | raptor | really?? |
| 19:09:00 | raptor | sweet! |
| 19:10:00 | Watusimoto | admittedly it was the easiest, most trivial one I could find |
| 19:10:00 | Watusimoto | but I'm getting sick of my private list, so I'll work on the public one for a spell |
| 19:10:00 | raptor | great! |
| 19:12:00 | raptor | we shoudl swap lists: i've been getting tired of the public list... |
| 19:12:00 | Watusimoto | ok, I'll add some cases |
| 19:12:00 | Watusimoto | actually, I'll just put my list on pastie |
| 19:13:00 | raptor | sounds good to me |
| 19:13:00 | | BFLogBot - Commit 45c1b38a236b | Author: watusim...@bitfighter.org | Log: When requesting admin or level change permissions, incorrect passwords are now logged in server log |
| 19:13:00 | | BFLogBot - Commit f9621109d83e | Author: watusim...@bitfighter.org | Log: Merge |
| 19:14:00 | Watusimoto | http://pastie.org/3017125 |
| 19:14:00 | Watusimoto | let me know if you do any of them |
| 19:15:00 | raptor | scoreboard when there's tons of players <-- what is specifically wrong here? |
| 19:15:00 | Watusimoto | noticed this during the redit event |
| 19:15:00 | Watusimoto | too many players on scoreboard means everything gets scrolled off the edges... should probably either omit names or make font smaller when names exceed some threshold |
| 19:16:00 | Watusimoto | should be easy to test with the new dummy scores option |
| 19:16:00 | Watusimoto | which is why I added it |
| 19:16:00 | Watusimoto | just add about 20 players to each team and see what happens |
| 19:16:00 | raptor | ok |
| 19:17:00 | Watusimoto | in reality, this could be deferred to 016a, but I think it's an easy fix |
| 19:17:00 | Watusimoto | now that we don't need to create all these clients to see what happens |
| 19:18:00 | raptor | i don't see the scrolling off screen... |
| 19:19:00 | Watusimoto | what happens when there are too many players to fit? |
| 19:19:00 | Watusimoto | something bad happens |
| 19:19:00 | Watusimoto | whatever that bad thing is is what this case is about |
| 19:19:00 | raptor | so i tested 2 teams with 60 players per team |
| 19:19:00 | Watusimoto | make the bad thing stop somehow |
| 19:19:00 | raptor | all fits fine |
| 19:19:00 | Watusimoto | what?!? |
| 19:19:00 | raptor | the font is scalled quite small |
| 19:20:00 | Watusimoto | the font shrunk? |
| 19:20:00 | raptor | let me get you a screenshot |
| 19:20:00 | Watusimoto | try it in a teamless game |
| 19:20:00 | Watusimoto | maybe you fixed it |
| 19:20:00 | raptor | http://host-78-12-107-208.midco.net/upload/1screenshot_6.png |
| 19:21:00 | raptor | http://host-78-12-107-208.midco.net/upload/screenshot_7.png |
| 19:21:00 | raptor | I bet sam686 fixed it sneakily |
| 19:24:00 | raptor | i consider those screenshots to mean it is fixed |
| 19:25:00 | Watusimoto | wow |
| 19:25:00 | Watusimoto | I guess so |
| 19:25:00 | Watusimoto | good work! |
| 19:25:00 | raptor | haha thanks! |
| 19:26:00 | Watusimoto | http://pastie.org/3017178 |
| 19:26:00 | Watusimoto | now without the scores |
| 19:27:00 | Watusimoto | as you can see, my list is not better than the google list |
| 19:27:00 | raptor | I think the old goal flash might fit with the game style better |
| 19:28:00 | raptor | sam686 put it as an INI option: OldGoalFlash |
| 19:30:00 | Watusimoto | yes |
| 19:30:00 | Watusimoto | well |
| 19:30:00 | Watusimoto | I do too. I had an idea to improve it further, but not sure what it was |
| 19:30:00 | Watusimoto | haven't looked at it for a while |
| 19:31:00 | raptor | so for now we can default the INI option to old flash? |
| 19:31:00 | Watusimoto | but I don't like having too many options |
| 19:31:00 | Watusimoto | I think so |
| 19:31:00 | Watusimoto | some options are good |
| 19:31:00 | Watusimoto | like (perhaps) alternate wall color |
| 19:32:00 | Watusimoto | some are just pedantic. I should remove some of the old options I had such as the atlernate burst graphics |
| 19:33:00 | raptor | OK, i made the old the default |
| 19:33:00 | | BFLogBot - Commit bbb85d560582 | Author: buckyballreaction | Log: Make old goal flash the default |
| 19:41:00 | | LordDVG Quit (Quit: mjuza, better way to listen music: sf.net/projects/mjuza/) |
| 19:45:00 | raptor | how on earth did oglconsole printing break...? |
| 20:22:00 | raptor | ok foudn the changeset that breaks it: 1cf84e51606b |
| 20:23:00 | raptor | not sure why you made LUA changes there yet... |
| 20:34:00 | Watusimoto | what's the easiet way to see a revision? for some reason google won;t let me search by them |
| 20:34:00 | raptor | http://code.google.com/p/bitfighter/source/detail?r=1cf84e516 |
| 20:34:00 | Watusimoto | October?!? |
| 20:35:00 | Watusimoto | who remembers that?!? |
| 20:35:00 | raptor | ha! |
| 20:35:00 | raptor | that what hg bisect let me to |
| 20:35:00 | raptor | led |
| 20:36:00 | Watusimoto | ah |
| 20:36:00 | Watusimoto | most of that is just routine stuff, but the good bits are pushMenuItem |
| 20:36:00 | Watusimoto | and related |
| 20:36:00 | Watusimoto | these let lua scripts built menus |
| 20:36:00 | Watusimoto | so an editor plugin can create a menu that asks for its options |
| 20:37:00 | Watusimoto | not sure why it would injure the console |
| 20:38:00 | Watusimoto | what's the problem you are diagnosing? what do you mean by printing? |
| 20:38:00 | raptor | i am running my arc.lua script |
| 20:38:00 | raptor | run arc -h |
| 20:39:00 | raptor | i added a -h flag in there that calls 'print()' -> which redirects to 'printToOglConsole()' |
| 20:39:00 | Watusimoto | I don't have this script, do I? |
| 20:40:00 | Watusimoto | or is this one you sent a while back? |
| 20:40:00 | Watusimoto | or is this k's script? |
| 20:41:00 | raptor | yes, i sent it |
| 20:41:00 | raptor | let me send again |
| 20:41:00 | Watusimoto | I might have it... compiling at the moment |
| 20:41:00 | raptor | sent again anyways... :) |
| 20:42:00 | raptor | brb - have to make sure a server started up.. |
| 20:52:00 | raptor | back |
| 20:52:00 | Watusimoto | found a different bug, fixing that |
| 21:05:00 | | koda has joined |
| 21:16:00 | | sam686 has joined |
| 21:16:00 | | ChanServ sets mode +v sam686 |
| 21:17:00 | raptor | i'm still not sure what's causing the problem |
| 21:18:00 | sam686 | what problem? |
| 21:19:00 | raptor | this revision broke printing to the oglconsole when running scripts: http://code.google.com/p/bitfighter/source/detail?r=1cf84e516 |
| 21:19:00 | raptor | to test, i've been using my 'arc.lua' script I sent you guys about 2 months ago |
| 21:19:00 | raptor | in the editor i'd do: run arc -h |
| 21:20:00 | raptor | and it would print out the help for the script, now nothing is printed.. |
| 21:20:00 | sam686 | ok, i haven't looked at that yet.. |
| 21:29:00 | Watusimoto | stupid bug when script isn't in the right place |
| 21:31:00 | raptor | ? |
| 21:34:00 | Watusimoto | ok, I don't see the problem |
| 21:34:00 | Watusimoto | the script doesn't run for some reason, but error messages get printed to console |
| 21:34:00 | Watusimoto | let me fix the problem and test the -h option |
| 21:37:00 | raptor | you ned to the getopt helper script for arc.lua to run |
| 21:38:00 | Watusimoto | interesting |
| 21:39:00 | | BFLogBot - Commit 2e47767d2b99 | Author: watusim...@bitfighter.org | Log: Print helpful message when user runs non-existant script from console in editor |
| 21:39:00 | Watusimoto | getopt is in the same folder as arc.lua, but it can't be found |
| 21:39:00 | | BFLogBot - Commit 74cc6e0be419 | Author: watusim...@bitfighter.org | Log: Merge |
| 21:40:00 | Watusimoto | it's looking for a scripts subfolder for somereason |
| 21:41:00 | Watusimoto | ah, I see |
| 21:41:00 | Watusimoto | I'll bet you but arc.lua in your scripts folder |
| 21:41:00 | Watusimoto | I put it in my levelgens folder |
| 21:42:00 | Watusimoto | opts has to be in scripts -- we don;t look in the folder where the script is, only in scripts |
| 21:44:00 | Watusimoto | so modules have to live in the scripts folder in the install directory |
| 21:44:00 | Watusimoto | ok, now I see the -h issue |
| 21:46:00 | Watusimoto | I thnk we should distribute getopt with the game; should be one of our standard libs |
| 21:52:00 | Watusimoto | so the c++ printToOglConsole doesn't seem to get called |
| 21:57:00 | Watusimoto | it's a script problem |
| 21:57:00 | Watusimoto | problem with the script itself |
| 22:06:00 | Watusimoto | I don't think the opts parsing is working |
| 22:06:00 | Watusimoto | when I uncomment the print(opt, optarg), nothing gets printed |
| 22:11:00 | raptor | hi |
| 22:11:00 | raptor | ok back from a meeting |
| 22:11:00 | Watusimoto | sigh |
| 22:12:00 | raptor | yes printToOglConsole isn't being called |
| 22:12:00 | Watusimoto | now I'm stuck fiding why we have an unhandled exception error with running scripts with errors |
| 22:12:00 | raptor | and |
| 22:12:00 | Watusimoto | lua isn't even truing |
| 22:12:00 | Watusimoto | put print "hello" at the top fo the script, it gets printed fine |
| 22:12:00 | Watusimoto | the options aren't being parsed |
| 22:13:00 | raptor | ahhh, i hadn't made it that far |
| 22:14:00 | raptor | so, does that mean that the bug is not a bug, and that it was just my script that had a problem? |
| 22:14:00 | raptor | also, I noticed you made a change to lua/lua-vec/src/lveclib.c |
| 22:14:00 | raptor | could that have anything to do with it? |
| 22:15:00 | Watusimoto | hopefully found that |
| 22:16:00 | Watusimoto | I think the bug was not a bug |
| 22:16:00 | Watusimoto | but it did lead me to find now two bugs that needed fixing |
| 22:16:00 | Watusimoto | bugs that were bugs |
| 22:17:00 | Watusimoto | RE veclib |
| 22:17:00 | Watusimoto | ah |
| 22:18:00 | Watusimoto | not really sure. |
| 22:18:00 | Watusimoto | I guess we could remove that line and see if it fixes your script |
| 22:18:00 | raptor | it doesn't |
| 22:18:00 | raptor | already tried |
| 22:18:00 | Watusimoto | ok, then no, it has nothing to do with the problem :-) |
| 22:18:00 | Watusimoto | great, no longer crashes |
| 22:22:00 | raptor | ok, well, i have to run and do errands... i'll be back in a couple hours |
| 22:24:00 | | raptor Quit (Remote host closed the connection) |
| 22:24:00 | | BFLogBot - Commit abc385df7ceb | Author: watusim...@bitfighter.org | Log: Implement missing exception handler -- script bugs no longer crash game |
| 22:31:00 | | Little_Apple has joined |
| 22:31:00 | Little_Apple | hellooo |
| 22:33:00 | Little_Apple | HEY |
| 22:33:00 | Little_Apple | HEEELLOOOOOOOO |
| 22:41:00 | Watusimoto | hi |
| 22:41:00 | Little_Apple | hello watusimoto |
| 22:46:00 | Little_Apple | bvcvbnbcbgcvbxcbxbvxbvxvbxbvxvbxbvxbvxvbxbvxvxcvbxvfdvcxxvfdcxvcxvcdvcdvcxvcvcdvsvcsdfxdfxsfdvsxdcsxdfsxfdsxdcsxfvdcxc |
| 22:47:00 | Little_Apple | :c |
| 22:50:00 | Little_Apple | 6yuo |
| 22:54:00 | Little_Apple | hey! hey ppl! |
| 22:55:00 | Watusimoto | raptor: I think args aren't being passed to the script |
| 22:56:00 | Little_Apple | numa numa yei |
| 22:56:00 | Little_Apple | numa numa numa yei |
| 22:58:00 | Little_Apple | audios |
| 22:58:00 | | Little_Apple Quit (Quit: Page closed) |
| 23:17:00 | | sam686 Quit (Ping timeout: 245 seconds) |
| 23:17:00 | | sam686 has joined |
| 23:17:00 | | ChanServ sets mode +v sam686 |
| 23:20:00 | Watusimoto | ha! fixed it! |
| 23:20:00 | Watusimoto | this is so stupid |
| 23:20:00 | Watusimoto | the main guts of the function need to be wrapped in |
| 23:20:00 | Watusimoto | function main() |
| 23:20:00 | Watusimoto | end |
| 23:21:00 | Watusimoto | if they're not, they get run, but only during init phase, when arg table hasn't been created yet |
| 23:21:00 | Watusimoto | maybe we need to print a message when main() is not found |
| 23:24:00 | Watusimoto | the idea is that the only thing that shouldn't be in the main() fn are declarations, and maybe those should even be in main() |
| 23:28:00 | | koda Quit (Quit: [koda release];) |