Jump to content
MakeWebGames

orsino

Members
  • Posts

    113
  • Joined

  • Last visited

  • Days Won

    1

orsino last won the day on November 7 2020

orsino had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

orsino's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

5

Reputation

  1. I always think like this. If you have a theme for a game you need to know stuff about that theme. Example if you make a mafia game you need to know some things about them, how they work. Otherwise it's doomed. As for a ninja game. Well there are not many games with that theme.
  2. Gangster legends has lots of modules and a good support. You need to think about what type of game you will start Gangster legends is different And needs a lot of work/money to change it into a mccodes type of game.
  3. deactivate the module and activate a new one or check the detective files for schema.sql and load it in your database
  4. Thx sim You are doing a great job here
  5. hi i'm looking for a new attack system or an update version on the one that is in the marketplace i want the attack system to be more like the one on mccodes so if you attack a player he will be hopitalised for x amount of time and it will cost some energy i will pay for this mod and the coder can post it on the marketplace giving him even more revenue
  6. can this be updated so they cost you money ? they are all free for now
  7. i'm waiting for the release if its good i will buy this
  8. orsino

    MobstersWorld

    Made a new game with the Ganster legend premium www.mobstersWorld.com MobstersWorld , a mafia themed browser game set in 1930 . Rank your way up to be the next godfather/first lady Join a Family or make your own Smuggle in tabacco or Booze More than 30 different cars to steal
  9. hi i'm looking for a new theft where car images can be added so players see the image of the car they stole willing to pay
  10. hi i was adding images to the items today now i need help on the last part the images are already working on pages like iteminfo or inventory the only part i cant seem to work is the equipped items on the website its showing img/nameoftheimg.png but i needs to show the img if (isset($equip[$ir['equip_primary']])) { print $equip[$ir['equip_primary']]['itmpic'] <------ this is where the img needs to be . "</td><td><a href='unequip.php?type=equip_primary'>Unequip Item</a></td>"; } else { echo "None equipped.</td><td>&nbsp;</td>"; } <?php require_once('globals.php'); $q = $db->query( "SELECT `itmid`, `itmname`, `itmpic` FROM `items` WHERE `itmid` IN({$ir['equip_primary']}, {$ir['equip_secondary']}, {$ir['equip_armor']})"); echo "<h3>Equipped Items</h3><hr />"; $itmpic = ($i['itmpic']) ? "<img src='{$i['itmpic']}' class='thumbnail' style='background-color: transparent;' width='50px' height='50px'>" : ''; $equip = array(); while ($r = $db->fetch_row($q)) { $equip[$r['itmid']] = $r; } $db->free_result($q); echo "<table width='75%' cellspacing='1' class='table'> <tr> <th>Primary Weapon</th> <td>"; if (isset($equip[$ir['equip_primary']])) { print $equip[$ir['equip_primary']]['itmpic'] . "</td><td><a href='unequip.php?type=equip_primary'>Unequip Item</a></td>"; } else { echo "None equipped.</td><td>&nbsp;</td>"; } echo "</tr> <tr> <th>Secondary Weapon</th> <td>"; if (isset($equip[$ir['equip_secondary']])) { print $equip[$ir['equip_secondary']]['itmpic'] . "</td><td><a href='unequip.php?type=equip_secondary'>Unequip Item</a></td>"; } else { echo "None equipped.</td><td>&nbsp;</td>"; } echo "</tr> <tr> <th>Armor</th> <td>"; if (isset($equip[$ir['equip_armor']])) { print $equip[$ir['equip_armor']]['itmpic'] . "</td><td><a href='unequip.php?type=equip_armor'>Unequip Item</a></td>"; } else { echo "None equipped.</td><td>&nbsp;</td>"; } $itmpic = ($i['itmpic']) ? "<img src='{$i['itmpic']}' class='thumbnail' style='background-color: transparent;' width='50px' height='50px'>" : ''; echo "</tr> </table><hr /> <h3>Inventory</h3><hr />"; $inv = $db->query( "SELECT `inv_qty`, `itmsellprice`, `itmid`, `inv_id`, `effect1_on`, `effect2_on`, `effect3_on`, `itmname`, `itmpic`, `weapon`, `armor`, `itmtypename` FROM `inventory` AS `iv` INNER JOIN `items` AS `i` ON `iv`.`inv_itemid` = `i`.`itmid` INNER JOIN `itemtypes` AS `it` ON `i`.`itmtype` = `it`.`itmtypeid` WHERE `iv`.`inv_userid` = {$userid} ORDER BY `i`.`itmtype` ASC, `i`.`itmname` ASC"); if ($db->num_rows($inv) == 0) { echo "<b>You have no items!</b>"; } else { echo "<b>Your items are listed below.</b><br /> <table width=100% class=\"table\" border=\"0\" cellspacing=\"1\"> <tr> <td class=\"h\">Item</td> <td class=\"h\">Img</td> <td class=\"h\">Sell Value</td> <td class=\"h\">Total Sell Value</td> <td class=\"h\">Links</td> </tr>"; $lt = ""; while ($i = $db->fetch_row($inv)) { if ($lt != $i['itmtypename']) { $lt = $i['itmtypename']; echo "\n<tr> <td colspan='4'> <b>{$lt}</b> </td> </tr>"; } if ($i['weapon']) { $i['itmname'] = "<span style='color: red;'>*</span>" . $i['itmname']; } if ($i['armor']) { $i['itmname'] = "<span style='color: green;'>*</span>" . $i['itmname']; } echo "<tr> <td>{$i['itmname']}"; if ($i['inv_qty'] > 1) { echo "&nbsp;x{$i['inv_qty']}"; } $itmpic = ($i['itmpic']) ? "<img src='{$i['itmpic']}' class='thumbnail' style='background-color: transparent;' width='50px' height='50px'>" : ''; echo "</td> <td> {$itmpic} </td> <td>" . money_formatter($i['itmsellprice']) . "</td> <td>"; echo money_formatter($i['itmsellprice'] * $i['inv_qty']); echo "</td> <td> [<a href='iteminfo.php?ID={$i['itmid']}'>Info</a>] [<a href='itemsend.php?ID={$i['inv_id']}'>Send</a>] [<a href='itemsell.php?ID={$i['inv_id']}'>Sell</a>] [<a href='imadd.php?ID={$i['inv_id']}'>Add To Market</a>]"; if ($i['effect1_on'] || $i['effect2_on'] || $i['effect3_on']) { echo " [<a href='itemuse.php?ID={$i['inv_id']}'>Use</a>]"; } if ($i['weapon'] > 0) { echo " [<a href='equip_weapon.php?ID={$i['inv_id']}'>Equip as Weapon</a>]"; } if ($i['armor'] > 0) { echo " [<a href='equip_armor.php?ID={$i['inv_id']}'>Equip as Armor</a>]"; } echo "</td> </tr>"; } echo "</table>"; $db->free_result($inv); echo "<small><b>NB:</b> Items with a small red </small><span style='color: red;'>*</span><small> next to their name can be used as weapons in combat.<br /> Items with a small green </small><span style='color: green;'>*</span><small> next to their name can be used as armor in combat.</small>"; } $h->endpage();
  11. already found it thx
  12. hey i have this line in my daily cron $db->query("UPDATE `users` SET `steps`=`steps`= 100 WHERE `steps` < 100"); so steps in users schould get 100 each day but the line doesnt work did i overlook something ? or is it sql related ? sql is steps int11 unsigned
×
×
  • Create New...