Jump to content
MakeWebGames

a_bertrand

Members
  • Posts

    3,655
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by a_bertrand

  1. Well, even if my engine scare them and at the end force them to come with a better code, it's already an achievement, even if it would not make me any good ;) Currently I'm working on the documentation... hard work... hard work indeed... I would need an editor helping me improving the text quality / typos.
  2. Too bad it's not directly in the forum at least for the non critical one, as that will mean yet another login to just know if somebody already reported that issue or not.
  3. Then state it such that others don't reply for nothing ;)
  4. Change the line 21 with: if(!isset($_SESSION['loggedin']) || $_SESSION['loggedin']==0) { header("Location: login.php");exit; }
  5. Ok the documentation writing effort started... But really it's just a start: http://www.nw-engine.com/wiki/ Don't worry for the typos I shall make it corrected before we go in production, also, as I don't want the wiki to be filled with spam, registrations as well as chat pages are disabled, if you want an account PM me.
  6. I would not rate this as "URGENT" ;) As you can certainly live without online players on a game...
  7. Engine progress: around 50-60% done I will need soon to start to work on the server to host the engine documentation and market place. You guys think that the documentation shall be a wiki or, a static website or a pdf of some sort?
  8. Well just download all and try it ;) BTW... What's your goal with this engine?
  9. Well I think you just have a huge mix of different things... which may not even mix nicely ;) Time for you to learn SQL and... PHP maybe.
  10. well either remove the restore=0 from your daily cron or add that field on the users table... easy. Yet before doing one or the other you should wonder why you need it / if you need it.
  11. but again that doesn't solve your issue with the missing field on the table, and therefore your error will stay.
  12. not in one field but in one query ;) But that would not fix your field issue, you should really check if you need that row 30 of yours. To make multiple set in one query (for example): $db->query("UPDATE users SET daily='0', reward_done=0, restorevip='0', restoredd='0'");   You can also make something quicker above for your fedjail: $db->query("UPDATE users SET fedjail=0 WHERE userid IN (SELECT fed_userid FROM fedjail WHERE fed_days=0)"); In that case you don't need any ifs, no need to read all and store in an array before, and at the end it will be even faster ;) there is others which could be cleaned up as well maybe, but I let you dig.
  13. Well somehow the users table doesn't contain the field restore. BTW this cron is simply horrible, why not set all the fields in one shot instead of using multiple queries? Where did you took this script (if it's the original McCode one, then I must admit it's really not good).
  14. I would say that an engine does not define any stats. It allows you to handle stats (maybe) but doesn't have any pre-made... Otherwise it already forces you to make games which needs those stats... and nothing else.
  15. Well for me a game engine is like a base ground / library where you can build many kind of games. Here it is more a game script / code which will end up being a single kind of game if I understand well. An engine being a framework on which you can base your own game, and a script being a complete and rarely flexible solution.
  16. It's a bot / spam thing which tries to increase the google rank of some pages. We usually delete those ;)
  17. Well, true, but there wasn't much activity from the community, therefore I stopped. But don't worry the New Worlds Engine (the new engine I'm working on) takes good ideas from the Zap and yet improve loads of things.
  18. Upgrade your engine or purchase a secure one... may end up being cheaper ;)
  19. Nice and short simplified MySQLi lib. Could be further improved but it's a good start! Thanks to share Danny.
  20. Without using a proxy, you can send the HTTP_X_FORWARDED_FOR header and therefore fake the IP. Also, there is no real good solution to block proxy.
  21. The issue with HTTP_X_FORWARDED_FOR is that you can place it without any problem in the browser header and if your site does look at that, then it may be tricked.
  22. No we cannot really help as your host has simply blocked the function system. Check if there is other ways to call the mysql_dump maybe from cpanel or equivalent.
  23. The best thing is... install the stuff on your own PC, (with xampp or wampp) and play there only where you are pretty sure it is all ok deploy on some external server yet... I would say that only the last 2 version of McCode are safe... otherwise STAY AWAY from that code. As personal suggestion: wait about 1-2 months till "New Worlds Engine" is ready... in the mean time learn PHP / MySQL and HTML and then when it's ready use that instead of McCode ;-)
  24. yes for sure, but you don't even have to ask, try by yourself for such small things ;-)
  25. DMCA is a US law... beside that no it's not legal ;) also odd enough Canada do have its own DMCA equivalent (or nearly). BTW, just as info, the law of the country of your hosting apply to stuff you place on your site not your own personal country law, that implies that a waste majority of the website fall under US law.
×
×
  • Create New...