
b4ugobye
Members-
Posts
26 -
Joined
-
Last visited
Never
b4ugobye's Achievements
Newbie (1/14)
0
Reputation
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
mccode-v1 Stock Market. Working + Secured
b4ugobye replied to Haunted Dawg's topic in Free Modifications
Re: [mccode v2] Stock Market. Working + Secured looking good so far. +1 -
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
-
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
-
[mccodes V2] Add any type of video media to your game
b4ugobye replied to Uridium's topic in Free Modifications
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' -
[mccodes V2] Add any type of video media to your game
b4ugobye replied to Uridium's topic in Free Modifications
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. -
[mccodes V2] Add any type of video media to your game
b4ugobye replied to Uridium's topic in Free Modifications
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? -
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"
-
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; ?>
-
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.