• What are you working on? December 2011 Edition
    3,353 replies, posted
Man, I wish I could print an image to the console... Also, best line ever. [quote]Cleverbot: I used to think I was indecisive but now I am not so sure.[/quote]
[img]http://i.imgur.com/7hwyT.png[/img]
Decided to take a break from other things and try out random terrain. So first I just placed grass and water randomly, with a bigger chance of grass spawning. [img]http://dl.dropbox.com/u/6470891/firsttherewasthisshit.png[/img] And then I made some tile replacement code, bound it to a button, and produced this; [img]http://dl.dropbox.com/u/6470891/thentherewasthis.png[/img] And finally I accidentally on purpose pressed the button again. [img]http://dl.dropbox.com/u/6470891/thenfinallythis.png[/img] ... mission accomplished?
Patch sent: [url]http://code.google.com/p/dot-omegle/issues/detail?id=1[/url]
[IMG]http://content.screencast.com/users/codydv/folders/Jing/media/889afe72-ce88-487a-a23e-3fcf3acaa1dd/2011-12-21_1439.png[/IMG] Holocaust Tycoon. Ignore the fact that I don't have any Jew sprites so I used Ash.
I rated you funny at first, but then I reconsidered. You're serious, aren't you?
[QUOTE=cody8295;33831814][IMG]http://content.screencast.com/users/codydv/folders/Jing/media/889afe72-ce88-487a-a23e-3fcf3acaa1dd/2011-12-21_1439.png[/IMG] Holocaust Tycoon. Ignore the fact that I don't have any Jew sprites so I used Ash.[/QUOTE] Next up, 9/11 Simulator 2012.
[QUOTE=voodooattack;33831900]I rated you funny at first, but then I reconsidered. You're serious, aren't you?[/QUOTE] Yes, why would I post if I weren't serious? [QUOTE=Darwin226;33831903]Next up, 9/11 Simulator 2012.[/QUOTE] Hmmmm
I'm having one of these days: Me: Hey, could you look at this code? My brain: AAAAAAHHHHHHHHH!!!!!!! Me: I'm sure it's really not that complicated. My brain: AAAAAAHHHHHHHHH!!!!!!! Me: Maybe I should do something else right now. [sp]My brain: How about some Skyrim. Me like Skyrim.[/sp]
[QUOTE=cody8295;33831915]Yes, why would I post if I weren't serious?[/QUOTE] Bacon Hitler approves. [IMG]http://i.imgur.com/ABzjH.jpg[/IMG] [editline]21st December 2011[/editline] [QUOTE=Ortzinator;33832042]I'm having one of these days: Me: Hey, could you look at this code? My brain: AAAAAAHHHHHHHHH!!!!!!! Me: I'm sure it's really not that complicated. My brain: AAAAAAHHHHHHHHH!!!!!!! Me: Maybe I should do something else right now. [sp]My brain: How about some Skyrim. Me like Skyrim.[/sp][/QUOTE] That's basically what I'm facing right now. Although in my case, I'm build-sick.. after building mountains of libraries to get gstreamer and its dependencies working, I still have buttloads more to do to build its plugins.
[QUOTE=Jcorp;33831638]And finally I accidentally on purpose pressed the button again. [img]http://dl.dropbox.com/u/6470891/thenfinallythis.png[/img] ... mission accomplished?[/QUOTE] oh hey you made an italy
[IMG]http://i.imgur.com/TugdV.png[/IMG] Please excuse the art. Yo dawg I heard you like Winforms, so I put an XNA window in your Winforms so you can game while you UI.
[img]http://puu.sh/bcuW[/img] SPQR! SPQR! SPQR!
[code]Label Button CheckButton ComboBox Menu MenuItem MessageBox ProgressBar RadioButton ScrollBar TextEntry RichText ToggleButton ImagePanel AnimatingImagePanel Panel Divider URLLabel EditablePanel [/code] Here are a list of standard SDK panel controls. In GMod, I remember being able to do things like hook onto their Paint functions and such, but the code for these controls doesn't exist in the public SDK. One way around this is to make wrapper classes for each individual class and through Lua, create those wrapper classes instead of the [I]actual[/I] VGUI classes so you can do additional things with the panels in Lua, but Garry wouldn't have actually done that... right? At this point I'm a bit frustrated because I see no other way, besides possibly changing the pointer to the Paint function and every other function you wanted to provide hooks for, in the base vtable. Uugh.
[QUOTE=COBRAa;33826570]Just to let you know, if you have packet loss you need to slow the packets you're sending out right down, if you don't then the packet loss will get significantly worse.[/QUOTE] Yes, hence the 50 milliseconds [i]base[/i] rate; but it appears you seem to know about throttling, so I'll ask: For "small" packets, is packet loss typically a function of both frequency and size of packets sent, or frequency alone? If it is the latter, what would the definition of a "small" packet be? A few notes on the test program: The packet loss in that test program is simulated - I wanted to see that the failure detection code was behaving as expected. In fact, that test program doesn't even bind a socket; it is all virtual. Also worth noting is that in actual implementation, the program will not send new data packets if the left-most bit of the seqField is 0; instead, it will send keep alive packets to acknowledge newly received packets as it waits for acknowledgement of its own packets. This allows a player to remain "connected" to the server in case their ISP's local drop has a defective unit and won't replace the thing even after five consecutive service calls thus resulting in their modem dropping out for 10 seconds every hour while it tries to reconnect :shakefist:
[QUOTE=voodooattack;33831321]Man, I wish I could print an image to the console... Also, best line ever.[/QUOTE] Do you mean you want to display the captcha image in console? I could make it work with Windows Forms, so it displays a basic form with a picturebox. Thanks once more for le patch. If you want, I can add you as a contributor to the project. Gonna make the thread tomorrow morning, too tired right now. EDIT: [csharp] case "count": if (this.Count != null) this.Count(this, new EventArgs()); //I'm a cheapskate, ev[1] holds user count though. [/csharp] The "user count" is actually a number randomly generated with each user connection. #themoreyouknow
Well, it's kinda Mode7, good enough; [img]http://i54.tinypic.com/167ulgl.png[/img]
maurice's mario game was just on g4 what
[QUOTE=efeX;33834691]maurice's mario game was just on g4 what[/QUOTE] Maurice is going places. I wonder what Nintendo thinks of it.
Added an OGG codec to Holly. The example program outputs webm and ogg now. EncodingExample.exe : [url]http://puu.sh/bd90[/url] Ogg: [vid]http://puu.sh/bdbC[/vid] WebM: [vid]http://puu.sh/bdbK[/vid] [editline]21st December 2011[/editline] OGG don't loop so good.
[QUOTE=garry;33834946]Added an OGG codec to Holly. The example program outputs webm and ogg now. EncodingExample.exe : [url]http://puu.sh/bd90[/url] Ogg: [vid]http://puu.sh/bdbC[/vid] WebM: [vid]http://puu.sh/bdbK[/vid] [editline]21st December 2011[/editline] OGG don't loop so good.[/QUOTE] That's interesting. Ogg plays fine in Firefox from Puush. It's just WebM that isn't.
[QUOTE=ultradude25;33835022]That's interesting. Ogg plays fine in Firefox from Puush. It's just WebM that isn't.[/QUOTE] And WebM plays fine in Chrome and OGG takes ages to load. I guess it doesn't stream.
[QUOTE=garry;33834946]Added an OGG codec to Holly. The example program outputs webm and ogg now. EncodingExample.exe : [url]http://puu.sh/bd90[/url] Ogg: [vid]http://puu.sh/bdbC[/vid] WebM: [vid]http://puu.sh/bdbK[/vid] [editline]21st December 2011[/editline] OGG don't loop so good.[/QUOTE] What the crap. OGG works from puu.sh, WebM doesn't. They need to fix their content-type headers.
[QUOTE=efeX;33834691]maurice's mario game was just on g4 what[/QUOTE] what Link? Anything?
[QUOTE=efeX;33834691]maurice's mario game was just on g4 what[/QUOTE] I found this on google: [url]http://www.g4tv.com/thefeed/blog/post/712201/super-mario-with-a-portal-gun-nugget-from-the-net/[/url] And then this, which is Maurice's [url]http://www.g4tv.com/attackoftheshow/blog/post/715895/super-mario-bros-with-portal-gun/[/url]
[QUOTE=supersnail11;33836101]I found this on google: [url]http://www.g4tv.com/thefeed/blog/post/712201/super-mario-with-a-portal-gun-nugget-from-the-net/[/url] And then this, which is Maurice's [url]http://www.g4tv.com/attackoftheshow/blog/post/715895/super-mario-bros-with-portal-gun/[/url][/QUOTE] That's old though.. Did they show a repeat?
Sometimes I really hate .net. There seems to be issues with the panel auto scroll were sometimes it wont show even though controls are out of the panel's bounds. There fix for it is this. "Currently, the only workaround is to nest the ScrollableControl inside another ScrollableControl. For instance, if you need TableLayoutPanel to work in this situation, you can place it inside of a Panel control and set AutoScroll on the Panel to Yes." So you have to basically stick all your controls in a non scrollable panel and then put that panel in a scrollable one.
I've just got back to developing my custom OpenTTD server after I hit a road block implementing MySQL. I started playing the game again recently so I came back to it and and managed to finally implement it. The main features I'm adding are goals(multiplayer is boring without them) and a user system. The user system will log wins, quests and all sorts of fun stuff. Below is a screenshot demonstrating the login system, it's got no password hashing yet but I intend to implement it later. [img]http://i.imgur.com/WiWI6.png[/img]
[QUOTE=Simspelaaja;33784625][IMG]http://www.1337upload.net/files/s_2011-12-18_22.20.55.png[/IMG] Working on a game inspired by Game Dev Story.[/QUOTE] Again, mentioned in Ticker. Stoppit. :v:
[QUOTE=Robber;33756200]Keep in mind that reflection is slow as fuck though. I'm not saying don't use, but don't use it when performance is critical and it doesn't make something a LOT easier.[/QUOTE] Yeah it was KIND OF 100% slower :S I'm now generating the packet reading/writing methods on the fly and [IMG]http://dl.dropbox.com/u/44710267/filename_here.png[/IMG] :D
Sorry, you need to Log In to post a reply to this thread.