1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Bad web & kag developer

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

  1. Can I ask, where exactly did whoever is programming the website get his knowledge from? Because it stinks.

    http://validator.w3.org/check?uri=h...(detect+automatically)&doctype=Inline&group=0
    61 Errors, 38 warning(s)

    http://validator.w3.org/check?uri=h...(detect+automatically)&doctype=Inline&group=0
    3 Errors, 41 warning(s)

    Looked at the source and saw:
    <form> being declared before <html> and before <body>, even before <head> was declared!
    Also, saw a lot of tables being used in place of proper structural tags.

    Onto the game, why does the server eat between 500MB-2.9GB RAM and nearly a whole CPU on my Q6600 server with 4GB of RAM? Not even TF2 server eats this much (maximum 500MB). I've closed my server because of this, massive memory wasting going on.
     
  2. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    ...

    If you have issues, this is not how you should raise them.
    Whilst your points may have merit, the way you put them across is rude and antagonistic.

    Sort your attitude out.
     
  3. saniblues

    saniblues KAG Guard Tester

    Messages:
    418
    "why does the server eat between 500MB-2.9GB RAM and nearly a whole CPU on my Q6600 server with 4GB of RAM? Not even TF2 server eats this much (maximum 500MB)"

    There's not as much being synced in tf2 servers as there are in games like this. Your system specs don't mean a thing, it's hell for any server host. That's just how it is.
     
  4. poe

    poe Shopkeep Stealer

    Messages:
    29
    o.o I don't know how the login box got to the top of the file. I learned from W3C and Tizag.

    EDIT: I know the issue now actually, but I can't fix it until tomorrow, oh well :P
     
  5. Snow

    Snow Guest

    What? What do you mean by proper structural tags? A simple HTML page is very simple. Tables are still perfectly fine to use for a simple webpage. Div tags would be better if you specifically needed to keep content separated and would be more dynamic. But for what it is, despite the mistakes it's fine. Like Shadlington said, sort the attitude. Offer constructive criticism. Tips and any help are always appreciated by those who have created the game, put up the website and forum.

    I will add that if the page was done in Dreamweaver and then some cutting and pasting was done... it is insanely easy to completely mess up the table tags, especially if tables are nested and cells are spanned. That's one thing I absolutely despise fixing, since I've seen intelligent and organized programmers do that. "Oh it's just HTML.. it's such simple code.. who cares."


    On that note, Poe, if any HTML, CSS, JS, PHP help is needed, ping me. (I won't be mad if tables are messed up the way I described.. because it's KAG, you get a free pass).
     
  6. poe

    poe Shopkeep Stealer

    Messages:
    29
    I used Notepad++ :P. Yeah thanks for extending yourself, I'll keep that in mind.
    EDIT: This also sort of makes me want to overhaul the whole website and make it cleaner just to be more professional.
     
  7. Vania

    Vania Guest

    "Onto the game, why does the server eat between 500MB-2.9GB RAM and nearly a whole CPU on my Q6600 server with 4GB of RAM? "

    Memory leaks I guess?

    But seriously the game is in alpha so chill.
     
  8. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    Do it in druuuuuupallllll... [/whispers mysteriously]

    :p


    I like netbeans (and eclipse, on occasion) personally :)
     
  9. Snow

    Snow Guest

    Quoting you both.. efficiently lol.

    Dreamweaver is perfectly fine for design/development of a simple website.. just watch the tables. Anyway, if you overhaul.. I suggest start simple and maybe start with tabs or just the standard horizontal menu.

    Eclipse is nice. I use it for Java, JSP and other languages that I need to completely review again >.<. Just don't use it for making forms. Unless you're using absolute layout.. which for some bizarre reason is NOT default, trying to use their other layouts is an absolute nightmare. Eclipse can display webpages which makes it a nice tool for web editing too.. if you can't use dreamweaver.

    I would recommend saving very often with eclipse and even saving text files of your code. I dunno if it happens in Windows, but using eclipse in Linux once, I had some strange crash and it reverted all the code back to a previous version.. like I mean days. Some projects were even missing. My friends still don't believe me though.. but I saw it happen with my own eyes.
     
  10. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    I'm a linux man too, but I've never had a problem like that with eclipse before.
    It does behave a little oddly at times though so I wouldn't be especially surprised by it.
     
  11. poe

    poe Shopkeep Stealer

    Messages:
    29
    Nah I'm comfortable with Notepad++ that isn't the issue.
    As for what I'm thinking, most likely having it be more social and around the game, and more easily to add things to.
     
  12. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    If that's what you're aiming at then writing it yourself if just re-inventing the wheel.

    You'd be a lot better off using a CMS and only writing the customisations.
    Then the backbone of the site would be sorted (full-featured, standards-compliant and bug-free) and you could add all sorts of extra functionality (e.g. the social side) a lot more easily, using modules.
    You'd have plenty left to write yourself (particularly those bits that deal with the game itself - the server list, for example), but you'd be able to focus on those bits rather than things that have been written countless times before by other people.

    If you do have a change of heart on it, then let me know. I've already started thinking about building a KAG site for cataloging various construction designs and other tips and tricks - using Drupal. If you'd like to use Drupal for the main site, I will be more than happy to help. Other CMS' would be fine as well, probably, but I'd be less able to offer help as I don't use them.
     
  13. Snow

    Snow Guest

    BUT, you can't build a website *properly* if you don't know how to code from scratch. Sometimes doing raw coding is the only way to learn. Then you can use the prebuilt stuff and other technologies to advance.
     
  14. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    That's not strictly true with modern CMSs
    Though coding from scratch is a very good way to learn, you don't need to be able to code at all these days to build a decent website.

    This is, however, irrelevant to my point. I'm not talking about learning, I'm talking about the KAG website.
     
  15. poe

    poe Shopkeep Stealer

    Messages:
    29
    No I'll be doing it from scratch. Also the website will have a screenshot section, that's always been planned. If I need people to moderate the section you'll be on the list of those to ask :)