Timestamps are in GMT/BST.
| 00:01:33 | | Flynnn has joined |
| 00:21:49 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 00:28:00 | | Flynnn has joined |
| 00:36:15 | raptor | Watusimoto: do you have a twitter account? |
| 00:36:26 | Watusimoto | are you kidding? |
| 00:36:36 | Watusimoto | of course not |
| 00:37:00 | raptor | heh - just had to ask... |
| 00:39:57 | raptor | i wonder if we could use this against it?: https://support.twitter.com/articles/18367-trademark-policy |
| 00:40:23 | raptor | which leads here: https://support.twitter.com/forms/trademark |
| 00:40:49 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 00:52:28 | | Flynnn has joined |
| 01:05:36 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 01:05:53 | | Flynnn has joined |
| 01:08:21 | | Flynnn Quit (Client Quit) |
| 01:08:42 | | Flynnn has joined |
| 01:09:17 | | Flynnn Quit (Client Quit) |
| 01:18:09 | | Flynnn has joined |
| 01:22:16 | raptor | heading home, night! |
| 01:22:18 | | raptor Quit () |
| 01:22:37 | | Darrel[OFF] Quit (Ping timeout: 272 seconds) |
| 01:56:49 | | koda Quit (Ping timeout: 272 seconds) |
| 01:57:37 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 02:11:05 | | raptor has joined |
| 02:11:05 | | ChanServ sets mode +o |
| 02:42:57 | | YoshiSmb has joined |
| 02:44:09 | | Nothing_Much has joined |
| 02:48:55 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 02:49:21 | | Nothing_Much has joined |
| 02:59:00 | | sam686 Quit (Read error: Connection reset by peer) |
| 03:03:42 | | sam686 has joined |
| 03:03:42 | | ChanServ sets mode +v |
| 03:17:02 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 03:17:05 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
| 05:09:24 | | -cameron.freenode.net- *** Looking up your hostname... |
| 05:09:24 | | -cameron.freenode.net- *** Checking Ident |
| 05:09:25 | | -cameron.freenode.net- *** No Ident response |
| 05:09:25 | | -cameron.freenode.net- *** Couldn't look up your hostname |
| 05:09:30 | | BFLogBot has joined |
| 05:09:30 | | -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. |
| 05:57:39 | | raptor Quit () |
| 05:57:40 | | bobdaduck has joined |
| 05:57:52 | | bobdaduck Quit (Remote host closed the connection) |
| 08:01:52 | | Darrel has joined |
| 08:27:50 | | destroyerimo has joined |
| 08:40:48 | | vs37nx has joined |
| 08:41:04 | vs37nx | hello everyone |
| 08:47:15 | | vs37nx Quit (Remote host closed the connection) |
| 08:49:33 | | vs37nx has joined |
| 08:53:28 | | destroyerimo Quit (Read error: Connection reset by peer) |
| 08:56:14 | vs37nx | ive made a compilation of bitfighter wallpapers |
| 08:56:16 | vs37nx | http://bitfighter.org/forums/viewtopic.php?f=6&t=2211&p=22196#p22196 |
| 09:09:09 | vs37nx | NOTE: they are a WIP |
| 09:57:11 | | vs37nx Quit () |
| 10:37:08 | | destroyerimo has joined |
| 10:58:40 | | Watusimoto has joined |
| 11:04:01 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 11:06:36 | | Invisible1 has joined |
| 12:17:47 | | Invisible1 Quit (Ping timeout: 252 seconds) |
| 12:20:24 | | Watusimoto Quit (Ping timeout: 276 seconds) |
| 12:24:00 | | LordDVG has joined |
| 12:24:06 | | Canseco has joined |
| 12:25:43 | | Watusimoto has joined |
| 13:25:11 | | BFLogBot Commit: 6d21dd273e1d | Author: watusimoto | Message: Add sanitize for SQL functino to stringUtils |
| 13:25:12 | | BFLogBot Commit: 673d5ed975d9 | Author: watusimoto | Message: Comment |
| 13:25:14 | | BFLogBot Commit: 18258b911a03 | Author: watusimoto | Message: Clean up class a little, add new getError method to report most recent send error |
| 13:25:15 | | BFLogBot Commit: bea4578fb773 | Author: watusimoto | Message: First pass at GameJolt integration... should update GameJolt when player joins or quits Bitfighter. No trophies yet. |
| 13:50:07 | | Watusimoto Quit (Ping timeout: 260 seconds) |
| 13:52:06 | | Invisible1 has joined |
| 14:16:57 | | Watusimoto has joined |
| 14:29:35 | | Invisible1 Quit (Ping timeout: 272 seconds) |
| 14:52:00 | | BFLogBot Commit: 599a8428d127 | Author: watusimoto | Message: Fix build problem -- these namespaces are driving me craaazy! |
| 14:58:37 | | BFLogBot Commit: cee3841d8a9c | Author: watusimoto | Message: Add some logging to see what is going on |
| 15:01:05 | | BFLogBot Commit: 01f366fc81a9 | Author: watusimoto | Message: More logging |
| 15:04:15 | | Canseco Quit (Remote host closed the connection) |
| 15:04:53 | | BFLogBot Commit: eb8da4f12ddf | Author: watusimoto | Message: Remove temp logging, add some real logging |
| 15:19:18 | | BFLogBot Commit: c8a5d4715cbf | Author: watusimoto | Message: Whitespace |
| 15:34:11 | | BFLogBot Commit: 9fc455abf3a1 | Author: watusimoto | Message: Update key names |
| 15:37:22 | | BFLogBot Commit: a6f12bc6e30e | Author: watusimoto | Message: Add logging |
| 15:39:41 | | BFLogBot Commit: 1b88b1e48a71 | Author: watusimoto | Message: Fix logging error |
| 15:45:20 | | BFLogBot Commit: 9dc3804eed9e | Author: watusimoto | Message: Is INI being read? |
| 15:45:22 | | BFLogBot Commit: 00ff41693e8d | Author: watusimoto | Message: Whitespace |
| 15:46:37 | | BFLogBot Commit: f693657dbb1d | Author: watusimoto | Message: Fix logic |
| 15:47:54 | | BFLogBot Commit: 49a5a96b8cfe | Author: watusimoto | Message: Starting to get frustrated! |
| 15:53:00 | | BFLogBot Commit: 4af13bb6c779 | Author: watusimoto | Message: Will this fix it? |
| 16:02:25 | | BFLogBot Commit: b74a2ecded53 | Author: watusimoto | Message: Fix query |
| 16:06:00 | | Platskies Quit (Quit: Gotta go) |
| 16:08:59 | | BFLogBot Commit: 96d44ef81d22 | Author: watusimoto | Message: More logging... is the query working? |
| 16:13:46 | | raptor has joined |
| 16:13:46 | | ChanServ sets mode +o |
| 16:13:52 | raptor | morning |
| 16:14:21 | Watusimoto | hi |
| 16:16:43 | raptor | I did some work on trying to figure out the twitter API |
| 16:17:08 | raptor | not too difficult, actually |
| 16:19:23 | Watusimoto | I shouldn't think so... there's really nothing to do |
| 16:19:30 | Watusimoto | only need one command: |
| 16:19:41 | Watusimoto | twitter->sendIdiotRemark(blah) |
| 16:19:54 | raptor | the trick is how to get the web-php to spawn a singleinstance process |
| 16:20:44 | raptor | which I'll work on right after I finish my stars! turn.. |
| 16:20:57 | raptor | oh wow, you made a lot of commits again... |
| 16:21:55 | Watusimoto | all crap |
| 16:22:06 | | BFLogBot Commit: 0d78261e3965 | Author: watusimoto | Message: Once more into the breach... |
| 16:22:25 | Watusimoto | a lot of them stem from the fact that the master hardcodes the INI keys it will read |
| 16:22:38 | raptor | oh levely |
| 16:22:40 | raptor | lovely |
| 16:22:43 | Watusimoto | and I didn't realize that and I couln't figure out why the INI settings weren't being read |
| 16:22:59 | Watusimoto | and I was unsure which INI we were using, and all sorts of fun frustration |
| 16:23:13 | Watusimoto | I will fix that when I get the current stuff working |
| 16:23:24 | raptor | I had rudimentally converted it to an INI from that old cfg file |
| 16:23:30 | raptor | master.ini in the master/ directory |
| 16:23:55 | raptor | but that was before you neat Setting refactor |
| 16:24:40 | | BFLogBot Commit: 347aeb153fe0 | Author: watusimoto | Message: I feel like an idiot! |
| 16:24:50 | Watusimoto | the INI works fine, except for the hardcoded keys |
| 16:25:07 | | LordDVG Quit (Ping timeout: 272 seconds) |
| 16:25:09 | raptor | master is so messy... |
| 16:25:30 | raptor | every time I change something on it, 3/4 of the changes I make are for cleaning/refactoring purposes |
| 16:27:05 | Watusimoto | finally, an error I didn't cause! |
| 16:27:30 | Watusimoto | getting a Socket not writable error on port 80 |
| 16:27:38 | raptor | haha |
| 16:27:48 | raptor | because httpd is already listening... |
| 16:29:57 | Watusimoto | but curl can send on that port |
| 16:30:30 | raptor | curl doesn't usually open a port 80 to do its work |
| 16:31:06 | raptor | sent *to* that port, you mean? that would be different than sending from that port |
| 16:34:30 | Watusimoto | sorry |
| 16:34:47 | Watusimoto | we are sending to that port on a remote machine |
| 16:35:04 | Watusimoto | using http |
| 16:35:05 | raptor | ahh, i get it now |
| 16:35:41 | Watusimoto | using HttpRequest::send() |
| 16:36:09 | Watusimoto | Luckily, I did a quick refactor to provide error messages with that so we can find out why it fails when it does |
| 16:36:28 | Watusimoto | never thought i would need it :-) |
| 16:37:09 | | Darrel Quit (Ping timeout: 276 seconds) |
| 16:37:54 | | Darrel has joined |
| 16:38:19 | | LordDVG has joined |
| 17:04:35 | | BFLogBot Commit: f332272a573d | Author: watusimoto | Message: Pass by reference, not value |
| 17:04:36 | | BFLogBot Commit: 1f92ac18a788 | Author: watusimoto | Message: Remove logging |
| 17:04:38 | | BFLogBot Commit: 2bfc71b34dff | Author: watusimoto | Message: Formatting |
| 17:04:39 | | BFLogBot Commit: b2e60c6d0843 | Author: watusimoto | Message: Make flow slightly easier to follow |
| 17:15:07 | sam686 | Running the following as root will hang/crash linux: http://sam6.25u.com/upload/text1401/140111_17-13-53.txt |
| 17:32:20 | | BFLogBot Commit: 39ea37f0cbd2 | Author: watusimoto | Message: Simplify logging |
| 17:32:21 | | BFLogBot Commit: d130ddc81fda | Author: watusimoto | Message: Ok, time for some brute force |
| 17:33:00 | Watusimoto | what does that do? |
| 17:33:41 | Watusimoto | it works! finally! |
| 17:33:57 | Watusimoto | now my gamejolt page tracks whether I am playing or not |
| 17:34:24 | Watusimoto | not as elegant as I had hoped, but not too bad |
| 17:35:03 | Watusimoto | next the acheivements. |
| 17:35:11 | Watusimoto | should be pretty straightforward |
| 17:38:18 | | LordDVG Quit (Remote host closed the connection) |
| 17:46:23 | sam686 | project "test" have linker errors with some master stuff.. |
| 17:54:30 | Watusimoto | the master is a messy tangle of namespaces |
| 17:54:37 | Watusimoto | I suspect that is the problem with the test |
| 17:54:40 | Watusimoto | I'll take a look later |
| 17:55:01 | Watusimoto | you can skip specific tests if you like, using cmd line param |
| 17:55:16 | sam686 | team scoreboard bug happens on 9 teams, when 3 players are in one team (or bots) |
| 18:07:33 | | BFLogBot Commit: 7c473a0c4568 | Author: watusimoto | Message: Add an exit in case execl fails, so we don't end up with multiple masters |
| 18:07:34 | | BFLogBot Commit: cc6fa50a7954 | Author: watusimoto | Message: Send trophies to Game Jolt when they are awarded |
| 18:07:36 | | BFLogBot Commit: 994b820a878e | Author: watusimoto | Message: Remove this before committing, please! |
| 18:08:35 | Watusimoto | I still need to test the tophies (which I'll do after dinner), but I think game jolt integration is complete |
| 18:10:11 | Watusimoto | ok, back later |
| 18:11:21 | | koda has joined |
| 18:15:19 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 18:21:21 | | koda Quit (Quit: Leaving) |
| 18:49:19 | | Watusimoto has joined |
| 18:49:26 | | Ace__ has joined |
| 18:50:00 | raptor | lots of defunct curl processes on master |
| 18:50:03 | Ace__ | Greetings, fellow BITtleground Warriors! Long time, no chat |
| 18:50:39 | Watusimoto | hi! |
| 18:50:51 | Watusimoto | raptor: what happenes do defunct processes? |
| 18:51:19 | raptor | the handle just sits there until the parent process is ended |
| 18:51:33 | raptor | so there's like a dozen of them right now |
| 18:51:43 | Ace__ | I noticed that there's a new release, is the AI a lot better now? |
| 18:51:47 | raptor | 20 |
| 18:51:48 | Watusimoto | oh, well, then there'll be more |
| 18:51:49 | raptor | of them |
| 18:51:51 | raptor | now |
| 18:52:08 | raptor | all zombies |
| 18:52:08 | Watusimoto | hi Ace__ -- the bots have been gradually improving |
| 18:52:18 | Watusimoto | raptor: yes, that would be what I would expect |
| 18:52:29 | Watusimoto | I'll find a way to resolve the issue |
| 18:52:40 | Watusimoto | (probably by getting rid of curl) |
| 18:52:49 | raptor | ok |
| 18:53:08 | Watusimoto | Ace__: we have a bot that uses more weapons, and is really quite deadly |
| 18:53:36 | Watusimoto | unforntulatenly, the attack improvemens came with a mysterios degredation in the bot's ability to do anything else, so we haven't published it |
| 18:53:55 | Ace__ | Ah, I see |
| 18:54:08 | Ace__ | Unfortunately, I know nothing of AI programming :( |
| 18:55:44 | Watusimoto | we have more A than I |
| 18:56:06 | raptor | haha |
| 18:56:24 | Ace__ | :P |
| 18:56:30 | | BFLogBot Commit: 4327039f1362 | Author: watusimoto | Message: Only call curl if we have something for it to do |
| 18:56:46 | raptor | 22 zombies |
| 18:56:58 | Watusimoto | how about now? |
| 18:57:06 | raptor | 1! |
| 18:57:21 | Watusimoto | see? i told you I'd fix it! |
| 18:57:28 | raptor | great |
| 18:57:40 | raptor | should i expect it to grow, but slower now? |
| 18:57:53 | raptor | 2 |
| 18:59:26 | Watusimoto | yeah don't worry about it |
| 18:59:29 | Watusimoto | Defunct processes are not using any resources and it isn't really unusual to have one or two hanging around. You should only be concerned if you see dozens as it is usually a sign something is going terribly wrong. |
| 18:59:40 | Watusimoto | see... so only 2, no problem |
| 19:00:14 | raptor | sounds like you copy/pasted that... |
| 19:00:36 | Watusimoto | I did |
| 19:01:01 | Watusimoto | only 6 now... that's hardly any at all |
| 19:01:51 | Watusimoto | only 6 now... that's hardly any at all |
| 19:02:21 | raptor | sounds like the forking isn't working.. |
| 19:02:30 | raptor | or isn't cleaning itself properly |
| 19:03:01 | Watusimoto | only 8. not too bad1 |
| 19:03:31 | raptor | https://stackoverflow.com/a/7061406 |
| 19:03:49 | Watusimoto | fork is clearly working, because otherwise we'd hae dozens of master servers |
| 19:04:23 | Watusimoto | wait()? |
| 19:05:07 | raptor | yeah, call wait() after fork()... |
| 19:05:13 | raptor | but i'm not sure if it is blocking... |
| 19:07:31 | Watusimoto | I think wait() kills synchronicity |
| 19:08:17 | | BFLogBot Commit: 8f0d6153a2b1 | Author: watusimoto | Message: Make ping do a ping, not an open |
| 19:08:33 | sam686 | the only real problem with fork() is in vps, it counts as taking up lots of memory. On real non-vps, fork may share read-only memory until it copies on write. |
| 19:09:13 | raptor | synchronicity? that sounds like it comes from here: http://cbsg.sourceforge.net/cgi-bin/live |
| 19:09:51 | Watusimoto | from here: |
| 19:09:51 | Watusimoto | https://www.youtube.com/watch?v=CMBufJmTTSA |
| 19:10:46 | Watusimoto | we have 29 downloads from gamejolt |
| 19:11:15 | raptor | oh man - that takes me back to accidentally entering my older sisters room and thinking the music she listened to was really weird |
| 19:11:23 | Watusimoto | ok, I have to go |
| 19:12:31 | raptor | ok |
| 19:13:00 | Watusimoto | I will replace curl with something else, and see if that works |
| 19:13:14 | raptor | i think the issue isn't curl |
| 19:13:21 | raptor | rather how you're using fork() |
| 19:13:43 | Watusimoto | I think it might be execl |
| 19:13:55 | Watusimoto | I can probably replace that, but fork would be more difficult |
| 19:14:11 | Watusimoto | But I do acknowledge there is a problem to be resolved. |
| 19:14:16 | Watusimoto | ok, back in a couple of hours |
| 19:16:54 | raptor | ok bye |
| 19:21:39 | | Invisible2 has joined |
| 19:41:52 | sam686 | there is a difference between threads and fork(). Fork is kindof like running the same program again, but with most data copied. As with separate process, it can make it hard to sync data between 2 copies of same program. |
| 19:43:31 | | Ace__ Quit (Quit: Page closed) |
| 19:44:56 | sam686 | a second thread can easily share nearly all data as other threads, but be careful as some functions (opengl and networking part of TNL) can only run on a specific thread. |
| 19:45:23 | sam686 | http/curl is fine as it is not part of TNL though.. |
| 19:52:08 | | amginea has joined |
| 19:52:13 | amginea | cough |
| 20:21:16 | sam686 | raptor complains colors don't work in vote... heres why: http://sam6.25u.com/upload/vote_color_problem.png |
| 20:21:41 | raptor | hi |
| 20:21:45 | | Invisible2 Quit (Ping timeout: 252 seconds) |
| 20:22:16 | raptor | color override in dt.span |
| 20:22:18 | sam686 | a style 'span' overrides the green colors |
| 20:22:20 | raptor | huh |
| 20:22:21 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 20:22:40 | sam686 | 'dt span' goes for both 'dt' and 'span' |
| 20:26:21 | sam686 | now, what to edit? style.php line 3829, or more like its coming from another file or something... |
| 20:26:56 | raptor | maybe it only happens when bold is on the inside? |
| 20:28:28 | raptor | yep, look here: http://bitfighter.org/forums/viewtopic.php?f=11&t=2214 |
| 20:29:00 | raptor | so just make sure the [color] is the innermost |
| 20:29:13 | sam686 | chrome, tools, debug tool, looking at it |
| 20:29:17 | amginea | hello |
| 20:29:23 | raptor | back soon |
| 20:29:28 | raptor | hello bye |
| 20:35:39 | amginea | hmm is there a way i can veiw a certin section of the bf source code i want to look at somthing for a secret project |
| 20:52:13 | | bobdaduck_m has joined |
| 20:56:02 | sam686 | its called browsing in a source code http://code.google.com/p/bitfighter/source/browse/ |
| 20:57:20 | sam686 | a small piece of a file, maybe the only way is copy and paste... |
| 20:57:40 | sam686 | or using line numbers |
| 21:00:38 | | bobdaduck_m Quit (Read error: Connection reset by peer) |
| 21:00:49 | | YoshiSmb has joined |
| 21:03:37 | sam686 | http://sam6.25u.com/forum/viewtopic.php?t=44 umm on my forum it doesn't matter if [color=#00ff00] is inside or outside [b], and also found out [b] have no effect, i guess everything was bold from style. |
| 21:05:20 | | bobdaduck_m has joined |
| 21:12:16 | YoshiSmb | finnaly someone show up here in irc. |
| 21:27:18 | raptor | bobdaduck_m: I'm about to test a tweeter thingy |
| 21:30:18 | raptor | bobdaduck_m: did it work? |
| 21:30:28 | raptor | i think it worked! |
| 21:30:57 | bobdaduck_m | didn't check |
| 21:31:01 | bobdaduck_m | I'm from phone. |
| 21:31:27 | amginea | hmm |
| 21:31:43 | amginea | where would i find the part of the code for deathmatch |
| 21:32:00 | sam686 | gametype.cpp ? |
| 21:33:23 | sam686 | however most of gametype is shared by other gametypes, like CTFGame HTFGame ZoneControlGame NexusGame RabbitGame |
| 21:34:01 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
| 21:35:30 | | YoshiSmb has joined |
| 21:35:52 | amginea | uh |
| 21:35:55 | amginea | oh dear |
| 21:36:03 | amginea | to maqny directorys |
| 21:36:21 | sam686 | zap folder has most of the gameplay stuff |
| 21:36:43 | | YoshiSmb *sigh* |
| 21:36:54 | raptor | wake up! |
| 21:38:22 | amginea | raptor can you direct me to the source code page for teh bitfighter deathmatch coding |
| 21:38:45 | raptor | amginea: it's in gameType.cpp |
| 21:38:50 | raptor | in the zap folder |
| 21:40:03 | | bobdaduck_m Quit (Ping timeout: 252 seconds) |
| 21:40:59 | amginea | uhh |
| 21:43:59 | | bobdaduck_m has joined |
| 21:44:22 | YoshiSmb | question: why those Gamejolt token & username in profile? |
| 21:44:43 | raptor | it's something watusimoto is working on - gamejolt integration |
| 21:45:14 | amginea | uh i dont see gametype.cpp |
| 21:45:23 | amginea | under the Zap directory |
| 21:45:28 | | BFLogBot Commit: f2701a9cb61a | Author: sam8641 | Message: Fix weapon changing display during playback |
| 21:45:30 | | BFLogBot Commit: b1feb1511f5e | Author: sam8641 | Message: Fix energy desync when engineering |
| 21:45:30 | amginea | this are so hard to navigate |
| 21:45:32 | raptor | it's there |
| 21:45:52 | raptor | if you're looking in google code, then you may have to click the 'next' link to see the next page of files |
| 21:46:36 | amginea | uh game settings .cpp |
| 21:49:42 | | YoshiSmb has left #bitfighter |
| 21:51:03 | | YoshiSmb_ has joined |
| 21:52:26 | raptor | 1 min. until the message updates tweeter |
| 22:02:14 | raptor | ok bobdaduck_m, any time you change the MOTD, it will post to tweeter |
| 22:04:57 | | bobdaduck_m Quit (Ping timeout: 272 seconds) |
| 22:09:29 | | YoshiSmb_ Quit (Ping timeout: 272 seconds) |
| 22:14:32 | | Watusimoto has joined |
| 22:14:51 | Watusimoto | hi |
| 22:15:52 | Watusimoto | sam686: what I am trying to do with curl is basically this, in the commented code |
| 22:15:52 | Watusimoto | //request.setUrl(url); |
| 22:15:53 | Watusimoto | //if(!request.send()) |
| 22:15:53 | Watusimoto | // logprintf(LogConsumer::LogError, "Error sending GameJolt request! (msg=%s, url=%s)", |
| 22:15:53 | Watusimoto | // request.getError().c_str(), url.c_str()); |
| 22:16:09 | Watusimoto | where request is this: HttpRequest request; |
| 22:16:42 | Watusimoto | The probem is that httpRequest won't send. |
| 22:17:00 | Watusimoto | I wonder if I should try to repackage this into a thread instead of a different process |
| 22:18:23 | raptor | a thread would be good - even if it was to call another process |
| 22:18:35 | raptor | that way you could call wait() after fork() in the thread and not worry |
| 22:18:57 | Watusimoto | yes, maybe that would work |
| 22:19:36 | sam686 | master already have a second thread, for master database lookup that some lookups can be slow, like high scores.. |
| 22:19:37 | raptor | maybe even create a general ProcessLauncherThread for it |
| 22:20:10 | sam686 | that way, even if the second thread pauses for a few seconds, it won't interrupt the primary thread |
| 22:20:34 | sam686 | same for server saving game reports ... remember the '2 second freeze' everytime game ends? |
| 22:20:39 | raptor | only 5 people have voted for the best map! |
| 22:20:51 | sam686 | fixed by having it save in a second thread though |
| 22:21:31 | Watusimoto | I thought all the database stuff went in a different thread alreay |
| 22:21:38 | Watusimoto | ah, yes, fixed |
| 22:21:40 | sam686 | it is, yes |
| 22:21:40 | Watusimoto | ok |
| 22:21:57 | Watusimoto | I agree that this can't run in the main thread |
| 22:26:43 | sam686 | missing req.setMethod(HttpRequest::GetMethod); ? |
| 22:27:02 | raptor | Watusimoto: tweeter is working now |
| 22:27:18 | Watusimoto | how does it work, and what does it do |
| 22:27:22 | raptor | see this: https://twitter.com/playbitfighter |
| 22:27:49 | Watusimoto | that comes from the motd? |
| 22:27:49 | raptor | the motd submit form will call a single-instace process that can update any sites we want |
| 22:27:51 | raptor | yes |
| 22:27:56 | raptor | so: |
| 22:28:32 | raptor | submit motd -> fork process that guarantees single-instance -> wait 60 seconds -> read motd file -> update external web sites |
| 22:28:44 | raptor | the 60 second wait is in case you want to make a quick change |
| 22:28:45 | Watusimoto | nice |
| 22:29:12 | Watusimoto | so if you update during your 60sec window, does the clock restart? |
| 22:29:18 | raptor | not at the moment |
| 22:29:31 | raptor | I'm trying to consider ways how to do it, though... |
| 22:29:35 | Watusimoto | maybe this: |
| 22:30:06 | sam686 | ... i hope it doesn't submit on master restart |
| 22:30:12 | Watusimoto | submit motd -> fork process that guarantees single-instance ->read motd-> wait 60 seconds -> read motd again->if change go back, otherwise ->update |
| 22:30:16 | raptor | sam686: it doesn't |
| 22:30:43 | sam686 | and as with fork() it might be possible for one process to die and the other to stay alive? |
| 22:30:47 | raptor | Watusimoto: that's a good idea, and i don't need to mess with multiple processes |
| 22:31:10 | Watusimoto | it's not the perfect behavior, but it is close enough, and should be easy to code |
| 22:31:49 | Watusimoto | maybe we need another feed alerting when players join |
| 22:32:12 | raptor | oh man that would be noisy |
| 22:32:19 | Watusimoto | yes, but that |
| 22:32:24 | Watusimoto | 't twitter for you |
| 22:32:32 | Watusimoto | I wouldn't subscribe |
| 22:32:40 | raptor | now would i... |
| 22:32:43 | raptor | *nor |
| 22:37:51 | | YoshiSmb has joined |
| 22:38:05 | amginea | raptor sensor is hooribly broken doesnt do anyhting against cloak |
| 22:38:16 | YoshiSmb | we know |
| 22:38:26 | YoshiSmb | i tested it with sam before new year |
| 22:39:12 | Watusimoto | do you guys have any objection to fork besides the zombie children? |
| 22:44:25 | raptor | no objection besides zombie |
| 22:44:33 | raptor | amginea, bug is fixed |
| 22:44:46 | Watusimoto | ok, I can fix zombies easily, I think |
| 22:50:40 | | BFLogBot Commit: 54f178fb27c4 | Author: watusimoto | Message: Add protection against forgetfulness |
| 22:50:41 | | BFLogBot Commit: c426f45d0693 | Author: watusimoto | Message: Remove spurious wait() |
| 22:50:43 | | BFLogBot Commit: 7d8a6bde1a11 | Author: watusimoto | Message: Experimental fix to see if this kills fork zombies |
| 22:50:44 | | BFLogBot Commit: 67bb9ac4d0db | Author: watusimoto | Message: Merge |
| 22:51:15 | Watusimoto | |
| 22:51:34 | raptor | |
| 22:51:49 | Watusimoto | It looks like it's working! |
| 22:52:51 | raptor | oh interesting.. you added a signal for zombies |
| 22:53:39 | Watusimoto | yes! |
| 22:53:53 | raptor | very interesting indeed... |
| 22:54:08 | Watusimoto | from here: |
| 22:54:09 | Watusimoto | http://stackoverflow.com/questions/6718272/c-exec-fork-defunct-processes |
| 22:55:09 | raptor | this sounds so bad: have the kernel automatically reap your children |
| 22:56:31 | Watusimoto | actually.... it sounds rather ok to me at the moment |
| 22:56:40 | raptor | hahaha |
| 22:56:47 | | raptor looks at the mess in the living room... |
| 22:57:20 | Watusimoto | see/ |
| 22:57:28 | Watusimoto | not so bad |
| 22:58:49 | | YoshiSmb_ has joined |
| 22:59:31 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
| 23:02:45 | | BFLogBot Commit: 9458397f2291 | Author: watusimoto | Message: Add comment, cleanup |
| 23:02:46 | | BFLogBot Commit: ee7f01aa0905 | Author: watusimoto | Message: Fix Game Jolt ping issue |
| 23:03:00 | | Flynnn has joined |
| 23:03:27 | raptor | servers online zero? |
| 23:06:30 | sam686 | mine went "Server established conneciton with master" 3 times.. |
| 23:11:33 | | YoshiSmb_ Quit (Ping timeout: 272 seconds) |
| 23:14:25 | | koda has joined |
| 23:14:32 | Watusimoto | ok, great; game jolt "now playing" seems to work perfectly, and I've got the dead children cleaned up before my wife comes home... |
| 23:14:50 | Watusimoto | I just need to figure out a way to test the achievement integration |
| 23:15:13 | Watusimoto | (I think I'll hack my server to give me an award) |
| 23:15:50 | Watusimoto | now I want to find other platforms to expand this to! |
| 23:16:32 | Watusimoto | any of you guys play Bitfighter with "ObsidianSkin"? |
| 23:16:45 | Watusimoto | he remembers raptor and little apple |
| 23:17:20 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 23:23:23 | | Flynnn has joined |
| 23:24:48 | Watusimoto | do we have any concise description of the achievements currently? |
| 23:25:39 | sam686 | I go with whatever the instruction (page 10/17) says |
| 23:26:36 | sam686 | well, maybe ignore the developer one, can't get that from in-game |
| 23:27:00 | sam686 | thinking of that, not sure if its possible to hack a server to give people a 'developer' badge... |
| 23:28:07 | sam686 | all other badges can be get from in-game, just not developer/BBB metal. |
| 23:31:03 | Watusimoto | perfect, that is just what I was looking for |
| 23:31:07 | Watusimoto | but could not find |
| 23:32:29 | Watusimoto | so the raging rabbit -- you have the carrot and you kill others, right? |
| 23:33:06 | Watusimoto | yes, rabbit does the killing |
| 23:33:29 | sam686 | don't know, probably yes, I havne't gotten raging rabit |
| 23:33:49 | Watusimoto | yes, checked the code |
| 23:33:58 | sam686 | All I have is zone controller and 25 flags (and bbb + developer) |
| 23:40:00 | sam686 | http://bitfighter.org/stats/stats.php?order=win_count&sort=DESC&page=1&authed=yes&alltime=yes |
| 23:40:11 | sam686 | im not seeing anyone with raging rabbit and hat trick |
| 23:40:18 | sam686 | maybe it could use a little update... |
| 23:43:02 | | Nothing_Much Quit (Remote host closed the connection) |
| 23:43:14 | Watusimoto | so here are the achievements I added on gamejolt |
| 23:43:15 | Watusimoto | http://awesomescreenshot.com/05726zb6d2 |
| 23:43:31 | Watusimoto | I had to organize them into bronze/silver/gold/platinum |
| 23:44:00 | Watusimoto | I want some feedback on whether I categorized them correctly based on difficulty |
| 23:44:05 | Watusimoto | because, really, I don't know |
| 23:44:57 | sam686 | developer trothy not exactly part of the game, and BBB requires waiting for that event.. |
| 23:45:33 | Watusimoto | yes |
| 23:48:59 | raptor | we don't have a first victory badge |
| 23:49:52 | sam686 | I think I would not do developers trothy as its kindof not part of the game... Any open source programs could have it, but don't really make sense to have it as a trothy.. |
| 23:49:57 | raptor | i'd put ZC as gold and Last-second-win as platinum |
| 23:51:21 | sam686 | 'developer' is not unique to this game.. |
| 23:52:00 | raptor | developer badge doesn't really fit, i think, too |
| 23:53:00 | raptor | maybe shift all the BBB badges up... even thought the names don't match the category |
| 23:54:17 | sam686 | BBB bronze/silver/gold... I wonder how to get all 3 if getting gold does not get silver.. |
| 23:54:32 | Watusimoto | we don't have first victory? it's in our enum |
| 23:54:48 | sam686 | http://bitfighter.org/stats/player.php?player=sam686&alltime=yes It shows me as gold "B" and green "B" |
| 23:54:49 | raptor | no game logic for it, or drawn badge... |
| 23:55:05 | Watusimoto | ok, I see |
| 23:55:06 | sam686 | oh and what does green 'B' mean? it doesn't say it on the instruction (page 10/17) |
| 23:55:20 | Watusimoto | so I have a new idea for display of badges |
| 23:55:39 | Watusimoto | categrorize each like game jolt does, into gold, silver bronze tiers |
| 23:55:47 | Watusimoto | then display just badge counts in game |
| 23:56:00 | Watusimoto | and have a web page that shows full badge info |
| 23:56:09 | Watusimoto | perhaps in forum profile or something |
| 23:56:48 | Watusimoto | I think getting gold replaces silver |
| 23:57:01 | Watusimoto | so once you get BBB gold, you no longer have silver |
| 23:57:45 | Watusimoto | though on gamejolt there is no revoiking medals, so there, you could get all if you went in order; bronze, silver, gold |
| 23:59:05 | Watusimoto | I'm renaming the BBB medals on game jolt to 3rd place, 2nd place, and 1st place so when I moave them up they don't seem so weird |