Timestamps are in GMT/BST.
| 00:18:17 | | YoshiSmb Quit (Read error: Connection reset by peer) |
| 00:20:36 | | raptor has joined |
| 00:20:36 | | ChanServ sets mode +o raptor |
| 00:20:44 | | YoshiSmb has joined |
| 00:27:02 | | raptor Quit () |
| 01:06:25 | | YoshiSmb Quit () |
| 01:07:03 | | YoshiSmb has joined |
| 01:38:00 | | YoshiSmb Quit (*.net *.split) |
| 01:38:01 | | Watusimoto Quit (*.net *.split) |
| 01:38:01 | | CrazyLinuxNerd Quit (*.net *.split) |
| 01:38:03 | | ChanServ Quit (*.net *.split) |
| 01:57:20 | | Watusimoto has joined |
| 01:57:20 | | CrazyLinuxNerd has joined |
| 02:02:07 | | Watusimoto Quit (*.net *.split) |
| 02:02:10 | | CrazyLinuxNerd Quit (*.net *.split) |
| 02:03:30 | | ChanServ has joined |
| 02:04:44 | | Watusimoto has joined |
| 02:04:44 | | CrazyLinuxNerd has joined |
| 02:06:13 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 03:27:12 | | sam686 has joined |
| 03:27:12 | | ChanServ sets mode +v sam686 |
| 10:16:51 | | Watusimoto has joined |
| 11:01:14 | | LordDVG has joined |
| 13:05:05 | | Watusimoto_ has joined |
| 13:07:14 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 13:29:48 | | SlightRemorse has joined |
| 13:31:12 | SlightRemorse | Hello, i've taken interest in the following task: http://www.google-melange.com/gci/task/view/google/gci2012/8029210 which needs me to make a notification popup for people that login (and logout?) from the game. Now my question is in the description it says the notifications should be installable? Now my question is - if I can pack it all in a simple standalone executable would it also be |
| 13:31:12 | SlightRemorse | acceptable? |
| 13:42:11 | SlightRemorse | Alternatively my other question is - since if it does contain more then 1 file it would most likely just need an icon (.ico) and maybe an .ini (to store settings) would you find it better if it was made with an installer or simply in a .rar containing a simple folder with all the needed things? |
| 14:20:33 | | Darrel has joined |
| 14:53:49 | | raptor has joined |
| 14:53:49 | | ChanServ sets mode +o raptor |
| 14:54:45 | raptor | good daY! |
| 15:02:49 | | raptor Quit () |
| 15:13:09 | SlightRemorse | anyone here? |
| 15:16:29 | | sumit has joined |
| 15:16:44 | sumit | hi. i'm looking to work on the bitfighter GCI task! |
| 15:16:47 | sumit | http://www.google-melange.com/gci/task/view/google/gci2012/8012217 |
| 15:16:57 | sumit | Watusimoto_ : i believe you're my mentor |
| 15:17:05 | | YoshiSmb has joined |
| 15:19:40 | | [YoshiSmb TIME] |
| 15:22:01 | | koda has joined |
| 15:24:27 | sumit | koda : hi |
| 15:24:37 | YoshiSmb | hi |
| 15:24:37 | koda | hello |
| 15:25:04 | sumit | i'm looking to work on this task : http://www.google-melange.com/gci/task/view/google/gci2012/8012217 |
| 15:25:49 | sumit | but i need your help. |
| 15:26:07 | koda | you do? :O |
| 15:26:11 | koda | how can i help? |
| 15:26:41 | sumit | do you know when watusimoto comes online? :P |
| 15:27:29 | koda | usually, he's online in the evening and he should be in utc+1 |
| 15:27:41 | koda | i think i can assign you the task if you want to start rolling |
| 15:28:12 | sumit | i don't know much about the task. that's why i needed help. |
| 15:28:29 | sumit | i've never done anything open-source before |
| 15:28:41 | | LordDVG Quit (Remote host closed the connection) |
| 15:28:59 | koda | sumit: you mean programming? |
| 15:29:05 | sumit | yes. |
| 15:29:13 | sumit | i don't know what language i'm supposed to use |
| 15:29:20 | sumit | i thought the mentor could help give me some direction |
| 15:30:08 | sumit | to be very frank, i don't know how to approach it at all. which is why i wanted to know whether i'll be able to complete the task successfully or not. |
| 15:30:15 | sumit | i don't know how easy/difficult it is. |
| 15:30:48 | koda | sumit: no task is difficult or easy, it's meant as an introduction to working with opensource |
| 15:31:03 | koda | for starters it'd be better that you download the sources |
| 15:31:06 | koda | and try to compile it |
| 15:31:10 | koda | them* |
| 15:31:13 | sumit | alright. how am i supposed to do that? |
| 15:32:23 | sumit | i have GitHub |
| 15:32:25 | sumit | if that helps |
| 15:32:27 | koda | well you see that link in the topic title? |
| 15:32:29 | sumit | haven't really used it |
| 15:32:31 | koda | hit it |
| 15:32:38 | koda | and below that page |
| 15:32:47 | koda | you'll have a link for the google code repository |
| 15:32:58 | koda | then you click source -> checkout |
| 15:32:59 | sumit | https://code.google.com/p/bitfighter/source/checkout |
| 15:32:59 | sumit | this? |
| 15:33:03 | | CrazyLinuxNerd_2 has joined |
| 15:33:03 | koda | yes |
| 15:33:09 | sumit | yeah i'm on it |
| 15:33:17 | koda | you'll find instruction how to clone the repository |
| 15:33:21 | koda | and download the latest sources |
| 15:33:35 | sumit | great |
| 15:33:43 | | CrazyLinuxNerd Quit (Ping timeout: 245 seconds) |
| 15:33:55 | sumit | i'm trying it out |
| 15:34:09 | | CrazyLinuxNerd_2 is now known as CrazyLinuNerd |
| 15:34:13 | | CrazyLinuNerd is now known as CrazyLinuxNerd |
| 15:34:22 | sumit | do i click on create a clone? |
| 15:34:28 | koda | yes |
| 15:34:29 | sumit | or get a local copy? |
| 15:37:14 | sumit | trying |
| 15:38:01 | sumit | it's working! :D |
| 15:39:05 | sumit | what language is it? |
| 15:43:47 | koda | c++ |
| 15:44:12 | sumit | i don't know c++ :( |
| 15:44:52 | sumit | thanks anyway. |
| 15:47:06 | koda | no problem |
| 15:47:16 | koda | but don't give up so early :) |
| 15:47:37 | sumit | i'm not giving up.. it's just that i have my exams in less than a month, and i can't pick up c++ so soon. |
| 15:47:40 | sumit | maybe after gci is over |
| 15:47:43 | sumit | i'll be back here :) |
| 15:48:08 | sumit | i know java and python |
| 15:48:10 | sumit | never learnt c++ |
| 15:48:39 | koda | java = c++ more or less |
| 15:49:18 | sumit | hmm. do you think i can give the task a shot then? |
| 15:53:56 | sumit | i don't think i'll manage. |
| 15:53:57 | sumit | thanks anywayl. |
| 15:54:01 | sumit | appreciate it! :) |
| 15:56:32 | | sumit Quit (Quit: Page closed) |
| 15:59:41 | | YoshiSmb slaps koda around a bit with a large trout |
| 16:00:10 | | YoshiSmb Quit (Read error: Connection reset by peer) |
| 16:01:03 | | YoshiSmb has joined |
| 16:01:13 | koda | YoshiSmb: but why D: |
| 16:01:21 | YoshiSmb | sorry. :( |
| 16:54:23 | | Watusimoto_ Quit (Ping timeout: 265 seconds) |
| 17:19:28 | | YoshiSX has joined |
| 17:20:34 | | YoshiSmb Quit (Ping timeout: 255 seconds) |
| 17:22:12 | | raptor has joined |
| 17:22:12 | | ChanServ sets mode +o raptor |
| 17:22:30 | | YoshiSX Quit (Client Quit) |
| 17:22:41 | | YoshiSmb has joined |
| 17:24:44 | raptor | hello! |
| 17:25:00 | SlightRemorse | hey |
| 17:25:15 | raptor | hi SlightRemorse |
| 17:25:17 | SlightRemorse | I assume you're one of the mentors? |
| 17:25:31 | raptor | oh yes |
| 17:25:35 | SlightRemorse | <SlightRemorse> Hello, i've taken interest in the following task: http://www.google-melange.com/gci/task/view/google/gci2012/8029210 which needs me to make a notification popup for people that login (and logout?) from the game. Now my question is in the description it says the notifications should be installable? Now my question is - if I can pack it all in a simple standalone executable |
| 17:25:35 | SlightRemorse | would it also be acceptable? |
| 17:25:35 | SlightRemorse | <SlightRemorse> Alternatively my other question is - since if it does contain more then 1 file it would most likely just need an icon (.ico) and maybe an .ini (to store settings) would you find it better if it was made with an installer or simply in a .rar containing a simple folder with all the needed things? |
| 17:25:40 | SlightRemorse | could you give me an answer to that? |
| 17:25:53 | raptor | let's see which that is.. |
| 17:26:07 | raptor | welcome to #bitfighter! |
| 17:26:07 | raptor | :) |
| 17:26:09 | SlightRemorse | thanks :) |
| 17:26:14 | raptor | ah ha! |
| 17:26:18 | raptor | the windows game notifier |
| 17:26:22 | SlightRemorse | yeah |
| 17:26:46 | raptor | sure, i'll assign it... i think martinski gave up for a bit.. |
| 17:26:57 | SlightRemorse | I'm actually his classmate |
| 17:27:06 | SlightRemorse | He for some reason couldn't manage to make it on python |
| 17:27:15 | raptor | cool |
| 17:27:29 | raptor | well, he was welcome to continue it |
| 17:28:05 | SlightRemorse | well if he has claimed he'll work on it again, I have no problem not claiming the task. |
| 17:28:17 | raptor | all right, i assigned it to you :0 |
| 17:28:22 | raptor | :) |
| 17:28:30 | SlightRemorse | But yeah, could you answer the question I asked above? |
| 17:28:36 | SlightRemorse | Does it really need an installer? |
| 17:28:55 | raptor | ok, checking on watusimoto's original requirements |
| 17:29:14 | raptor | standalone executable seems OK, too |
| 17:30:19 | SlightRemorse | I was thinking of making it on C# with Net Framework 2.0 (as it's the starting Net Framework for both Vista and Win 7), but I found a slight issue with making it the easy way - it needs an ico for the notification to work in the tray. |
| 17:31:00 | SlightRemorse | Now I could see if I can get Install Wizard trial to work and make the whole thing intall both the exe and the .ico file, but I'm not sure if it's necessery |
| 17:31:15 | SlightRemorse | as the program won't really write anything on the registry or anything, it would just need that extra .ico to avoid crashing. |
| 17:31:41 | SlightRemorse | So my question is should I just archive a folder with the .ico and executable or just make it via installer? |
| 17:31:55 | SlightRemorse | Since I don't know how exactly you want this to be distributable |
| 17:32:13 | raptor | well, installer is preferable, i think |
| 17:32:24 | SlightRemorse | Fair enough |
| 17:32:34 | SlightRemorse | and another thing related to the .json page |
| 17:32:34 | raptor | but i think the most important part is for the notification to actually work :) |
| 17:32:48 | SlightRemorse | how exactly are the players listed as I've only seen it with 1 player only |
| 17:32:57 | SlightRemorse | "players": ["playername"], |
| 17:33:01 | SlightRemorse | and when it's empty it's |
| 17:33:02 | raptor | let me log on a bunch of times... |
| 17:33:04 | SlightRemorse | "players": [], |
| 17:33:07 | SlightRemorse | alright |
| 17:33:10 | SlightRemorse | would help, thanks |
| 17:33:17 | SlightRemorse | "players": ["raptor", "Theo"], |
| 17:33:19 | SlightRemorse | Thanks! |
| 17:33:40 | raptor | sure |
| 17:34:06 | SlightRemorse | so regardless of the server it puts them in one [] array. |
| 17:34:24 | SlightRemorse | so the comma doesn't play any important part in the whole thing |
| 17:34:37 | SlightRemorse | alright last thing i'll need - you guys have an icon of your game? |
| 17:34:50 | raptor | yeah, it's just the one array |
| 17:34:57 | raptor | yeah, let me get that for you |
| 17:36:50 | raptor | do you need it in an .ico file? |
| 17:37:06 | SlightRemorse | preferably, though I won't really have a problem converting it. |
| 17:37:14 | raptor | if not, you can use one of the two here: https://code.google.com/p/bitfighter/source/browse/#hg%2Fresource |
| 17:39:24 | raptor | found an old one: https://code.google.com/p/bitfighter/source/browse/zap/zap_win_icon.ico |
| 17:39:39 | SlightRemorse | hm weird, I can't seem to download them properly |
| 17:39:58 | SlightRemorse | if I click download I get a zip file that keeps growing in size and if I save as them windows can't really read them properly. |
| 17:40:32 | raptor | ah, you'll want to click 'view raw file' |
| 17:41:22 | SlightRemorse | thanks! |
| 18:03:17 | SlightRemorse | sorry to bug you again, but - characters like |
| 18:03:23 | | Watusimoto has joined |
| 18:03:32 | SlightRemorse | ] [ . , ; : " ' and the kind are invalid in a player's name, right? |
| 18:03:45 | raptor | let's test that... |
| 18:03:51 | SlightRemorse | heh, alright :) |
| 18:04:03 | Watusimoto | hi |
| 18:04:26 | raptor | hi Watusimoto |
| 18:04:33 | raptor | SlightRemorse: i logged in with all of those characters |
| 18:04:37 | raptor | and more.. |
| 18:04:57 | SlightRemorse | "players": [". , ; : < >"], |
| 18:05:17 | SlightRemorse | I assume that's a single player name? |
| 18:05:27 | raptor | yes :) |
| 18:05:32 | SlightRemorse | good |
| 18:06:10 | SlightRemorse | alright that gives me a clear idea on h ow to make the RegEx work to filter properly and not get confused by the weird 13375p34k names |
| 18:06:20 | raptor | hehe |
| 18:06:29 | raptor | yeah, some people log on with crazy names... |
| 18:06:38 | raptor | Watusimoto: did i just kill master? |
| 18:07:34 | Watusimoto | let's check |
| 18:07:53 | Watusimoto | no |
| 18:07:55 | raptor | it's back! |
| 18:07:57 | raptor | odd |
| 18:08:00 | raptor | ok, whatever |
| 18:08:00 | Watusimoto | I can still get MOTD, so it's good |
| 18:08:32 | Watusimoto | a third victim has stepped forward to try their hand at the notifier! |
| 18:08:38 | raptor | yes |
| 18:09:04 | raptor | SlightRemorse was wondering whether a simple zip file would be OK instead of an installer - i said installer was probably preferable |
| 18:09:18 | raptor | but that the important thing was that the notifier actually work... |
| 18:09:22 | Watusimoto | yes |
| 18:09:42 | Watusimoto | installer would be better, but I'd say not strictly required |
| 18:09:43 | SlightRemorse | <Watusimoto> a third victim has stepped forward to try their hand at the notifier! |
| 18:09:54 | SlightRemorse | Watusimoto: After tweaking with UNIX systems |
| 18:09:57 | Watusimoto | SlightRemorse: are you vasil? |
| 18:10:01 | SlightRemorse | yes |
| 18:10:05 | Watusimoto | welcome |
| 18:10:08 | SlightRemorse | thanks |
| 18:10:15 | Watusimoto | are you from Bulgaria by any chance? |
| 18:10:16 | SlightRemorse | this notification thing doesn't seem too complicated |
| 18:10:23 | SlightRemorse | Yes |
| 18:10:25 | Watusimoto | :-) |
| 18:10:29 | SlightRemorse | I'm actually Martinski's classmate |
| 18:10:30 | Watusimoto | lucky guess |
| 18:10:51 | SlightRemorse | Our whole school's 11th grade programmers are in the Google Code In challange |
| 18:10:57 | SlightRemorse | so that's roughly 50-60 people |
| 18:11:00 | Watusimoto | wow |
| 18:11:01 | raptor | wow! |
| 18:11:27 | Watusimoto | so I have to go eat dinner now, but I'll be back on in an hour or two |
| 18:11:43 | Watusimoto | I'll be happy to help in any way I can |
| 18:11:54 | raptor | i'll be moral support! |
| 18:11:58 | Watusimoto | :-) |
| 18:12:02 | SlightRemorse | : D |
| 18:12:21 | Watusimoto | SlightRemorse: are you going to try doing this in Python, or are you going to use a different solution? |
| 18:13:24 | Watusimoto | ok, tell me later! |
| 18:15:14 | SlightRemorse | Watusimoto: I'll be doing this with C# as I kind of like that language. If nothing goes wrong I might even setup an .ini along with it to set options on how you want to see things. |
| 18:18:05 | | Watusimoto Quit (Ping timeout: 260 seconds) |
| 18:20:56 | | YoshiSX has joined |
| 18:21:20 | | YoshiSX has left |
| 18:22:06 | | YoshiSX has joined |
| 18:22:25 | | YoshiSX Quit (Client Quit) |
| 18:23:34 | | YoshiSmb Quit (Ping timeout: 255 seconds) |
| 18:24:04 | | YoshiSmb has joined |
| 18:34:05 | SlightRemorse | Hey, raptor, if it's not a problem, can you log in 2 accounts for a second? |
| 18:34:23 | raptor | sure |
| 18:34:44 | raptor | ok |
| 18:36:35 | SlightRemorse | thanks |
| 19:09:22 | | Watusimoto has joined |
| 19:09:44 | Watusimoto | hi |
| 19:10:31 | YoshiSmb | hi Watusimoto! :) |
| 19:14:48 | | Darrel Quit (Read error: Connection reset by peer) |
| 19:20:19 | Watusimoto | hey raptor |
| 19:20:32 | Watusimoto | I'm trying to figure out if we still need a /suspend command |
| 19:20:34 | raptor | hi |
| 19:20:50 | raptor | i say no |
| 19:20:52 | Watusimoto | the intent of that command was to put the game into idle mode while you wanted for someone else to join |
| 19:21:10 | raptor | but i think it makes sense to be in idle mode |
| 19:21:13 | Watusimoto | now if you just sit on your hands for 20 seconds, and die, the same thing happens |
| 19:21:17 | raptor | if no one is connected |
| 19:21:23 | raptor | but it can be automatic |
| 19:21:27 | raptor | yes |
| 19:21:34 | Watusimoto | yes, the server should continue to suspend itself as it does now |
| 19:21:38 | Watusimoto | to save power |
| 19:21:39 | Watusimoto | and such |
| 19:22:01 | Watusimoto | so when you do /suspend, you go into global chat mode |
| 19:22:12 | Watusimoto | and you are alerted when someone joins the game |
| 19:22:34 | Watusimoto | when you are idle, you see a blank screen with the words press any key to spawn |
| 19:23:27 | SlightRemorse | Alright I've made the notifications happen, now all I need is to make the whole thing run on loop and the beta-ish version of the thing will be ready. |
| 19:23:46 | Watusimoto | SlightRemorse: what language are you using? |
| 19:24:00 | SlightRemorse | For the program? C#. |
| 19:24:06 | Watusimoto | suspend command is slightly broken |
| 19:24:22 | Watusimoto | i probably need to fix it because I don;t think we can remove it for 018a |
| 19:24:35 | Watusimoto | SlightRemorse: why c#? |
| 19:24:46 | | iKoda has joined |
| 19:24:53 | raptor | well, it can be "removed"... by leaving the RPC stubs as empty |
| 19:25:03 | Watusimoto | I suppose |
| 19:25:07 | Watusimoto | just do nothing? |
| 19:25:29 | Watusimoto | maybe I should see what happens if you are idle and someone joins |
| 19:25:52 | Watusimoto | ideally, it would play the join noise and maybe print some text |
| 19:25:56 | Watusimoto | or something |
| 19:26:15 | SlightRemorse | Watusimoto: Because I find it as the most suitable thing I know for making forms, notifications and etc for Windows. |
| 19:26:33 | SlightRemorse | Watusimoto: Plus the end form could be an exe that can get minimized to the tray from where it'll drop notifications. |
| 19:27:33 | Watusimoto | SlightRemorse: maybe I should install c# on my machine |
| 19:29:30 | raptor | ok, so i have 4 maps from one player for the contest... |
| 19:30:02 | YoshiSmb | ... |
| 19:30:07 | SlightRemorse | Watusimoto: Also it would not need anything extra from the user for it to run (except if the user is running old operating systems like XP and below) |
| 19:30:28 | SlightRemorse | in which case .NET Framework 2.0 will be needed. |
| 19:30:44 | SlightRemorse | But personally I think having .NET Framework on your pC is a lot more common then having say Python or Ruby. |
| 19:30:52 | Watusimoto | yes |
| 19:31:17 | Watusimoto | though if you did it in python, you could compile it to an exe so users wouldn't need python |
| 19:31:39 | Watusimoto | but I agree. net framework isn't a big burden, and python would be |
| 19:31:50 | Watusimoto | unless you went the exe route |
| 19:32:37 | SlightRemorse | i take it the python complier just interprets the thing and compiles it as if it was a C program? |
| 19:32:54 | Watusimoto | maybe? |
| 19:33:08 | Watusimoto | not sure how it works, but it does produce an exe that you can run without python |
| 19:33:22 | Watusimoto | raptor: when you are idle, and someone joins the game, you do hear the beep |
| 19:33:31 | raptor | beep! |
| 19:34:19 | Watusimoto | Maybe there should be some game status display on the press any key to respawn panel |
| 19:34:20 | | iKoda Quit (Quit: K thx bai) |
| 19:34:41 | Watusimoto | or maybe it should flip you into chat mode the way /suspend does |
| 19:36:23 | raptor | are you thinking when you host through the UI? or dedicated server? |
| 19:36:33 | Watusimoto | both |
| 19:36:44 | Watusimoto | just thinking this through |
| 19:37:01 | Watusimoto | if you are the only player and you /idle, perhaps there should be no rejoin penalty |
| 19:37:25 | Watusimoto | in fact, maybe if you are the only player, maybe /idle shoudl simply be /suspend |
| 19:37:42 | raptor | sure |
| 19:38:09 | Watusimoto | though the problem with that is that the user experience is very different between suspend and idle |
| 19:38:19 | Watusimoto | i.e. the screens look very different |
| 19:39:24 | Watusimoto | I think for the moment I will fix suspend, remove the 5 second penalty for idling when you are the only player, and try directing one-player /idle to /suspend and see how that feels |
| 19:39:46 | raptor | ok |
| 19:39:54 | raptor | it seems like a lot of work for one player... :) |
| 19:40:00 | Watusimoto | then we can get rid of /suspend for 019 |
| 19:40:35 | Watusimoto | well, I feel like we can unify these different ideas into something that makes sense in more contexts than either alone |
| 19:41:37 | Watusimoto | one other thing that's been bugging me |
| 19:42:06 | Watusimoto | do you have any idea why the console window briefly opens when the game runs in standalone mode? |
| 19:42:25 | raptor | i think sam686 already fixed that... |
| 19:42:31 | Watusimoto | oh did he? |
| 19:42:33 | Watusimoto | good |
| 19:42:34 | raptor | i had a spurios printf somewhere... |
| 19:42:46 | | raptor can't spell |
| 19:42:58 | Watusimoto | i don't think that was it |
| 19:43:06 | Watusimoto | but maybe |
| 19:43:20 | Watusimoto | I haven't pulled any changes for a few days... doing that now |
| 19:43:29 | Watusimoto | but I think I removed that printf |
| 19:43:36 | raptor | oh maybe it was you.. |
| 19:43:41 | raptor | i don't know really.. |
| 19:44:06 | Watusimoto | yes, and it wasn;t the problem |
| 19:44:18 | Watusimoto | ok, you don't know, no problem. we'll find it |
| 19:48:23 | raptor | i know sam686 put in some weird windows code to print to the console if you launch it from the shell |
| 19:48:25 | raptor | or something like that |
| 19:49:58 | Watusimoto | yeah, it might be related to that |
| 20:06:14 | SlightRemorse | Alright I'm almost done with the program. |
| 20:06:21 | SlightRemorse | Just going to setup a few last things. |
| 20:06:52 | Watusimoto | wow, that;s great! |
| 20:07:02 | Watusimoto | 3rd time is the charm, I guess! |
| 20:07:41 | SlightRemorse | can any of you guys connect/disconnect a bit? |
| 20:07:48 | SlightRemorse | or actually wait |
| 20:07:49 | SlightRemorse | it's not in a loop yet |
| 20:09:36 | Watusimoto | SlightRemorse: it might be easeier for you to fire up a couple of game clients yourself then you can control who joins and leaves and try different scenarios |
| 20:10:23 | SlightRemorse | Watusimoto: A funny thing is that I don't really have the game. |
| 20:10:57 | Watusimoto | You can buy a copy from our website |
| 20:11:05 | Watusimoto | :-) |
| 20:11:33 | SlightRemorse | :-) |
| 20:24:48 | | YoshiSX has joined |
| 20:24:52 | | YoshiSX Quit (Client Quit) |
| 20:25:03 | SlightRemorse | Okay, this is weird. My Antivirus program decided to panic when I started the executable manually and not from Visual Studio. Yet I'm 100% sure the code doesn't do anything wrong. Just creates a second thread when it starts for the notifications. |
| 20:25:09 | | YoshiSmb Quit (Ping timeout: 265 seconds) |
| 20:28:05 | SlightRemorse | alright I think everything should be alright now. |
| 20:28:20 | | YoshiSmb has joined |
| 20:29:48 | Watusimoto | which AV are you using? |
| 20:30:40 | raptor | ok, signing out for a bit - probably for a whole week! |
| 20:31:22 | SlightRemorse | Avast |
| 20:31:33 | SlightRemorse | found the problem - it had a warning for files that are not varified as trustable. |
| 20:31:38 | SlightRemorse | It even tried to halt your install as well. |
| 20:32:02 | SlightRemorse | Basicly the problem wasn't that it found any problem with the exe, but rather that the source of the exe wasn't confirmed as a legit source. (Something I simply turned off on my settings) |
| 20:32:12 | | LordDVG has joined |
| 20:33:35 | | raptor Quit () |
| 20:33:57 | SlightRemorse | how do you chat in other then team? |
| 20:35:09 | SlightRemorse | Alright, the beta version of the program is ready (it doesn't do a complete minimization to tray and doesn't have modifiable settings) |
| 20:35:22 | SlightRemorse | but it does the notificating and keeps checking if anyone else logs in. |
| 20:35:49 | SlightRemorse | where could I upload it so you guys can see it? |
| 20:37:18 | Watusimoto | g >> chat to everyone t >> chat to team |
| 20:37:19 | Watusimoto | in game |
| 20:37:33 | Watusimoto | you could upload to the gci project, no? |
| 20:37:41 | SlightRemorse | sure |
| 20:38:00 | Watusimoto | please upload an exe as I don;t yet have the ability to compile c# |
| 20:38:56 | SlightRemorse | can you see the uploaded files without the task being marked as complete? |
| 20:39:08 | SlightRemorse | i've uploaded it under BitFighterTracker.exe |
| 20:39:49 | Watusimoto | ok... fyi, it's Bitfighter, not BitFighter |
| 20:40:09 | SlightRemorse | Alright, that can be easily changed :P |
| 20:40:46 | SlightRemorse | Currently it checks for new players/disconnects every 5 seconds |
| 20:40:52 | SlightRemorse | the notification stays up for 3 seconds |
| 20:41:14 | SlightRemorse | once I make the GUI on the empty Window you see I can make those 2 changeable via settings |
| 20:41:42 | SlightRemorse | Also currently I have the name inside quotations, tell me if you want to have that removed or not |
| 20:44:21 | SlightRemorse | So...? |
| 20:45:10 | Watusimoto | downloading... |
| 20:46:01 | Watusimoto | love the icon! |
| 20:46:35 | SlightRemorse | Raptor gave it to me :) |
| 20:47:18 | Watusimoto | really??? |
| 20:47:25 | Watusimoto | what is the wrench icon on the popup for? |
| 20:47:42 | SlightRemorse | I believe it comes from Windows 7 |
| 20:47:51 | SlightRemorse | it's used for opening the options concerning tray icons and their notifications |
| 20:48:00 | Watusimoto | ok, so some feedback |
| 20:48:24 | Watusimoto | it seems to work pretty well -- when I connected and disconnected it alerted me in a reasonable timeframe |
| 20:48:34 | SlightRemorse | the timeframe can be modified |
| 20:48:58 | SlightRemorse | I basicly made the thing update every 5 seconds, but I have an idea to make it user modifiable. (as in you state in how many miliseconds it'll download the .json page) |
| 20:48:59 | Watusimoto | I think the message box should disappear after 3(?) seconds rather than stay popped up until manually dismissed |
| 20:49:10 | SlightRemorse | it does disappear in 3 seconds |
| 20:49:13 | SlightRemorse | atleast it does for me |
| 20:49:18 | SlightRemorse | but you need to keep your cursor away from it |
| 20:49:20 | Watusimoto | ok, let me check that again |
| 20:49:31 | Watusimoto | updating every 5 seconds is fine |
| 20:49:40 | Watusimoto | doesn't need to be user configurable |
| 20:50:23 | Watusimoto | that time it faded after abotu 10 seconds, with a very slow fad |
| 20:50:27 | Watusimoto | fade |
| 20:50:28 | Watusimoto | odd |
| 20:50:36 | SlightRemorse | Yeah it has the long fade |
| 20:50:46 | SlightRemorse | i'll see if I can change that |
| 20:50:51 | Watusimoto | please do |
| 20:51:14 | Watusimoto | so what else |
| 20:51:21 | SlightRemorse | Thing is this task is the first one I find concerning Windows so I'm really interested in making this thing awesome. |
| 20:51:27 | SlightRemorse | :) |
| 20:51:38 | Watusimoto | it obviously needs to not sit on the task bar, but you know that |
| 20:52:41 | | Fordcars has joined |
| 20:53:17 | Watusimoto | when you first start it up, it downloads the json and makes a bunch of announcements |
| 20:53:28 | Watusimoto | this is good, but I think the message shoudl be different for that first round |
| 20:53:34 | Watusimoto | Maybe |
| 20:53:54 | Watusimoto | bobdaduck, raptor, and watusimoto are playing Bitfighter |
| 20:54:01 | SlightRemorse | I see, that could easily be changed. |
| 20:54:24 | Watusimoto | then thereafter go to a different message |
| 20:54:26 | SlightRemorse | Also I think I've encountered a slight problem. Apperantly the notification time is actually having minimum and maximum time forced by the operating system |
| 20:54:32 | SlightRemorse | It's why you're seeing it for 10 seconds. |
| 20:54:46 | Watusimoto | ok, well if it's a system standard, then that;s what we should stick with |
| 20:55:01 | SlightRemorse | Though if you want the thing to disappear a simple click removes it |
| 20:55:33 | Watusimoto | so maybe it shoudl say "SlightRemorse has started playing Bitfighter" |
| 20:56:08 | Watusimoto | I'm not sure if it should notify if players quit the game |
| 20:56:08 | Watusimoto | maybe |
| 20:57:09 | SlightRemorse | What I had in mind is the empty form you see having options to modify what it notifies you of |
| 20:57:17 | Watusimoto | it would also be nice if it had an option to stop displaying notices while bitfighter was running -- not sure exactly how to do that |
| 20:57:25 | Watusimoto | ok, good idea |
| 20:58:16 | Watusimoto | Maybe 3 radio buttons: "Notify for *Players joining * Players leaving *Both" |
| 20:58:39 | Watusimoto | Or maybe just a checkbox "Also notify for players leaving" |
| 20:58:51 | Watusimoto | because leaving only is kind of silly |
| 20:59:23 | Watusimoto | "Show a noficiation when players leave the game" sounds nicer |
| 20:59:58 | SlightRemorse | Sounds good! |
| 21:00:43 | Watusimoto | this is kind of nice, actually |
| 21:01:01 | Watusimoto | can you detect if the game is running? |
| 21:01:12 | Watusimoto | if so, you could have a button to launch the game on the popup notice |
| 21:01:26 | Watusimoto | but it wouldn't make sense to show that if the game were already runnign |
| 21:02:27 | Watusimoto | if the thing is in the task bar and you hover your mouse over it, it could say "Current players: blah, blay2, jhdkk, sdfkkfj" |
| 21:02:42 | SlightRemorse | Watusimoto: Well it might be possible, but I'm not exactly aware of how it works. I might look into it. Problem I forsee is if this .exe is in a directory different then the game. Then you'll also need to specify where you installed the game. |
| 21:03:04 | Watusimoto | ok, let's not worry about that for now |
| 21:03:09 | SlightRemorse | Watusimoto: The other thing I'll need to look into is how I can read the list of processes running so I can detect wether or not Bitfighter is running. |
| 21:03:19 | SlightRemorse | Fair enough. |
| 21:03:57 | Fordcars | are you trying to make like a bitfighter notfications app? |
| 21:04:14 | Watusimoto | Process[] pname = Process.GetProcessesByName("notepad"); |
| 21:04:14 | Watusimoto | if (pname.Length == 0) |
| 21:04:14 | Watusimoto | MessageBox.Show("nothing"); |
| 21:04:14 | Watusimoto | else |
| 21:04:14 | Watusimoto | MessageBox.Show("run"); |
| 21:04:25 | Watusimoto | that looks pretty easy, if it works |
| 21:04:49 | SlightRemorse | Definitly going to try it once i finish the GUI! |
| 21:05:03 | SlightRemorse | And yeah, Fordcars, we're making the Bitfighter player tracker notifications app. |
| 21:05:14 | Fordcars | nice :D |
| 21:05:28 | Watusimoto | it is pretty nice so far! |
| 21:05:35 | Fordcars | for mac you guys could try a dashboard app |
| 21:05:38 | Watusimoto | so SlightRemorse: you are definitely on the right track |
| 21:05:58 | Watusimoto | I like it already, and am going to keep it running while you improve it |
| 21:06:16 | SlightRemorse | Watusimoto: I just wish there were more Windows based tasks around :D |
| 21:06:29 | Watusimoto | what do you mean? tasks like this one? |
| 21:07:02 | | YoshiSmb Quit () |
| 21:07:23 | SlightRemorse | Watusimoto: Pretty much. Like tasks concerning making things for Windows. |
| 21:07:27 | Watusimoto | ha! I could see yoshi quitting bitfighter a few seconds before he quit irc |
| 21:07:58 | Watusimoto | think more broadly! multiplatform! |
| 21:08:29 | Watusimoto | I think we may just ship this with the next release of the game |
| 21:09:10 | SlightRemorse | Watusimoto: Multiplatforming is nice indeed, but I'm just most familiar with windows and thus a bit biased :P |
| 21:09:48 | Fordcars | I could do a dashboard app for mac |
| 21:10:06 | Watusimoto | the notifier is currently using > 18MB ram |
| 21:10:13 | Watusimoto | Fordcars: then you should! |
| 21:10:17 | Fordcars | ok |
| 21:10:42 | Watusimoto | make it nice, we'll distribute it with the mac package, and you can get your name in the credits |
| 21:10:58 | Fordcars | is there somewhere a nice fancy Bitfighter image which is vertical? |
| 21:11:14 | Watusimoto | you meain pointing up, or taller |
| 21:11:19 | Fordcars | yep |
| 21:11:23 | Watusimoto | which? |
| 21:11:35 | Fordcars | well with like the logo and a BG |
| 21:11:40 | Fordcars | which ever |
| 21:12:08 | Watusimoto | the logo would make it wider -) |
| 21:12:12 | Watusimoto | :-) |
| 21:12:27 | Watusimoto | but... no, not really |
| 21:12:42 | Watusimoto | what dimensions do you want? |
| 21:12:49 | Fordcars | well actually I don't mind if it's vertical or whatever |
| 21:13:25 | Watusimoto | right now we have the basic red ship, which is square |
| 21:13:26 | Fordcars | like rectangle or scare, maybe 800x600 or smaller |
| 21:13:28 | SlightRemorse | that's weird, Watusimoto, I'm running it with like 8 mb |
| 21:13:31 | SlightRemorse | 9 mb |
| 21:13:37 | Watusimoto | hm |
| 21:13:42 | Fordcars | the image would be the BG of the app |
| 21:13:47 | SlightRemorse | hm... there might be some memory leaking. |
| 21:13:48 | Watusimoto | how long have you been running it? |
| 21:14:00 | SlightRemorse | Watusimoto: Just started it, but I see the memory growing. |
| 21:14:07 | SlightRemorse | I'll look into what's not purged. |
| 21:14:10 | Watusimoto | I'll keep an eye on it |
| 21:14:36 | SlightRemorse | Now it stopped on 9.7MB |
| 21:14:52 | Watusimoto | Fordcars: maybe my ignorance is showing... what exactly is a dashboard app? |
| 21:16:04 | Watusimoto | just trying to get a sese for what sort of image would make sense |
| 21:16:35 | Fordcars | a dashboard app is a small app you can acces by pressing F12, like clocks or small games.... |
| 21:16:39 | Watusimoto | I'm looking at https://www.apple.com/downloads/dashboard/ |
| 21:16:44 | Watusimoto | for samples |
| 21:16:45 | Fordcars | yep |
| 21:16:59 | Watusimoto | does it sit on the desktop when you press F12? |
| 21:17:26 | Fordcars | yeah kinda |
| 21:17:38 | Fordcars | its over the desktop |
| 21:19:54 | Watusimoto | http://en.wikipedia.org/wiki/File:LionDashboard.png |
| 21:19:55 | Watusimoto | got it |
| 21:21:03 | Watusimoto | well, for a dashboard app, it might be even easier -- just a question of showing who's on |
| 21:21:22 | Watusimoto | because the app wouldn;t issue notices, would it? |
| 21:21:36 | Fordcars | yep the dev app Dashcode even has a small gui |
| 21:22:22 | Fordcars | dshcode is for dashboard |
| 21:23:08 | Fordcars | well hmmm |
| 21:23:34 | Fordcars | there is a way to be connected to the internet and get live access |
| 21:23:40 | Fordcars | with these apps |
| 21:24:54 | Fordcars | oh man coded in java script, tho |
| 21:25:07 | Watusimoto | js is no problem |
| 21:25:21 | Fordcars | well it will for me 0.o |
| 21:25:24 | Watusimoto | the info you want is coded in json, which is basically just a special js format |
| 21:25:35 | Fordcars | ok |
| 21:26:02 | Fordcars | so yeah maybe you could send me how to connect to bitfighter |
| 21:26:10 | Fordcars | or a server or whatever you used |
| 21:26:24 | Fordcars | for notifications and nline players |
| 21:28:05 | Fordcars | ok it might be easy |
| 21:29:43 | Watusimoto | http://bitfighter.org/bitfighterStatus.json |
| 21:29:49 | Watusimoto | that's always got the latest |
| 21:29:56 | Watusimoto | It updates every 10 seconds |
| 21:30:10 | Fordcars | ok |
| 21:30:36 | Watusimoto | See this line? |
| 21:30:37 | Watusimoto | "players": ["bobdaduck", "watusimoto"], |
| 21:30:37 | Watusimoto | "authenticated": [true, true], |
| 21:30:56 | Fordcars | yeah |
| 21:30:58 | Watusimoto | if the corresponding authenticated bit is set to true, a name shoudl be underlined |
| 21:31:17 | Fordcars | yes ok |
| 21:31:20 | Watusimoto | actually, SlightRemorse, that is something you would want to pay attention to too |
| 21:31:40 | Fordcars | but how do I connect to that. |
| 21:32:02 | Fordcars | oh to http://bitfighter.org/bitfighterStatus.json |
| 21:32:06 | Fordcars | ? |
| 21:36:02 | Fordcars | XMLHttpRequest? |
| 21:38:51 | Fordcars | ah found something |
| 21:57:47 | Watusimoto | you know, if it's just javascript, we do soemthing just like that on the bitfighter.org site |
| 21:58:02 | Watusimoto | there is a js process running that grabs the json and displays it |
| 21:58:13 | Fordcars | but is it XML Http request taht I use? |
| 21:59:32 | Watusimoto | we don't use that directly |
| 21:59:39 | Watusimoto | but probably |
| 21:59:46 | Watusimoto | we use jquery to do that for us |
| 21:59:55 | Fordcars | ok |
| 22:00:00 | Watusimoto | if you look at the souce to bitfighter.org, you can see our script starting on line 50 |
| 22:00:23 | Watusimoto | the jquery gets loaded on line 49 |
| 22:00:51 | Fordcars | how do I get the source? |
| 22:13:30 | Watusimoto | right click on the page and select view source |
| 22:14:08 | Watusimoto | I was making a nice photoshop mockup of a potential app layout when photoshop stopped letting me enter text |
| 22:14:11 | Watusimoto | very frustrating |
| 22:15:45 | Watusimoto | SlightRemorse: I just got a popup telling me to install java... it too faded pretty slowly |
| 22:16:13 | Fordcars | ok thanks |
| 22:17:45 | Fordcars | man this might sound stupid but what do all of these <> mean |
| 22:20:09 | Fordcars | and why does it say it cant find the variable $! |
| 22:23:29 | Watusimoto | ha |
| 22:23:32 | Watusimoto | ok |
| 22:24:07 | Watusimoto | the <xxxx> things are HTML tags |
| 22:24:24 | Watusimoto | The stuff inide this tag: |
| 22:24:28 | Watusimoto | <script type="text/javascript"></script> |
| 22:24:33 | Watusimoto | is javascript code |
| 22:24:37 | Fordcars | ok |
| 22:25:18 | Watusimoto | I will make the following suggestion |
| 22:25:40 | Watusimoto | I would take a brief step back, and do a little reading on basic javascript |
| 22:26:04 | Watusimoto | not necessarily trying to learn the whole language but just get yourself familliar with some of the basic ideas |
| 22:26:25 | Watusimoto | I think that most of what you will need is contained in the web page |
| 22:26:44 | Fordcars | ok yeah I would need that |
| 22:27:03 | Watusimoto | but i don't really know what else you'll need, if anything |
| 22:28:06 | Fordcars | ok I am really crappy in Java :D |
| 22:28:44 | Watusimoto | I downloaded a dashboard widget and it looks like its mostly javascript and css, which is used for adding styles to html (formatting, fonts, and such) |
| 22:28:57 | Watusimoto | this has nothing at all to do with java |
| 22:29:17 | Watusimoto | you will not need a single line of java here |
| 22:29:36 | Watusimoto | oh, interesting |
| 22:29:59 | Watusimoto | in the main folder of this widget is an index.html file |
| 22:30:13 | Watusimoto | which suggests that these are just little web pages |
| 22:30:49 | Fordcars | yep there is .html in mine too |
| 22:31:05 | Fordcars | I put it like that it has access to the web |
| 22:31:10 | Watusimoto | but there are also a couple of other types of files, like a .plist file, which looks to be a list of permissions |
| 22:31:29 | Fordcars | can you send me that widget? |
| 22:32:04 | Fordcars | link? |
| 22:32:10 | Watusimoto | I got it here |
| 22:32:11 | Watusimoto | http://www.wunderground.com/download/widgets.asp |
| 22:32:23 | Watusimoto | it's not the simplest in the world |
| 22:32:38 | Watusimoto | you might start by using the entirety of the bitfighter home page as your index.html file |
| 22:32:41 | Watusimoto | and see what happens |
| 22:33:58 | Fordcars | hahahahahahahahahaha |
| 22:34:09 | Fordcars | it made a transparent mini bitfighter.org |
| 22:34:38 | Watusimoto | it is a green-on-transparent image, so it's not shocking |
| 22:34:47 | Fordcars | yep |
| 22:38:24 | Fordcars | but it still cant find the variable $ it says |
| 22:39:13 | Fordcars | even tho $ isn't a variable |
| 22:39:22 | Fordcars | or is it |
| 22:39:34 | Watusimoto | it;s a jquery thing |
| 22:39:40 | Watusimoto | so yes, it is |
| 22:39:52 | Watusimoto | but that might mean that jquery isn't loading |
| 22:40:03 | Watusimoto | so what you can do is grab it yourself |
| 22:40:14 | Watusimoto | using the url on line 49 of the web page |
| 22:40:32 | Fordcars | ok |
| 22:40:59 | Watusimoto | and stick it... where exaclty? |
| 22:41:09 | Watusimoto | in a scripts subfolder? |
| 22:41:29 | Watusimoto | then you'll need to change line 49 to tell it where to get the jquery |
| 22:41:41 | Watusimoto | not sure really how to do that |
| 22:41:45 | Fordcars | the thing is I copied all of the source of bitfighterr.org |
| 22:41:47 | Fordcars | wait |
| 22:43:19 | Watusimoto | like this |
| 22:43:20 | Watusimoto | <script src="Scripts/Test/Preferences.js" type="text/javascript" charset="utf-8"></script> |
| 22:43:32 | Watusimoto | right |
| 22:43:38 | Fordcars | yeah it might of worked now |
| 22:43:46 | Fordcars | well no errors |
| 22:43:48 | Watusimoto | so line 49 tells the browser to load jquery from some url |
| 22:44:01 | Watusimoto | that wasn;t working, so you needed to provide that locally |
| 22:44:11 | Watusimoto | so you downloaded jquery and stashed it in a local folder |
| 22:44:16 | Watusimoto | probably called scripts |
| 22:44:29 | Watusimoto | in the same folder as the index.html you copied from bitfighter.org |
| 22:44:46 | Watusimoto | now you'll need to change line 49 to suck in the new local copy of jquery |
| 22:44:52 | Watusimoto | and it will look something like this: |
| 22:45:14 | Watusimoto | <script src="scripts/jquery-min-whatever.js" type="text/javascript" charset="utf-8"></script> |
| 22:45:21 | Watusimoto | maybe without the charset bit |
| 22:45:31 | Watusimoto | not sure about that, probably doesn't matter either way |
| 22:46:08 | Fordcars | doesn't change |
| 22:46:17 | Watusimoto | what doesn't change? |
| 22:46:32 | Fordcars | same error can't find $ |
| 22:46:39 | Watusimoto | ok, do this |
| 22:47:02 | Watusimoto | in the very beginning of the jquery-whatever.js file you are now trying to import, add this line |
| 22:47:10 | Watusimoto | alert("hello!"); |
| 22:47:19 | Watusimoto | that will popup a message when that line is rea |
| 22:47:21 | Watusimoto | d |
| 22:47:32 | Fordcars | can I just put a flag? |
| 22:47:43 | Watusimoto | what do you mean? |
| 22:47:44 | Fordcars | oh I can't |
| 22:48:04 | Fordcars | in xcode you can make the script stop and it tells you |
| 22:48:13 | Watusimoto | what I think is happening is you are not loading jquery |
| 22:48:24 | Fordcars | and it didn't get jquery-whatever.js |
| 22:48:25 | Watusimoto | that's commonly called a breakpoint |
| 22:48:32 | Fordcars | its not there |
| 22:48:37 | Watusimoto | not where? |
| 22:48:44 | Fordcars | in local folder |
| 22:48:52 | Watusimoto | did you put it there? :-) |
| 22:51:10 | Fordcars | but I have 2 projects open, ok? One project has all html file of bitfighter.org and the other project has a part of source of bf.org |
| 22:51:21 | SlightRemorse | Watusimoto: Everything but the minimization is done. |
| 22:51:31 | Watusimoto | great! |
| 22:51:38 | SlightRemorse | Should I make the default refresh value |
| 22:51:41 | SlightRemorse | 2 seconds or 5 seconds? |
| 22:51:43 | SlightRemorse | it's currently 5 seconds |
| 22:51:52 | Fordcars | the one with all of bf.org source bugs with $ |
| 22:51:58 | Watusimoto | 5 secs |
| 22:52:02 | SlightRemorse | alright. |
| 22:52:15 | SlightRemorse | I scrapped the idea of refreshing under 1 second as the .json file doesn't update fast enough |
| 22:52:34 | SlightRemorse | so in the end you're left with downloading useless page content waiting for the .json to change |
| 22:52:48 | Fordcars | how do you make the app display the text of .json |
| 22:52:49 | Watusimoto | SlightRemorse: I've been watching this thing popup and down, and I think the headline should just be "Bitfighter" instead of player(s) joined/left |
| 22:53:26 | Watusimoto | btw Fordcars: https://developer.apple.com/library/mac/#documentation/AppleApplications/Conceptual/Dashcode_UserGuide/Contents/Resources/en.lproj/MakingaWidgetwithDashcode/MakingaWidgetwithDashcode.html |
| 22:53:58 | SlightRemorse | Fair enough. I'll change that as well. |
| 22:54:44 | Fordcars | dude I know how dashcode works it's js that I don't! |
| 22:54:44 | Watusimoto | Fordcars: :-) |
| 22:54:44 | Watusimoto | Fordcars: I think this launches it all: |
| 22:54:44 | Fordcars | so yeah if it works how do I make it display .json |
| 22:54:44 | Watusimoto | $().ready(updateStatus()); |
| 22:54:45 | Fordcars | launch what |
| 22:54:46 | Watusimoto | $().ready will fire an event when the page has been loaded |
| 22:54:55 | Watusimoto | and the event is updateStatus() |
| 22:55:11 | Watusimoto | which is the thing that fetches the json and displays it |
| 22:55:26 | Fordcars | yeah its already in the code |
| 22:55:29 | Watusimoto | the last thing that function does is this: |
| 22:55:29 | Watusimoto | setTimeout("updateStatus()", 10000); // 10000 ms = 10 secs |
| 22:55:37 | Watusimoto | which tells it to do it again in 10 secs |
| 22:55:43 | Fordcars | it might work it's just that how do I display it |
| 22:55:43 | Watusimoto | so yes, everything is there |
| 22:55:52 | Fordcars | like get the text |
| 22:55:59 | Fordcars | variables with js? |
| 22:56:01 | Watusimoto | function displayCallback |
| 22:56:08 | Watusimoto | updates a div |
| 22:56:22 | Watusimoto | $("#widgetOutput").append('No one is playing at the moment.'); |
| 22:56:27 | Watusimoto | (for example) |
| 22:56:30 | Fordcars | ok |
| 22:56:40 | Fordcars | but that one is for bf client |
| 22:56:47 | Fordcars | it doesnt display it |
| 22:56:59 | Watusimoto | updates a div with an id of widgetOutput (<div id="widgetOutput"></div>) |
| 22:57:10 | Fordcars | ok |
| 22:57:18 | Watusimoto | you need a div like that, but there should be one already in the html |
| 22:58:05 | Watusimoto | SlightRemorse: Make it say "PPPPP has connected" and "OOOOOO has quit" |
| 22:58:19 | Watusimoto | No quotes around their names |
| 22:59:08 | Fordcars | YEAH it finally got jquery |
| 22:59:27 | Watusimoto | good |
| 22:59:46 | Fordcars | but its now says that undifined isnt a function |
| 23:00:05 | Watusimoto | well... it isn't!!! :-) |
| 23:00:21 | Watusimoto | any idea where that msg is coming from? |
| 23:00:28 | Fordcars | line 18 of jquery |
| 23:00:39 | Watusimoto | good lord |
| 23:00:49 | Watusimoto | with the minimized version of jquery, that's impossible to read |
| 23:00:55 | Watusimoto | or at least very difficult |
| 23:00:56 | Fordcars | yeah |
| 23:01:16 | Fordcars | line 12 and 18 are huge |
| 23:01:26 | Watusimoto | ok, so you;ve got a couple of options here |
| 23:01:41 | Watusimoto | 1) get an unminimzed version of jquery that you can actually read |
| 23:01:54 | Watusimoto | 2) assume the problem is not with jquery, but rather how it is called and |
| 23:02:26 | Watusimoto | - start adding debugging code in the bitifghter.org javascript to see exactly when the error gets called |
| 23:02:27 | Fordcars | maybe cause I am getting other errors |
| 23:03:05 | Watusimoto | oh, yes, that would do it |
| 23:03:44 | Watusimoto | my guess is it can;t find updateStatus() or displayCallback() |
| 23:03:53 | Fordcars | ok |
| 23:04:18 | Fordcars | oh |
| 23:05:05 | Fordcars | thats the thing you gave me : <script src="scripts/jquery-min-whatever.js" type="text/javascript" charset="utf-8"></script> |
| 23:05:17 | Fordcars | is it supposed to be jquery-whatever |
| 23:05:22 | Watusimoto | SlightRemorse: if you want a sligtly less crappy icon, use this: |
| 23:05:23 | Watusimoto | https://code.google.com/p/bitfighter/source/browse/zap/zap_win_icon.ico |
| 23:06:07 | Watusimoto | is it supposed to be jquery-whatever |
| 23:06:07 | Fordcars | ok |
| 23:06:07 | Watusimoto | no, of course not |
| 23:06:09 | Fordcars | ok |
| 23:06:10 | Fordcars | yeah |
| 23:06:18 | Watusimoto | you need to get the name right, whatever you called the file in your scripts folder |
| 23:06:51 | Fordcars | the file of jquery.js? |
| 23:06:58 | SlightRemorse | Watusimoto: I've uploaded the next version of the Notificator |
| 23:07:07 | SlightRemorse | Can you tell me what you think? |
| 23:07:07 | Watusimoto | great |
| 23:07:10 | Watusimoto | sure |
| 23:08:05 | SlightRemorse | If you pause it the next notification loop won't happen. So you can pause the tracker while playing and then unpause when you're done and you won't get a huge list of players joined/left. |
| 23:08:36 | Watusimoto | btw, it shoudl be "notificator" |
| 23:08:41 | Watusimoto | i think you left out an i |
| 23:08:56 | SlightRemorse | Quite possibly I did, heh |
| 23:09:18 | Watusimoto | probably more apparent to me than to you :-) |
| 23:09:22 | SlightRemorse | that's just in the file name. I've mistyped it. In the description of the file it's okay. |
| 23:09:31 | Watusimoto | ok a couple of quick things |
| 23:09:39 | Watusimoto | take out the : after bitfghter: in the title |
| 23:09:58 | SlightRemorse | done |
| 23:10:01 | Watusimoto | and don't make Connected be capitalized: use connected instead |
| 23:10:14 | SlightRemorse | done |
| 23:10:15 | Watusimoto | (maybe the same for quit, haven;t seen the message yet) |
| 23:10:27 | SlightRemorse | it's "X has Disconnected" |
| 23:10:35 | SlightRemorse | also changed it as well |
| 23:10:40 | Watusimoto | make it say quit |
| 23:10:41 | SlightRemorse | to lower case |
| 23:10:46 | Watusimoto | instead of disonnected |
| 23:10:48 | SlightRemorse | done |
| 23:10:49 | Watusimoto | I think that sounds better |
| 23:11:15 | Watusimoto | so now the thing should live in the system tray |
| 23:11:17 | SlightRemorse | "has quit" or "has quit the game"? |
| 23:11:28 | SlightRemorse | also want me to put dots at the end of the sentences |
| 23:11:30 | Watusimoto | raptor connected |
| 23:11:32 | Watusimoto | so |
| 23:11:34 | SlightRemorse | or leave them without a dot? |
| 23:11:34 | Watusimoto | raptor quit |
| 23:11:39 | SlightRemorse | fair enough |
| 23:11:59 | Watusimoto | yes, without a trailing . |
| 23:12:02 | Watusimoto | i think :-) |
| 23:12:15 | Watusimoto | I have to look at it a while to be sure |
| 23:12:26 | Watusimoto | It's purely stylistic in this case |
| 23:12:29 | SlightRemorse | oh ye and want me to remove the "has" or not? |
| 23:12:35 | SlightRemorse | basicly |
| 23:12:37 | SlightRemorse | X has connected/quit |
| 23:12:40 | SlightRemorse | or X connected/quit |
| 23:12:42 | Watusimoto | what does it say now? |
| 23:12:48 | SlightRemorse | "Playername has connected" |
| 23:12:53 | SlightRemorse | "Playername has quit" |
| 23:12:53 | Watusimoto | ok, then use has |
| 23:12:58 | Watusimoto | perfect |
| 23:12:59 | SlightRemorse | ok |
| 23:13:18 | SlightRemorse | now to read how to minimize things to tray :-) |
| 23:13:20 | Watusimoto | so I would suggest underlining registered player names |
| 23:13:46 | Watusimoto | I'm looking for the js code that does that |
| 23:14:05 | Watusimoto | here: |
| 23:14:07 | Watusimoto | if(data.authenticated[i]) |
| 23:14:07 | Watusimoto | $("#widgetOutput").append("<u>" + data.players[i] + "</u>"); |
| 23:14:07 | Watusimoto | else |
| 23:14:07 | Watusimoto | $("#widgetOutput").append(data.players[i]); |
| 23:14:17 | Watusimoto | not sure how the json parsing works in c# |
| 23:14:41 | SlightRemorse | well I'm using regular expressions to filter the text |
| 23:14:46 | Watusimoto | but the authenticated array has a boolean for each player |
| 23:14:50 | SlightRemorse | aha |
| 23:14:50 | Watusimoto | really? |
| 23:14:57 | SlightRemorse | so authenticated is the registered or not |
| 23:14:58 | SlightRemorse | yeah |
| 23:15:01 | Watusimoto | yes |
| 23:15:14 | SlightRemorse | string Output = getPageSource(); |
| 23:15:15 | SlightRemorse | Match line = Regex.Match(input, "\"players\": .*,"); |
| 23:15:15 | SlightRemorse | Output = Regex.Replace(line.Value, ".*:[ ]", String.Empty); |
| 23:15:15 | SlightRemorse | foreach (Match players in Regex.Matches(Output, "\".*?\"")) |
| 23:15:15 | SlightRemorse | { |
| 23:15:15 | SlightRemorse | String temp = Regex.Replace(players.Value, "\"", string.Empty); |
| 23:15:15 | SlightRemorse | CurrentPlayers.Add(temp); |
| 23:15:16 | SlightRemorse | }; |
| 23:15:33 | Watusimoto | I would have though using a parser would have been easier |
| 23:15:35 | SlightRemorse | that's roughly how I do it. First I find the players line and then I split it by quotations getting the names |
| 23:15:49 | SlightRemorse | thing is I already had a regular expression for a different project |
| 23:15:51 | Watusimoto | ok, well that works, but it will make it more fragile in the future |
| 23:15:59 | Watusimoto | but that;s not your problem, I suppose :-) |
| 23:16:13 | SlightRemorse | unless there will be another players: line |
| 23:16:20 | Watusimoto | who knows |
| 23:16:20 | SlightRemorse | or it gets changed it won't really bug |
| 23:16:25 | Watusimoto | it hasn't changed for years |
| 23:16:42 | Watusimoto | I have no plans to change it |
| 23:16:48 | SlightRemorse | Then it won't bug |
| 23:16:58 | SlightRemorse | raptor helped me test what happens if a player includes a quotation mark in his name |
| 23:17:06 | Watusimoto | ah, good |
| 23:17:08 | SlightRemorse | it gets translated to a &<something> |
| 23:17:22 | SlightRemorse | so you can't have a player with a quotation mark killing the regex parsing |
| 23:17:27 | Watusimoto | good |
| 23:17:59 | Watusimoto | so how hard would it be to figure out if each player is authenticated? |
| 23:18:42 | SlightRemorse | Easy |
| 23:18:50 | SlightRemorse | I'd say it's more hard to make just the authenticated people be bold |
| 23:18:57 | Watusimoto | I'd also change "Notify for players leaving" to "Display notification for quitting players" with no "." |
| 23:19:26 | Watusimoto | And change Players Online to Players online -- that's more consistent with the capitalization you've used elsewhere |
| 23:19:50 | Watusimoto | And I would suggest removing the pause and refresh controls |
| 23:20:06 | SlightRemorse | Can we make it have <Registered> next to the name |
| 23:20:08 | Watusimoto | there is no reason why anyone shoudl change the refresh duration |
| 23:20:10 | SlightRemorse | instead of being bold? |
| 23:20:15 | Watusimoto | underlined |
| 23:20:20 | SlightRemorse | can't |
| 23:20:24 | Watusimoto | is styling the text hard? |
| 23:20:37 | SlightRemorse | I'll need to read a good bit to get the hang of it |
| 23:20:50 | SlightRemorse | It's not exactly as easy as adding some escape characters to the string |
| 23:20:52 | Watusimoto | what sort of control are you using to display the text? |
| 23:21:11 | SlightRemorse | TextBox element displaying a string |
| 23:21:22 | Watusimoto | on both the popups and the main window? |
| 23:21:55 | SlightRemorse | popups are their own thing |
| 23:22:00 | SlightRemorse | a different object |
| 23:22:08 | Watusimoto | you are right -- you can't style text in a textbox |
| 23:22:27 | SlightRemorse | Plus if I style it in the textbox somehow I won't be able to do so on the notification |
| 23:22:43 | SlightRemorse | as the notification offers even less c ontrol |
| 23:22:47 | SlightRemorse | it just forwards a string |
| 23:23:13 | Watusimoto | ok, so the notification is not possible, forget that |
| 23:23:26 | Watusimoto | if we make the textbox into a richtextbox, it's pretty easy |
| 23:23:51 | SlightRemorse | Alright I'll see if I can do it and how it's done |
| 23:24:02 | Watusimoto | I've been reading this: |
| 23:24:03 | Watusimoto | http://stackoverflow.com/questions/10881806/winforms-underline-part-of-text-to-be-displayed-in-textbox |
| 23:24:18 | Watusimoto | actually, not sure that;s c# |
| 23:24:19 | Watusimoto | ! |
| 23:24:39 | Watusimoto | but this is |
| 23:24:40 | Watusimoto | http://stackoverflow.com/questions/821347/how-to-selectively-underline-strings-in-richtextbox |
| 23:25:27 | Watusimoto | but you know what? it's really not that important |
| 23:25:43 | Watusimoto | so don't get too hung up on it |
| 23:26:04 | SlightRemorse | also I'm thinking of leaving the notification thing |
| 23:26:12 | Watusimoto | ?? |
| 23:26:23 | SlightRemorse | well above in the conversation you suggested removing it |
| 23:26:25 | SlightRemorse | as it's not needed |
| 23:26:37 | Watusimoto | which? the refresh delay? |
| 23:26:41 | SlightRemorse | ye |
| 23:26:50 | SlightRemorse | Basicly for people with a slower internet |
| 23:26:54 | Watusimoto | well, here's why I said that |
| 23:27:04 | SlightRemorse | a longer time is better |
| 23:27:17 | Watusimoto | every choice you give to users is a decision they have to make. |
| 23:27:18 | SlightRemorse | and for people with 3.5MB/sec a 1 sec refresh is nothing to worry about |
| 23:27:24 | Watusimoto | decisions require mental energy |
| 23:27:37 | Watusimoto | so the more decisions you can take from their hands, the easier things are for them |
| 23:27:41 | SlightRemorse | Hm... I can put a <suggested> next to the 5 sec |
| 23:27:51 | Watusimoto | or just make it 10 secs |
| 23:27:57 | SlightRemorse | 10 sec is a bit too long |
| 23:28:02 | SlightRemorse | 5 sec is the middle ground |
| 23:28:04 | Watusimoto | perhaps |
| 23:28:08 | SlightRemorse | to update fast enough |
| 23:28:13 | Watusimoto | in reality, it;s a very small amount of data |
| 23:28:48 | Watusimoto | 1048 characters |
| 23:28:53 | Watusimoto | just a tad over 1K |
| 23:29:49 | SlightRemorse | 945 bytes as a file and 4 KB on the disk |
| 23:29:55 | Watusimoto | in the end it's up to you -- it's my opinion that fewer options makes for a better user experience (to a point, obviously!) |
| 23:30:15 | SlightRemorse | Technically once I'm done with the minimization |
| 23:30:20 | SlightRemorse | the program should start minimized |
| 23:30:24 | Watusimoto | good |
| 23:30:31 | SlightRemorse | so the user that doesn't really feel like thinking won't even see the settings utility :P |
| 23:30:40 | Watusimoto | true |
| 23:31:41 | Watusimoto | well, I'm really enjoying seeing people connect and disconnect |
| 23:32:30 | Watusimoto | usng 18,960K - 22,472K memory |
| 23:34:09 | SlightRemorse | from what I know c# uses garbage collection just like Java |
| 23:34:23 | SlightRemorse | so each time something in the memory has no pointer to it it should be cleaned |
| 23:34:47 | SlightRemorse | I'm not aware of any extra things needed to purge unneeded memory so it might actually be based on your memory, idk. |
| 23:34:54 | Fordcars | ooooooooohhhhhhhhh !$#@%$#@@ it's not working with dashboard. |
| 23:35:10 | SlightRemorse | For me it hangs around 9-10K |
| 23:35:19 | SlightRemorse | MB* |
| 23:35:25 | | LordDVG Quit (Remote host closed the connection) |
| 23:36:14 | Fordcars | maybe if we actually do make one for mac we should make it as an js app and not dashboard because of the standard dashboard code that bugs everything |
| 23:36:54 | Watusimoto | where does a js app run? |
| 23:36:55 | Fordcars | or just c++ if possible |
| 23:37:33 | Fordcars | but dashboard would be awsome |
| 23:37:42 | Fordcars | it might also be ppc isues |
| 23:37:44 | Watusimoto | getting frustrated, eh? |
| 23:37:48 | Fordcars | yep |
| 23:37:48 | Watusimoto | I doubt it |
| 23:37:54 | Fordcars | ok |
| 23:38:17 | Watusimoto | well, I've been debugging the same stupid bug for 4 days now |
| 23:38:24 | Watusimoto | does that make you feel any better? |
| 23:38:52 | Fordcars | lol but at least you know how to code in the language you're using |
| 23:39:02 | Fordcars | I don't know a thing about js |
| 23:39:48 | Watusimoto | true |
| 23:39:56 | Watusimoto | but when Istarted bitfighter I didn't |
| 23:40:30 | Watusimoto | I think you shoudl do something fun for a while then decide if you want ot give it another go |
| 23:40:41 | | Fordcars Quit (Quit: Leaving) |
| 23:40:56 | | Fordcars has joined |
| 23:41:07 | Fordcars | yeah I have to go eat and that's fun |
| 23:41:33 | Fordcars | stupid irc client! I resized the window and the text feild was gone :D |
| 23:41:41 | Watusimoto | :-) |
| 23:41:49 | Fordcars | anyway I have to go eat going to idle ville :D |
| 23:42:04 | Watusimoto | SlightRemorse: good news... when I'm in full screen bitfighter game, the notifier messages aren't visible |
| 23:42:21 | Watusimoto | that was the main reason I wanted to suppress them when the game was running |
| 23:42:30 | Watusimoto | turns out to be unnecessary |
| 23:50:11 | SlightRemorse | Watusimoto: That's something that windows handles on it's own ;) |
| 23:54:28 | | CrazyLinuxNerd Quit (Ping timeout: 250 seconds) |
| 23:54:51 | | CrazyLinuxNerd has joined |
| 23:55:53 | | raptor has joined |
| 23:55:53 | | ChanServ sets mode +o raptor |
| 23:56:04 | raptor | ok, i'm not really here |
| 23:56:08 | raptor | but |
| 23:56:21 | raptor | are the ship zone events firing in 018? |
| 23:56:25 | Watusimoto | this popup thing SlightRemorse is working on is great! |
| 23:56:26 | raptor | (for levelgens) |
| 23:56:33 | Watusimoto | they should be... |
| 23:56:43 | Watusimoto | you suspect they are not |
| 23:57:08 | raptor | http://pastie.org/5537072 |
| 23:57:12 | raptor | is a simple script |
| 23:57:25 | raptor | i added a 'Zone' and a 'LoadoutZone' in a simple level |
| 23:57:39 | raptor | and started moving my ships over the areas - that logprint never fires |
| 23:58:13 | Watusimoto | that's telling |
| 23:58:27 | Watusimoto | checking someting |
| 23:58:57 | Watusimoto | ok |
| 23:59:06 | raptor | i think i'm doing something wrong |
| 23:59:08 | Watusimoto | I put a breakpoint on the event firing code, and it triggered |
| 23:59:14 | Watusimoto | so the event is beign fired |
| 23:59:29 | Watusimoto | Try this: |
| 23:59:34 | Watusimoto | subscribe(ShipEnteredZoneEvent) |
| 23:59:55 | Watusimoto | though what you have should work |