
-Genocide-
Members-
Posts
106 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by -Genocide-
-
Re: [mccode] voting Pimped Out I am going to edit the original post so some of you can understand it a little better
-
Re: Referals Logs Very nice....def using it
-
Re: [mccode] voting Pimped Out bump :-P
-
Re: Free Starter Pack Great mod, this is exactly what I was looking for to help people get started out in my game....gets them addicted quick :P Great Work. Peace :mrgreen:
-
Re: Itempedia FREE V2 Mod... Very nice, I'll be using it
-
[mccode] Medical Insurance / Hospital Bill
-Genocide- replied to -Genocide-'s topic in Free Modifications
Re: Medical Insurance / Hospital Bill [FREE] Thanks much. -
[mccode] Medical Insurance / Hospital Bill
-Genocide- replied to -Genocide-'s topic in Free Modifications
Re: Medical Insurance / Hospital Bill [FREE] Money is supposed to go into the negative, so as soon as they have money in hand, it goes to pay the bill. -
It's been a while since most of you have seen or spoken to me, so I decided to make a little mod for us all to get reacquainted. :::::Med Insurance / Hosp Bill Mod v1::::: What it does: When a user loses a fight or is attacked, not only do they go to the hospital, but they have a bill which they pay every night when the day cron runs, unless they have insurance. insagent.php (for v1) <?php /*----------------------------------------------------- -- Medical Insurance v1 -- This is a free modification, please do not resell -- If you use this mod, please give credit -- [email][email protected][/email] -- insagent.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.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); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if($ir['hospital']>0) { print "You cant buy insurance while youre already in the hospital."; $h->endpage(); } if($ir['jail']>0) { print "You cant buy insurance while youre in jail."; $h->endpage(); } if(!$_GET['x']) { print "<center><table><table width=100% border=3 cellspacing=5 bordercolor=white>Welcome to the Insurance Agency! You have [b]{$ir['medins']}[/b] days left before you can renew your policy. How would you like to pay for your policy? <center>[url='insagent.php?x=money'] Pay With Cash - \$2500[/url] <center>[url='insagent.php?x=crystals'] Pay With Crystals - 25[/url] "; } else { if($_GET['x'] == 'money') { if($ir['money'] <2500) { print "You don't have enough money, sorry."; } else if($ir['medins'] > 0) { print "You have {$ir['medins']} days left before you must renew your policy."; } else { $_POST['money']=strip_tags($_POST['money']); $_POST['money']=mny_stripfmt($_POST['money'], ENT_QUOTES); $_POST['money']=abs((int)($_POST['money'])); mysql_query("UPDATE users SET medins=medins+30,money=money-2500 WHERE userid=$userid",$c); print "You have paid \$2,500 for a 30 day insurance policy."; } } else if($_GET['x'] == 'crystals') { if($ir['crystals'] <25) { print "You don't have enough crystals, sorry."; } else if($ir['medins'] > 0) { print "You have {$ir['medins']} days left before you must renew your policy."; } else { $_POST['crystals']=strip_tags($_POST['crystals']); $_POST['crystals']=mny_stripfmt($_POST['crystals'], ENT_QUOTES); $_POST['crystals']=abs((int)($_POST['crystals'])); mysql_query("UPDATE users SET medins=medins+30,crystals=crystals-25 WHERE userid=$userid",$c); print "You have paid 25 crystals for a 30 day insurance policy."; } } $h->endpage(); ?> insagent.php (for v2) <?php /*----------------------------------------------------- -- Medical Insurance v1 -- This is a free modification, please do not resell -- If you use this mod, please give credit -- [email][email protected][/email] -- insagent.php -----------------------------------------------------*/ include "globals.php"; if($ir['hospital']>0) { print "You cant buy insurance while youre already in the hospital."; $h->endpage(); } if($ir['jail']>0) { print "You cant buy insurance while youre in jail."; $h->endpage(); } if(!$_GET['x']) { print "<center><table><table width=100% border=3 cellspacing=5 bordercolor=white>Welcome to the Insurance Agency! You have [b]{$ir['medins']}[/b] days left before you can renew your policy. How would you like to pay for your policy? <center>[url='insagent.php?x=money'] Pay With Cash - \$2500[/url] <center>[url='insagent.php?x=crystals'] Pay With Crystals - 25[/url] "; } else { if($_GET['x'] == 'money') { if($ir['money'] <2500) { print "You don't have enough money, sorry."; } else if($ir['medins'] > 0) { print "You have {$ir['medins']} days left before you must renew your policy."; } else { $_POST['money']=strip_tags($_POST['money']); $_POST['money']=mny_stripfmt($_POST['money'], ENT_QUOTES); $_POST['money']=abs((int)($_POST['money'])); mysql_query("UPDATE users SET medins=medins+30,money=money-2500 WHERE userid=$userid",$c); print "You have paid \$2,500 for a 30 day insurance policy."; } } else if($_GET['x'] == 'crystals') { if($ir['crystals'] <25) { print "You don't have enough crystals, sorry."; } else if($ir['medins'] > 0) { print "You have {$ir['medins']} days left before you must renew your policy."; } else { $_POST['crystals']=strip_tags($_POST['crystals']); $_POST['crystals']=mny_stripfmt($_POST['crystals'], ENT_QUOTES); $_POST['crystals']=abs((int)($_POST['crystals'])); mysql_query("UPDATE users SET medins=medins+30,crystals=crystals-25 WHERE userid=$userid",$c); print "You have paid 25 crystals for a 30 day insurance policy."; } } $h->endpage(); ?> Edits for your attack files: Find the query that send the user to the hospital, should look something like this: mysql_query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='Mugged by <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a>' WHERE userid={$r['userid']}"); Under that add this: mysql_query("UPDATE users SET hospbill=hospbill+$hosptime*10 WHERE userid={$r['userid']}"); In attacklost.php it should look like this: mysql_query("UPDATE users SET hospbill=hospbill+$hosptime*10 WHERE userid={$ir['userid']}"); Add these queries to your daily cron: mysql_query("UPDATE users SET medins=medins-1 WHERE medins>0",$c); mysql_query("UPDATE users SET money=money-hospbill WHERE medins>0",$c); mysql_query("UPDATE users SET hospbill=0 WHERE hospbill>0",$c); SQL: ALTER TABLE `users` ADD `medins` BIGINT( 22 ) NOT NULL DEFAULT '0', ADD `hospbill` BIGINT( 22 ) NOT NULL DEFAULT '0'; I coded this one the spot and didnt test any of it. If I missed anything or there are features you would like to see added, let me know and I'll fix it up. Peace. :mrgreen: **Edit** Add this anywhere you would like it to display there medical bill. print "Medical Bill: /${$ir['hospbill']}";
-
Re: [FREE] Bodyguard V2.0 Anyone having problems with this mod, I have a bodyguard for v1 and v2, has different levels of protection, ie. different bodyguards protect against different things, has donator options, options to pay with money, crystals, or certain items, etc etc
-
Re: NotoriousOnline for sale Has been sold, please delete topic.
-
Re: NotoriousOnline for sale ive been on msn all day, also, please dont post about that here, leave this topic for people interested in buying the games
-
Re: NotoriousOnline for sale Current offer $3000.00 beat it or match it, first come first serve
-
Re: NotoriousOnline for sale May 13th - 20th = $612.50
-
Re: NotoriousOnline for sale you should take time and use a calculator, because you severely miscalculated, the first week posted was $612.50, not including money orders, and cash in the mail.
-
Re: NotoriousOnline for sale Refuse to refund for the fact that you're selling my mods, as well as everyone elses, and yes I have proof, you tried to sell my ammo mod to Ice Queen, and my bodyguard to several other people, so don't even bother
-
Current info for http://notoriousonline.net Total Users: 1387 Amount of users that pay: 128 Current Pagerank: PR 3 Total Uniques This Month (as of May 21, 2007): 3803 uniques Total Page Hits: 2.3 million approx. Hosting Time Left: 7 months through tbabhosting.com ( Unlimited Bandwidth ) Current info for http://notoriousonline-v2.net Total Users: 436 Amount of users that pay: Current Pagerank: PR 0 Hosting Time Left: 9 months through tbabhosting.com ( Unlimited Bandwidth ) Paypal Screenshots: Total Weekly Income: $500-$1200/week (includes money from checks, money orders, and cash in the mail) Asking $5000.00 OBO Sale will be made through an escrow service that the buyer and seller agree on. I reserve the right to refuse sale to anyone for any reason. Please PM me all offers, and questions. I will reply with either an answer, or my MSN address. Serious Enquires Only Please.
-
Re: [Free] [v1] Secret Number Game *Has A Bug, & Im To Tired To Fix It* it thinks of a number, and the player tries to guess it, if they get it right, they get money, if they get it wrong, the number changes, and they try again, the player can only try 100 times a day or 125 a day if they have donator status
-
Re: [mccode] Whore House Mod FREE very nice addition to it, +1
-
Mod Theives :O Read For Your Own Protection!!
-Genocide- replied to -Genocide-'s topic in General Discussion
Re: Mod Theives :O Read For Your Own Protection!! First of all tell the whole truth that we attempted to get ahold of you for 3 days because the site was shut down and we had no access to the host. before we filed the claim and once we got the sites back up the claim was gone. Then you deleted the games completely out of spite. But oh we got them back up and going. once you have an issue you retract back to being in high school and playing games. We have bought and paid for everything we have or it was given as a gift. If you don't want your mods going to others maybe you should ask what site the mod will be going on like serveral others do with is more professional than the way you act. You screwed over two buisness partners you had before us and now you want to just go and downgrade us that is so professional of you. You ignored emails and telephone calls from us giving several different stories so screw it your gonna try to continue to downgrade us whatever i have more respect for myself than to go around saying aww he is being mean he is causing me problems. I am gonna go cry and make up stories. Thats real funny, because the game was never down, you had full access to cpanel, ftp, and domain names. I informed you that I was going out of town on a family matter, but yet you still felt the need to ring my cell phone at 4 in the morning, begging me to code for you cause you dont know how, so yeah, I stopped answering it. I never screwed anyone over, anyone that has ever "co-owned" a game with me didnt buy there way in, or even do anything on the game that an admin couldnt do. I let them in to help them because they had no means of making money, I later found out they were just to goddamned lazy to work. When I got home from my family affair, I found a $1000.00 paypal dispute, so I responded to it, removed your games from my server, and messaged you. I'm not trying to be mean or cause problems, but I will do what I have to to insure that no STOLEN copies of my mod are on any game, and your little BITCH Gator, has distributed my mod several times, telling each person that he is buying the mod from me, and taking there money. Now you can grow up and take responsibility for knowingly buying a mod from someone who is not the creator, or you can continue to act like a 12 year old spoiled brat who isnt getting her way, and go down with the rest of the thieving bastards. -
Mod Theives :O Read For Your Own Protection!!
-Genocide- replied to -Genocide-'s topic in General Discussion
Re: Mod Theives :O Read For Your Own Protection!! No, you really want to know why I'm mad? Want to know what I have against you?? I could care less about the games, and you havent turned them around, they are the laughing stock of the MCCodes community. The reason I'm mad is because after I sold you the games, you waited 2 days until I went out of town and you filed a paypal dispute hoping that I wouldnt be back in time to defend myself and you would get your money back. That ended any kind of positive thought I could have toward you or anything to do with you. Because of the way you did that, I refuse to do business with you, so you have to sneak around and find ways to get your hands on my mods. You have even gone so far as to edit mods that I posted for free and repost them on CE saying you coded them, when in all actuality, you couldnt code a basic page that echoed "Fuck me I'm a moron". This thread has served its purpose, it shows people who not to do business with, and why. I can only hope that everyone will listen to the warnings, and they wont have the same experience with you that I have. -
Mod Theives :O Read For Your Own Protection!!
-Genocide- replied to -Genocide-'s topic in General Discussion
Re: Mod Theives :O Read For Your Own Protection!! Yes my beef is with you, you gave my script, which was sold to you, not to anyone else, to Paul, I refuse to sell mods to him because of a prior conflict. When you bought the mod, you did not mention that you would be giving it to a friend, or else I would not have sold it to you. So you get YOUR facts straight, and for anyone else who has stolen my mods.....I will find you, and this is what your game will look like..... -
Recently I sold my bodyguard mod to someone by the name of Gator, come to find out, he sold the mod to Mr_Whodini who has attempted to hijack every mod I have ever made, simply because I refuse to sell any mods to him because of a past dispute. I messaged him and asked him to remove the mod, or I would be forced to contact his host, he refused, so this is me warning everyone not to sell to Gator, Whodini, or anyone who has anything to do with them. I will also be contacting his host in the am. Peace.
-
Ok, I was EXTREMELY bored last night, and I couldn't sleep because of all the BS on my mind. Anyway, I decided to play with some code to pass the time, and this is what I ended up with. Hopefully someone will find some use for this mod. NOTE: I didn't test this mod before I posted it, there are a couple of bugs, but I'm to damn sleepy to fix them right now. *Falls Asleep* 1.) Run this query: ALTER TABLE `users` ADD `guess` INT( 11 ) NOT NULL DEFAULT '100'; 2.) Add this to a cron that runs every day: mysql_query("UPDATE users SET guess=125 WHERE donatordays > 0"); mysql_query("UPDATE users SET guess=100 WHERE donatordays < 1"); 3.) Save this as secretnumber.php: <? /*----------------------------------------------------- -- The Amazingly Pointless Secret Number Game -- This is a free mod do with it what you will -- Written by -Genocide- on a very boring night -- secretnumber.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.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); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm,0); if($ir['guess'] < 1) { echo " You dont have anymore guesses for today, try again after midnight. [url='index.php']> Go Home[/url]"; $h->endpage(); exit; } if($no==0 ) { $a = rand(1,1000); echo "Secret Number Game I have picked a number between 1 and 1000. Guess my number and win anywhere from \$100,000 to \$500,000! You have [b]{$ir['guess']}[b] guesses left."; print " "; print " "; print "Your Guess : 1 "; print " "; print ""; print ""; print " "; print ""; } else { $no++; $winnings=rand(100000,500000); if($T1==$cpu) { echo " Awesome! You guessed my number and won \$$winnings! "; echo " > Play Again"; mysql_query("UPDATE users SET money=money+$winnings, guess=guess-1 WHERE userid=$userid"); } else if($T1<=$cpu) { echo " Sorry, your guess is to low..."; mysql_query("UPDATE users SET guess=guess-1 WHERE userid=$userid"); createtable(); } else { echo " Sorry, your guess is to high..."; mysql_query("UPDATE users SET guess=guess-1 WHERE userid=$userid"); createtable(); } } function createtable() { global $no; global $cpu; return " "; return " "; return "Guess Number : $no "; return " "; return ""; return ""; return " "; return ""; } $h->endpage(); ?> 4.) Upload secretnumber.php to your server. 5.) Add this link wherever you want it: [url='secretnumber.php']Secret Number Game[/url] And you're done :P Feel free to modify, rewrite, or change up this mod in any way. Just remember to do the right thing and share any edits you make for this mod. Check Out http://notoriousonline.net | Promo Code: NotoPwnz
-
Re: [mccode] Date Mod I'm gonna play with this idea and make my own, I'll post it here when I'm done.