Jump to content
MakeWebGames

Rdogg

Members
  • Posts

    46
  • Joined

  • Last visited

    Never

Rdogg's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. no i didnt lol ... please know what ur talking about before saying anything..
  2. has alot of mccodes file? it has none just the same name..
  3. it is my own engine... has nothing to do mccodes , it may look like it bu t it isnt
  4. sorry guys, try now username: Test123 pass: test123
  5. lol o yeh http://damafia.heyup.me
  6. i have no examples(kind of) you can visit damafia.heyup.com game im developing , engine made by me user:demo pass:demo1
  7. I Will Code Simple Mods For You Guys , Cheap $$ post what you want coded here along with a price offer and leave your msn :)   i really need the $$ Paypal email: [email protected]
  8. Re: Building Mods - now for sale! This mod SUCKS, ass -mat- :D
  9. Re: grapics need will pay 15 pounds heres an example of my designs (i charge 5000 an hour)
  10. i just added the drug mod [ i dont know which one loool] and i get this error QUERY ERROR: Unknown column 'df_dayleft' in 'field list' Query was INSERT INTO `drug_farm` (`df_id`, `df_user`, `df_drug`, `df_dayleft`) VALUES ('NULL', '1', '1', '');   this is my query for that bit: $db->query("INSERT INTO `drug_farm` (`df_id`, `df_user`, `df_drug`, `df_dayleft`) VALUES ('NULL', '$userid', '$_POST[drug]', '$r[drug_growdays]');");   please help
  11. i installed the slots from nyna and it gives me a error Warning: Illegal offset type in /home/rdogg/public_html/slots.php on line 130     my slots.php <?php include("./globals.php"); global $db, $h, $ir, $userid, $c; $am2bet = 100; // how much it costs to bet for the following if statement. if ($ir['money'] < $am2bet) { echo 'You don\' have enough money to play >[url="index.php"]Go Home[/url]'; $h->endpage(); exit; } $am2bet = 100; // how much it costs to bet for the following if statement. if ($ir['money'] < $am2bet) { echo 'You don\' have enough money to play >[url="index.php"]Go Home[/url]'; $h->endpage(); exit; } $tokens = null; $sql = sprintf("SELECT `Tokens` FROM `mod_slots` WHERE (`User` = %d)", $userid); $rs = $db->query($sql); if ($db->num_rows($rs)) { $row = $db->fetch_row($rs); $tokens = $row['Tokens']; } if (is_null($tokens)) { $tokens = 75; $sql = sprintf("INSERT INTO `mod_slots` (`User`, `Tokens`) VALUES (%d, %d)", $userid, $tokens); $db->query($sql); } $wheels = array ( array // Money = $1,116,360 ( "coopoopclgobocgppbpssppsoccbobbobbpspsgbooloosspc", "olglpgclcbslsossscbgsopgglpblslsssplbpbsoloslgpgp", "ggobpcoobcpcbgpcbcplbbbgsbpgcslogcbcsbbpcslsbbcpc", ), array // Money = $1,139,490 ( "gglboosppplcgpobspcollsolpgossolsspgoossgbbossbpg", "ocsoscsppbobglpgpbbolboogcgcgosocbccpgpsbpssscbcc", "pbocppolcsglpllbccslggsgocccocgoslpbpbpsoopgollsp", ), array // Money = $1,168,030 ( "gogppsospgggsppsocglblbpcpbpccbsopbclccscbboppgso", "slgllbogbposbsoososscsogoooplgpolssblbocbopglsopp", "lclglcolclplcpgsbobpcpgcbocogsopsgggsosocoocpsbsb", ), array // Money = $1,113,230 ( "bpcsspoglpcollggppopolppbopbspbcoslccccllposbsgpp", "lpgcgcsscssososgosbcloopplsbglclggssbsoccobbllpcl", "gsocbgpsgpopoooblbcslopgpsbbpggopsbpslobplbpgoops", ), array // Money = $1,006,150 ( "lcbblslpggppboobscslllollgbloooblcsgpslsoopgpssso", "spcobpppgplposbcpppcplcpppocgoslcsolsssslgpplcblp", "bsslplgggpoocppcgcbblglogbpsppopbppocbpsobloslbbo", ), array // Money = $1,175,040 ( "lpopolollgglglsogpblglpsogsolppolpoppbcgscbooolsl", "clpssgblsplcbopgcpolppobssoclogsgbgpscpsogcocpgsc", "oppogcspplgpoogbbggcpccpccooblcbscobpsbgoppssbbps", ), array // Money = $1,138,370 ( "plgopssgsbclollblpslbspolpsscspcpbpslbglbssccogog", "ggpscbgcgssoopcpgscssslcllcsocppcppgpoosppgllgpps", "pgslgopsbllcolpgslooopgplcsocblgsgcssgblcsclgogpg", ), array // Money = $1,164,030 ( "pbgpgclgogbllslplsbpscpobogcsbglslgssllgspbbslbog", "ocsllcccgocobplpocpcloglocopoogpsolpgolpsglssgcpg", "glpbssopcbbogppspgbbpplbclboglocbppcpsopopbgggopo", ), array // Money = $1,096,070 ( "slosplsbsglsgssggspllsccsclcppcpollsloogplgpbgllb", "ggosslccgbopcbboooosogsolocpgsbbclgbogbpbsoppboop", "bplboosbclgopgocgspollsobobsbcgsboglobbbppbbpsobb", ), array // Money = $1,145,150 ( "lpospocpspcpclcclbcppgllgbpslspcpgooplolsoogsbslb", "psslsssgbcosblsbggopbslcgpooppbblocbbocggbslspbgg", "pogslcgcggsoppcblcpblloclcsblcogppooggssppcgsospp", ), ); $images = array ( 'b' => "bananas", 'c' => "cherries", 'g' => "grapes", 'l' => "lemon", 'o' => "orange", 'p' => "pineapple", 's' => "strawberry", ); if (!isset($_SESSION['wheel'])) $_SESSION['wheel'] = mt_rand(0, 10); echo "<style type='text/css'>"; echo "table.ni { width:95%;border-collapse:collapse; }"; echo "table.ni th { border:solid 1px #999;background:#F6F6F6;padding:3px; }"; echo "table.ni td { border:solid 1px #999;padding:3px; }"; echo "</style>"; echo "<h3>Slots</h3>"; echo "<table cellpadding='0' cellspacing='0' class='ni'>"; echo "<tr>"; echo "<th class='sub'>Fruit Machine</th>"; echo "<th class='sub' style='width:13em;'>All 3 The Same</th>"; echo "<th class='sub' style='width:13em;'>First 2 The Same</th>"; echo "</tr>"; echo "<tr>"; echo "<td style='vertical-align:top;text-align:center;'>"; $wheel = $wheels[$_SESSION['wheel']]; $index1 = mt_rand(1, 49) - 1; $index2 = mt_rand(1, 49) - 1; $index3 = mt_rand(1, 49) - 1; $wheel1 = $wheel[0] . $wheel[0] . $wheel[0]; $wheel2 = $wheel[1] . $wheel[1] . $wheel[1]; $wheel3 = $wheel[2] . $wheel[2] . $wheel[2]; $index1 += 49; $index2 += 49; $index3 += 49; echo "<table cellpadding='0' cellspacing='0' style='border-collapse:collapse;margin:100px auto;background:white;'>"; echo "<tr style='background:#DDD;'>"; echo sprintf("<td>[img=slots/%s_gray.png]</td>", $images[$wheel1[$index1 - 1]]); echo sprintf("<td>[img=slots/%s_gray.png]</td>", $images[$wheel2[$index2 - 1]]); echo sprintf("<td>[img=slots/%s_gray.png]</td>", $images[$wheel3[$index3 - 1]]); echo "</tr>"; echo "<tr>"; echo sprintf("<td>[img=slots/%s.png]</td>", $images[$wheel1[$index1]]); echo sprintf("<td>[img=slots/%s.png]</td>", $images[$wheel2[$index2]]); echo sprintf("<td>[img=slots/%s.png]</td>", $images[$wheel3[$index3]]); echo "</tr>"; echo "<tr style='background:#DDD;'>"; echo sprintf("<td>[img=slots/%s_gray.png]</td>", $images[$wheel1[$index1 + 1]]); echo sprintf("<td>[img=slots/%s_gray.png]</td>", $images[$wheel2[$index2 + 1]]); echo sprintf("<td>[img=slots/%s_gray.png]</td>", $images[$wheel3[$index3 + 1]]); echo "</tr>"; echo "</table>"; if ($tokens == 0) { echo "You have no more casino tokens "; echo "You will get another 75 or so at midnight game time "; } else if ($ir['money'] <= 0) { echo "You don't have any money left! "; echo "Better do some more work! "; } else { echo "<form action='slots.php' method='post'>"; echo "<input type='hidden' name='slots' value='1234' />"; echo "<input type='submit' value='Play $100' />"; echo "</form>"; } echo " "; if (isset($_POST['slots']) && is_string($_POST['slots']) && ($_POST['slots'] === "1234") and $ir['money'] >= 100){ $win = 0; $bet = 100; $letter1 = $wheel1[$index1]; $letter2 = $wheel2[$index2]; $letter3 = $wheel3[$index3]; if (($letter1 == $letter2) && ($letter2 == $letter3)) { switch ($letter1) { case "b": $win = 700; break; case "c": $win = 600; break; case "g": $win = 500; break; case "l": $win = 400; break; case "o": $win = 300; break; case "p": $win = 200; break; case "s": $win = 100; break; } } else if ($letter1 == $letter2) { switch ($letter1) { case "b": $win = 70; break; case "c": $win = 60; break; case "g": $win = 50; break; case "l": $win = 40; break; case "o": $win = 30; break; case "p": $win = 20; break; case "s": $win = 100; break; } } if ($win) echo sprintf("<span style='color:#070;'>You win $%d</span>", $win); else echo "<span style='color:#C00;'>You lose</span>"; $sql = sprintf("UPDATE `users` SET `money` = `money` + %d WHERE (`userid` = %d)", $win - $bet, $userid); $db->query($sql); $sql = sprintf("UPDATE `mod_slots` SET `Tokens` = `Tokens` - 1 WHERE ((`User` = %d) AND (`Tokens` > 0))", $userid); $db->query($sql); } echo "</td>"; echo "<td style='vertical-align:top;text-align:center;'>"; echo "[img=slots/bananas.png]"; echo "[img=slots/bananas.png]"; echo "[img=slots/bananas.png]"; echo " $700 "; echo "[img=slots/cherries.png]"; echo "[img=slots/cherries.png]"; echo "[img=slots/cherries.png]"; echo " $600 "; echo "[img=slots/grapes.png]"; echo "[img=slots/grapes.png]"; echo "[img=slots/grapes.png]"; echo " $500 "; echo "[img=slots/lemon.png]"; echo "[img=slots/lemon.png]"; echo "[img=slots/lemon.png]"; echo " $400 "; echo "[img=slots/orange.png]"; echo "[img=slots/orange.png]"; echo "[img=slots/orange.png]"; echo " $300 "; echo "[img=slots/pineapple.png]"; echo "[img=slots/pineapple.png]"; echo "[img=slots/pineapple.png]"; echo " $200 "; echo "[img=slots/strawberry.png]"; echo "[img=slots/strawberry.png]"; echo "[img=slots/strawberry.png]"; echo " $100 "; echo "</td>"; echo "<td style='vertical-align:top;text-align:center;'>"; echo "[img=slots/bananas.png]"; echo "[img=slots/bananas.png]"; echo " $70 "; echo "[img=slots/cherries.png]"; echo "[img=slots/cherries.png]"; echo " $60 "; echo "[img=slots/grapes.png]"; echo "[img=slots/grapes.png]"; echo " $50 "; echo "[img=slots/lemon.png]"; echo "[img=slots/lemon.png]"; echo " $40 "; echo "[img=slots/orange.png]"; echo "[img=slots/orange.png]"; echo " $30 "; echo "[img=slots/pineapple.png]"; echo "[img=slots/pineapple.png]"; echo " $20 "; echo "[img=slots/strawberry.png]"; echo "[img=slots/strawberry.png]"; echo " $100 "; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<p style='color:#CCC;'>An open-source extension from [url='http://nyna.co.uk/']Nyna[/url]</p>"; $h->endpage(); ?>
  12. Re: [need help]car mod could u help me add it? :wink:
  13. Re: [need help]car mod no other files have it
  14. Re: [need help]car mod line 1 to 15   <?php include "globals.php"; global $h; print "<h3>Tuning Shop</h3><hr /> > [url='garage.php']Back To Garage[/url]<hr />"; if(!$_GET['id']) { die("Invalid Usage"); } $q=$db->query("SELECT cp.*,ct.* FROM cars_playercars cp LEFT JOIN cars_types ct ON ct.carID=cp.cpcCAR WHERE cp.cpcID={$_GET['id']} AND cp.cpcPLAYER=$userid"); if($db->num_rows($q) == 0) { die("Invalid Car"); } $r=$db->fetch_row($q); $cost['acc']=$r['carACC']*power($r['cpcACCLV']+1,4)*($r['cpcACCLV']*$r['carACC']*10); $cost['han']=$r['carHAN']*power($r['cpcHANLV']+1,4)*($r['cpcHANLV']*$r['carHAN']*10); $cost['spd']=$r['carSPD']*power($r['cpcSPDLV']+1,4)*($r['cpcSPDLV']*$r['carSPD']*10); $cost['shd']=$r['carSHD']*power($r['cpcSHDLV']+1,4)*($r['cpcSHDLV']*$r['carSHD']*10); if($_GET['buy']) {
  15. Re: [need help]car mod nope
×
×
  • Create New...