• What are you working on? November 2011 Edition
    3,673 replies, posted
[QUOTE=voodooattack;33225904]R.I.P WAYO[/QUOTE] WAYO? What Are You On? I thought that was in the Drug Discussion forum [editline]11th November 2011[/editline] Or Relationship Advice
[QUOTE=voodooattack;33225904]R.I.P WAYO[/QUOTE] I actually can't play Skyrim 'till Christmas comes around; my mother wants me to be [I]excited[/I] for Christmas this year. :(
[QUOTE=RyanDv3;33225937]WAYO? What Are You On? I thought that was in the Drug Discussion forum [editline]11th November 2011[/editline] Or Relationship Advice[/QUOTE] Acronym nazi! I blame my faulty W key. [editline]11th November 2011[/editline] There, fixed
[QUOTE=RyanDv3;33223645]Class A is a superclass of class B. Class A sets the precedent of having a color property. Only catch: this color property is the same across all instances. If you just had class A, it would be a no-brainer. You simply make a static variable that holds the color. But since you also have a derived class B, you can't, because Class B isn't allowed to override any static Class A stuff (meaning class B would have to be the same color as class A)[/QUOTE] You can put a color property in B and it hides the one in A. It's actually a completely different, unrelated property, not an "override" of the one in A, but if you refer to B.color you'll get the value defined there. But if you want to refer to A.color and get a value defined by class B, like you would with an overridden instance method, that doesn't make any sense for a static value. How would it know when to use the value from A and when to use the value from B? There's no object instance to guide the decision when you're referring to something static. Should it [i]always[/i] use the one from B, just because it exists? I'm guessing you have something like a List<A> but the contents may be subclasses like B, C, whatever. So when you iterate over your list and check the color of each one, you find that [i]this[/i] item is blue (because it's really an A), but [i]that[/i] item is green (because it's really a B). In other words, the colors really are a per-instance, not static, property. If you want the colors to be the same for all instances of a given class, that's an implementation detail: you can put a private static constant in each class, and use it in that class's implementation of the (non-static) getColor() method.
[QUOTE=voodooattack;33225904]R.I.P WAYWO[/QUOTE] I'm an arts student and poor as shit so I'll still be posting. I make games because I can't afford to buy them :v:
And I fell asleep after playing it for 10 minutes.. Deinstall and back to coding!
[QUOTE=VoiDeD;33222185]Having to forcefully kill a thread is a sign of poor design. You should always wait for the thread to complete by joining it.[/QUOTE] Its running user supplied lua code, with LuaJava Since they have no actual clean method to do it either, I cant use Lua, which destroys half the point of my project Unless I'm willing to heavily modify it to work, which I am not
4 new posts since last night? Holy shit Skyrim must be really good
Programming Competition anybody?
[img]http://dl.dropbox.com/u/9618970/SC20111111-155442.png[/img] Added specular maps.. now uhm.. does anyone know where to find some "good" test models? Preferably as .obj (with textures including normal map) that doesnt have like 100k tri's?
Last maze video, I swear. [hd]http://www.youtube.com/watch?v=WkJdP-nsN_w[/hd]
[QUOTE=Nigey Nige;33229770]I'm an arts student and poor as shit so I'll still be posting. I make games because I can't afford to buy them :v:[/QUOTE] Yeah, I honestly think mainstream gaming is overpriced. Too bad I won't be playing either. :yarr:
pathfinder, why must you hug walls so
[url=http://www.desura.com/groups/desura/forum/thread/open-sourcing-desura]Open Sourcing Desura?[/url]
[QUOTE=voodooattack;33232165]Yeah, I honestly think mainstream gaming is overpriced. Too bad I won't be playing either. :yarr:[/QUOTE] Well, I remember N64 games being $59, so if you take inflation into account they're actually not as expensive as they used to be.
In Australia shit is so overpriced it's actually unfunny. In the US you can buy Sonic Generations for $25 US ($25 AUD), but retail in Australia it's $110 AUD.
Timers! [img]http://i.imgur.com/M8NcU.gif[/img] I'll need to make a rightclick menu for things so the user can change the delay. [editline].[/editline] I should've put on some sexy hat. [img]http://i.imgur.com/CYuLF.png[/img]
[QUOTE=Maurice;33232874]Timers! [img]http://i.imgur.com/M8NcU.gif[/img] I'll need to make a rightclick menu for things so the user can change the delay. [editline].[/editline] I should've put on some sexy hat. [img]http://i.imgur.com/CYuLF.png[/img][/QUOTE] I just realized we should make a tile set for behind the chambers; so not only we can have more art but a transition to the Mario world if you make a hybrid level pack.
[QUOTE=Eric95;33222979] (Swedish for "Hey you, you criminal. Do you want a punch or is that just your pants talking?") [/QUOTE] classic swedish humor.
[img]http://anyhub.net/file/2Mt5-parser05.png[/img] My expression parser/language now has if and while statements, as well as function parsing. Time to get my GUI on, I think it's about time I actually made a grapher out of it.
What a surprise, I report an exploit and they 'fix' it (You can still do it) in the laziest way breaking my program before I have the time to migrate it :\. Ugh I hate rtmps. It says its an Https tunnel for rtmp which is a load of shit. Instead of starting with an http request it first sends the rtmp handshake and then it sends the http request to start the tunnel. Thankfully though the rtmp handshake is at least a static size.
At last, some progress! [img]http://i.imgur.com/12sXU.png[/img] the font looks weird, I've tried disabling smoothing and kerning but it's still all blurry
Dododoo, just coding- [quote][jookia@jookia-arch build]$ export LANG=ugh && ./trainsc --help terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted[/quote] [media]http://www.youtube.com/watch?v=134HzozSW1Q[/media]
Skyrim came out, good bye productivity for the next few weeks :v: As if there weren't enough distractions already.
[img]http://puu.sh/8uWV[/img]
[QUOTE=Jookia;33232434][url=http://www.desura.com/groups/desura/forum/thread/open-sourcing-desura]Open Sourcing Desura?[/url][/QUOTE] This is awesome. [editline]11th November 2011[/editline] [QUOTE=amazer97;33235236]Skyrim came out, good bye productivity for the next few weeks :v: As if there weren't enough distractions already.[/QUOTE] And if it's like any of Bethesda's other releases, it'll be totally unplayable for the next year or so, until the official and fan-made patches fix all the colossal game-breaking bugs.
[QUOTE=ROBO_DONUT;33235367]This is awesome.[/QUOTE] I don't think it'd happen. It'd be such a good thing to happen, that it won't.
[QUOTE=Jookia;33235414]I don't think it'd happen. It'd be such a good thing to happen, that it won't.[/QUOTE] Like the Unreal 3 port?
[QUOTE=ROBO_DONUT;33235367]This is awesome. [/quote] It could be. Having seen how long it took them to actually create Desura when there were no less than 3 clients (2 cross platform) whose purpose was to integrate with ModDB (and AddonDB back when it existed), with the creators of Desura saying "Who the heck wants a client for this?!" back in 2008, if anything I see this as the linux client stalling because the guy writing it isn't as familiar with its ecosystem as he is with Windows. i.e., Dude wants others to finish his work for him, and to keep the copyright under Desura so they can do whatever. Hopefully it won't be a horrible implementation when they do open it (like that .NET Markdown parser that stack overflow released that was one huge 25K line .cs file), if they do at all. Basically, I'm in the same camp as Jookia. It'd be kind of neat if they did, but it will most likely be inefficient, and too many people in the community trying to have a say in anything will result in nothing getting done, or a million little forks, with a bunch of folks eventually writing their own Desura server, and then maybe one or two surviving programmer apathy. A quick and sudden "Hey duders, this is open source now" with no community planning or actual goal for the end result of the software is going to damage it, and might even result in Desura never being any kind of force to be reckoned with. (I mean, let's be honest here, if it wasn't for the Humble Indie Bundle most folks would not be using Desura, and that ship is basically the firestarter for Desura) Open sourcing a client that performs authentication with a database when we aren't aware of any encryption or security features may also open Desura up to a bunch of exploits, from which it will most likely never recover. But it'd still be pretty cool :v:
Have you used the Desura Linux client? It's fully functional. There's no stalling needed. Also, this isn't a quick and sudden thing. It's being planned and thought about. As for the encryption and security features, open sourcing it makes no difference. If you have good security, you have good security. If you don't, you don't. Security through obscurity doesn't exist.
Sorry, you need to Log In to post a reply to this thread.