Jump to content
MakeWebGames

Adrian

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Adrian

  1. Hello, I have fully installed this mod its very well done but i got one issue which i can't figure out. when i press Add to Auction then this comes up   An error has occurred, please go back and try again.   Any advice?? Regards, MoAZeR
  2. this is great mod man i recoded it for my theme needs and its Awesome Allways liked you mods. :) can you please pm me i got an suggestion for you.
  3. My Test Will do an other test in 2 months when i have BT infinity :) And Regards, Adrian
  4. The Engine its looking good man keep up the hard work and the progress you making Also is it going to be for sale and if yes how much for? :)
  5. Dude they look awesome :D pass me on your skills?
  6. Thanks for the nice peace of code :)
  7. NIce mod :D :)
  8. Name if site: London Wars Link to site: http://www.london-wars.com The site has been closed for around the past 3 weeks, while me and a coder called Zyzamic (i do not think he goes to these forums) has added items, courses and coded on the website. We have now got to a point where we feel like we can release the site to the public.Please could you rate the site out of 10 and give me some constructive critisisom. Thanks MoAZeR
  9. Re: [v2] Change game marquee Nice :D +1
  10. Re: Shops (Upgraded a bit) Nice Mate :D +1
  11. Ok I Converted Rehab Mod and it Kinda work but when i press Take drug Nothing Happens it dose to Next page but its blank. rehab_cron.php <?php include "globals.php"; if(!$c) { die("You have an unsecure connection or a failed connection. Please check your connection file and try again. "); } $q = mysql_query("SELECT * FROM `rehab`",$c); while($r=mysql_fetch_array($q)) { $q2 = mysql_query("SELECT * FROM `users` WHERE `userid` = '{$r['user']}'",$c); $r2=mysql_fetch_array($q2); if($r2['hospital'] > 0 and $r2['rehab'] > 0) { mysql_query("DELETE FROM `rehab` WHERE `user` = '{$r2['userid']}'",$c); } } print mysql_affected_rows($c)." affected rows during this query. Made by $hot."; ?> takedrug.php <?php session_start(); include "globals.php"; $_GET['ID'] = abs((int)($_GET['ID'])); if(!$_GET['ID']) { print "What drug you taking..?"; $h->endpage(); exit(); } else if($ir['rehab'] > 0 or $ir['hospital'] > 0) { print "You cannot take drugs while in rehab or hospital."; $h->endpage(); exit(); } $inv_id = $_GET['ID']; $q0 = mysql_query("SELECT * FROM inventory WHERE inv_id='$inv_id' AND inv_userid='{$userid}'",$c); if(mysql_num_rows($q0) == 0) { print "You have an invalid item there, please check next time. You may have visited a false link."; $h->endpage(); exit(); } $r0=mysql_fetch_array($q0); $drug_item=$r0['inv_itemid']; $iqq=mysql_query("SELECT * FROM items WHERE itmid='{$drug_item}'",$c); $qr=mysql_fetch_array($iqq); if($qr['itmtype'] != 10) { print "That isn't a drug my friend."; $h->endpage(); exit(); } $q = mysql_query("SELECT * FROM rehab WHERE user=$userid",$c); if(mysql_num_rows($q)> 6) { print "You have taken your limit of drugs. You can next take your drug in the next hour when it wears off."; $h->endpage(); exit(); } else if(mysql_num_rows($q)== 6) { if($ir['daysold'] < 2) { $ir['daysold']=2; } $rand_percent = rand($ir['level'],$ir['level']*$ir['daysold']); if(rand(1,2) == 2) { //-- effect 1 $level_what=rand(1,5); $rand=rand(1,3); if($rand == 1) { $data="level"; } else if($rand == 2) { $data="money"; } else { $data="crystals"; } mysql_query("UPDATE users SET `{$data}` = `{$data}` + '{$level_what}' WHERE userid='{$userid}'",$c); } else { //-- effect 2 $hosp_time=(int)(rand(1,190)); $hosp_reason="Sent to Rehab for Overdose of ".$qr['itmname']; mysql_query("UPDATE `users` SET `hospital` = `hospital` + '{$hosp_time}', `hospreason` = '{$hosp_reason}' WHERE userid='{$userid}'",$c); } print "You have taken your drug and have felt a wierd feeling. [url='inventory.php']Back to Items.[/url] "; if($r0['inv_qty'] > 1) { mysql_query("UPDATE inventory SET inv_qty=inv_qty-'1' WHERE inv_id='$inv_id' AND inv_userid='{$userid}' LIMIT 1;",$c); } else { mysql_query("DELETE FROM inventory WHERE inv_id='$inv_id' AND inv_userid='{$userid}' LIMIT 1;",$c); } mysql_query("INSERT INTO `rehab` VALUES ('$userid', '$drugitem');",$c); } $h->endpage(); ?> Screenshot After pressing Take Drug
  12. Re: [MC-Codes][V2]Thugs (core system) Can i have Cron for this Training and When i buy the Item i make It dont show up in the Attacking or Defiance :D
  13. Re: [V2] Choose Benefits NIce one :)
  14. Re: Web 2.0 Login for Mccodes My New User cant login any Ideas this is am login page   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" /> <meta name="description" content="LoNDoN-WaRs" /> <meta name="keywords" content="RPG, FREE, free, rpg, online rpg, text based game, mmorpg, text games, action games, pbbg, pbbgs, PHP, MySQL, gaming" /> <meta name="author" content="LoNDoN WaRs Owner - LoNDoNeR" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>LoNDoN-WaRs</title> <style language="text/css"> body,html { margin:0; padding:0; height: 100%; padding-top: 4px; } body { background: url(background.jpg); margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; font-family: Lucida Sans Unicode; font-size: 12px; font-weight: bold; color: green; } a:visited,a:link,a:active,a:hover { color: green; font-weight: bold; font-size: 12px; text-decoration: underline; font-family: Lucida Sans Unicode; } img { border: none; } div#container { background: url('splats.png') no-repeat; margin: 0px auto; height: 668px; width: 1004px; } div#banner { background: url('banneruzx.png'); margin-top: 5px; margin-left: 0px; height: 137px; width: 773px; float: left; font-size: 35px; color:#FF0000; } div#login_form { background: url('loginform.png') no-repeat; float: right; height: 137px; width: 224px; margin-top: 5px; margin-right: 0px; } div#form_action { margin-top: 15px; margin-left: 28px; } div#game_description { background: url('descbox.png') no-repeat; float: left; margin-top: 0px; height: 517px; width: 773px; margin-left: 0px; } div#menu { background: url('menusbar.png') no-repeat; float: right; margin-top: -3px; height: 520px; width: 224px; margin-right: 7px; } #menu a { display: block; width: 100%; } </style> </head> <body> <div id="container"> <div id="banner"> <center></center> </div> <div id="login_form"> <div id="form_action"> <form action="authenticate.php" method="post"> Username: <input type="text" name="username" value="Enter User Name" onClick="this.value='';" /> Password: <input type="text" name="password" value="Enter User Password" onClick="this.value='';this.type='password';" /> <input type="submit" value="Login" onClick="this.value='Login In';" /> </form> </div> </div> <div id="game_description"> <div style="margin-top: 24px; margin-left: 24px;"> Enter Game Description </div> </div> <div id="menu"> <div style="margin-top: 24px; margin-left: 24px;"><center> [url="register.php"]Register[/url] [url="login.php"]Login[/url] </center></div> </div> </div> </body> </html> <!-- Layout done by kyle. Graphics done by XCU53S. --!>   If anyproblems please post updated One Thanks
  15. Re: [V2] Help Nedded Please help Ok The Gangs are working i fixed them it was my misstake :) but the items thing aint please help
  16. Re: [V2] Help Nedded Please help Mate still aint Working i dont know why i really need help with it :) who helps me gets $5 and when i create item this show up   QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO items VALUES('',4,'BodyGuard','BodyGuard Protects Your From Attacking',0,0,0, '1', 'a:4:{s:4:\"stat\";s:9:\"protected\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:24;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', 0, 0, 0, 0, 0, 0, 0, 0)   and i did fill all the spaces in Help $5 Is Wating :)
  17. How do i add User levels like Moderator all that please tell me Thanks
  18. Re: [V2] Help Nedded Please help Here mate i added the normal Creategang.php and this show up   QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO gangs VALUES('','Test','Test','','',0,0,100,1,1,5,0,0,'')   When i added this 1 you gived me this showed up   Parse error: syntax error, unexpected T_LOGICAL_OR in /home/worldwar/public_html/creategang.php on line 15   Thanks Mates :)
  19. Re: [V2] Help Nedded Please help it says the gang is made but it says after u are not in a gang
  20. Re: [V2] Help Nedded Please help when i create gang it creates but in dont show the gang
  21. hello i was just woundering if someone could tell me how to change max money in my mccodes version 2 game and put the stats to max aswell they dont have to be max but at leste the stats to like 1bill and the money to like 10quad a And when i create a gang it says it get created but it dont shouw that is my creatte gang php i added pics doe :)   <?php include "globals.php"; if($ir['money'] < 500000) { die("You don't have enough money. You need \$500,000."); } if($ir['gang']) { die ("You're already in a gang!"); } if($_POST['submit']) { $name=htmlspecialchars($_POST['name']); $desc=htmlspecialchars($_POST['desc']); mysql_query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'','')",$c); $i=$db->insert_id(); $db->query("UPDATE users SET gang=$i,money=money-500000 where userid=$userid"); print "Gang created!"; } else { print "<h3> Create A Gang </h3><form action='creategang.php' method='post'><input type='hidden' name='submit' value='1' />Name:<input type='text' name='name' /> Description: <textarea name='desc' cols='40' rows='7'></textarea> <input type='submit' value='Create Gang for \$500,000' /></form>"; } $h->endpage(); ?>   Thanks
  22. Re: [V2] Help Nedded the gangs dont work still i re uploaded the file still dont work any help
  23. When i make a gang this shows up QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO gangs VALUES   and when i try to add an item wthat what shows up QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO items VALUES('',3,'2','2',2,2,1, '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', '0', 'a:4:{s:4:\"stat\";s:6:\"energy\";s:3:\"dir\";s:3:\"pos\";s:8:\"inc_type\";s:6:\"figure\";s:10:\"inc_amount\";i:0;}', 0, 0, 0, 0, 0, 0, 0, 0) Help please
  24. Re: [McCode V2] Request ok thanks
×
×
  • Create New...