
MDK666
Members-
Posts
268 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by MDK666
-
Re: [mccode v2] Fishing Mod yes i have but i dont like it :-D so ha. :-P
-
Re: [MCCode V2] Tabbed Explore [MCC V2] not bad i give u a +1 for trying.
-
Re: [mccode v2] Fishing Mod http://www.the-dark-ones.co.cc thats mine :) but im haveing troubles with my crons since i switched servers can anyone help me its all of them the emails tell me it cant connect to the host
-
Re: [mccode v2] Fishing Mod thast the same version i made bullseye :-) i see u used it because u must like it but were talkin about a join project, ok back to the main subject, i myself have msn as for my co-president im not sure if he does but you guys just give me your msn emails and ill add you and speak to him about getting it if he doesnt
-
Re: [mccode v2] Fishing Mod im not exactly a skilled coder im still a newbie, but im stilll learning as i go, as for my co-president he does graphics and is a elite coder, and same with shaved im not sure aboout the msn i know that shaved does have yahoo, when my co-president gets on ill speak to him about it.
-
Re: [mccode v2] Fishing Mod ok i got an answer from the co-president and were willing to do a joint project but we'll all need to do a conference in yahoo messenger so we know everyone and know what everyones talents are and some small rules and regelations on the project so if shaved bravada and the other one sorry i forgot your name id need you guys to get yahoo messenger and reply back to this post with your screen name or pm me them, as for anyone else who wants to join ill also need screen names and well also need to know your experience on codeing or skills you might have. thanks sincerely, MDK666
-
Re: [mccode v2] Fishing Mod Now why would you want to make Cash from it. None of the Freebie script on here are good enough to be made money from even the ones i do thats why ive always put mine up for Free.. Now if your going to make somthing like A whole new system where by YOU can name the Currency of the game and alter the name crystals to become wat ever you want. add more type of Characters otehr than member v NPCS then yeah that would be worth dipping into my pocket for.. But an easy way to make money gain exp or crystals from a {Paid mod is a pure waste of time.. Just my thoughts :) i would guys, its a great idea on the co-project but im currently working on my hosting site at the moment and im also switching servers, but i will speak to my co-president of my business and see what he thinks on the subject, the only problem there is that we will require the few who work on it has to have yahoo messenger to keep in contact along with being available atleast 6-10hrs a day if possible so ill get back to you guys on this one.
-
Re: Giveing away free mods.. lol it was a try
-
Removed: Illigal distribution of stolen source code/scripts
-
Re: [mccode v2] Fishing Mod well i have my own reseller server as of today so ill be do hosting, but thats not what i came to say, i like the idea of a joint site i have other game engines to use if needed too also im working on a joint game at the moment if you or anyone wants to join let me know but theres 1 requirement which is to have yahoo or msn but id prefer yahoo so contact me if so and if u need hosting let me know or go to http://www.thedarkhosting.com which is my main site its not all that good right now since i got it up and running last night. Now why would you want to make Cash from it. None of the Freebie script on here are good enough to be made money from even the ones i do thats why ive always put mine up for Free.. Now if your going to make somthing like A whole new system where by YOU can name the Currency of the game and alter the name crystals to become wat ever you want. add more type of Characters otehr than member v NPCS then yeah that would be worth dipping into my pocket for.. But an easy way to make money gain exp or crystals from a {Paid mod is a pure waste of time.. Just my thoughts :)
-
Re: [mccode v1]Starter Pack Item Sorry, this item cannot be used as it has no effect. thats what i get when i try to use it
-
[mccodes v2] Find random items while playing the game...
MDK666 replied to MDK666's topic in Free Modifications
Re: [mccodes v2] Find random items while playing the game... tnks -
[mccodes v2] Find random items while playing the game...
MDK666 replied to MDK666's topic in Free Modifications
Re: [mccodes v2] Find random items while playing the game... it should work in both because its not requireing files or anything. im not exactly sure becuase i use v2 -
Re: [mccode v2] Fishing Mod well i added you my screen name is andrew_032686
-
Re: [mccode v2] Fishing Mod well its hard to explain in a way and i dont want to have to keep checking here on ce for feedback so is i possible for me to be able to add you?
-
Re: [mccode v2] Fishing Mod tnks im currently trying to figure out how to require a person to have a boat, net, and lure to fish, it wont be items but more of a query but im confused so yea, do u have yahoo or msn so i can talk to you more in-depth of how i want it and if u could help me.
-
fish.php <?php require "globals.php"; global $c; $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 fishing docks. . </center>"; print "<center> <u>Fishing Docks</u> [[url='fish.php?action=fish']Go Fishing[/url]] </center>"; } /** ** This is the main part you see when you come into the php page **/ 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_fish = rand(1,5000); $rand_money = rand(1000,10000); $rand_exp = rand(1,100); echo "<center>You begin fishing and found $rand_fish fish, you took them to the fish market and sold them for $rand_money money, and gained $rand_exp exp</center> You Currently can fish {$ir['fishing_aloud']} more times"; mysql_query("UPDATE users SET money=money+'$rand_money',exp=exp+'$rand_exp' 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 **/ ?> Add this sql ALTER TABLE `users` ADD `fishing_aloud` int(11) NOT NULL DEFAULT '20'; open: cron_day.php Add: $db->query("UPDATE users SET fishing_aloud=20");
-
Re: [mccode v2] Drugs Corner thanks a bunch i really appreciate it
-
Re: [mccode v2] Drugs Corner to fix that open staff_special.php find: case 'massmailer': massmailer(); break; add below: case 'adddrugs': add_drugs(); break; save and close that should fix that problem. now can somoene help me out here i been looking for a starter pack script anyone know where i can find one.
-
Re: [mccode v2] Drugs Corner well i finished the admin panel to add a drug from staff panel instead of phpmyadmin and here it is. open smenu.php find: <tr><td> [url='staff_special.php?action=givedpform']Give User Donator Pack[/url]</td></tr> add below: <tr><td> [url='staff_special.php?action=adddrugs']Add Drug TO Drug Corner[/url]</td></tr> save and close open staff_special.php find: print "[b]Mass Mailer[/b] <form action='staff_special.php?action=massmailer' method='post'> Text: <textarea name='text' rows='7' cols='40'></textarea> <input type='radio' name='cat' value='1' /> Send to all members <input type='radio' name='cat' value='2' /> Send to staff only <input type='radio' name='cat' value='3' /> Send to admins only OR Send to user level: <input type='radio' name='level' value='1' /> Member <input type='radio' name='level' value='2' /> Admin <input type='radio' name='level' value='3' /> Secretary <input type='radio' name='level' value='5' /> Assistant <input type='submit' value='Send' /></form>"; add below: function add_drugs() { global $c, $ir, $h; if($_POST['DrugsInfo']) { $dNAME = htmlentities ($_POST['dNAME'], ENT_QUOTES); $dSEX = htmlentities ($_POST['dSEX'], ENT_QUOTES); $dDRUG = htmlentities ($_POST['dDRUG'], ENT_QUOTES); $dEFFECT = htmlentities($_POST['dEFFECT'], ENT_QUOTES); $energy = abs((int) $_POST['energy']); $will = abs((int) $_POST['will']); $brave = abs((int) $_POST['brave']); $health = abs((int) $_POST['health']); $dPRICE = abs((int) $_POST['dPRICE']); $dQTY = abs((int) $_POST['dQTY']); $dOD = abs((int) $_POST['dOD']); // Create the drug... mysql_query("INSERT INTO drugs (dID, dNAME, dSEX, dDRUG, dEFFECT, energy, will, brave, health, dPRICE, dQTY, dOD) VALUES('$i', '$dNAME', '$dSEX', '$dDRUG', '$dEFFECT', '$energy', '$will', '$brave', '$health', '$dPRICE', '$dQTY', '0')"); echo "The drug has been added to the game "; // Catch the drug id... $i = mysql_insert_id($c); echo "Complete!!"; } else { echo " <table width = '50%' border = '1'> <tr> <th>Drugs Info</th> </tr> <tr> <td align = 'center'> Dealers Name <form action = 'staff_special.php?action=adddrugs' method = 'post'> <input type = 'text' name = 'dNAME' value = ''> Dealers Sex <input type = 'text' name = 'dSEX' value = ''> Dealers Drug <input type = 'text' name = 'dDRUG' value = ''> Drug Effect <input type = 'text' name = 'dEFFECT' value = ''> Energy <input type = 'text' name = 'energy' value = ''> Will <input type = 'text' name = 'will' value = ''> Brave <input type = 'text' name = 'brave' value = ''> Health <input type = 'text' name = 'health' value = ''> Drug Price <input type = 'text' name = 'dPRICE' value = ''> Drug Quantity <input type = 'text' name = 'dQTY' value = ''> <input type = 'hidden' name = 'DrugsInfo' value = 'True'> </td> </tr> <tr> <th>Finished?</th> </tr> <td align = 'center'> <input type = 'submit' name = 'submit' value = 'Submit'> </form> </td> </tr> </table>"; } } save and close after that it should work from the staff menu. any problems let me know
-
Re: [mccode v2] Drugs Corner exactly as ColdK has said ill be working on a staff panel to add drugs soon so untill then ull need to do it through phpmyadmin
-
here is a small script i did while i was bored, and had nothing else to do or think of, you can edit it and whatever you want with it at your own free will... drug_corner.php <?php include "globals.php"; $_GET['ID']= abs((int) $_GET['ID']); print "<h2>{$set['game_name']} Drug Corner</h2>"; switch($_GET['action']) { case "buy": buy(); break; default: index(); break; } function index() { global $db; print " You walk along the {$set['game_name']} streets and see a bunch of people hanging out in a corner near the shops, you walk over to see the guy in charge, he asks you if you need any drugs, you tell him your interested and he shows you. <table class='table' border='0' width='60%'> <tr> <th>Dealer</th> <th>Drug Name</th> <th>Price</th> <th>Drugs Left</th> <th>Buy</th> </tr>"; $drugies=$db->query("SELECT * FROM drugs"); while($drugies=$db->fetch_row($$drugies)) { print "<tr> <td>{$drugies['dNAME']}</td> <td>{$drugies['dDRUG']}</td> <td>\${$drugies['dPRICE']}</td>"; if($drugies['dQTY'] == 0) { $qty="None!"; } else { $qty="{$drugies['dQTY']}"; } print "<td>{$qty}</td> <td>[url='drug_corner.php?action=buy&ID={$drugies[']Buy[/url]</td> </tr>"; } print "</table>"; } function buy() { global $db,$userid,$ir; print "<h4>Buying Drug</h4>"; $_GET['ID']= abs((int) $_GET['ID']); if(!$_GET['ID']) { print "Not buying a drug??"; } if(!$_GET['ID']) { print "Invalid use of file"; } $aq=$db->query("SELECT * FROM drugs WHERE dID={$_GET['ID']}"); if($db->num_rows($aq) == 0) { print "Invalid drug ID"; } $drugies=$db->query("SELECT * FROM drugs WHERE dID={$_GET['ID']}"); $drugies=$db->fetch_row($$drugies); $price=$drugies['dPRICE']; $will=$drugies['will']; $energy=$drugies['energy']; $brave=$drugies['brave']; $hp=$drugies['health']; if($drugies['dQTY'] == 0) { die("{$drugies['dNAME']} is out of {$drugies['dDRUG']}!"); } if($ir['money'] < $price) { die("You dont have enough money to buy {$drugies['dDRUG']} off {$drugies['dNAME']}!"); } $db->query("UPDATE users SET money=money-$price,energy=energy+{$energy},brave=brave+{$brave},hp=hp+{$hp},will=will+{$will} WHERE userid=$userid"); $db->query("UPDATE users SET will=maxwill WHERE will > maxwill"); $db->query("UPDATE users SET energy=maxenergy WHERE energy > maxenergy"); $db->query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave"); $db->query("UPDATE users SET hp=maxhp WHERE hp > maxhp"); $db->query("UPDATE drugs SET dQTY=dQTY-1 WHERE dID={$drugies['dID']}"); echo str_replace('$name', $drugies['dNAME'], $drugies['dEFFECT']); print " [url='drug_corner.php']Back[/url]"; } $h->endpage(); ?> sql CREATE TABLE `drugs` ( `dID` int(11) NOT NULL auto_increment, `dNAME` varchar(255) NOT NULL default 'Some Guy', `dSEX` varchar(3) NOT NULL default 'him', `dDRUG` varchar(255) NOT NULL default 'Some Drug', `dEFFECT` text NOT NULL, `energy` int(11) NOT NULL default '0', `will` int(11) NOT NULL default '0', `brave` int(11) NOT NULL default '0', `health` int(11) NOT NULL default '0', `dPRICE` int(11) NOT NULL default '0', `dQTY` int(11) NOT NULL default '0', `dOD` int(11) NOT NULL default '0', PRIMARY KEY (`dID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; INSERT INTO `drugs` VALUES (1, 'Josh', 'him', 'Weed', 'You light up the weed with your lighter and start taking big puffs, you pass it to $name and pass back and forth for a few minutes then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 10, 10, 2, 10, 100, 999999, 0); INSERT INTO `drugs` VALUES (2, 'John', 'him', 'Hash', 'You start lighting up the hash in your hash pipe with your lighter and start taking big puffs, you pass it to $name and pass back and forth for a few minutes then you walk home. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 20, 20, 4, 20, 200, 999999, 0); INSERT INTO `drugs` VALUES (3, 'Jay', 'him', 'Shrooms', 'You start eating the shrooms with $name, you start seeings some crazy stuff in the alleys so you tell $name your going to head home, befor you left you ate the rest of the shrooms. While walking home you feel all happy and braver, all you want to do is do some illegal activity.', 30, 30, 6, 30, 300, 999999, 0);
-
[mccodes v2] Find random items while playing the game...
MDK666 posted a topic in Free Modifications
this is a small but simple mod to add into your game... open header.php and add this in around the middle of the file //-- Finding items query $fia=(int) rand(10,99); $fib=(int) rand(10,99); if($fia == $fib) { $iq=mysql_query("SELECT * FROM items WHERE itmbuyable=1 ORDER BY rand() LIMIT 1",$c); $r=mysql_fetch_array($iq); $item=$r['itmid']; $userid=$ir['userid']; mysql_query("INSERT INTO inventory VALUES ('', $item, $userid, 1)",$c); event_add($userid,"While Playing The Game You Found A {$r['itmname']} Think Of It As A Present For Playing The Game.",$c); } -
mccode-v2 New and improved inventory code sources for free!
MDK666 replied to MDK666's topic in Free Modifications
Re: [mccodes v2]New and improved inventory code sources for free! you can use any stat by selecting it in the effect area.. and u supply the info on if u want 12% or 12 which 12 percent is 12% and 12 value is just 12 -
mccode-v2 New and improved inventory code sources for free!
MDK666 replied to MDK666's topic in Free Modifications
Re: [mccodes v2]New and improved inventory code sources for free! thanks illusions for pointing this out i think this is some of the errors everyone is haveing on the mod. for everyone who wants to know what my site is at its at: http://www.the-dark-one.co.cc