• What are you working on? v16
    5,004 replies, posted
[QUOTE=Chris220;29267198]Argh I find it so hard to come up with ideas normally, but then as soon as I'm working on something I start coming up with tons of other ideas which I really want to make, but doing so would mean stopping work on the original project! So annoying :v:[/QUOTE] Same here. I find if you keep a notepad (physical\digital) and just jot down a brief description of the idea it really helps - so later you can go through your brief ideas and sort them out and expand upon them, when you have more time Of course, once you have ideas, actually making them is the next problem :smith:
[QUOTE=high;29266392]Well then whats the right way? And how is it an accident on windows?[/QUOTE] Use TCP Keep-Alive if you want to avoid idle timeout and catch unclean disconnects.
Got Box2D working with SFML: [img]http://dl.dropbox.com/u/8226262/screen/box2d_test.png[/img] The code is just temporary code that I quickly put together to try Box2D out. Sometimes the boxed tend to be misaligned, but that probably is the simulation inaccuracy. I was surprised when I wanted to flip the view because Box2D y axis is the other way around. It as as easy as giving sf::View a negative half-size. Also does SFML have some AA option or something? It looks quite ugly like this.
just playing around [media]http://www.youtube.com/watch?v=dxAOF_H9yX0[/media]
[QUOTE=NovembrDobby;29269560]just playing around [media]http://www.youtube.com/watch?v=dxAOF_H9yX0[/media][/QUOTE] Sort of gives me an idea for an RTS...
[QUOTE=NovembrDobby;29269560]just playing around [media]http://www.youtube.com/watch?v=dxAOF_H9yX0[/media][/QUOTE] Your pointer is broken dude.
[QUOTE=sim642;29269508]Got Box2D working with SFML: [img_thumb]http://dl.dropbox.com/u/8226262/screen/box2d_test.png[/img_thumb] The code is just temporary code that I quickly put together to try Box2D out. Sometimes the boxed tend to be misaligned, but that probably is the simulation inaccuracy. I was surprised when I wanted to flip the view because Box2D y axis is the other way around. It as as easy as giving sf::View a negative half-size. Also does SFML have some AA option or something? It looks quite ugly like this.[/QUOTE] [url]http://sfml-dev.org/documentation/1.6/classsf_1_1RenderWindow.htm#da5aeec63eddbfacb6ee093ed0fff082[/url] [url]http://sfml-dev.org/documentation/1.6/structsf_1_1WindowSettings.htm[/url]
[QUOTE=ace13;29269749]Your pointer is broken dude.[/QUOTE] If you mean the mouse, the points have an offset (they spin around the clicked position)
[QUOTE=Jallen;29269833][url]http://sfml-dev.org/documentation/1.6/classsf_1_1RenderWindow.htm#da5aeec63eddbfacb6ee093ed0fff082[/url] [url]http://sfml-dev.org/documentation/1.6/structsf_1_1WindowSettings.htm[/url][/QUOTE] Thanks. It is hidden quite well.
[QUOTE=Chris220;29267198]Argh I find it so hard to come up with ideas normally, but then as soon as I'm working on something I start coming up with tons of other ideas which I really want to make, but doing so would mean stopping work on the original project! So annoying :v:[/QUOTE] Mind telling me them? I have had programmers block for the last month
[QUOTE=NovembrDobby;29269881]If you mean the mouse, the points have an offset (they spin around the clicked position)[/QUOTE] [img]http://ace.haxalot.com/pictures/random/zscreen/SS-2011-04-18_18.08.24.png[/img]
Oh, nah: [img]http://i.imgur.com/gJ4qF.gif[/img] dunno why it was frozen in the video edit: it's not that funny :saddowns: it's a preinstalled cursor on my XP netbook
I have this thing going with my brothers where, whenever they leave their computers unguarded, and I'm at their house, I change their desktop wallpaper to a picture of a random pony off Google. I thought I'd make a program so I could do it from the comfort of my apartment. Jesus fuck it's god damn impossible to set up cURL to link statically, and I had to guess that I needed to get OpenSSL aswell, and I can't find any friggin code examples or even a reference anywhere that related to what I'm trying to do, and when I then do find it, it's for a version that's 5 years old. Fuck that, I'll stick to my bike.
[QUOTE=NovembrDobby;29270913]Oh, nah: [img_thumb]http://i.imgur.com/gJ4qF.gif[/img_thumb] dunno why it was frozen in the video[/QUOTE] Finally, a mouse pointer that wags its' penis in my face.
So, I'm trying to use the Skype API. I, so far, know nothing about it, and will probably fail to accomplish this. Does anybody know how to sign applications with VeriSign's CodeSigning certificate? Just talking about certificates sounds scary to me. :ohdear:
[img]http://i56.tinypic.com/ot2koh.png[/img] Took way too long to generate (15-20) seconds maybe, so there's definitely room for improvement but it will do fine for simple games. Maybe more when I optimize it a bit. As always, code: [csharp]//Aliases out = Console.Output OnLoad = function () { shape = new ColoredShape() i = 0 while ( i < Triangles.Count ) { tri = Triangles[i] shape.FilledPolygons.Add( new Polygon( false, tri.A.X, tri.A.Y, 1, 0, 0, 1, tri.B.X, tri.B.Y, 0, 1, 0, 1, tri.C.X, tri.C.Y, 0, 0, 1, 1, tri.A.X, tri.A.Y, 1, 0, 0, 1 ) ) i++ } shape.SetPolygons() } OnUpdate = function () { i = 0 } Point = class () { declare X declare Y Constructor = function ( "X", "Y" ) { X = X Y = Y } } Triangle = class () { declare A declare B declare C Constructor = function ( "A", "B", "C" ) { A = A B = B C = C } } GetMiddle = function ( "A", "B" ) { return new Point( (A.X + B.X) / 2, (A.Y + B.Y) / 2) } GetPoints = function ( "Tri" ) { toReturn = new Array() toReturn.Add( new Triangle( Tri.A, GetMiddle( Tri.A, Tri.B ), GetMiddle( Tri.A, Tri.C ) ) ) toReturn.Add( new Triangle( GetMiddle( Tri.A, Tri.C ), GetMiddle( Tri.B, Tri.C ), Tri.C ) ) toReturn.Add( new Triangle( GetMiddle( Tri.A, Tri.B ), Tri.B, GetMiddle( Tri.B, Tri.C ) ) ) return toReturn } Sierpinski = function ( "Tri", "Depth" ) { triangles = new Array() triangles.Add( Tri ) while ( Depth > 0 ) { i = 0 limit = triangles.Count while ( i < limit ) { Tri = triangles.PopFirst() next = GetPoints( Tri ) triangles.Add( next[0] ) triangles.Add( next[1] ) triangles.Add( next[2] ) i++ } Depth-- } return triangles } Triangles = Sierpinski( new Triangle( new Point( 400, 0 ), new Point( 700, 400 ), new Point( 100, 400 ) ), 5 ) Firefly.Initialize( OnLoad, OnUpdate )[/csharp]
Why is the API documentation in a zipped HTML file? Wouldn't it be easier to just host the html file? All of the links inside it point to 'localhost:8080'. Including the link to the examples zip. Automerge :(
[QUOTE=blankthemuffin;29268006]Use TCP Keep-Alive if you want to avoid idle timeout and catch unclean disconnects.[/QUOTE] Does Minecraft seem to fail do this? It might just be me, but when I stay idle in a server for a while (head away for a drink or something) I timed out back when I hosted a server. I figured the game didn't send packets when you weren't doing anything, p. cool sure, but if you weren't doing anything, it also didn't sent a keep-alive. This may no longer be the case, but I feel that one point in time, this was an issue. I could be entirely wrong though, as I have no evidence from networking tests to prove it.
[QUOTE=amcfaggot;29276480]Does Minecraft seem to fail do this? It might just be me, but when I stay idle in a server for a while (head away for a drink or something) I timed out back when I hosted a server. I figured the game didn't send packets when you weren't doing anything, p. cool sure, but if you weren't doing anything, it also didn't sent a keep-alive. This may no longer be the case, but I feel that one point in time, this was an issue. I could be entirely wrong though, as I have no evidence from networking tests to prove it.[/QUOTE] The main concern here is that Minecraft uses TCP.
It does send keep-alive packets though.
[QUOTE=amcfaggot;29276480]Does Minecraft seem to fail do this? It might just be me, but when I stay idle in a server for a while (head away for a drink or something) I timed out back when I hosted a server. I figured the game didn't send packets when you weren't doing anything, p. cool sure, but if you weren't doing anything, it also didn't sent a keep-alive. This may no longer be the case, but I feel that one point in time, this was an issue. I could be entirely wrong though, as I have no evidence from networking tests to prove it.[/QUOTE] The official software sends pings from client->server and server->client. Also the classic client had a tendency to spam movement update packets even when standing still. Not sure about beta.
[QUOTE=blankthemuffin;29268006]Use TCP Keep-Alive if you want to avoid idle timeout and catch unclean disconnects.[/QUOTE] Hm everything I found says you shouldn't set it under 2 hours. Also when I tried using this example and setting it to 1 minute it stopped my code from receiving packets :\. [url]http://www.codeproject.com/KB/IP/SetKeepAliveValues.aspx?msg=3630717[/url] I think I will just implement a ping/pong.
[cpp]char szCacheDecryptionKey[255]; unsigned int * puRecievedLength = 0; TSteamError Error; TSteamError Error2; pSteam006->GetCacheDecryptionKey(620, szCacheDecryptionKey, sizeof(szCacheDecryptionKey), puRecievedLength, Error); pSteam006->RepairOrDecryptCaches(620, szCacheDecryptionKey, Error2); [/cpp] ??? loljk OH GOD IT WORKS, I'M GONNA GET STEAM BANNED.
[QUOTE=amcfaggot;29277983][cpp]char szCacheDecryptionKey[255]; unsigned int * puRecievedLength = 0; TSteamError Error; TSteamError Error2; pSteam006->GetCacheDecryptionKey(620, szCacheDecryptionKey, sizeof(szCacheDecryptionKey), puRecievedLength, Error); pSteam006->RepairOrDecryptCaches(620, szCacheDecryptionKey, Error2); [/cpp] ??? loljk OH GOD IT WORKS, I'M GONNA GET STEAM BANNED.[/QUOTE] What works? What is that? (sorry beginner programmer here)
[QUOTE=DeadKiller987;29278204]What works? What is that? (sorry beginner programmer here)[/QUOTE] I assume 620 is portal 2's AppID. Therefore he's joking about decrypting portal 2.
[QUOTE=Dotmister;29278341]I assume 620 is portal 2's AppID. Therefore he's joking about decrypting portal 2.[/QUOTE] At least someone here has a sense of humor.
[QUOTE=Dotmister;29278341]I assume 620 is portal 2's AppID. Therefore he's joking about decrypting portal 2.[/QUOTE] Yeah, 620 is Portal 2.
Actually I'd be extremely surprised if using those functions did actually work. [editline]18th April 2011[/editline] Someone wanna try? :v:
A girlfriend:saddowns: Made by toiletpaper and Coke bottles:v: [highlight](User was banned for this post ("This thread's been derailed enough as it is" - SteveUK))[/highlight]
[QUOTE=Jockedevian;29278452]A girlfriend:saddowns: Made by toiletpaper and Coke bottles:v:[/QUOTE] [media]http://www.youtube.com/watch?v=uIxNLcPyvEA[/media] Ultra informative. [highlight](User was banned for this post ("Thread shitting" - SteveUK))[/highlight]
Sorry, you need to Log In to post a reply to this thread.