Jump to content
MakeWebGames

jay-dogg2006

Members
  • Posts

    80
  • Joined

  • Last visited

    Never

Everything posted by jay-dogg2006

  1. Re: Advanced Voting $15 cronus has one just like this witch hes giving away for free add edit and delete functions and also you can decide what you give the users money crystals itesm will refill and energy
  2. Re: IP Banning tool [V1] + [V2] the best way to ban users would be to do it thought the server not the ip banning system on the game as the users can get around it much more easily!
  3. Re: Cock Fight [$10] i have brought this mod its a very good mod very secure ! i would highly rekomend anything made by iso!
  4. Re: Automatic Merit System Awarder [any version] $20.00 Unique! tbh its not mccodes ;) its all done arrays ect ect very effective and also fast :) and is worth it !
  5. Re: Automatic Merit System Awarder [any version] $20.00 Unique! well after that little sherade lets get abck on the beaten track! lol this mod is server friendly and is nothing like zero's as i have had mine a lot longer :) if you would like to ask him as well your more then welcome to!
  6. Re: Automatic Merit System Awarder [any version] $20.00 Unique! go on your msn!
  7. Re: Automatic Merit System Awarder [any version] $20.00 Unique! actually i did buy the advance of you! and hide and seek off iso i never FUCKING STOLEN ANY MODS SO DONT FUCKIN ACCUSE ME I HAVE ALL WATS BROUGHT ALL MY STUFF!
  8. Re: Automatic Merit System Awarder [any version] $20.00 Unique! i s its a bit like torns not exactually and also mine is way diffrent from zeros and also server friendly! aslo i have had my version before he mades hes as i gave him the idaer!
  9. Re: Automatic Merit System Awarder [any version] $20.00 Unique! no actually it goes in to the global funcs ! but its very secure and this is very unique ! its a bit like torn's one but its credited straight away! alot faster that theres!
  10. Automatic Merit System Awarder: Never let your users miss out on there achievments! 1 SQL file 1 PHP Code 2 Files   Ok with this modification you will get 79 Merits all ready made up! You will get a secure pice of code that check the users to make sure they are entitled to the merit and it will automaticly give them the award! This mod if 100% secure. this does not require a cron ! there are a few sorta systems out there none of witch are like this! There is no screen shots as the users will only get an even and also stores the data in to a table to show them what merits they have achived! once i have sorted my layout issues i will screenshot some bits of it! Price: $20.00 Paypal: [email protected] any questions just ask!
  11. Re: [MCcode V2] Ranks very good little addon great addition one little error in the index page your one if ($r['rank'] == 1) {$rank="#1 Absolute beginner";} else if ($ir['rank'] == 2) {$rank="#2 Beginner";} else if ($ir['rank'] == 3) {$rank="#3 Inexperienced";} else if ($ir['rank'] == 4) {$rank="#4 Rookie";} else if ($ir['rank'] == 5) {$rank="#5 Novice";} else if ($ir['rank'] == 6) {$rank="#6 Below Average";} else if ($ir['rank'] == 7) {$rank="#7 Average";} else if ($ir['rank'] == 8) {$rank="#8 Reasonable";} else if ($ir['rank'] == 9) {$rank="#9 Above Average";} else if ($ir['rank'] == 10) {$rank="#10 Competent";} else if ($ir['rank'] == 11) {$rank="#11 Highly competent";} else if ($ir['rank'] == 12) {$rank="#12 Veteran";} else if ($ir['rank'] == 13) {$rank="#13 Distinguished";} else if ($ir['rank'] == 14) {$rank="#14 Highly distinguished";} else if ($ir['rank'] == 15) {$rank="#15 Professional";} else if ($ir['rank'] == 16) {$rank="#16 Star";} else if ($ir['rank'] == 17) {$rank="#17 Master";} else if ($ir['rank'] == 18) {$rank="#18 Outstanding";} else if ($ir['rank'] == 19) {$rank="#19 Celebrity";} else if ($ir['rank'] == 20) {$rank="#20 Supreme";} else {$rank="#21 Idol";}   Should Be if ($ir['rank'] == 1) {$rank="#1 Absolute beginner";} else if ($ir['rank'] == 2) {$rank="#2 Beginner";} else if ($ir['rank'] == 3) {$rank="#3 Inexperienced";} else if ($ir['rank'] == 4) {$rank="#4 Rookie";} else if ($ir['rank'] == 5) {$rank="#5 Novice";} else if ($ir['rank'] == 6) {$rank="#6 Below Average";} else if ($ir['rank'] == 7) {$rank="#7 Average";} else if ($ir['rank'] == 8) {$rank="#8 Reasonable";} else if ($ir['rank'] == 9) {$rank="#9 Above Average";} else if ($ir['rank'] == 10) {$rank="#10 Competent";} else if ($ir['rank'] == 11) {$rank="#11 Highly competent";} else if ($ir['rank'] == 12) {$rank="#12 Veteran";} else if ($ir['rank'] == 13) {$rank="#13 Distinguished";} else if ($ir['rank'] == 14) {$rank="#14 Highly distinguished";} else if ($ir['rank'] == 15) {$rank="#15 Professional";} else if ($ir['rank'] == 16) {$rank="#16 Star";} else if ($ir['rank'] == 17) {$rank="#17 Master";} else if ($ir['rank'] == 18) {$rank="#18 Outstanding";} else if ($ir['rank'] == 19) {$rank="#19 Celebrity";} else if ($ir['rank'] == 20) {$rank="#20 Supreme";} else {$rank="#21 Idol";}   you put $r instead of $ir on first if statment! apart from that very well done mate!
  12. Re: Just a heads up to all game owners! lol to be honest yes torncity is very ugly not creative i used to play i dont really now as i get very bored of it. i personally thin any one who wnats there game looking like torncity is stupid. yes some of there mods are good but theres not a lot so use your own creative mind and your site will be unique. the only thing torncity really has is the users but if you think about all the users possible out there there a billions out there the most unique your game is the more users you will get.
  13. Re: Just a heads up to all game owners! true very true really he cant just take out all he will have no chance as long as images are use he has no real case agaist any one how old is this chedburn any ways last tie i check profile it said 40 now it was 20 and from the uk? lol something serously wrong there lol
  14. Re: Just a heads up to all game owners! the issues we are all faces with now is auction market Chaining gang armoury joinable organised crimes mulitiple profile pics stuff like this has been built and sold or given away as free modifications on here where do we stand with these really?? its a now win situation really with torncity most games have these.
  15. Re: Just a heads up to all game owners! well yeah thats what i thought html cant be copyright can it? coz if so so many sites can be sues due to it ! and yeah if your stupid enought to steal there images then there right in doing so but html i dont thing so :s
  16. Re: Just a heads up to all game owners! oh sorry ddint realise this was all ready been done :(
  17. ok guy as ive seen on this forum most games are tying to be like torn city i suggest if i was you to chnage anything that remotly look similar to torn city as torn city is going thought games and shuting them down for copyright theft. so this is just a little warning to those who wants there web site to look like torn city :)
  18. Re: New Register [V1] the only issue with this is that the $_POST aint been cleaned so XSS can be used apart from that veryt good attemp m8
  19. Re: Simple Trades [V2] no not really just some simple edit that ahd to be done really let me know if you have any problams
  20. Re: Updated Display Pic System [V2]   if($ir['donatordays']>0) { if($ir['display_count']>6) { die("You have been over your 6 limit access."); } } else if($ir['donatordays']==0) { if($ir['display_count']>4) { die("Sorry but you have been over your 4 limit access to get 6 purchase a dp"); } }   $db->query("UPDATE users SET display_count=display_count+1 WHERE userid={$ir['userid']}"); add that where you upload pictuers / insert the url add new table to users called display_count int(11) and that should restict how many users can have if there a donator or no donator!
  21. Re: Simple Trades [V2]   <?php include "globals.php"; print "<center><font size='4' face='Arial, Helvetica, sans-serif'>Trading</font><hr width=75%>"; switch($_GET['action']) { default: start_trade(); break; case 'accept': accept_request(); break; case 'decline': decline_request(); break; case 'acctrade': accept_trade(); break; case 'dectrade': decline_trade(); break; case 'view': view_trade(); break; case 'begin': begin_trade(); break; case 'cancel': cancel_trade(); break; } function start_trade() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); if(!$_POST['user']) { print " <form action='trade.php' method='post'> Please type the ID# of the user you wish to trade with below. ID: <input type='text' name='user' value='{$_GET['ID']}' maxlength='10' length='10' size='10' width='10' /> <input type='submit' value='Send Request' /> </form> <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($ir['trade']) { print " You already have a trade pending completion. Please wait until it is over. <hr width=75%>> [url='trade.php']Back[/url]<hr width=75%>"; } else if($_POST['user'] == $userid) { print " You cannot trade with yourself! <hr width=75%>> [url='trade.php']Back[/url]<hr width=75%>"; } else { mysql_query("INSERT INTO usertrades VALUES ('', '$userid', '{$_POST['user']}')", $c); $q=$db->query("SELECT * FROM usertrades WHERE trFROM=$userid"); $r=$db->fetch_row($q); event_add($_POST['user'], "{$ir['username']} would like to trade with you: • [url='trade.php?action=accept&ID={$r[']Accept Offer[/url] • [url='trade.php?action=decline&ID={$r[']Decline Offer[/url]", $c,'general'); print " Trade request sent! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function accept_request() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM usertrades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); if(!$_GET['ID']) { print " Invalid trade ID! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($r['trUSER'] != $userid) { print " You cannot accept this trade! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { $q=$db->query("SELECT * FROM usertrades WHERE trUSER=$userid"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has accepted your trade offer: • [url='trade.php?action=cancel&ID={$r[']Cancel Trade[/url] • [url='trade.php?action=begin']Begin Trade[/url] ", $c); mysql_query("UPDATE users SET trade={$r['trFROM']} WHERE userid=$userid"); mysql_query("UPDATE users SET trade=$userid WHERE userid={$r['trFROM']}"); mysql_query("DELETE FROM usertrades WHERE trID={$_GET['ID']}"); print " Trade request accepted! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function decline_request() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM usertrades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); if(!$_GET['ID']) { print " Invalid trade ID! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($r['trUSER'] != $userid) { print " You cannot decline this trade! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { $q=$db->query("SELECT * FROM usertrades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has declined your trade offer.", $c); mysql_query("DELETE FROM usertrades WHERE trID={$_GET['ID']}"); print " Trade request declined! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function cancel_trade() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM users WHERE trade=$userid"); $r=$db->fetch_row($q); if(!$ir['trade']) { print " You are not in a trade! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($r['trade'] != $userid) { print " This user is not in a trade with you! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { $q=$db->query("SELECT * FROM users WHERE trade=$userid"); $r=$db->fetch_row($q); event_add($r['userid'], "{$ir['username']} has cancelled the trade.", $c); mysql_query("UPDATE users SET trade=0 WHERE userid=$userid"); mysql_query("UPDATE users SET trade=0 WHERE userid={$r['userid']}"); print " Trade cancelled! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function view_trade() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM trades WHERE trUSER=$userid"); $r=$db->fetch_row($q); $rs=$db->num_rows($q); if($r['trUSER'] != $userid) { print " This is not your trade! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if(!$rs) { print " This trade has not yet been started! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { $q=$db->query("SELECT * FROM trades WHERE trUSER=$userid"); $r=$db->fetch_row($q); print " [b]<u>Trade Details[/b]</u> [b]Offer[/b] Money: \${$r['trCASH']} Crystals: {$r['trCRYS']} "; $x=$db->query("SELECT * FROM items WHERE itmid={$r['trITEM']}"); $i=$db->fetch_row($x); if ($r['trITEM']) { print "Item: {$i['itmname']} "; } else { print "Item: <font color=red>None</font> "; } print " [b]Request[/b] Money: \${$r['trRCASH']} Crystals: {$r['trRCRYS']} "; $x2=$db->query("SELECT * FROM items WHERE itmid={$r['trRITEM']}"); $i2=$db->fetch_row($x2); if ($r['trRITEM']) { print "Item: {$i2['itmname']} "; } else { print "Item: <font color=red>None</font> "; } if ($userid == $r['trUSER']) { print " [b]Options[/b] • [url='trade.php?action=acctrade&ID={$r[']Accept Trade[/url] • [url='trade.php?action=dectrade&ID={$r[']Decline Trade[/url] "; } print " <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function begin_trade() { global $db,$ir,$c,$userid,$h; if($_POST['crys'] || $_POST['cash'] || $_POST['item'] || $_POST['rcrys'] || $_POST['rcash'] || $_POST['ritem']) { $q=$db->query("SELECT * FROM users WHERE userid=$userid"); $r=mysql_fetch_array($q); if (!$ir['trade']) { print " You are not in a trade. <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; $h->endpage(); exit; } $db->query("INSERT INTO trades VALUES(NULL, '{$ir['userid']}', '{$ir['trade']}', '{$_POST['crys']}', '{$_POST['cash']}', '{$_POST['item']}', '{$_POST['rcrys']}', '{$_POST['rcash']}', '{$_POST['ritem']}')"); event_add($ir['trade'], "Your trade offer has been sent: • [url='trade.php?action=view']View Trade[/url] • [url='trade.php?action=cancel&ID={$r[']Cancel Trade[/url] ", $c); print " Your trade was submitted. <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { print "<form action='trade.php?action=begin' method='post'> [b]Offer[/b] Crystals: <input type='text' name='crys' /> Cash: <input type='text' name='cash' /> Item: <select name='item' type=dropdown> <option value=0 selected>None</option>"; $q=$db->query("SELECT inv.*,i.* FROM inventory inv LEFT JOIN items i ON inv.inv_itemid=i.itmid WHERE inv.inv_userid={$userid} ORDER BY i.itmname ASC",$c); while($r=mysql_fetch_array($q)) { print "\n<option value='{$r['itmid']}'>{$r['itmname']}</option>"; } print "</select> "; print " [b]Request[/b] Crystals: <input type='text' name='rcrys' /> Cash: <input type='text' name='rcash' /> Item: <select name='ritem' type=dropdown> <option value=0 selected>None</option>"; $q=$db->query("SELECT inv.*,i.* FROM inventory inv LEFT JOIN items i ON inv.inv_itemid=i.itmid WHERE inv.inv_userid={$ir['trade']} ORDER BY i.itmname ASC",$c); while($r=mysql_fetch_array($q)) { print "\n<option value='{$r['itmid']}'>{$r['itmname']}</option>"; } print "</select> "; print "<input type='submit' value='Submit' /></form> <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function accept_trade() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM trades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); $x=$db->query("SELECT * FROM users WHERE userid={$ir['trade']}"); $y=$db->fetch_row($x); $m=$db->query("SELECT * FROM inventory WHERE inv_itemid={$r['trITEM']} AND inv_userid={$r['trFROM']}"); $n=$db->num_rows($m); $o=$db->query("SELECT * FROM inventory WHERE inv_itemid={$r['trRITEM']} AND inv_userid={$r['trUSER']}"); $p=$db->num_rows($o); if(!$_GET['ID']) { print " Invalid trade ID! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($r['trUSER'] != $userid) { print " You cannot accept this trade! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($r['trRCASH'] > $ir['money'] || $r['trRCRYS'] > $ir['crystals']) { print " You do not meet one or more of the requirements! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($y['money'] < $r['trCASH'] || $y['crystals'] < $r['trCRYS'] ) { print " Your friend does not meet one or more of the requirements! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if(!$n < 0) { print " Your friend does not meet one or more of the requirements! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if(!$p < 0) { print " You do not meet one or more of the requirements! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { $q=$db->query("SELECT * FROM trades WHERE trUSER=$userid"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has accepted your trade.", $c); if ($r['trITEM'] > 0) { mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_itemid={$r['trITEM']} AND inv_userid={$r['trFROM']}",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("INSERT INTO inventory VALUES('',{$r['trITEM']},$userid,'1');",$c); } if ($r['trRITEM'] > 0) { mysql_query("UPDATE inventory SET inv_qty=inv_qty-1 WHERE inv_itemid={$r['trRITEM']} AND inv_userid=$userid",$c); mysql_query("DELETE FROM inventory WHERE inv_qty=0",$c); mysql_query("INSERT INTO inventory VALUES('',{$r['trRITEM']},{$r['trFROM']},'1');",$c); } mysql_query("UPDATE users SET trade=0, money=money+{$r['trCASH']}, crystals=crystals+{$r['trCRYS']}, money=money-{$r['trRCASH']}, crystals=crystals-{$r['trRCRYS']} WHERE userid=$userid"); mysql_query("UPDATE users SET trade=0, money=money+{$r['trRCASH']}, crystals=crystals+{$r['trRCRYS']}, money=money-{$r['trCASH']}, crystals=crystals-{$r['trCRYS']} WHERE userid={$r['trFROM']}"); mysql_query("DELETE FROM trades WHERE trUSER=$userid"); print " Trade request accepted! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } function decline_trade() { global $db,$ir,$c,$userid,$h; $_GET['ID'] = abs((int) $_GET['ID']); $q=$db->query("SELECT * FROM trades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); if(!$_GET['ID']) { print " Invalid trade ID! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else if($r['trUSER'] != $userid) { print " You cannot decline this trade! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } else { $q=$db->query("SELECT * FROM trades WHERE trID={$_GET['ID']}"); $r=$db->fetch_row($q); event_add($r['trFROM'], "{$ir['username']} has declined your trade offer.", $c); mysql_query("DELETE FROM trades WHERE trID={$_GET['ID']}"); mysql_query("UPDATE users SET trade=0 WHERE userid={$ir['trade']}"); mysql_query("UPDATE users SET trade=0 WHERE userid=$userid"); print " Trade declined! <hr width=75%>> [url='explore.php']Back[/url]<hr width=75%>"; } } $h->endpage(); ?>   Updated Fully Tested works 100% it allows users to request cash for crystals and visa versa with out items now and allows just items to be traded with out cash or crystals! i will also give an update for a log system so that staff can keep an eye out on the trades
  22. Re: Simple Trades [V2] im gonna start doing this now guys will post when i done :)
  23. Re: Whorehouse for V.2 yes and no this is a free version and there is also a paid version made by killah witch allows you to legalize your whore house and change the pics of the whores in your whore house!
  24. Re: House Rentals [V2] learn to do it your self other wise you will never learn at all getitng every one else to do it for you! there are post on how to convert v1 - v2 and visa versa its not rocket science lol
  25. Re: Simple Trades [V2] i have been messing about with this file to see where the error is within the script i have modified it sligtly i am now able to do trades but only if all fields are specified ie cash > 1 money > 1 item > 1 on both sides for the trade to be accepted if you do not specifie anything with in the item this is where the problem is i am trying to reconfiguer the script to be able to do all sides of the trade! thanks jay-dogg
×
×
  • Create New...