Timestamps are in GMT/BST.
| 00:39:21 | | Skybax Quit (Ping timeout: 272 seconds) |
| 00:57:56 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 01:19:15 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 01:23:41 | | fordcars has joined |
| 01:29:35 | | Skybax has joined |
| 01:36:14 | | Skybax Quit (Ping timeout: 264 seconds) |
| 01:36:28 | | Skybax has joined |
| 01:39:33 | Skybax | Carl! |
| 01:40:22 | fordcars | Doh! |
| 01:40:31 | fordcars | Changing my name and moving to Mexico |
| 01:40:36 | Skybax | Hahaha |
| 01:40:49 | Skybax | Our names begin with the same letter |
| 01:41:02 | fordcars | Charles? |
| 01:41:06 | Skybax | Nope lol |
| 01:41:08 | fordcars | Mhahhahaa |
| 01:41:16 | fordcars | Calvin |
| 01:41:18 | fordcars | :) |
| 01:41:23 | Skybax | Yesh! |
| 01:41:36 | fordcars | Isn't that raptor's name too? |
| 01:41:40 | fordcars | ! |
| 01:41:47 | fordcars | !commands |
| 01:41:49 | Skybax | Whaaaa |
| 01:41:55 | fordcars | Uhhh |
| 01:41:55 | Skybax | Really? |
| 01:42:09 | fordcars | Well, wait, I'll check |
| 01:42:31 | fordcars | Ahh |
| 01:42:50 | fordcars | Sometimes BFLogBot says stuff "said by Calvin", so it might be Kaen |
| 01:42:51 | BFLogBot | If we don't all watch the same TV, what will keep our culture homogeneous? -- Calvin |
| 01:42:57 | fordcars | Oh, there |
| 01:43:00 | fordcars | Haha |
| 01:43:24 | fordcars | I am pretty sure I saw "Calvin"'s email once too |
| 01:44:05 | Skybax | That's from Calvin & Hobbes lol |
| 01:44:30 | Skybax | Comic book x) |
| 01:44:34 | fordcars | Oh HAHAHA |
| 01:44:48 | fordcars | We never had this conversation, Ok? |
| 01:44:50 | fordcars | :) |
| 01:44:53 | Skybax | You didn't know that?? xD |
| 01:45:04 | fordcars | Nuuuu |
| 01:45:04 | Skybax | That's awesome |
| 01:45:18 | Skybax | Unfortunately for you, all of these chats are logged lol |
| 01:46:10 | fordcars | Yeah I knw :x |
| 01:46:26 | Skybax | :3 |
| 01:46:27 | fordcars | Stupid BFLogBot |
| 01:46:27 | BFLogBot | What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em? -- Calvin |
| 01:47:03 | Skybax | BFLogBot is awesome! |
| 01:47:03 | BFLogBot | Life is full of surprises but never when you need one. -- Calvin |
| 01:47:19 | Skybax | He says my name all the time and attributes hilarious quotes to me! |
| 01:47:25 | fordcars | Hahahahahaha |
| 01:47:50 | fordcars | I felt like that when I played GTA3 San Andreas |
| 01:47:55 | Skybax | Haha |
| 01:57:51 | | Nothing_Much Quit (Remote host closed the connection) |
| 02:00:47 | | Skybax_ has joined |
| 02:03:14 | | Skybax Quit (Ping timeout: 252 seconds) |
| 02:55:40 | | Nothing_Much has joined |
| 03:41:31 | fordcars | Later1 |
| 03:41:33 | fordcars | *! |
| 03:41:37 | | fordcars Quit (Quit: Page closed) |
| 04:32:40 | | raptor has joined |
| 04:32:40 | | ChanServ sets mode +o |
| 04:52:22 | | fordcars has joined |
| 05:16:51 | | vs73nx has joined |
| 05:47:56 | | Skybax_ Quit (Ping timeout: 253 seconds) |
| 05:50:19 | | Skybax has joined |
| 05:57:49 | | Flynnn has joined |
| 06:42:01 | | Skybax Quit (Read error: Connection reset by peer) |
| 06:43:09 | | Skybax has joined |
| 06:59:00 | fordcars | Night! |
| 06:59:03 | | fordcars Quit (Quit: Page closed) |
| 07:03:35 | vs73nx | raptor: are you able to review my task? |
| 07:56:44 | | vs73nx Quit (Ping timeout: 272 seconds) |
| 08:04:10 | | Darrel[OFF] is now known as Darrel |
| 08:10:41 | | raptor Quit () |
| 08:11:17 | | Skybax_ has joined |
| 08:14:06 | | Skybax Quit (Read error: Operation timed out) |
| 08:14:16 | | Skybax_ is now known as Skybax |
| 08:25:38 | | vs73nx has joined |
| 08:44:08 | vs73nx | sam686: an you help me with a HG emergency |
| 08:44:32 | vs73nx | i pushed the latest changes to the repo and all the work that ive done is gone |
| 08:48:23 | vs73nx | nevermind |
| 08:49:37 | | watusimoto has joined |
| 08:49:38 | | ChanServ sets mode +o |
| 08:51:53 | vs73nx | hi watusimoto |
| 08:52:12 | vs73nx | ive kinda messed up my repo... |
| 08:52:27 | vs73nx | HG push -f is a blunt force tool... |
| 08:52:37 | vs73nx | and shouldnt be used lightly |
| 09:19:11 | | Invisible1 has joined |
| 09:20:22 | | Skybax_ has joined |
| 09:21:19 | | Skybax Quit (Ping timeout: 272 seconds) |
| 09:33:31 | | Invisible1 Quit (Ping timeout: 265 seconds) |
| 09:34:00 | | Skybax_ Quit (Ping timeout: 265 seconds) |
| 09:43:57 | Darrel | oh yes, push -f is a bad bad idea :) |
| 10:17:59 | | Invisible1 has joined |
| 10:30:46 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 10:31:40 | | vs73nx Quit (Ping timeout: 246 seconds) |
| 10:33:31 | | Invisible1 Quit (Ping timeout: 260 seconds) |
| 10:38:33 | | Flynnn has joined |
| 10:42:04 | | Flynnn Quit (Client Quit) |
| 10:42:55 | | vs73nx has joined |
| 10:51:25 | vs73nx | watusimoto: i dont have time to fix the irreparable damage done to my HG repo... as a result this task cannot be reviewed today... i request that i be given a day moer time on this task, so i can fix the irreparable c hanges to my repo |
| 10:51:54 | vs73nx | watusimoto: or you can find my changes here: |
| 10:51:55 | vs73nx | https://code.google.com/r/vs37nx-bitfighter-dev/source/detail?spec=svn36df1ec3f49c2725460b6d45b60e2bfd8b084f53&name=18e104f9632506a287a82e6d0ac93d385355bb25&r=36df1ec3f49c2725460b6d45b60e2bfd8b084f53 |
| 10:52:21 | watusimoto | take what time you need |
| 10:53:00 | watusimoto | I can no longer make any changes to the gci site, so what you do now is no longer part of the gci program |
| 10:53:17 | watusimoto | I tried to approve your work last night so you'd get official credit, but I could not |
| 10:53:37 | vs73nx | thats ok |
| 10:53:50 | vs73nx | i did hg push -f |
| 10:53:54 | watusimoto | my advice would be to do one of the following |
| 10:54:07 | vs73nx | i lost all my changes aswell |
| 10:55:23 | watusimoto | 1) clone a new repo and update to the same version you b... |
| 10:55:23 | watusimoto | what??? |
| 10:55:23 | vs73nx | yeah |
| 10:55:23 | watusimoto | really?? |
| 10:55:23 | vs73nx | that link is the only place i could find them |
| 10:55:23 | watusimoto | ok |
| 10:55:23 | watusimoto | this might work |
| 10:55:24 | vs73nx | ill patch make a new repo and copy over the files to them |
| 10:55:44 | watusimoto | 1) clone a new repo and update to the same version your current clone is based on |
| 10:55:51 | watusimoto | 2) download your current clone |
| 10:55:57 | watusimoto | 3) do a diff and create a patch |
| 10:56:14 | watusimoto | 4) create a new clean clone, and apply your patch |
| 10:56:32 | watusimoto | either that or ask raptor for advice |
| 10:57:00 | vs73nx | ok |
| 10:57:08 | watusimoto | but if I were doing it myself (with my pathetic knowledge of hg), I would follow those steps |
| 10:58:11 | vs73nx | watusimoto: i need to leave ASAP |
| 10:58:15 | vs73nx | seeya! |
| 10:58:34 | | vs73nx Quit (Quit: calling it a day) |
| 11:48:04 | | Invisible1 has joined |
| 11:49:02 | | Watusimoto_ has joined |
| 12:36:50 | | -sendak.freenode.net- *** Looking up your hostname... |
| 12:36:50 | | -sendak.freenode.net- *** Checking Ident |
| 12:36:50 | | -sendak.freenode.net- *** No Ident response |
| 12:36:51 | | -sendak.freenode.net- *** Couldn't look up your hostname |
| 12:36:58 | | BFLogBot has joined |
| 12:36:58 | | -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. |
| 12:54:55 | | Invisible1 Quit (Ping timeout: 260 seconds) |
| 12:56:39 | | Watusimoto_ Quit (Ping timeout: 272 seconds) |
| 12:59:13 | | Darrel has joined |
| 13:26:12 | | Invisible1 has joined |
| 13:35:08 | | Invisible1 Quit (Ping timeout: 252 seconds) |
| 14:16:49 | | LordDVG has joined |
| 14:31:07 | | Platskies Quit (Quit: Platskies) |
| 14:31:37 | | Watusimoto_ has joined |
| 14:57:13 | | sam686 Quit (Ping timeout: 245 seconds) |
| 14:58:31 | | Watusimoto_ Quit (Ping timeout: 272 seconds) |
| 15:15:19 | | Invisible1 has joined |
| 15:16:27 | | Watusimoto_ has joined |
| 15:26:12 | | watusimoto Quit (Quit: Leaving.) |
| 15:32:11 | | watusimoto has joined |
| 15:32:11 | | ChanServ sets mode +o |
| 15:40:16 | | bobdaduck has joined |
| 15:40:30 | bobdaduck | Hey wat |
| 15:41:32 | bobdaduck | So in global chat your color is determined by some algorithm raptor made based on your name, right? |
| 15:48:13 | watusimoto | I think there is a table of colors, and as each player joins, they grab the next available color |
| 15:48:31 | watusimoto | I coded that years and years ago, don't know if it has changed since |
| 15:48:53 | bobdaduck | raptor was definitely discussing an algorithm based on playername |
| 15:49:16 | bobdaduck | like converts the first 5 letters to hexadecimal and then makes that your color |
| 15:50:24 | bobdaduck | I thought it was implemented for 019. It was a cool idea |
| 15:54:42 | bobdaduck | Anyway I was thinking |
| 15:55:20 | bobdaduck | Eventually that might become a rather unique identifier. They'd come to assosiate "watusimoto" with hot pink |
| 15:55:39 | bobdaduck | What if that was extended into the actual game? |
| 15:56:12 | bobdaduck | What if we made the ship hull (the grey part) your color? |
| 15:56:37 | bobdaduck | In game it would become really easy to identify people without having to try to read their name amidst combat |
| 15:57:35 | watusimoto | hmmm... maybe he did. it does sound cool |
| 15:58:08 | watusimoto | >> hey'd come to assosiate "watusimoto" with hot pink << not sure I like that... I'm more of a cool pink kind of guy |
| 15:58:33 | watusimoto | how would you tell who is on each team? |
| 16:04:58 | | sam686 has joined |
| 16:04:58 | | ChanServ sets mode +v |
| 16:27:19 | bobdaduck | if you're on team red |
| 16:27:23 | bobdaduck | your ship would still be red |
| 16:27:31 | bobdaduck | but the grey part would be your identifying color |
| 16:32:17 | watusimoto | interesting idea |
| 16:47:04 | | Invisible1 Quit (Ping timeout: 265 seconds) |
| 16:58:16 | | YoshiSmb has joined |
| 16:59:27 | | Watusimoto_ Quit (Ping timeout: 260 seconds) |
| 17:03:07 | | LordDVG Quit (Remote host closed the connection) |
| 17:04:04 | | koda has joined |
| 17:23:51 | | raptor has joined |
| 17:23:51 | | ChanServ sets mode +o |
| 17:24:00 | raptor | good day |
| 17:24:02 | raptor | ! |
| 17:24:07 | raptor | quiet you |
| 17:27:27 | | YoshiSmb Quit (Ping timeout: 272 seconds) |
| 17:32:01 | watusimoto | hi |
| 17:32:18 | watusimoto | raptor: I think we should go for full integration with gamejolt |
| 17:32:26 | raptor | here was my algorithm to build colors based off of names: http://sam6.25u.com/upload/name_to_color.py |
| 17:32:37 | raptor | I jimmy-rigged it so I would be green :) |
| 17:32:45 | raptor | watusimoto: oh? |
| 17:32:48 | watusimoto | we could display player status on the site, as well as acheivements |
| 17:32:52 | watusimoto | really really easily |
| 17:33:03 | watusimoto | in fact, I used their api to award myself the developer badge |
| 17:33:28 | watusimoto | see my writeup in the forums |
| 17:34:05 | watusimoto | all we need to do is call a carefully constructed url from the master when the player joins, leaves, or gets an acheivement |
| 17:34:13 | raptor | is game jolt that big? (and what about Desura.. don't they have something similar?) |
| 17:34:26 | watusimoto | 1) I don't know, 2) I don't think so |
| 17:34:42 | watusimoto | but if desura had a similar api, we could do it there as well |
| 17:34:57 | watusimoto | the only complexity is getting each player's gamejolt secret id |
| 17:35:15 | watusimoto | and I would propse doing that by adding a field for it in the forums account info section |
| 17:35:55 | watusimoto | In the forums I gave a short perl script that generates the proper urls |
| 17:36:09 | watusimoto | we can just spawn a process and call it with curl or wget |
| 17:36:18 | watusimoto | or do it directly with tnl |
| 17:36:26 | watusimoto | we probably don't care about a return value |
| 17:36:45 | watusimoto | and they're get requests so it's super easy to set up |
| 17:37:01 | raptor | and this I love about all this is that the TNL shared secret for encrypted communication is right in our source code... |
| 17:37:31 | watusimoto | yes :-) |
| 17:37:42 | watusimoto | but it doesn't help you much |
| 17:38:01 | sam686 | there is something that probably can only be done in TNL/master server, finding out which server a specific player is at. |
| 17:38:07 | watusimoto | because we only send md5 of the passwords, so you'd need to build your own rainbow table with our secret as the salt |
| 17:38:15 | raptor | it doesn't help a non-coder with no experience in encryption... |
| 17:38:29 | raptor | no |
| 17:38:33 | raptor | we send more than the md5 |
| 17:38:37 | watusimoto | really, it doesn't help anyone who doesn't want to build a custom rainbow table |
| 17:38:49 | watusimoto | what password are you talking about? |
| 17:39:04 | raptor | I shall find it... |
| 17:39:08 | watusimoto | sam686: yes, the gamejolt stuff would run at the master level |
| 17:39:31 | watusimoto | hell, we could even probably do it as a cron job without modifying master at all, but it would be uglier |
| 17:39:38 | raptor | I have a hard time believing our work for game jolt would not disappear in a year because everyone will have moved to some other site |
| 17:40:07 | watusimoto | you are probably right, but I am thinking it is one evening's work, and that it may help get players |
| 17:40:15 | watusimoto | I already had one guy say he wanted to blog about the game |
| 17:40:17 | raptor | that little? |
| 17:40:21 | watusimoto | yes |
| 17:40:32 | watusimoto | the hardest part is modifying phpbb |
| 17:40:37 | raptor | oh wow... that's... that's a lot less than I had in mind |
| 17:41:18 | sam686 | even if gamejolt might no longer work, some of the work can easily be reused for a different friend manager stuff. |
| 17:41:26 | watusimoto | yes |
| 17:41:29 | raptor | take a look at md5wrapper.cpp:123 |
| 17:42:11 | watusimoto | yes, that;s our salt |
| 17:42:27 | watusimoto | but because we only use that to hash, you still need to reverse the hash |
| 17:42:33 | watusimoto | hence the rainbow table |
| 17:43:26 | watusimoto | would be more secure with sha2, but I didn't know that when I coded it, and it's not worth changing now |
| 17:44:23 | watusimoto | we'd also be better off with a secret, player-by-player salt, but again, it's more than we need |
| 17:48:16 | raptor | i don't see how you need to reverse the hash if the website accepts a hash for authentication |
| 17:48:17 | | fordcars has joined |
| 17:48:22 | raptor | you just need to match it |
| 17:48:39 | raptor | if you wanted to find out the password, then yes, a rainbow table |
| 17:48:52 | watusimoto | yes, you are right, actually |
| 17:48:55 | raptor | ha |
| 17:48:57 | watusimoto | I concede that point |
| 17:49:05 | raptor | we salt it by just concatenating the strings?? |
| 17:49:10 | raptor | that's funny |
| 17:49:14 | watusimoto | (which is an important one, which I also concede) |
| 17:49:21 | watusimoto | how else would you salt? |
| 17:49:27 | raptor | xor the bits |
| 17:49:38 | watusimoto | I don't think xor would be more secure |
| 17:49:50 | raptor | although hones.... yes, i don't know if either would be more secure |
| 17:50:00 | watusimoto | actually, gamejolt api uses a similar method |
| 17:50:11 | watusimoto | actually, almost the exact same method |
| 17:50:21 | watusimoto | well, actually not |
| 17:50:36 | watusimoto | but similar, and they also append the strings before hashing |
| 17:50:49 | watusimoto | actually, yes, quite similar |
| 17:50:54 | raptor | haha |
| 17:51:05 | watusimoto | look at the perl code I posted in the forums |
| 17:52:00 | fordcars | Hi |
| 17:53:11 | raptor | hi |
| 17:53:16 | raptor | watusimoto: that's... very minimal |
| 17:53:24 | watusimoto | pretty easy, no? |
| 17:53:36 | watusimoto | I could have made it shorter, given that it's perl |
| 17:53:44 | watusimoto | one line or less, probably |
| 17:54:12 | raptor | i love perl that is less than one line :) |
| 17:54:22 | raptor | zero lines is the perfect mainenance size |
| 17:54:27 | watusimoto | it's a real strength |
| 17:54:52 | fordcars | I would dought that gamejolt would die in less than a year, it is pretty new |
| 17:55:19 | watusimoto | no matter, maybe integrating will get us attention and thus publicity |
| 17:55:40 | watusimoto | Steam is probably not going to work out, and desura seems kind of lame |
| 17:55:52 | fordcars | Heh |
| 17:55:54 | raptor | hahaha, that's exactly my thoughts.. |
| 17:56:06 | raptor | did the news item for 019 ever go up? |
| 17:56:16 | watusimoto | I think it went up on our project feed |
| 17:56:21 | fordcars | We need to buy a billboard and stick a 600x800 jpeg on it |
| 17:56:31 | watusimoto | good idea! |
| 17:56:36 | fordcars | Play Bitfighter now and get free smileys! |
| 17:56:37 | raptor | full page ad in the nytimes! |
| 17:56:52 | fordcars | Hahaha |
| 18:03:58 | raptor | I put next round of voting up |
| 18:04:03 | raptor | sorry I was late a day |
| 18:19:59 | watusimoto | no worries. I'm going home. back later! |
| 18:24:26 | | watusimoto Quit (Ping timeout: 252 seconds) |
| 18:25:01 | | fordcars Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
| 18:50:43 | | Darrel Quit (Read error: Operation timed out) |
| 18:51:29 | | Darrel has joined |
| 18:56:56 | | bobdaduck has left #bitfighter |
| 18:58:54 | | Watusimoto has joined |
| 19:34:07 | | thread_ has joined |
| 19:37:51 | thread_ | Happy birthday raptor! (I have a 1 in 365 chance of getting it right) |
| 19:38:08 | raptor | what, who? |
| 19:38:20 | raptor | i'm afraid you didn't win the lottery |
| 19:38:25 | thread_ | awww |
| 19:39:22 | | Skybax has joined |
| 19:49:51 | raptor | Watusimoto: can you add me as a developer to Bitfighter on GameJolt? My username is 'toq' |
| 19:55:57 | Watusimoto | sure... but you should know, if you want your stats to show up there, you should use the name raptor |
| 19:56:07 | raptor | that is my name |
| 19:56:16 | raptor | but I could not use that as my 'username' |
| 19:56:17 | Watusimoto | toq is your name |
| 19:56:19 | raptor | it was taken |
| 19:56:42 | Watusimoto | hmmm... interesting. ok, hadn't anticipated that possibility |
| 19:56:44 | raptor | ah, well, it said to provide a different name as a developer that they would show; i chose 'raptor' for that |
| 19:57:59 | Watusimoto | not sure how to add you |
| 19:58:08 | raptor | yeah, I couldn't figure it out either... |
| 20:01:24 | Watusimoto | I gotta go, will post to forums later |
| 20:21:04 | | Flynnn has joined |
| 20:24:53 | | koda Quit (Ping timeout: 252 seconds) |
| 20:27:29 | | Flynnn Quit (Ping timeout: 272 seconds) |
| 20:28:17 | | Flynnn has joined |
| 20:34:55 | | koda has joined |
| 20:38:43 | | thread_ Quit (Ping timeout: 272 seconds) |
| 20:50:07 | | Skybax Quit (Ping timeout: 245 seconds) |
| 21:47:34 | | destroyerimo has joined |
| 21:48:17 | | bobdaduck has joined |
| 21:50:56 | Watusimoto | so now you can enter your gamejolt username/ secret token on the bitfighter forums profile page |
| 21:51:11 | Watusimoto | next step is to figure out where they are in the database |
| 21:51:31 | raptor | where what are? |
| 21:54:22 | Watusimoto | where the entered values are |
| 21:54:36 | raptor | badges are in the player_achievements table.. |
| 22:01:20 | | vs73nx has joined |
| 22:03:25 | Watusimoto | phpbb_profile_fields_data |
| 22:03:38 | Watusimoto | that's where the gamejolt credentials are |
| 22:04:05 | raptor | ohh... you added new profile fields? |
| 22:04:14 | raptor | ah ok |
| 22:04:18 | raptor | nevermind, i get it now |
| 22:06:21 | Watusimoto | yes! |
| 22:06:28 | Watusimoto | no hacking involved |
| 22:07:03 | bobdaduck | You know |
| 22:07:11 | Watusimoto | just navigating the phpbb config system, which is far worse |
| 22:07:20 | bobdaduck | We have turret:getMountAngle () |
| 22:07:30 | bobdaduck | But if you guys gave me a setMountAngle() function |
| 22:07:31 | Watusimoto | I'd almost rather program in javascript than try to configure phpbb |
| 22:07:36 | bobdaduck | I'd be able to make floating turrets! |
| 22:07:58 | bobdaduck | with 360 attack range! |
| 22:08:18 | | vs73nx_ has joined |
| 22:09:54 | raptor | oh wow, I just found out that a pakistani cracker has dumped the SUSE forums databases... |
| 22:11:03 | | vs73nx_ Quit (Remote host closed the connection) |
| 22:11:12 | vs73nx | wow |
| 22:11:30 | raptor | so people's e-mails were leaked... |
| 22:11:35 | Watusimoto | you're famous! |
| 22:11:36 | raptor | but no passwords can be gotten |
| 22:11:50 | vs73nx | good thing i dont have an open SUSE forums account... |
| 22:12:21 | Watusimoto | vs73nx: did you get your repo issues sorted? |
| 22:12:24 | raptor | because we actually use a SSO front-end (Access Manager) that manages credentials and just feeds the downstream app random junk for the hashes it looks for |
| 22:12:34 | vs73nx | just getting to that... |
| 22:12:54 | vs73nx | gosh cloning the repo takes ages with internet thatis, well... australia speed |
| 22:13:09 | vs73nx | 256kp/s FTW |
| 22:13:37 | Watusimoto | dang roos hopping on the lines! |
| 22:13:45 | vs73nx | ha |
| 22:17:39 | Watusimoto | hey raptor: when we update the motd, should we bounce that onto twitter? |
| 22:17:58 | Watusimoto | the twitter feed gets picked up by desura |
| 22:18:15 | Watusimoto | the @playbitfighter feed |
| 22:18:42 | raptor | who owns that? bobdaduck? |
| 22:19:15 | Watusimoto | not sure, but it would be easy to find out |
| 22:19:17 | bobdaduck | quartz and skylark and I |
| 22:19:56 | Watusimoto | because, you know, rss is so... last decade. twitter is the here an now |
| 22:20:45 | raptor | does twitter provide RSS? |
| 22:21:09 | raptor | well we have that php page that manages the MOTD |
| 22:21:16 | raptor | it could hook into whatever API, too... |
| 22:21:23 | Watusimoto | the achievements table is empty? |
| 22:21:35 | raptor | yes, not used |
| 22:21:42 | Watusimoto | ah, ok |
| 22:21:43 | raptor | beacuse they're in SharedConstants.h |
| 22:21:48 | Watusimoto | ah, ok |
| 22:21:53 | raptor | and that's just used in player_achievements |
| 22:22:10 | Watusimoto | we're going to need to store the gamejolt achievement ids somewhere... I suppose that could go into shared constants as well |
| 22:24:38 | raptor | hmm... |
| 22:24:51 | raptor | i think i'd prefer them in a database taht we can alter on-the-fly |
| 22:25:03 | Watusimoto | they're not going to change |
| 22:25:25 | Watusimoto | unless we add a new one, in which case we need to modifiy sharedconstants |
| 22:25:43 | Watusimoto | if we create a table, then we have the potential for getting out of sync, no? |
| 22:25:54 | Watusimoto | or maybe the table could just be bfid, gjid |
| 22:26:07 | Watusimoto | I suppose that would be ok |
| 22:26:18 | Watusimoto | that would work |
| 22:27:24 | Watusimoto | mind if I repurpose the achievement table? |
| 22:29:18 | raptor | nope, go for it |
| 22:29:45 | raptor | I had this grand idea once upon a time that we'd only ever need to update the database and not sharedconstants |
| 22:30:19 | Watusimoto | it was a good idea |
| 22:30:23 | raptor | like keep a cache of the badge drawing routines, as well as ids, etc. that is downloaded into a cache folder on the client if it didn't exist - then load into memory |
| 22:30:38 | raptor | but that was a large idea |
| 22:31:22 | raptor | bobdaduck: was there just a normal 'bitfighter' twitter account? |
| 22:31:31 | bobdaduck | nope. |
| 22:31:38 | bobdaduck | Skylark made it ages ago... |
| 22:31:48 | bobdaduck | Maybe I should make a normal twitter account? |
| 22:32:33 | raptor | one thing to consider is that updating the MOTD would add the message to twitter on-the-fly - which means bad updates are more visible... |
| 22:33:33 | Watusimoto | yes, true |
| 22:33:33 | raptor | and do we care? i mean... it's twitter |
| 22:33:33 | bobdaduck | xD |
| 22:34:03 | Watusimoto | 1) maybe not, 2) maybe we add a delay |
| 22:34:56 | Watusimoto | like spawn a process: sleep 300; spewtowitter |
| 22:35:01 | Watusimoto | so gamejolt has this chatbox running on the right. it's mostly nitwits, but it does make the site feel very alive; different than desura that feels rather dead |
| 22:35:15 | Watusimoto | but man is their navigation challenging! |
| 22:35:49 | Watusimoto | btw, I earned 3 cents from gamejolt so far! |
| 22:36:22 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 22:48:04 | | Flynnn has joined |
| 22:50:05 | Watusimoto | every 30 seconds we want to ping gamejolt |
| 22:50:30 | Watusimoto | we basically take all users, find out those who have valid looking credentials, then send out an http request for each |
| 22:50:36 | Watusimoto | we don't care one bit about a return value |
| 22:51:21 | Watusimoto | I'm thinking that every 30 seconds, the master could spawn a new process with a perl/python script like the one I posted in the forums that takes a list of current players, |
| 22:51:40 | Watusimoto | queries the database, checks the ids, and and sends the http requests |
| 22:51:55 | | Darrel is now known as Darrel[OFF] |
| 22:52:10 | Watusimoto | that way, the server would not need to worry about it, and we can stay out of messy threading |
| 22:52:36 | Watusimoto | the alternative would be to try to do it all within the binary, which could get messy |
| 22:52:54 | Watusimoto | sam686, raptor, what are your thoughts about this? |
| 22:53:33 | Watusimoto | we could even introudce a short sleep between each http request (say 1/2 second) |
| 22:53:50 | raptor | no way to do it event-based? |
| 22:54:01 | raptor | like have gamejolt trigger a web hook? |
| 22:54:21 | Watusimoto | there are 4 things we want to notify gamejolt for |
| 22:54:29 | Watusimoto | 1) achievement achieved (event based) |
| 22:54:36 | Watusimoto | 2) player joined (event based) |
| 22:54:44 | Watusimoto | 3) player quit (event based) |
| 22:54:54 | Watusimoto | 4) player still playing (perioic) |
| 22:55:04 | Watusimoto | I'm talking about 4 |
| 22:55:26 | raptor | can gamejolt scrape the JSON? |
| 22:55:26 | Watusimoto | though the question will be the same for 1-3 --> do it in house, or call an external script |
| 22:55:31 | Watusimoto | no |
| 22:55:51 | Watusimoto | though we could scrape the json internally and ping based on that |
| 22:56:11 | Watusimoto | internally meaning in a cron job on our server |
| 22:56:19 | Watusimoto | but that doesn't address 1-3 |
| 22:56:42 | | destroyerimo Quit (Ping timeout: 272 seconds) |
| 22:57:05 | Watusimoto | actually, a stateful cron job could probably handle 2 and 3 |
| 22:59:02 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 22:59:05 | raptor | what about creating an event system in the master, then having it call some easily changed external resource to handle the event |
| 22:59:28 | raptor | external resource == some entry point script |
| 23:00:32 | sam686 | The only problem with constantly getting http every 30 seconds is, they take up bandwidth (over 500 bytes), TNL pings only takes 1-4 bytes |
| 23:03:07 | Watusimoto | that's sort of what I was thinking, though not as generically -- events 1-4 would each trigger an external script that woudl do the work |
| 23:03:14 | sam686 | the same can be said on our json website, they send the entire more then 500 bytes every 10 seconds, while TNL is event based, mostly. |
| 23:03:56 | Watusimoto | sam686: I think this is not a problem for the small number of connections we'll actually be using... and the master is not a very performance sensitive thing |
| 23:05:00 | Watusimoto | was thinking just this: |
| 23:05:08 | vs73nx | Watusimoto: ok ive fixed up my repo problems |
| 23:05:10 | vs73nx | https://code.google.com/r/vs37nx-bf-clone/source/list |
| 23:05:37 | Watusimoto | if(mPingGameJoltTimer.update(timeDelta)) |
| 23:05:38 | Watusimoto | { |
| 23:05:38 | Watusimoto | system("pingGameJolt ", userList); |
| 23:05:38 | Watusimoto | mPingGameJoltTimer.reset(); |
| 23:05:38 | Watusimoto | } |
| 23:05:44 | raptor | sorry, i have to focus on work stuff a bit more... |
| 23:05:48 | Watusimoto | ok! |
| 23:06:11 | Watusimoto | sam686,what do think of that code? |
| 23:07:27 | sam686 | what will the list of uers be used in? |
| 23:07:49 | sam686 | and it is possible to have players in a gamejolt but not connected to master.. |
| 23:07:51 | | bobdaduck Quit (Remote host closed the connection) |
| 23:09:27 | vs73nx | ok im leaving for a bit... Watusimoto if you can please review my GCI task... Cya all later! |
| 23:09:40 | Watusimoto | bye |
| 23:09:50 | | vs73nx Quit (Quit: leaving for a bit) |
| 23:10:24 | Watusimoto | yes, that is possible -- but we don't care. if they are not connected to master, we don't want to tell game jolt they are playing |
| 23:10:47 | Watusimoto | that's what this ping is for, so that people see "playing bitfighter" on players' game jolt page |
| 23:11:33 | | destroyerimo has joined |
| 23:12:23 | sam686 | its also possible to have a player on gamejolt/not connected to master, but another client with the same name connected to master that isn't using gamejolt. |
| 23:13:15 | Watusimoto | this will only apply to logged in players |
| 23:13:31 | Watusimoto | we need their secret gamejolt key, which you will enter in your forums profile |
| 23:14:05 | Watusimoto | so userlist above really only includes authenticated players |
| 23:15:46 | Watusimoto | actually, maybe I can use fork() have the master do it itself? |
| 23:15:52 | Watusimoto | I wonder if that would be more efficient |
| 23:19:06 | sam686 | If client also holds gamejolt key, I go with sending a partial key from client to master, if it partially matches what the master database have this it can assume its a gamejolt client. |
| 23:19:52 | Watusimoto | client will not have the key |
| 23:20:40 | Watusimoto | it makes more sense to set it once in the forums account (which is our defacto client management software) |
| 23:27:58 | raptor | hi again |
| 23:28:03 | raptor | this exists - can we take it over?: https://twitter.com/bitfighter |
| 23:29:37 | raptor | Watusimoto: I was thinking of even just one script to handle all the events: system("theonering", event, data); |
| 23:29:38 | Watusimoto | ugh... BitFighter |
| 23:30:11 | Watusimoto | raptor: my current thought is to do it all in c++ in the master itself |
| 23:30:24 | raptor | oh? |
| 23:30:29 | Watusimoto | I don't see much advantage to doing it outside |
| 23:30:37 | raptor | since we have a more 'agile' development process in master.cpp... :) |
| 23:30:41 | Watusimoto | I just leanred how fork works |
| 23:30:53 | raptor | can of wormies |
| 23:31:28 | Watusimoto | something like this |
| 23:31:29 | Watusimoto | http://hastebin.com/vatototixe.txt |
| 23:31:43 | Watusimoto | (yes, I know it says ifdef |
| 23:31:45 | Watusimoto | ) |
| 23:32:07 | raptor | heh, i was just going to say... |
| 23:32:29 | Watusimoto | I need syntax coloring to code this |
| 23:33:07 | raptor | hastebin has syntax coloring... |
| 23:33:10 | Watusimoto | so that doesn't actually look too messy |
| 23:33:42 | Watusimoto | and it will be clear when reading the code |
| 23:35:09 | raptor | see: http://hastebin.com/vatototixe.cpp |
| 23:35:30 | Watusimoto | nice |
| 23:35:41 | raptor | all i did was change the extension |
| 23:35:47 | Watusimoto | I dump to pastebin from my editor, so I never actually visit the site |
| 23:35:56 | Watusimoto | oh, interesting |
| 23:36:13 | raptor | i think sublime text does that according to this: https://sublime.wbond.net/packages/To%20Hastebin |
| 23:36:32 | Watusimoto | that's what I use |
| 23:36:46 | Watusimoto | I can modify the extension when I paste |
| 23:36:49 | Watusimoto | no problem |
| 23:51:47 | | destroyerimo Quit (Ping timeout: 245 seconds) |
| 23:52:01 | | Nothing_Much Quit (Remote host closed the connection) |
| 23:57:59 | | Platskies has joined |