Jump to content
MakeWebGames

saad

Members
  • Posts

    31
  • Joined

  • Last visited

saad's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. saad

    mafiamatrix

    http://matrixmafia-001-site1.smarterasp.net/ Older version of mafiamatrix.com No clue what to do next haha
  2. Oh I know that. I understand that classic ASP is a dead language. The scripts that I've dealt with are always PHP. But like I said above, this is a unique and quite old Mafia game which is better (in my opinion) than any of the current power houses. If you want to see an advanced version of this script so you can understand what I'm talking about. Check out http://www.mafiamatrix.com . This website is the successor to this script. So It's more sentimental than anything else really. I miss this old and unique game xD
  3. I used to play an old mafia game which was unique of it's type because though it was a mafia game, you could also chose other career paths besides being a gangster (Medicine, law, army, police, Customs, Firefighter, Mortician) These careers are an option and have their own ranks and you can chose to do which ever in which ever order. Or go gangster. The game was abandoned I think 3 years ago and I have the script without an SQL file. I'm going to make the database after I manage to connect the thing. It uses an ODBC driver but I can't manage to connect it. If anyone has any suggestions or offers to help, please reply. I'll post the connection string if anybody is interested. I have no understanding of VBScript so I need help.
  4. saad

    crons

    Re: crons can you put them on here how do you use them
  5. saad

    crons

    is there a way to put crons in your game if your webhost dosent have cron jobs? there is a game script exactly like mccodes called raven rpg does it have better security
  6. saad

    Crimes

    Re: Crimes bump
  7. saad

    Crimes

    Re: Crimes This is the one for estate.php   <?php include "globals.php"; $mpq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $mp=$db->fetch_row($mpq); $_GET['property']=abs((int) $_GET['property']); if($_GET['property']) { $npq=$db->query("SELECT * FROM houses WHERE hID={$_GET['property']}"); $np=$db->fetch_row($npq); if($np['hWILL'] < $mp['hWILL']) { print "You cannot go backwards in houses!"; } else if ($np['hPRICE'] > $ir['money']) { print "You do not have enough money to buy the {$np['hrNAME']}."; } else { $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid"); print "Congrats, you bought the {$np['hNAME']} for \${$np['hPRICE']}!"; } } else if (isset($_GET['sellhouse'])) { $npq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $np=$db->fetch_row($npq); if($ir['maxwill'] == 100) { print "You already live in the lowest property!"; } else { $db->query("UPDATE users SET money=money+{$np['hPRICE']},will=0,maxwill=100 WHERE userid=$userid"); print "You sold your {$np['hNAME']} and went back to your shed."; } } else { print "Your current property: [b]{$mp['hNAME']}[/b] The houses you can buy are listed below. Click a house to buy it. "; if($ir['maxwill'] > 100) { print "[url='estate.php?sellhouse']Sell Your House[/url] "; } $hq=$db->query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC"); while($r=$db->fetch_row($hq)) { print "[url='estate.php?property={$r[']{$r['hNAME']}[/url] &nbsp - Cost: \${$r['hPRICE']} &nbsp - Will Bar: {$r['hWILL']} "; } } $h->endpage(); ?>
  8. saad

    Crimes

    Re: Crimes Anyone???
  9. Re: where and how do u change the vaules? Are you on mccodes v2?
  10. saad

    Crimes

    Re: Crimes Ok thanks.   I have another problem and i dont want to start a new thread. On estate.php I have put in alot of houses and none of them show and i dont get any error message.
  11. saad

    Crimes

    Re: Crimes What would happen if i leave it?
  12. saad

    Crimes

    Re: Crimes Oh i get this on top of my page Warning: Division by zero in /www/vndv.com/m/a/f/mafiagangs/htdocs/header.php on line 128   what this about
  13. saad

    Crimes

    Re: Crimes Couldent find any
  14. saad

    Crimes

    Re: Crimes But i dont get the Success % Formula how do you use it give example
  15. saad

    Crimes

    Warning: Invalid argument supplied for foreach() in /www/vndv.com/m/a/f/mafiagangs/htdocs/criminal.php on line 16   Whats this?
×
×
  • Create New...