Jump to content
MakeWebGames

icsulescu

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Everything posted by icsulescu

  1. I want to make an online rugby manager game (like Fifa Manager or Hattrick.org). I tried to search an fast framework with not so many functions wich would help me with mysql queries (because my script has a lot of mysql queries). But I didn't found one. What do you think? EzRPG is good for my project? Would you recommand anything else? Best regards, icsulescu
  2. Yes :). Now it works.
  3. Yes.   How? Like this: if ($args === 0 || LOGGED_IN == false) { return $args; } ? It didn't worked. Still all pages are blank :(.
  4. No error ... and the all the pages of the game are blank when I upload this hook.
  5. Hi. I have a problem with EZrpg script. I tried to make a hook like this:   <?php defined('IN_EZRPG') or exit; $hooks->add_hook('header', 'set_power'); function hook_set_power(&$db, &$tpl, &$player, $args = 0) { if ($args === 0 || LOGGED_IN == false) return $args; else { $power = ((($player->attack+player->defence)*0.31)-0.15); $finalpower= number_format($power, 2); $db->execute('UPDATE `<ezrpg>players` SET `power`=? WHERE `id`=?', array($finalpower, intval($args->id))); $tpl->assign('POWER', $finalpower); } return $args; } ?>   But it doesn't work ... :(. Can anyone help me with this?
  6. I think Zap Engine rocks :D. I'll test this script tonight ...
  7. I tried ezRPG. It's great, but I had a big bug and I didn't knew how to fix it. ... link ... Zap ... I'l try this. flamespark ... can you give me please a link?
  8. I want something free. I don't have a paypal or something like this to pay. P.S.: I don't expect something complex: just a login, register, logout and a few other mods if posible. I just want to be secured ...
  9. I'm not that good on the security part. Can you tell my about a good game script ...   Ok. Thanks for your help.
  10. mccodes lite. Here's a code example:  $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error());
  11. I'm talking about the mysql connection. I saw that mccodes has a variable ($c) in wich are stored the connection details. But you have to introduce this variable after every mysql query. Other solution is making a connect.php file who connects to tha database and include it in every file. Wich is better for the site loading speed? What about security?
  12. icsulescu

    ezRPG v1.0.1

    I'm using this script. Maybe I'll make here a topic and show you what I've done. P.S.: Sorry, but the game is only in romanian ... no english translation available.
  13. And how you can do this. I found somewhere on this site a link with a tutorial, but it looks now that link is dead.
  14. Thanks man. It works very well. :thumbsup:
  15. Has anyone a better crime success formula? I want this to depend on strenght, guard, weapons power, will, agility, energy ... Thanks in advance.
×
×
  • Create New...