Jump to content
MakeWebGames

Spudinski

Members
  • Posts

    1,731
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Spudinski

  1. Same for everybody... 'ts Here's to broken hearts and finding love, mistakes we know we should have made, and to a hell of a year. Happy new years to everybody!
  2. Value should be zero. "0"
  3. I would not suggest PHP 4, is has it flaws and the reason why PHP 5 was made. From a basic php.ini file, I would suggest maybe turning on the "open_basedir" setting. Also, "magic_gcp" quotes has to be enabled or else MCCodes will spit out an error. Globals, should be off by default but just check it again(if your running PHP 4 < I can't give you much advice). For a "basic" game, the extensions apache 2.x and PHP 5.2.x has already loaded is sufficient(if you want an "optimal" PHP application you need to disable the extensions not used. Everything else with the default apache, mysql and php configuration files are by default optimized for any website. For the main setup or structure of your game and database: As already said, having two independent databases helps. I would not suggest running them on the same user, though. Allot of reasons why, but the main and simplest one is still security. An backup of all config files and databases should be made every 6-24 hours, depending on how active your game is. The backup should preferably be sent to an external, private FTP location(your own PC is best). Cronjobs, if you have to use them every minute, do it so. But if you only need a five minute cron entry it's better. That's of the top of my head, what I would say an optimal startup game should look like.
  4. How about they just try and be more active? This IMHO is starting to get pathetic, a few days back the site was down for more than 10 hours - really guys. I'm not being rude in saying that it is bad, I'm just saying they should be more alert of what happens. It could be like mdshare said, a problem with a script somewhere, but it is just so easy to pinpoint such a problem. How can anybody take MCCodes seriously when they don't attend to the help website being down for 10+ hours. /end of, whatever you see it to be.
  5. I think it would be a good idea also. I'd also add their field of specialty after their name, so it is fair game to everyone. I know a few people that are quite good with programming, BUT they are not good in specific fields. Most programmers try to educate themselves with most aspects of programming, but with the rate IT is going it is very hard to keep up with everything. Thus why companies have like 20 different programmers. They all do their little bit to the app'. I think people should rather mail their detailed info to a mod' or someone, and then from the people who sent their names in the person can then sort them and make thread with the names and relevant info. And to the newbs, just because someone does not want to be on the list does not mean they aren't good(there could be many reasons why they don't). PS. Use newbs everyone, not everybody is a n00b. Read up the definition. N00b is soo last year. :D
  6. There's a problem with TRUNCATE. It does NOT reset the AUTO_INCREMENT value. This, in simple terms, means your player ID's will be messed up. I would suggest creating a new database, setting it up via a mirrored copy of the game and just switching the DB's to the original game. There would be no interference for players then, and no downtime or errors.
  7. The professional term for it is called copyleft. The GNU GPL strongly complies with it. From Wikipedia:  
  8. N00b. And yes Danny...
  9. Except, you share alike. This means if you spent four years customizing it and I come to you and say: I want whatever you have, you have to give it to me.
  10. *sigh* Really, ranks? Where's the good 'ol Karma?
  11. And most of South Africa are seen as proxies, as they get their IP's from a pool.
  12. Weird... Why do I have the best upload speed?
  13. Sign up for reCaptcha. https://www.google.com/recaptcha/admin/create
  14. Additionally, you may send an unique ID to them. Then authenticate them automatically by the ID.
  15. Takes about 24h of random letter in form of md5. After which you'd be able to compare even salts. A few good sites - better than md5decrypter.com - has closed over the years. But it's not on topc - AGAIN.
  16. The word "decrypt" does not exists. You can't do it. If a user looses their password, rather make them choose a new one.
  17. Question 13. of SQL messes around with peoples heads. The correct answer is actually ..... haha as if.
  18. This article, or more reference is to help people new to PHP scripting in general but is more focussed on errors you may find on a MCCodes based engine. We will mainly cover common types of phrase errors, or more widely known as syntax errors. Here are a few errors and examples on how to fix them.   Parse error: parse error, unexpected T_STRING This will be the most common of syntax errors. There is no "absolute" reason why this may happen, but I'll mention a few it might occur. 1. You might have forgotten to end a line with a semi-colon, usually just check these first. 2. An unclosed quote( ' or " ) or bracket( } or ] ), meaning that the function, variable or statement was not ended correctly. 3. Unclosed comments are one of my favorites for this error, make sure you open and close your comments correctly. It is possible for this error to point to the same line that the error actually is, but mostly it is further up in the script(usually one line).   Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING This error goes hand to hand with the previous one, but usually only 1. applies. A missing quote is usually the mistake.   Parse error: syntax error, unexpected $end The main culpret for this errors are curley brackets( expecially } ). Make sure each statement, whether it be a function, if-else statement, switches or loops, is closed with a curley bracket.   Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ This may be casued by not escaping quotes correctly, or simply forgetting to end the statement with a semi-colon. This could also be because of a missing join character ( , or . ). Check for this when you are joining variables and strings together. Refer to the first solution for more information.   Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING Usually a using the ` character in my experiance. But it could also appear when you do not escape quotes, or missed closing a quote. Mainly just incorrect usage of quotes now that I think of it.   The best advice I can give anyone who experiances a lot of syntax/phrase errors is to do yourself the plesure of buying a decent PHP IDE(Integrated Development Environment). A good paid one is Zend Studio by Zend, but if you are on the short bit of life NetBeans by Sun which will do the job just as good. If anyone experiances any other phrase/syntax errors, please post them here and I will add the solution to them in this thread.
  19. Here's my scores:   With the SQL test I got question 13. wrong. :(
  20. Hey guys and girls, Well, I was just a bit bored and figured I'd make this half game? You basically just go onto the W3Schools test site, and then take both the PHP and SQL tests. After that just post your results here. The rules are: 1. You may only take this test once, and post your first results. 2. Don't hate on others. Let's go: PHP test and SQL test.
  21. I'd say Opera or Chrome in my opinion. But ideally you should test the displays out in all modern browsers; IE, Ff, Opera and Chrome are the solid ones to test for.
  22. 0_o... MCcodes, a.k.a. Mono Country Codes. Both the lite and first version of MCCodes are actual games, but with V2 they changed it a bit. MCCodes meets the minimum requirements for an "engine", so I voted it.
  23. I normally use div or span for headings. Maybe you should learn about the selector signs in CSS first.
  24. Hey everyone, I was looking at an Facebook game engine just now, it's on these forums: FBGE I think. I know that Social Networks like Facebook has great potential to extend a user base, but here are many aspects new/wannabe game developers just can't grasp. I've been up and under the Facebook platform for the last two months, trying to make myself profound with it. I've taken allot in, and know how many applications operate in general and which methods they use. Social Networks aren't entirely made for games, and the games people play on a Social Network wants to play is either where they can play with their friends or just to play for 10 minutes until they have to go again. Large scale games in general, does not work so well on SN's like Myspace or Facebook. I was wondering if anyone knows about any other large scale networks that games a playable on, but would much better be suited for a long term RPG. Other than that, I would like people to discuss the motivation you people(that have developed for Facebook in the past) see from players of those games, which makes them stay. I personally know that there are different motivations from playing a regular Text BRPG, between a faster pased Facebook game.
  25. This actually made me shed a tear.. kind of. R.I.P. Friend.
×
×
  • Create New...