Timestamps are in GMT/BST.
| 00:01:26 | | CrazyLinuxNerd Quit (Quit: Leaving) |
| 00:01:49 | | CrazyLinuxNerd has joined |
| 00:45:33 | | YoshiSmb has joined |
| 01:06:50 | | Fordcars has joined |
| 01:07:55 | Fordcars | what is hapenning! got connection problems, then I logged out of SAM server and got sent multiple ids error |
| 01:16:02 | | koda Quit (Quit: koda) |
| 01:27:54 | | bobdaduck has joined |
| 01:31:53 | | CrazyLinuxNerd Quit (Quit: Leaving) |
| 01:57:55 | | CrazyLinuxNerd has joined |
| 02:37:28 | | sam686 Quit (Ping timeout: 245 seconds) |
| 02:38:57 | | sam686 has joined |
| 02:38:57 | | ChanServ sets mode +v sam686 |
| 03:51:38 | | YoshiSmb Quit (Ping timeout: 264 seconds) |
| 03:52:10 | | YoshiSmb has joined |
| 03:52:28 | YoshiSmb | what happend you exited? |
| 04:09:17 | Fordcars | he left |
| 04:11:13 | YoshiSmb | ahhh. |
| 04:32:30 | bobdaduck | Give asteroids a starting vector. |
| 04:53:30 | | YoshiSmb Quit (Ping timeout: 248 seconds) |
| 04:56:39 | | YoshiSmb has joined |
| 05:04:02 | | Fordcars Quit (Ping timeout: 245 seconds) |
| 05:21:46 | | YoshiSmb Quit () |
| 06:24:58 | | sam686 Quit (Ping timeout: 245 seconds) |
| 06:26:07 | | sam686 has joined |
| 06:26:07 | | ChanServ sets mode +v sam686 |
| 06:26:22 | | bobdaduck Quit (Quit: Page closed) |
| 08:05:16 | | kodaws has joined |
| 10:10:58 | | LordDVG has joined |
| 10:51:25 | | CrazyLinuxNerd Quit (Excess Flood) |
| 10:51:51 | | CrazyLinuxNerd has joined |
| 11:07:45 | | LordDVG Quit (Remote host closed the connection) |
| 11:10:49 | | SlightRemorse has joined |
| 15:10:31 | | YoshiSmb has joined |
| 15:42:02 | | watusimoto has joined |
| 15:42:02 | | ChanServ sets mode +o watusimoto |
| 15:42:32 | watusimoto | hi |
| 15:42:38 | watusimoto | hi SlightRemorse |
| 15:51:02 | kodaws | hi watusimoto |
| 15:51:09 | kodaws | how's gci going? :) |
| 15:55:17 | watusimoto | reasonably well, I'd say |
| 15:55:38 | watusimoto | it's been manageable, and I've enjoyed working with the students |
| 15:56:08 | watusimoto | I've been holding back on new projects until raptor gets back, but we're still moving forward |
| 15:59:45 | | YoshiSmb Quit (Ping timeout: 260 seconds) |
| 16:00:03 | | YoshiSmb has joined |
| 16:00:09 | SlightRemorse | hey, watusimoto |
| 16:00:25 | SlightRemorse | so, about my project. Don't know if you got my reply on the site, it doesn't show up for me atleast. |
| 16:00:41 | watusimoto | I didn't look, to be honest. usually I get an email |
| 16:00:59 | SlightRemorse | Ah, no problem |
| 16:01:04 | watusimoto | I mentioned 3 points: 1) flashing window 2) closing app with X and 3) icon |
| 16:01:12 | watusimoto | all should be pretty easy |
| 16:01:14 | SlightRemorse | anyway, for the first thing - I don't really get that annoying flash you see, perhaps because my computer loads the thing too fast. |
| 16:01:20 | watusimoto | :-) |
| 16:01:32 | SlightRemorse | Second thing. So you want the X to act like the minimize button? |
| 16:01:37 | SlightRemorse | Basicly hiding the window? |
| 16:01:39 | watusimoto | There must be a way to tell a program to start minimized |
| 16:01:48 | watusimoto | rather than to wait until it is already running |
| 16:02:10 | SlightRemorse | I'll check on that. |
| 16:02:45 | watusimoto | I did have a question |
| 16:03:06 | watusimoto | occasionally I see a window appear that tells me that the app can't reach bitfighter.org, and to check the URL |
| 16:03:15 | watusimoto | what makes that happen? |
| 16:03:23 | SlightRemorse | Basicly I've put 2 things concerning the URL |
| 16:03:32 | SlightRemorse | first error is if the URL is not a correct url at all |
| 16:03:44 | SlightRemorse | as in say you typed in "OLOLOLTHISNOURL" |
| 16:03:53 | SlightRemorse | it'll spit that the URL is incorrectly typed |
| 16:03:57 | watusimoto | so something that can't be parsed locally |
| 16:04:04 | SlightRemorse | the 2nd kind of error happens if the site you've linked it to |
| 16:04:09 | SlightRemorse | contains no information to be parsed |
| 16:04:13 | SlightRemorse | basicly if you send it to google.com |
| 16:04:39 | SlightRemorse | Both times if it encounters such a problem it returns the user to the default URL |
| 16:04:53 | SlightRemorse | I can tweak that feature to your liking as well if you want |
| 16:05:38 | watusimoto | I think if it connects and then subsequently fails, it should not display a message; it probably means the internet connection is troubled and the proper thing to do is to try again |
| 16:06:08 | watusimoto | so I would say, to keep things simple, show the message only if the first attempt fails; thereafter just try again later |
| 16:06:32 | SlightRemorse | I see. Yeah that can be done. |
| 16:06:48 | watusimoto | because once you've connected, you know the url is good |
| 16:06:56 | SlightRemorse | Also I think the reason why you see the flashing is because the minimization happens from a command called from the 2nd thread. |
| 16:07:07 | watusimoto | could be |
| 16:07:15 | SlightRemorse | I'll try and move it right at the initialization of the form. |
| 16:07:30 | watusimoto | I think that's the right place; initiailzation or even construction; not sure |
| 16:07:44 | watusimoto | did I tell you I like the app? |
| 16:07:46 | watusimoto | :-) |
| 16:07:52 | SlightRemorse | yeah you did :-P |
| 16:08:03 | SlightRemorse | also the X should just minimize it to tray, right? |
| 16:08:33 | watusimoto | yes |
| 16:08:44 | SlightRemorse | That could be a bit tricky as I'll need to rewire the termination in some way |
| 16:08:51 | SlightRemorse | I could try and make the tray icon |
| 16:08:54 | SlightRemorse | to be right click-able |
| 16:09:01 | SlightRemorse | and then you can get an "exit" there as well |
| 16:09:12 | SlightRemorse | as well as put a button on the main window |
| 16:09:28 | watusimoto | That would be ideal; if that's too hard you could have a quit button on the main form. But if the right-click works, do that; it would be enough. |
| 16:09:50 | SlightRemorse | well I think actually rewireing the X button would be the hard part :P |
| 16:10:46 | watusimoto | is this relevant? |
| 16:10:47 | watusimoto | http://stackoverflow.com/questions/3049035/x-to-minimize-winform-contextmenu-to-close-winform |
| 16:12:08 | SlightRemorse | Pretty much, it actually gives me an idea |
| 16:12:57 | SlightRemorse | I'll see if I can change the event from window closing to simply that X button being pressed. Or if that fails I'll simply have a flag which will be used to determine if it's a true shutdown or just minimization |
| 16:17:32 | SlightRemorse | i'll get to working on it in half an hour or so. |
| 16:19:49 | | YoshiSmb Quit (Ping timeout: 260 seconds) |
| 16:23:13 | | YoshiSmb has joined |
| 16:35:25 | | YoshiSX has joined |
| 16:35:46 | | YoshiSmb Quit (Ping timeout: 256 seconds) |
| 16:38:09 | | YoshiSX Quit (Client Quit) |
| 16:38:28 | | YoshiSmb has joined |
| 16:50:49 | | YoshiSmb Quit (Ping timeout: 244 seconds) |
| 16:51:40 | | YoshiSmb has joined |
| 17:11:08 | | YoshiSX has joined |
| 17:12:38 | | YoshiSmb Quit (Ping timeout: 264 seconds) |
| 17:12:55 | | YoshiSX has left |
| 17:37:42 | watusimoto | SlightRemorse: will be back on later |
| 17:53:06 | | watusimoto Quit (Read error: Operation timed out) |
| 18:09:02 | | Watusimoto has joined |
| 18:32:00 | | kodaws Quit (Ping timeout: 272 seconds) |
| 18:32:19 | SlightRemorse | Watusimoto, want me to add anything else besides Exit in the menu from the tray? |
| 18:39:22 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 19:15:55 | | SlightRemorse Quit () |
| 19:21:02 | | SlightRemorse has joined |
| 19:40:28 | | LordDVG has joined |
| 19:42:36 | | YoshiSmb has joined |
| 20:11:14 | | YoshiSmb Quit (Ping timeout: 250 seconds) |
| 20:20:03 | | Watusimoto has joined |
| 20:26:08 | | koda has joined |
| 20:28:38 | Watusimoto | hi |
| 20:48:21 | SlightRemorse | Hey |
| 20:48:28 | SlightRemorse | Do you need anything else on the menu that the tray will start |
| 20:48:30 | SlightRemorse | except for Exit? |
| 21:11:25 | | CrazyLinuxNerd Quit (Quit: Leaving) |
| 21:11:50 | | CrazyLinuxNerd has joined |
| 21:12:16 | Watusimoto | the only other thing I can think of would be a link to launch bitfighter itself |
| 21:12:32 | Watusimoto | but we don't really need that |
| 21:13:34 | Watusimoto | Oh, there's a caption when you hover over the icon in the tray -- how hard is that to change? |
| 21:17:15 | SlightRemorse | what caption? |
| 21:17:30 | SlightRemorse | the one that says "Notifications"? |
| 21:18:00 | Watusimoto | yes |
| 21:18:05 | SlightRemorse | what do you want it changed to? |
| 21:19:21 | Watusimoto | If it can be dynamic, it would be cool to see a list of current players. If that;s too hard, it should maybe say "Bitfighter Player Notifier" -- most of those applets have the app name in their title |
| 21:19:54 | SlightRemorse | Well |
| 21:19:57 | | LordDVG Quit (Remote host closed the connection) |
| 21:20:03 | SlightRemorse | if there are too many people that thing will become huge |
| 21:20:06 | SlightRemorse | like really huge |
| 21:20:21 | SlightRemorse | I think it would be better to say the number of players |
| 21:20:26 | SlightRemorse | or just the name of the program |
| 21:20:48 | SlightRemorse | Since imagine how huge the thing will get if say you have 5 friends playing at the same time with names of 10+ characters? :P |
| 21:21:32 | Watusimoto | # of players would be good |
| 21:21:32 | SlightRemorse | so yeah, should it include the number of players or just be the static name of the program? |
| 21:21:37 | SlightRemorse | fair enough |
| 21:21:44 | SlightRemorse | give me a syntax of how you want it to look |
| 21:21:51 | Watusimoto | Maybe "Bitfighter: 3 players online" |
| 21:22:04 | Watusimoto | Bitfighter: no players online |
| 21:22:19 | Watusimoto | Bitfighter: 1 player online |
| 21:22:35 | Watusimoto | yeah, I think you're right about the length of the names list |
| 21:22:56 | Watusimoto | Bitfighter: 0 players online |
| 21:23:02 | SlightRemorse | alright, gotcha |
| 21:23:06 | SlightRemorse | that should be easy to make |
| 21:23:08 | Watusimoto | need more examples? |
| 21:23:09 | Watusimoto | :-) |
| 21:23:25 | Watusimoto | Here's a new one: Bitfighter: 5 players online |
| 21:23:29 | Watusimoto | you can use that one! |
| 21:23:46 | Watusimoto | I can rattle these things off all night long! |
| 21:25:24 | SlightRemorse | xD |
| 21:27:21 | SlightRemorse | alright |
| 21:27:26 | SlightRemorse | even made it say 1 player instead of players |
| 21:27:29 | SlightRemorse | : ) |
| 21:27:33 | Watusimoto | awesome! |
| 21:28:36 | SlightRemorse | and let me change the title when the thing is paused |
| 21:28:41 | SlightRemorse | so it doesn't give away false information |
| 21:29:34 | SlightRemorse | paused with lower or capital letter? |
| 21:29:36 | SlightRemorse | which one do you prefer? |
| 21:29:52 | SlightRemorse | syntax will be Bitfighter: [P/p]aused |
| 21:33:34 | SlightRemorse | Are you here, the google task won't let me upload any files because it has past the deadline |
| 21:33:49 | SlightRemorse | Where do you want me to drop the thing? |
| 21:34:35 | Watusimoto | Paused |
| 21:34:42 | Watusimoto | with big P |
| 21:34:54 | SlightRemorse | gotcha, but where to upload it? |
| 21:35:00 | Watusimoto | hold on a sec |
| 21:35:56 | Watusimoto | I extended you -- try uploading now |
| 21:38:05 | SlightRemorse | uploaded and marked |
| 21:38:11 | SlightRemorse | also I've included the source in the zip |
| 21:40:21 | SlightRemorse | 2nd zip, first one I missed to include the solution file |
| 21:40:32 | SlightRemorse | which would've meant that you'd need to open all the files manually |
| 21:42:06 | | bobdaduck has joined |
| 21:47:51 | Watusimoto | I have the new version running now... let;s see how it looks after a few minutes |
| 21:47:57 | Watusimoto | The flashing window seems gone |
| 21:48:03 | Watusimoto | starts up to the tray nicely |
| 21:48:13 | Watusimoto | right click to exit works well |
| 21:48:21 | Watusimoto | icon is much improved |
| 21:48:46 | Watusimoto | hover is over icon is nice |
| 21:50:16 | Watusimoto | thought I found a bug, but I can't reprocude it |
| 21:51:02 | SlightRemorse | what bug? |
| 21:51:10 | Watusimoto | do you need to double click on icon to open the window? |
| 21:51:17 | SlightRemorse | yes |
| 21:52:10 | SlightRemorse | that's how all my tray programs open. |
| 21:52:14 | Watusimoto | there seems to be no standard behavior about whether you single or double click |
| 21:52:17 | SlightRemorse | So I figured I should keep uniformity |
| 21:52:23 | Watusimoto | just trying my other icons |
| 21:52:31 | bobdaduck | What's a GCI student? |
| 21:52:41 | Watusimoto | google-code in |
| 21:52:45 | bobdaduck | Also hi. |
| 21:52:50 | Watusimoto | evernote notifier uses one click |
| 21:52:58 | Watusimoto | java updater uses one click |
| 21:53:08 | Watusimoto | bluetooth devices use two |
| 21:53:28 | Watusimoto | with bluetooth, one click opens the context menu -- that;s just goofy |
| 21:53:37 | SlightRemorse | There's no clear rule |
| 21:53:48 | SlightRemorse | so unless it's way too out of the usual I can't say it's wrong |
| 21:54:10 | Watusimoto | thunderbird one click shows popup toast, double click opens mail |
| 21:54:12 | Watusimoto | hi bobdaduck |
| 21:54:17 | Watusimoto | you're right. no standard |
| 21:54:28 | Watusimoto | no clear rule |
| 21:54:32 | Watusimoto | ok, here;s the (non) bug |
| 21:54:47 | Watusimoto | I thought I could get it to start up with the icon in the task bar |
| 21:54:59 | Watusimoto | but I think what was happening was that I was launching more than one instance |
| 21:55:07 | Watusimoto | you probably should not be able to do that |
| 21:55:22 | Watusimoto | http://www.vcskicks.com/single-instance.php |
| 21:55:28 | Watusimoto | looks very easy to make only run once |
| 21:58:24 | Watusimoto | bobdaduck: we have several students working on various bitfighter things. SlightRemorse is making a system tray app that shows when players connect to a bitfighter server |
| 21:58:30 | Watusimoto | it's very cool |
| 21:58:54 | bobdaduck | Really? Like a server status app? That's awesome. |
| 21:58:59 | Watusimoto | yup |
| 21:59:08 | Watusimoto | he's done a very good job |
| 21:59:14 | Watusimoto | it's simple, but slick |
| 22:05:17 | bobdaduck | When do I get to see? |
| 22:07:15 | Watusimoto | later tonight |
| 22:07:20 | SlightRemorse | Slight problem, Watusimoto |
| 22:07:23 | SlightRemorse | if they're minimized |
| 22:07:28 | SlightRemorse | the process tracker doesn't catch them |
| 22:07:34 | Watusimoto | really? |
| 22:07:37 | SlightRemorse | yeah |
| 22:09:13 | SlightRemorse | but if it's not minimized |
| 22:09:24 | SlightRemorse | it works as it should |
| 22:10:17 | Watusimoto | that's totally lame |
| 22:10:43 | Watusimoto | vb# (or whatever it;s called) has a run this app once command |
| 22:10:57 | SlightRemorse | I might fix it |
| 22:11:20 | Watusimoto | you are not usng vb! |
| 22:11:32 | Watusimoto | sorry, misunderstood |
| 22:12:07 | Watusimoto | is this a "winforms" app? |
| 22:12:42 | SlightRemorse | ye |
| 22:12:48 | SlightRemorse | I'm already working on a solution |
| 22:15:34 | Watusimoto | ok, great. I found this link, but the code presented is for an entire app (that only displays a text box). I don't know enough to tell what parts are needed. But stackOverflow suggests this will work even with minimized windows |
| 22:15:36 | Watusimoto | http://www.hanselman.com/blog/TheWeeklySourceCode31SingleInstanceWinFormsAndMicrosoftVisualBasicdll.aspx |
| 22:18:10 | Watusimoto | you could use a mutex lock: |
| 22:18:11 | Watusimoto | [STAThread] |
| 22:18:11 | Watusimoto | static void Main() |
| 22:18:11 | Watusimoto | { |
| 22:18:11 | Watusimoto | bool onlyInstance = false; |
| 22:18:11 | Watusimoto | Mutex mutex = new Mutex(true, "UniqueApplicationName", out onlyInstance); |
| 22:18:12 | Watusimoto | if (!onlyInstance) { |
| 22:18:14 | Watusimoto | return; |
| 22:18:16 | Watusimoto | } |
| 22:18:19 | Watusimoto | Application.Run(new MainForm); |
| 22:18:21 | Watusimoto | GC.KeepAlive(mutex); |
| 22:18:23 | Watusimoto | } |
| 22:18:25 | Watusimoto | these have always frightened me, but this code looks very simple |
| 22:18:52 | bobdaduck | So is the stuff I want to do in my level even possible right now or should I think of something else? |
| 22:19:26 | bobdaduck | Also we should be able to configure turret weapons using ctrl-2 or shift-2 or something. |
| 22:23:09 | Watusimoto | did I summarize it properly in the forums pm? |
| 22:27:26 | bobdaduck | Pretty well. I sent a response clarifying. |
| 22:27:48 | Watusimoto | ok, I hate pms so I only rarely read them |
| 22:28:04 | Watusimoto | but yes, the stuff I summarized will work |
| 22:28:55 | Watusimoto | reading your pm now |
| 22:31:07 | SlightRemorse | ok that diagnostic thing is really weird |
| 22:31:18 | SlightRemorse | I'm getting a message that I'm running a single process -WHEN- I close the last process |
| 22:32:21 | SlightRemorse | but I think I know why it does so |
| 22:32:36 | Watusimoto | weird |
| 22:32:55 | SlightRemorse | I think the fact it runs with 2 threads confuses it |
| 22:33:08 | Watusimoto | what are you using for UniqueApplicationName? |
| 22:33:32 | Watusimoto | wait -- are you trying the mutex approach? |
| 22:34:06 | SlightRemorse | nah the other one |
| 22:34:09 | SlightRemorse | nearly figured it out |
| 22:34:29 | SlightRemorse | though there's one annoying thing - when Visual studio is on there's a default process on so I gotta turn it off and then test |
| 22:37:57 | SlightRemorse | ok |
| 22:37:58 | SlightRemorse | finally fixed |
| 22:39:06 | Watusimoto | yay! |
| 22:39:34 | SlightRemorse | Submitted |
| 22:40:08 | SlightRemorse | Didn't check the Mutex way, I just modified the first thing you showed me to actually work. |
| 22:40:26 | SlightRemorse | Original thing was made really badly to compare window names. So I changed it to compare IDs and process names |
| 22:41:06 | Watusimoto | good thinking |
| 22:42:56 | SlightRemorse | also just a note - if you decide to modify the source code and test it under visual studio |
| 22:43:04 | SlightRemorse | you got to turn off visual studio and then run the application |
| 22:43:21 | SlightRemorse | because for some reason while working on the project VS creates a dummy process with the same name as the application |
| 22:43:33 | SlightRemorse | so the limit will simply kill the true one and possibly throw a weird error at the debugger. |
| 22:50:57 | SlightRemorse | Anyway, all good? |
| 22:53:00 | Watusimoto | hold on, am in the middle f something |
| 22:53:12 | Watusimoto | for my wife :-) |
| 23:05:44 | SlightRemorse | well I'm off to bed. I gotta get up early tomorrow. Hopefully everything works as it should. If not - I'll fix it tomorrow afternoon. |
| 23:05:55 | | SlightRemorse Quit () |
| 23:32:22 | | bobdaduck Quit (Ping timeout: 245 seconds) |
| 23:48:13 | Watusimoto | sam686: are you around? |