• What are you working on?
    5,949 replies, posted
  • [QUOTE=Lexic;32201832]C++ variables are initialized when they're declared.[/QUOTE] I'm talking about initialized as in set to a defined value.
  • [QUOTE=Lexic;32201832]C++ variables are initialized when they're declared.[/QUOTE] [code]int main() { int a = 0; int b; std::cout << a << std::endl; std::cout << b << std::endl; return 0; }[/code] gives [code] 0 134568281 [/code]
  • [QUOTE=foszor;32199905]In my opinion...[/QUOTE] [QUOTE=RyanDv3;32200388]Elaborate[/QUOTE] No. Rate me disagree but I don't have to elaborate [b]my opinion[/b] to anyone. That's the point. It's my opinion. Fucking internet elitist who think everyone has to bow down and explain everything to them. Go preach religion.
  • Seriously... Writing shaders for intel GPUs... You write something good and stable that's working on your nvidia/ati pgu but when you run the shit om your laptop everything is pitch black... hell
  • [QUOTE=foszor;32202045]No. Rate me disagree but I don't have to elaborate [b]my opinion[/b] to anyone. That's the point. It's my opinion. Fucking internet elitist who think everyone has to bow down and explain everything to them. Go preach religion.[/QUOTE] I said "elaborate" because I was unsure how a giant bullet replaces the function of a turret.
  • [QUOTE=foszor;32202045]No. Rate me disagree but I don't have to elaborate [b]my opinion[/b] to anyone. That's the point. It's my opinion. Fucking internet elitist who think everyone has to bow down and explain everything to them. Go preach religion.[/QUOTE] [quote][img]http://i.imgur.com/G12Do.jpg[/img][/quote] I made pretty twinkling starfields, and asteroids now bounce off those green trails you can lay down. [quote][img]http://i.imgur.com/ty0hT.png[/img][/quote] They don't actually bounce since basic 2d physics hurts my brain. Each asteroid turns 180 degrees when it intersects with a line segment, and has a timer that runs down to make sure it doesn't turn around like 50 times a second while colliding.
  • I use a different password for everything. Not necessarily for personal security, but if one service is breached, no one will have access to the other services I use. It's hard to remember 20 different passwords though, so what most people do is write down passwords somewhere. Instead, I wrote an application that copies a desired password to the clipboard after entering a master password. The password list is embedded in the application, encrypted with AES256 with the master password as key. [img]http://images.overvprojects.nl/Password_Manager-2011-09-09_23.47.26.png[/img] When the program verifies that the passwords were encrypted properly, you are allowed to select a password from the list and copy it to the clipboard. [img]http://images.overvprojects.nl/Password_Manager-2011-09-09_23.48.13.png[/img] I'm by no means a security expert, but I think this is a reasonably safe solution. [url=http://pastebin.com/DMqRBsX7]Here[/url] is the full source code, because obscurity isn't security. Any comments? All I can think of is encrypting the salt and initial vector as well somehow.
  • [QUOTE=Overv;32202604]Instead, I wrote an application that copies a desired password to the clipboard after entering a master password. When the program verifies that the passwords were encrypted properly, you are allowed to select a password from the list and copy it to the clipboard. I'm by no means a security expert, but I think this is a reasonably safe solution.[/QUOTE] I hope it's a safe solution, since it's the way Keepass works, which is what I use. [editline]9th September 2011[/editline] Then again, I think the majority of Keepass's security comes from the fact that you have to use key files to unlock the database.
  • [QUOTE=BlkDucky;32202713]Then again, I think the majority of Keepass's security comes from the fact that you have to use key files to unlock the database.[/QUOTE] Keepass looks a bit complex to me for its purpose.
  • [QUOTE=Overv;32202604]Any comments?[/QUOTE] I'm sure any keylogger worth it's salt would record the contents of the clipboard on ctrl+v (or on change). If you're avoiding ctrl+v and ignoring the possibility that a trojan could just read the contents of any password field in your webbrowser of choice then you're perhaps more secure than without your app. Not sure that this app offers anything over storing passwords in an encrypted and passworded archive though?
  • [QUOTE=bean_xp;32203066]I'm sure any keylogger worth it's salt would record the contents of the clipboard on ctrl+v.[/QUOTE] Not if it's a hardware keylogger
  • [QUOTE=Richy19;32201914][code]int main() { int a = 0; int b; std::cout << a << std::endl; std::cout << b << std::endl; return 0; }[/code] gives [code] 0 134568281 [/code][/QUOTE] I don't mean to be pedantic, but I think it's worth mentioning here that it's [url=http://en.wikipedia.org/wiki/Undefined_behavior]undefined behaviour[/url]. So this output is implementation dependant. Chances are you'll get a different result when you run in debug mode to when you run in release mode for example. You may even find in debug mode your program works fine because the compiler adds a few extra instructions to set the memory to zero. This is something anybody who learns C(++) should be taking into account when developing
  • [QUOTE=bean_xp;32203066]Not sure that this app offers anything over storing passwords in an encrypted and passworded archive though?[/QUOTE] Imagine being in a public place, opening the passworded archive and having your passwords all over the screen in Notepad. That's why I made this.
  • [QUOTE=foszor;32202045]No. Rate me disagree but I don't have to elaborate [b]my opinion[/b] to anyone. That's the point. It's my opinion. Fucking internet elitist who think everyone has to bow down and explain everything to them. Go preach religion.[/QUOTE] Dude, you read way to much into a single word.
  • [QUOTE=SupahVee;32203398][img]http://dl.dropbox.com/u/3724424/Programming/shooterlol2.gif[/img][/QUOTE] Looking awesome! What are you making it with? Also pointless but hopefully pretty content: [img]http://s3.amazonaws.com/data.tumblr.com/tumblr_lra0ywfEUj1qfjhp3o1_1280.png?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1315694195&Signature=ODfv1NjavUg0BbHz0BV4c2hwNMY%3D[/img] [img]http://s3.amazonaws.com/data.tumblr.com/tumblr_lra0ywfEUj1qfjhp3o2_1280.png?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1315694197&Signature=EO5tM67goOt5VmWHFsYmc%2B0K0Ic%3D[/img] [img]http://s3.amazonaws.com/data.tumblr.com/tumblr_lra0ywfEUj1qfjhp3o3_1280.png?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1315694198&Signature=18TptbA55RlRPesUj29Z9Gfz1HY%3D[/img]
  • [QUOTE=Nigey Nige;32203473]Looking awesome! What are you making it with?[/QUOTE] C# + SFML + my own libraries Here's :v: holding 2 swords, 2 shields and an AK-47 at the same time. [img]http://dl.dropbox.com/u/3724424/Programming/bestgameever1.png[/img]
  • [QUOTE=Overv;32203311]Imagine being in a public place, opening the passworded archive and having your passwords all over the screen in Notepad. That's why I made this.[/QUOTE] If you find it useful that's great, but personally I don't think it would be a huge issue if the passwords are already too complex for you to remember easily (let alone someone else at a glance). I'm also assuming the archive would have a file per password so they wouldn't all be on the screen.
  • [QUOTE=SupahVee;32203537]C# + SFML + my own libraries Here's :v: holding 2 swords, 2 shields and an AK-47 at the same time. [img]http://dl.dropbox.com/u/3724424/Programming/bestgameever1.png[/img][/QUOTE] That's all well and good but you're not getting my money until there's saddowns zombies to fight.
  • No wonder it is so much slower. [csharp]public bool HasFlag(Enum flag) { if (!base.GetType().IsEquivalentTo(flag.GetType())) { throw new ArgumentException(Environment.GetResourceString("Argument_EnumTypeDoesNotMatch", new object[] { flag.GetType(), base.GetType() })); } ulong num = ToUInt64(flag.GetValue()); return ((ToUInt64(this.GetValue()) & num) == num); } [/csharp] Shitty redgate reflector hiding this (Shows as an empty method in reflector, ilspy however shows it). I don't even know why I use it anymore.
  • [QUOTE=high;32205093]Shitty redgate reflector hiding this (Shows as an empty method in reflector, ilspy however shows it). I don't even know why I use it anymore.[/QUOTE] [IMG]http://i53.tinypic.com/24dnc02.png[/IMG] Works fine.
  • [IMG]http://localhostr.com/files/vhqOQ21/Game Engine 2011-09-09 21-37-46-71.gif[/IMG] That's how I like my phong. The only thing needed so far is the main texture, but I'll probably add support for using a phong map.
  • [QUOTE=Overv;32202604]I use a different password for everything. Not necessarily for personal security, but if one service is breached, no one will have access to the other services I use. It's hard to remember 20 different passwords though, so what most people do is write down passwords somewhere. Instead, I wrote an application that copies a desired password to the clipboard after entering a master password. The password list is embedded in the application, encrypted with AES256 with the master password as key. [img]http://images.overvprojects.nl/Password_Manager-2011-09-09_23.47.26.png[/img] When the program verifies that the passwords were encrypted properly, you are allowed to select a password from the list and copy it to the clipboard. [img]http://images.overvprojects.nl/Password_Manager-2011-09-09_23.48.13.png[/img] I'm by no means a security expert, but I think this is a reasonably safe solution. [url=http://pastebin.com/DMqRBsX7]Here[/url] is the full source code, because obscurity isn't security. Any comments? All I can think of is encrypting the salt and initial vector as well somehow.[/QUOTE] I've been inspired to make one too. Should I use a salt that makes it only usable on that machine?
  • I have coders block with my VERY limited knowledge of C#, and I was wondering if anyone could suggest a good idea for me to program, using a windows form.
  • [QUOTE=Mr. Smartass;32206673]I have coders block with my VERY limited knowledge of C#, and I was wondering if anyone could suggest a good idea for me to program, using a windows form.[/QUOTE]Try making a text editor or something. Start small, mess around with the controls and their properties and their methods. You'll find certain controls that you like, so explore them. See what you can do with them. Maybe set a goal ("I WILL MAKE [X] NO MATTER WHAT!") and see if you can do it!
  • Meanwhile, at the legion of doom: [media]http://www.youtube.com/watch?v=QliQ0livbeQ&feature=player_detailpage#t=1332s [/media]
  • [QUOTE=Quark:;32206915]Try making a text editor or something. Start small, mess around with the controls and their properties and their methods. You'll find certain controls that you like, so explore them. See what you can do with them. Maybe set a goal ("I WILL MAKE [X] NO MATTER WHAT!") and see if you can do it![/QUOTE] I kind of want to make a game, but I have no idea what would be an actually FUN kind of game that would be possible to make with a windows forum, other than a text adventure. Any suggestions? [editline]10th September 2011[/editline] How do you access all the outputs of a windows forum item (E.G a textbox)?
  • [QUOTE=Buzzard0;32198025]Dumping some tech screenshots of what me and another guy working on. It´s a game called "Vortex" based on the Quake 2 engine which is mostly rewritten[/QUOTE] Looks like Quake 2 models and textures, with the addition of bumpmapping and specular highlighting on the floor. [QUOTE=Overv;32202604]Instead, I wrote an application that copies a desired password to the clipboard after entering a master password. The password list is embedded in the application, encrypted with AES256 with the master password as key.[/QUOTE] Take a look at [url=http://passwordsafe.sourceforge.net/]Password Safe[/url].
  • Got an idea while working on my password thing, and listening to the uplink soundtrack. How about: A procedurally generated, neural network implemented uplink clone? Oh wait my brain is already bleeding.
  • My tank now leaves tracks. First there was general placement: [img]http://img607.imageshack.us/img607/1452/tankprogress1.png[/img] Then there was corner detection: [img]http://img577.imageshack.us/img577/2799/tankprogress2.png[/img] Then finally there was corner placement: [img]http://img193.imageshack.us/img193/3428/tankprogress3.png[/img] (also it puts rounded off versions of the straight segments if you go forward and then back up) (also also, it fades away after like 5 seconds) Now, to get on making the part of the game that you [i]play[/i]. Funny concept right there. :v: