-Genocide-
Members-
Posts
106 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by -Genocide-
-
Re: (Free) Contra Game http://criminalexistence.com/ceforums/h ... 585#p16585
-
Re: (Free) Contra Game an edit of the simple putt putt game i posted a while back.....
-
Re: [mccode] Attack.php addons Is it so hard to replace mysql_ with $db-> ? Thats pretty much there is to it i believe you dont even need to to replace mysql_ with $db->. mysql_query is the default, $db-> is defined in dabs code using the mysql_query will work fine.
-
Re: donator day market for v2 free really, who gives a rats ass if this is just crystal market converted, the point is, it works, and he was cool enough to post it for free and save everyone some time and money, so stop bitching and complaining, and go post somewhere else. +1 nice add.
-
Re: Proxy Deny Script[free] heh....true
-
Re: Phaos Game Engine Lots of potential in this game, but the layout needs MASSIVE work. :mrgreen:
-
Re: PUB Good change for the PG-13 games :lol: I don't do stuff for kiddies tho, it's a gangster game, and I think people should be able to act like hardend street thugs, not have to act like preppy school boys with a hidden agenda.
-
Re: gym pass go ahead and make a new kind of gym and everything else, then say its easy when you blow up my msn every 15 seconds begging me to help you anyway.
-
Re: gym pass not donator days..... vip days, seperate page for donations, different packs, totally different gym
-
Re: gym pass I made a V.I.P. Gym that gives the player better training that regular gym, and is only accessible if you have bought VIP days witch come in donator packs, not the normal ones. i will sell it for $15.00
-
Re: Crons Problem Please Help I PMed you some information about this. Hope it helps.
-
Re: Improved Estate Agents [free][V2]
-
Re: voting.php Pimped Out (Free) Bahahaha! I thought you'd never ask :-P
-
What would you peeps say is the best sites to advertise on? Most ammount of hits per money spent? Thanks. :wink:
-
Re: voting.php Pimped Out (Free) thanks. 8-)
-
Re: voting.php Pimped Out (Free) ehhh....here is a screenshot..... http://notoriousonline-v2.net/voting_ss.jpg Peace. :evil:
-
Re: voting.php Pimped Out (Free) For v1..... voting.php <?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(); $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); print "<h3>Vote For Us</h3> Vote for us at various RPG toplists and be rewarded. <table cellspacing='1' border='0' cellpadding='3' class='table' width='90%'> <tr background='tablehgrad.png'><th>Top List</th><th>Reward</th><th>Voted Today?</th><th>Cast Vote</th></tr> <tr><td><center>Stage 3 Top Games</td><td><center>10 Crystals</td><td>"; if(mysql_num_rows($s3)) { print "<font color='red'><center>Yes</font>"; } else { print"<center><font color='green'>No</font>"; } print "<td>[url='votestage3.php']<center>Vote[/url]</td></tr> <tr><td><center>TBAB Top Games</td><td><center>$1,000</td><td>"; if(mysql_num_rows($tb)) { print "<font color='red'><center>Yes</font>"; } else { print"<center><font color='green'>No</font>"; } print "<td>[url='votetbab.php']<center>Vote[/url]</td></tr> <tr><td><center>Game Sites 200</td><td><center>Energy Refill</td><td>"; if(mysql_num_rows($gs)) { print "<font color='red'><center>Yes</font>"; } else { print"<center><font color='green'>No</font>"; } print "<td>[url='votegs200.php']<center>Vote[/url]</td></tr> </table>"; $h->endpage(); ?>
-
The voting.php that comes with MCCodes v2 is unorganized, and looks shitty, so I pimped it a little bit. :evil: voting.php <?php include "globals.php"; $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); print "Vote For Us Vote for us at various RPG toplists and be rewarded. </pre> <table cellspacing="1" border="0" cellpadding="3" width="90%">Top ListRewardVoted Today?Cast VoteStage 3 Top Games10 Crystals"; if(mysql_num_rows($s3)) { print "Yes"; } else { print"No"; } print "[url='votestage3.php']Vote[/url]TBAB Top Games$1,000"; if(mysql_num_rows($tb)) { print "Yes"; } else { print"No"; } print "[url='votetbab.php']Vote[/url]Game Sites 200Energy Refill"; if(mysql_num_rows($gs)) { print "Yes"; } else { print"No"; } print "[url='votegs200.php']Vote[/url]</table>";<br>$h->endpage();<br Peace. :mrgreen: *EDIT* Ok, there are lots of questions about this simple little modification, I am going to attempt to answer most of them real fast, but I just woke up and its 5:35am here, so excuse me. 1. Does this code require SQL? No, you do not need to install any SQL at all to use this mod. 2. How do you make the no change to a yes? Simple...this mod querys the "votes" table of the database with this part of the code: $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); All you have to do to make the No change to Yes is open the votesite.php (votetorpg.php, votecetwg.php) or something similar to that. You will see a line like this: mysql_query("INSERT INTO votes values ($userid,'trpg')",$c); right above the voting link. Now all you have to do is make sure that the query in this part of the code: $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); matches the query in this part of the code: mysql_query("INSERT INTO votes values ($userid,'trpg')",$c); Example: This is the code found in the votesite.php mysql_query("INSERT INTO votes values ($userid,'votesite')",$c); Ok, see where it says 'votesite'? you will need to edit voting.php to match...like this: Original: $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); Edited: $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='votesite'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); Pay close attention to the first query....notice I have edited it to match. The No will now change to a Yes once I have voted. 3. How do I add a new voting site? This is really easy, all you have to do is copy what I already have, then modify it to match the new voting site. Copy This: Game Sites 200Energy Refill"; if(mysql_num_rows($gs)) { print "Yes"; } else { print"No"; } print "[url='votegs200.php']Vote[/url] Add the code above right before this: Find this: $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); Then add a query for your new voting site like this: $s3=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='stage3'",$c); $tb=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='tbab'",$c); $gs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='gs200'",$c); $vs=mysql_query("SELECT * FROM votes WHERE userid=$userid AND list='votesite'",$c); Ok, now go back to what you added right before the end table code and edit it to match the one you just added for your new vote site: Vote SiteYour Reward"; if(mysql_num_rows($vs)) { print "Yes"; } else { print"No"; } print "[url='votesite.php']Vote[/url] See where I have edited it to match the $vs query? Simple shit.... I think that is all the questions about this mod, if you have more, post and I will explain. Peace. :mrgreen:
-
Re: Joinable Organised Crimes Definately interested in this one seany....hit me on yahoo or msn. Peace. :mrgreen:
-
Re: Supporter Packs (FREE) Sorry to tell you, but this isn't M5Ks code....his is written MUCH better than this.... Peace. :mrgreen:
-
Re: !!**Whore House Mod FREE**!! Since there are a few people posting about wanting this for MCcodes v2.0.....here ya go.... <?php /*----------------------------------------------------- -- Whore House v1.0 -- A product of Stage3Gaming -- [url]http://www.stage3gaming.com[/url] -- whorehouse.php -----------------------------------------------------*/ include "globals.php"; if(!$_GET['spend']) { print "<h2>5th Street Whore House</h2> Welcome, we have many fine prostitutes here, both male and female. Prices and payment options are listed below. <h3>For The Guys</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='tablehgrad.png'><th>Prostitute</th><th>Age</th><th>Sex</th><th>Price</th><th><center>Hire</th></tr><tr> <td><center>April</td><td><center>19</td><td><center>Female</td><td><center>$1,000,000</td><td><center>[url='whorehouse.php?spend=april']Hire April[/url]</td></tr><tr> <td><center>Kelly</td><td><center>18</td><td><center>Female</td><td><center>$5,000,000</td><td><center>[url='whorehouse.php?spend=kelly']Hire Kelly[/url]</td></tr><tr> <td><center>Shaniqua</td><td><center>23</td><td><center>Female</td><td><center>$7,000,000</td><td><center>[url='whorehouse.php?spend=shan']Hire Shaniqua[/url]</td></tr><tr> <td><center>Rhonda</td><td><center>20</td><td><center>Female</td><td><center>$10,000,000</td><td><center>[url='whorehouse.php?spend=rhonda']Hire Rhonda[/url]</td></tr></table>"; print " <h3>For The Ladies</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='tablehgrad.png'><th>Prostitute</th><th>Age</th><th>Sex</th><th>Price</th><th><center>Hire</th></tr><tr> <td><center>Mark</td><td><center>26</td><td><center>Male</td><td><center>$1,000,000</td><td><center>[url='whorehouse.php?spend=mark']Hire Mark[/url]</td></tr><tr> <td><center>Jason</td><td><center>23</td><td><center>Male</td><td><center>$5,000,000</td><td><center>[url='whorehouse.php?spend=jason']Hire Jason[/url]</td></tr><tr> <td><center>Jaquez</td><td><center>20</td><td><center>Male</td><td><center>$7,000,000</td><td><center>[url='whorehouse.php?spend=jaq']Hire Jaquez[/url]</td></tr><tr> <td><center>Matthew</td><td><center>29</td><td><center>Male</td><td><center>$10,000,000</td><td><center>[url='whorehouse.php?spend=matt']Hire Matthew[/url]</td></tr></table>"; print " <h3>Gay And Lesbian Only</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='tablehgrad.png'><th>Prostitute</th><th>Age</th><th>Sex</th><th>Price</th><th><center>Hire</th></tr><tr> <td><center>Tommy</td><td><center>22</td><td><center>Male</td><td><center>$1,000,000</td><td><center>[url='whorehouse.php?spend=tom']Hire Tommy[/url]</td></tr><tr> <td><center>Tina</td><td><center>18</td><td><center>Female</td><td><center>$5,000,000</td><td><center>[url='whorehouse.php?spend=tina']Hire Tina[/url]</td></tr><tr> <td><center>Riko</td><td><center>20</td><td><center>Male</td><td><center>$7,000,000</td><td><center>[url='whorehouse.php?spend=riko']Hire Riko[/url]</td></tr><tr> <td><center>Michelle</td><td><center>18</td><td><center>Female</td><td><center>$10,000,000</td><td><center>[url='whorehouse.php?spend=mich']Hire Michelle[/url]</td></tr></table>"; } else { if($_GET['spend'] == 'april') { if($ir['money'] <1000000) { print "You don't have enough money to hire a April!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a April \$1,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'kelly') { if($ir['money'] <5000000) { print "You don't have enough money to hire a Kelly!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Kelly \$5,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'shan') { if($ir['money'] <7000000) { print "You don't have enough money to hire a Shaniqua!"; } else { mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Shaniqua \$7,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'rhonda') { if($ir['money'] <10000000) { print "You don't have enough money to hire a Rhonda!"; } else { mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Rhonda \$10,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'mark') { if($ir['money'] <1000000) { print "You don't have enough money to hire a Mark!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Mark \$1,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'jason') { if($ir['money'] <5000000) { print "You don't have enough money to hire a Jason!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Jason \$5,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'jaq') { if($ir['money'] <7000000) { print "You don't have enough money to hire a Jaquez!"; } else { mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Jaquez \$7,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'matt') { if($ir['money'] <10000000) { print "You don't have enough money to hire a Matthew!"; } else { mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Matthew \$10,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'tommy') { if($ir['money'] <1000000) { print "You don't have enough money to hire a Tommy!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Tommy \$1,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'tina') { if($ir['money'] <5000000) { print "You don't have enough money to hire a Tina!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Tina \$5,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'riko') { if($ir['money'] <7000000) { print "You don't have enough money to hire a Riko!"; } else { mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Riko \$7,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'mich') { if($ir['money'] <10000000) { print "You don't have enough money to hire a Michelle!"; } else { mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Michelle \$10,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } } $h->endpage(); ?> Enjoy. :mrgreen:
-
Re: Final Pricing Structure buggy......
-
Re: !!**Whore House Mod FREE**!! +1 to Noelle for beating me to it
-
Re: !!**Whore House Mod FREE**!! Thanks for the suggestion, I just put this together cause I was bored and thought some people would get a good laugh out of it. Peace. :mrgreen:
-
Re: !!**Whore House Mod FREE**!! Well then.....here ya go..... http://notoriousonline.net/ho_house.jpg Peace.