Source SDK to be free

Discussion in 'General' started by Krenzo, Jun 30, 2011.

  1. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
  2. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Yeah I heard about this earlier

    HAHAHAHAHAHAHAHA come on Krenzo you don't believe that yourself do you :p

    Also, we'll just have to put in some more heavy duty systems to ban players quickly, mod-wide

    EDIT: Also, I'm currently reading the code for your custom key configuration menu and JESUS CHRIST that is confusing
     
  3. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    Well, DNF was released already so nothing will surprise me anymore.
     
  4. Jephir

    Jephir ALL GLORY TO THE JEPHIR

    Messages:
    1,409
    Likes Received:
    6
    Trophy Points:
    0
    We should probably get Empires fixed before the tsunami of new players (and griefers).
    Why would it be confusing, it's not even 8000 lines.emp_player.cpp
     
    Last edited: Jul 1, 2011
  5. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    No, I don't. Valve would have to change their whole culture in the programming dept which I see being an impossible task.

    Empires is closed source to hide my shame. Also, Mootant must be lying then when he says that none of my code is left in the Empires source.
     
  6. Kylegar

    Kylegar Specstax Rule

    Messages:
    2,170
    Likes Received:
    0
    Trophy Points:
    0
    He is, I know for a fact that noone will touch the commander gui with a 10 foot pole
     
  7. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    Yes, there's bad code, ugly code and code that you don't ever come near because touching single instruction would make it fall like house of cards. And most people (except Beerdude) aren't in a mood for total rewrite of specific functionality. Talking about original code being replaced we/I meant what was refactorable without throwing it all away.

    Realistically we could get that stuff sorted out but in the painful way: remove 90% of Empires features related to GUI and then remake them from scratch bit by bit. But there'd be so much whining how we're fucking up the Empires while it was so good earlier (sure, they all know the internals).

    I don't have that much against tools. I have a lot of issues with the code. You can't start D3D device in debugging mode required for nvperfhud/pix or anything that moves graphics programming to 2010s era. Engine crash? One big Valve's "go fuck yourself". Engine doing PVS in useless way and unable to efficiently compute your own PVS is another thing. Linux build (it got fixed in L4D version more or less) performance is pathetic and not because it has fewer inline asm procedures. Outdated engine from 2007 that doesn't handle multithreaded rendering/leaf system is yet another dick move. Krenzo talking about programming dept culture is one big irony. :P

    I prefer Valve as company that makes useless engine for 3rd parties but good games instead of Epic Games that makes good engines and crap tech demo games. But since Valve grew so much recently they should be able to handle both tasks just fine.
     
  8. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    Please explain.
     
  9. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    I slaughtered your version of emp_vgui_class.cpp and rewrote it from scratch because it was driving me insane :p But I have to admit that it's downright impressive that you've hardcoded so many things (like minimap zooming) while there's already an extensive animation control system in place (not that you or even I would have known, I only discovered it like two months ago). Oh, and the entire "build a mod from the ground up" thing too, of course ;)
     
  10. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    VGUI refused to work for me most of the time, and there weren't any good examples for anything back in 2005. Plus, I had no internet. It was quicker for me to just code my own things instead of trying to figure out the right way to do it. It was definitely a lesson learned when it came time to maintain that code.
     
  11. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    You coded Empires with no internet?
     
  12. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Oh, I'm certainly not judging you, I've only now begun to fully understand some parts of the SDK source code and how it all fits together
     
  13. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    I didn't mean to say that you can't code or anything like that so I just left that comment. It just happens that first big project for given programmer is one that should be thrown away. We're still left maintaining it due to several accidental reasons: no review, early SDK, players demand keeping all functionality no matter how hard it is to maintain it and C++ allowing writing such blobs in the first place.

    For instance with vgui_class I simplified some bits around it then a bit more then I left it. Beerdude had to rewrite it practically from scratch, starting from making proper structures for data.

    VGUI - I mostly understand single weird hacks. Overall structure of VGUI stuff in Empires: probably someone's first GUI project. These things tend to be extremely hardcoded, all the "logic" in view, no model/controller vs view separation. It's like email client I wrote in Java with Swing when I was 15 years old. Ugly as hell and lots of code in OnButton123Click. The only issue is that mine had just 2k lines and Empires is much bigger and rewriting it takes a lot of time. You saving 1 minute by doing copy & paste or no architecture or whatever costs us 20 minutes because stuff is linked together and complexity isn't just linear with code amount, time to rewrite isn't linear either.

    There's absolutely no commercial/learning interest in doing any of it. I learn a lot more writing my own engine. EmpiresSource can't be sold. There's no fun in this refactoring. "Community" will hate you because you fuck up their things by introducing bugs.
     
  14. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    Well, I had access to a computer lab where internet was available after 9 PM, and there was usually a wait. It was also very slow (modem slow), and you couldn't transfer files with a USB stick or anything. If I found some interesting code to help me, I would have to write it down in my notebook to take it back to my laptop. Coding without the internet readily available to you is no fun.

    I meant to post this in general discussion. I'm moving it there.
     
  15. communism

    communism poof

    Messages:
    4,095
    Likes Received:
    2
    Trophy Points:
    0
    Bro I've loved you ever since I saw you camp NF spawn on escort with arty for 20 minutes.
     
  16. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    [​IMG]
    Yes, communism your contribution to this thread is really appreciated.
     
  17. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    how is the cat picture relevant?
     
  18. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    He's the one big "well, actually".
     
  19. PwnedYoAss

    PwnedYoAss Member

    Messages:
    1,088
    Likes Received:
    39
    Trophy Points:
    0
    Maybe I'm wrong when I say this but, I think it's more that there's no announcement about anything at all. Sure, an obscure post every now and then in a random thread but not an actual announcement about the state of Empires. As far as I'm concerned nothing is being done. Or at least it looks that way.
     
  20. Lawliet

    Lawliet Member

    Messages:
    869
    Likes Received:
    19
    Trophy Points:
    0

Share This Page