Jump to content
MakeWebGames

b4ugobye

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Everything posted by b4ugobye

  1. Re: Advanced Tax Mod [$5] has this project been scrapped or is the updated mod coming still... I'm interested in buying it if its finished.
  2. Re: [mccode v2] Fishing Mod $item=136; $it=mysql_query("SELECT inv_itemid FROM `inventory` WHERE `inv_itemid` = $item AND `inv_userid` = $userid"); if you notice above... my fishing kit is item #136 .... the sql line then works with it to remove. Not sure why you have to change it, as it works like that.
  3. Re: Cock Fight [$10] I feel compelled to buy this to see how many of my players will enjoy playing with their cock.... Robert, you have sent $10.00 USD to Isomerizer Network.
  4. Re: [MC-Codes][V2]Thugs (core system) same problem here.. added item to staff_thugitems then purchased by using upgrade.. says i bought it, but not listed.
  5. Re: Requesting - [Mccodes V2} Shared house mod agreed... even the one we use shared housing works, but you cannot upgrade property without divorcing first... its better than nothing, but still not up to par.
  6. Re: [mccode v2] Fishing Mod   you mean you used my recode but didnt set the line 4 and editted the remove line? if your fishing kit is ittem #69 you want to change line 4 to 69 and leave the 1 in the remove item line.... 1 is the amount of items being removed.... your code is saying to remove 69 of the items
  7. Re: [mccode v2] Stock Market. Working + Secured looking good so far. +1
  8. Re: Great Potential lets give him props for trying and sharing, as he stated he is still new to php coding... instead of lol'ing about too many querys and telling him to use just 1... help him along and post the one query. :-D
  9. Re: BBCODE Youtube   I'm using V2, and dont see that line, where would the code to add go in V2? I have it in forums.php ,but I dont use the mc forum, i use an external forum, but I dont see any engines in viewuser.php
  10. Re: [mccodes V2] Add any type of video media to your game if anyone gets an sql error on that last sql addition (like I did) drop the ' ' and use: ALTER TABLE users ADD preview INT( 2 ) NOT NULL DEFAULT '0'
  11. Re: [mccodes V2] Add any type of video media to your game I actually got one to work, maybe it was just the youtube video i was trying earlier wasnt compatible. Going to try a couple others and see what happens.
  12. Re: [mccodes V2] Add any type of video media to your game same issue, fill in the information, click add, resets to blank form and nothing inserted into the sql. while trying to figure out why its not working, a couple things dont make sence in staff_videos.php.... shouldnt name be artist and title be tracktitle in the db query? Also I see a reference to ={$_POST['video']}"); in there and also in global func... is this a missing sql entry or am I missing something?
  13. Re: [mccode v2] Fishing Mod     You have just ripped off Deadly States tag line Tut tut. Bawt will not be happy http://deadlystate.com/login.php http://www.chavsterv1.co.cc/login.php   took me a minute, but no, he is saying H1TM4N stole a game tag "Dare to cross the line"
  14. Re: [mccode v2] Fishing Mod heres my recode of this mod, theres no crystals and no exp, but theres some cash for selling your fish... so mostly its for fun, they way fishing is supposed to be. make sure you create item fishing kit and put it in a shop, perhaps a sporting goods store, or bait shop.... take note of the item id and replace the one in line 4 ($item=136) fish.php   <?php include "globals.php"; global $c; $item=136; $it=mysql_query("SELECT inv_itemid FROM `inventory` WHERE `inv_itemid` = $item AND `inv_userid` = $userid"); if(mysql_num_rows($it) < 1) { print "You Dont have a Fishing Kit!"; die; } $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()); $ir=mysql_fetch_array($is); switch($_GET['action']) { case 'fish': fish_1(); break; case 'fishsub': fish_1_sub(); break; default: fish_index(); break; } /** ** Calls the cases so fish.php?fish **/ function fish_index() { global $ir,$c,$userid; print "<center>Welcome to the Lost City fishing docks. </center>"; Print "<center> You Get 10 Fish Hooks a day dont waste them </center>"; print "<center> <u>Grab a boat and go Fishing!</u> [[url='fish.php?action=fish']Go Fishing[/url]] </center>"; } if ($ir['jailtime'] > 0){ print "<center>The docks are closed to jail birds come back when thay release you</center>"; exit; } if ($ir['hospital'] > 0){ print "<center>You cant go fishing while in hospital</center>"; exit; } /** ** That makes sure you are not in jail or hospital **/ function fish_1() { global $ir,$c,$userid; if($ir['fishing_aloud'] < 1){ print "You have {$ir['fishing_aloud']} fishing times left"; exit; } mysql_query("UPDATE users SET fishing_aloud=fishing_aloud-1 WHERE userid=$userid",$c); $rand_rock = rand(1,20); $rand_fine = rand(1,18); $rand_fish = rand(1,500); $rand_weight = rand(1,20); if ($rand_weight < 6){ $rand_money = rand(10,100); } if ($rand_weight > 5){ $rand_money = rand(10,1000); } if ($rand_fine == 7) { echo "<center>You were pulled over by the fish and game warden and fined $3000 for catching undersized fish.</center> You should be more carefull about the fish you keep"; mysql_query("UPDATE users SET money=money-3000 WHERE userid=$userid",$c); } if ($rand_rock == 6) { echo "<center>You hit a jagged rock and your boat just sank, good thing you had a life vest on.</center> You should be more carefull where your rowing"; item_remove($userid, $item, 1); } echo "<center>You begin fishing and caught $rand_fish fish, you took them to the fish market and sold them for $ $rand_money . Your heaviest fish was $rand_weight pounds.</center> You Currently can fish {$ir['fishing_aloud']} more times"; mysql_query("UPDATE users SET money=money+$rand_money WHERE userid=$userid",$c); print "<center> [[url='fish.php?action=fish']Fish again[/url]]</center> "; print "<center>[[url='fish.php']Back[/url]]</center> "; } /** ** This is all the stuff that makes the script/mod work ** You shouldnt need to change it enless you want to ** make something add or have different MYSQL Tables **/ $h->endpage(); exit; ?>
  15. Re: [mccode v2] Fishing Mod I have edited this mod to my liking. In my game, you wont get crystals, nor exp, but you will get cash on a basis of how large the fish you catch, example, if your biggest fish weighed 15 pounds, you get more cash than if the largest was 3 pounds. You have to buy a fishing kit before you can fish, or else you cannot access the page. Also I made a random negative result, as in, randomly, the fish and game warden will stop you and fine you $3000 for keeping undersized fish. My next edit, which i may get to today, on a random occurrence, you will hit a rock with your boat, and have to buy a new fishing kit to continue fishing. After I get the last part in place, I'll post it here if anyone wants it.
  16. Re: [Mccodes V2]Emergency Surgery I'll give it a shot and see how it goes with a couple tweaks. For one, the success rate of 1 and 3 .... think I'll make it 1 and 5 and add another outcome.. perhaps the surgery cost more than expected and you owe another x amount of dollars.
  17. Re: Businesses Mod [Mccode V2]   did you add the lines to global_func.php as stated in Richards original post?
  18. Re: Businesses Mod [Mccode V2] I agree, keep it open untill adjustment period, and all bugs worked out, but yes, would like the rest of the code when you get it complete. If you get really bored, you can even add company specials in ;p
  19. Re: Businesses Mod [Mccode V2] thanks to richard and kix for all the hard work on this script. Just one small thing I noticed when testing this out... as company owner, I'm allowed to own the company and have a normal v2 job. Thus having 2 jobs. I am assuming employees will also be able to do so. I think we need to have that where you have to quit your job before obtaining company status.
  20. Re: [Mccodes V2] Horse Racing (small mod) After playing with this a little, it now has a listing of horses in a table, just find ny horseracing pics in your favorite image site or wherever you wish. Only editted the original coding a little bit to make it more interesting, credit still goes out to tolk for this.   <?php /* Created by ///TOLK\\\ Free for CE members Not to be Sold */ include "globals.php"; $tresder = (int) (rand(100,999)); $maxbet=$ir['level']*150; $_GET['tresde']=abs((int) $_GET['tresde']); if(($_SESSION['tresde'] == $_GET['tresde']) || $_GET['tresde']<100) $_SESSION['tresde']=$_GET['tresde']; $_GET['bet']=abs((int) $_GET['bet']); $_GET['number']=abs((int) $_GET['number']); print ' <table width="75%" border="1" cellspacing="0"> <tr> <td width="25%" bgcolor="#666666"><font color=white><center>#</center></font></td> <td width="25%" bgcolor="#666666"><font color=white><center>Horse Name</center></font></td> <td width="25%" bgcolor="#666666"><font color=white><center>Age</center></font></td> </tr> <tr> <td bgcolor="#999999">1</td> <td bgcolor="#999999">Affirmed</td> <td bgcolor="#999999"><center>6</center></td> </tr> <tr> <td bgcolor="#999999">2</td> <td bgcolor="#999999">Fourstardave</td> <td bgcolor="#999999"><center>7</center></td> </tr> <tr> <td bgcolor="#999999">3</td> <td bgcolor="#999999">Whirlaway</td> <td bgcolor="#999999"><center>4</center></td> </tr> <tr> <td bgcolor="#999999">4</td> <td bgcolor="#999999">Swaps</td> <td bgcolor="#999999"><center>8</center></td> </tr> <tr> <td bgcolor="#999999">5</td> <td bgcolor="#999999">Forego</td> <td bgcolor="#999999"><center>5</center></td> </tr> <tr> <td bgcolor="#999999">6</td> <td bgcolor="#999999">Kelso</td> <td bgcolor="#999999"><center>6</center></td> </tr> <tr> <td bgcolor="#999999">7</td> <td bgcolor="#999999">Ruffian</td> <td bgcolor="#999999"><center>7</center></td> </tr> <tr> <td bgcolor="#999999">8</td> <td bgcolor="#999999">Citation</td> <td bgcolor="#999999"><center>5</center></td> </tr> <tr> <td bgcolor="#999999">9</td> <td bgcolor="#999999">Secretariat</td> <td bgcolor="#999999"><center>6</center></td> </tr> <tr> <td bgcolor="#999999">10</td> <td bgcolor="#999999">Count Fleet</td> <td bgcolor="#999999"><center>9</center></td> </tr> <tr> <td bgcolor="#999999">11</td> <td bgcolor="#999999">Rambling Willie</td> <td bgcolor="#999999"><center>6</center></td> </tr> <tr> <td bgcolor="#999999">12</td> <td bgcolor="#999999">Genuine Risk</td> <td bgcolor="#999999"><center>4</center></td> </tr>'; print "<h3>Horse Racing: Pick a horse below and type the number</h3>"; if($_GET['bet']) { if($_GET['bet'] > $ir['money']) { die("You are trying to bet more than you have. [url='hr.php?tresde=$tresder']> Back[/url]"); } else if($_GET['bet'] > $maxbet) { die("You have gone over the max bet. [url='hr.php?tresde=$tresder']> Back[/url]"); } else if ($_GET['number'] > 12 or $_GET['number'] < 1 or $_GET['bet'] < 0) { die("The horses are only 1 - 12. [url='hr.php?tresde=$tresder']> Back[/url]"); } $slot[1]=(int) rand(1,12); print "You place your \${$_GET['bet']} on your horse. You see the number of the winning horse: [b]$slot[1][/b] You bet \${$_GET['bet']} "; if($slot[1]==$_GET['number']) { $won=$_GET['bet']*37; $gain=$_GET['bet']*36; print "and won \$$won by matching the number of your horse pocketing you \$$gain extra."; } else { $won=0; $gain=-$_GET['bet']; print "and lost it."; } $db->query("UPDATE users SET money=money+({$gain}) where userid=$userid"); $tresder = (int) (rand(100,999)); print " [url='hr.php?bet={$_GET[']> Another time, same horse and bet.[/url] [url='hr.php?tresde=$tresder']> I'll continue, but I'm changing my horse and/or bet.[/url] [url='explore.php']> Enough's enough, I'm off.[/url]"; } else { print "Ready to try your luck on a horse? Play today! <img src=horse.jpg width=150 height=100> The maximum bet for your level is \$$maxbet. <form action='hr.php' method='get'> Bet: \$<input type='text' name='bet' value='5' /> Pick (1-12) from the horses above: <input type='text' name='number' value='1' /> <input type='hidden' name='tresde' value='$tresder' /> <input type='submit' value='Start Race!!' /> </form>"; } $h->endpage(); ?>
  21. Re: [Mccodes V2] Horse Racing (small mod) something isnt quite right. I bet 11, for $5000 and this was the results.... You place your $5000 on your horse. You see the number of the winning horse: 11 You bet $5000 and lost it. > Another time, same horse and bet. > I'll continue, but I'm changing my horse and/or bet. > Enough's enough, I'm off. Also I understand theres no picture, but theres also no listing of horses...
  22. Re: MCCODE V2 LOGIN PAGE I love reading these threads... from the sarcasm to the punchline.... of course the template had "game name" in it... I think i downloaded it too, and if I remember correctly, it comes with the photoshop project file so you can edit it.
  23. Re: [review]Serious Wars I seem to like the game play but what I'm iffy on is that in less than 3 minutes, I'm already a level 2 and wondering how. Wheres the challenge?
  24. Re: [REVIEW] - DarkCyber - PLEASE REVIEW! has potential. Though, you really should make sure your basic functions are working before asking for review. I dont know what the graphics should be in mainmenu but I am sure they arent supposed to be red x's ;p Content is a little slim, perhaps adding some more mods than the standard ones will help generate users. I think making yourself a level 100 at only 3 days old may be a deterant to new players, I for one like to play as fair as I can as owner of my game. We might be game owners, but were players first. Check your sql's for added pages to newspaper as well, you have sql errors Overall for 3 days, your off to a good start but I think you jumped the gun on asking for review.
  25. Re: Airplanes [V2]     <?php include "globals.php"; include "flights_globals.php"; $_GET['cityid']=abs((int) $_GET['cityid']); $dest=$db->fetch_row($db->query("SELECT * FROM cities WHERE cityid={$_GET['cityid']}")); $_GET['plane_id']=abs((int) $_GET['plane_id']); $pl=$db->fetch_row($db->query("SELECT * FROM airplanes WHERE plane_id={$_GET['plane_id']}")); if(!$_GET['plane_id']) $_GET['to'] = abs(@intval($_GET['to'])); if(!$_GET['to']) { if($ir['passport'] < 1) { die ("You haven't got a passport, other locations will class you as an illegal immigrant! [[url='passportbuy.php']Go and buy one.[/url]]"); } if($ir['hospital'] > 1) { die ("Your in hospital, the wise thing to do is to stay their.</a>]"); } if($ir['jail'] > 1) { die ("They don't let convicts on any flights.</a>]"); } if ($ir['safehouse'] == 1) { print "You're In A Safehouse And Cannot Travel. [url='index.php']Back[/url]"; $h->endpage(); exit; } print "<h3>Your Destination: {$dest['cityname']} Showing all flights to that area....</h3>"; $ql=$db->query("SELECT * FROM airplanes WHERE plane_loc={$dest['cityid']}"); print "[b][url='flights.php']Another Location[/url] "; $q=$db->query("SELECT * FROM airplanes WHERE plane_id != {$ir['money']} AND plane_cost <= {$ir['money']}"); print "<table width=75% cellspacing=1 class='table'><tr style='background:gray'><th>Plane Company</th><th>Sell Point</th><th>Flight Price</th><th> </th></tr>"; while($r=$db->fetch_row($ql)) { print "<tr><td>{$r['plane_name']}</td><td>{$r['plane_description']}</td><td>$/{$r['plane_cost']}<td>[url='flights_fly.php?to={$dest[']Go[/url]</td></tr>"; } print "</table>"; } else { if($ir['money'] < 0) { print "You have below \$0 not a good thing while going traveling, Pay of your debts in this area first."; } else if(!$_GET['to']) { print "Invalid city ID"; } else { $q=$db->query("SELECT * FROM cities WHERE cityid = {$_GET['to']} AND cityminlevel <= {$ir['level']}"); if(!$db->num_rows($q)) { print "Error, this city either does not exist or you cannot go there."; } else { if($ir['passport'] == 0) { print "You currently don't have a passport, <a href='passport_buy.php'>click here to buy one</a>"; } $chance=rand(1,3); if ($chance == 1) { $pl=$db->fetch_row($ql); $db->query("UPDATE users SET location={$_GET['to']} WHERE userid=$userid"); $db->query("UPDATE users SET fly_time={$pl['plane_time']} WHERE userid=$userid"); $db->query("UPDATE users SET money=money-{$pl['plane_cost']} WHERE userid=$userid"); $r=$db->fetch_row($q); print "Congratulations, you safely made it to {$r['cityname']} on {$pl['plane_name']}!"; } else if ($chance == 2) { $db->query("UPDATE users SET location={$_GET['to']} WHERE userid=$userid"); $db->query("UPDATE users SET fly_time={$pl['plane_time']} WHERE userid=$userid"); $db->query("UPDATE users SET money=money-{$pl['plane_cost']} WHERE userid=$userid"); $r=$db->fetch_row($q); print "Congratulations, you safely made it to {$r['cityname']} on {$pl['plane_name']}!"; } else if ($chance == 3) { $time=rand(5,15); $db->query("UPDATE users SET hospital=hospital+ {$time } WHERE userid=$userid"); $db->query("UPDATE users SET hospreason='The Plane was hijacked by terroristed.' WHERE userid=$userid"); $r=$db->fetch_row($q); $pl=$db->fetch_row($q); print "The plane company, {$pl['plane_name']} was hijacked. You where a survivor and made it safely to hospital."; } } } } $h->endpage(); ?>   try that, should fix your error... at least that one.
×
×
  • Create New...