
Dragon Blade
Members-
Posts
209 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Dragon Blade
-
My oldest brother got it from my younger brother for £45, It is a great game! Well apart from there is only less cheats...
-
[V2] Inventory changes - Paying £4.61
Dragon Blade replied to Dragon Blade's topic in Requests & In Production
@Jedi: The **** I did not understand what you have said? No offense, I will never go to you for coding.... -
[V2] Inventory changes - Paying £4.61
Dragon Blade replied to Dragon Blade's topic in Requests & In Production
@Guest: Thank you for coding what I wanted, you have done a great job! @Dave: Sorry haha, I will do next time! @JediGunz: What power bar script thingy? @The Coder: Lmao haha. -
Wow, thanks. I have fixed it anyway - function hunt_index() { global $ir,$db,$userid; echo " <hr width=90%><center><table width=90% cellspacing=1 class='table'><tr style='background:gray'> <th><center>Ranger Den</center></th> </tr> <tr> <td>Welcome to the Ranger Den! We shall train you to become a great ranger through dexterity! There are several different animal types (small,medium,large) in which you can hunt at a certain level. Defeating an animal will give you a piece of the animal, in which you can trade in for money at one of our collectors. First, you must purchase your bow and arrow, along with your ranger clothes. Have fun, and good luck in the wild!</td></tr></table></center> <hr width=90%> <center><table width=90% cellspacing=1 class='table'><tr style='background:gray'> <th>Equipment</th> <th>Price</th> <th>Purchase</th> </tr> <tr> <td>Ranger Bow</td> <td><center>$500</td> <td><center> "; if($ir['ranger_equip'] >= 1) { echo "<font color=red>Done!</font>"; } else { echo "<a href='rangerden.php?action=buybow'>Buy</a>"; } echo"</td></tr><td>Ranger Clothes <td><center>$500</td> <td><center>"; if($ir['ranger_equip'] >= 2) { echo "<font color=red>Done!</font>"; } else { echo "<a href='rangerden.php?action=buyclothes'>Buy</a>"; } echo" </td></tr> <tr> <td>Ranger Arrows (x100)</td> <td><center>$500</td> <td><center>"; if($ir['arrows'] >= 1000) { echo "<font color=red>Maxed Out!</font>"; } else { echo "<a href='rangerden.php?action=buyarrows'>Buy</a> "; } echo "</tr></td></table></center><hr width=90%>"; echo"<center><table width=90% cellspacing=1 class='table'><tr style='background:gray'><th><center>Your Statistics</center></th></tr><center> "; $dexterity=(int) ($ir['dexterity']/$ir['max_dexterity']*100); $rangerxp=(int) ( $ir['ranger_exp']/$ir['ranger_needed']*100); $dex=100-$dexterity; $rangerx=100-$rangerxp; echo " <tr><td><center>Ranger Level: {$ir['ranger_level']}</tr></td></center> <tr><td><center>Dexterity: {$ir['dexterity']}/{$ir['max_dexterity']}</tr></td></center> <tr><td><center>Ranger Exp: {$rangerxp}</tr></td></center> <tr><td><center>Arrows: {$ir['arrows']}/1000</tr></td></table></center><hr width=90%>"; echo"<center><table width=90% cellspacing=1 class='table'><tr style='background:gray'><th><center>Your Collection</center></th><tr><td> <center>You currently have {$ir['huntbirds']} bird's feathers!<br/> You currently have {$ir['huntlambs']} lamb's wool!<br/> You currently have {$ir['huntsheeps']} sheep's wool!<br/> You currently have {$ir['huntgoats']} goat's horns!<br/> You currently have {$ir['hunttigers']} tiger's skins!<br/> You currently have {$ir['huntelephants']} elephant's hides!<br/> </tr></td></table></center><hr width=90%>"; echo" <center><table width=90% cellspacing=1 class='table'><tr style='background:gray'> <th><center>Small Animals</center></th> <th><center>Medium Animals</center></th> <th><center>Large Animals</center></th></tr>"; if($ir['ranger_equip'] != 2) { echo" <tr><td><center><hr />You cannot hunt here yet! <hr /></td> <td><center><hr />You cannot hunt here yet!<hr /></td> <td><center><hr />You cannot hunt here yet!<hr /> </td></center></tr></td></table><hr width=80% /><center><a href='explore.php'>Explore</a><hr width=80% /></center>"; } else { echo "<tr><td><center> [<a href='rangerden.php?action=hunt1'>Hunt - Bird</a>] [<a href='rangerden.php?action=hunt2'>Hunt - Lamb</a>] </td><td><center> [<a href='rangerden.php?action=hunt3'>Hunt - Sheep</a>] [<a href='rangerden.php?action=hunt4'>Hunt - Goat</a>] </td><td><center> [<a href='rangerden.php?action=hunt5'>Hunt - Tiger</a>] [<a href='rangerden.php?action=hunt6'>Hunt - Elephant</a>] </center></tr></td></table><hr width=90%><center><a href='explore.php'>Explore</a><hr width=90%></center>"; } But since Seker helped me out I am now going to be using his! As his one looks more neat. Thank Seker :)
-
Hello, for the default V2 inventory I want one bit to be changed into the screen shot below - [ATTACH=CONFIG]1144[/ATTACH] If anyones does it for me. I will be paying £4.61.
-
I am paying $5 if someone neatens it up
-
So there is something wrong with my coding and it makes the page look very ugly. Here is a screen shot - [ATTACH=CONFIG]1143[/ATTACH] Here is the code - function hunt_index() { global $ir,$db,$userid; echo " <center><table width=90% cellspacing=1 class='table'><tr style='background:gray'> <th><center>Ranger Den</center></font><tr><td> Welcome to the Ranger Den! We shall train you to become a great ranger through dexterity! There are several different animal types (small,medium,large) in which you can hunt at a certain level. Defeating an animal will give you a piece of the animal, in which you can trade in for money at one of our collectors. First, you must purchase your bow and arrow, along with your ranger clothes. Have fun, and good luck in the wild!</tr></td></table></center><br /> <center><table width=90% cellspacing=1 class='table'><tr style='background:gray'> <th><center>Equipment</center></th> <th><center>Price</center></th> <th><center>Purchase?</center></th> <tr><td>Ranger Bow <td><center>$500 <td><center></tr>"; if($ir['ranger_equip'] >= 1) { echo "<font color=red>Done!</font>"; } else { echo "<a href='rangerden.php?action=buybow'>Buy</a>"; } echo" <tr><td>Ranger Clothes <td><center>$500 <td><center>"; if($ir['ranger_equip'] >= 2) { echo "<font color=red>Done!</font>"; } else { echo "<a href='rangerden.php?action=buyclothes'>Buy</a>"; } echo" <tr><td>Ranger Arrows (x100) <td><center>$500 <td><center>"; if($ir['arrows'] >= 1000) { echo "<font color=red>Maxed Out!</font>"; } else { echo "<a href='rangerden.php?action=buyarrows'>Buy</a> "; } echo " </tr></td></table><br /></center> <center><table width=90% cellspacing=1 class='table'><tr style='background:gray'><th><center>Your Statistics</center><tr><td></th><center> "; $dexterity=(int) ($ir['dexterity']/$ir['max_dexterity']*100); $rangerxp=(int) ( $ir['ranger_exp']/$ir['ranger_needed']*100); $dex=100-$dexterity; $rangerx=100-$rangerxp; echo " <center>Ranger Level: {$ir['ranger_level']}<tr><td></center> <center>Dexterity: {$ir['dexterity']}/{$ir['max_dexterity']}<tr><td></center> <center>Ranger Exp: {$rangerxp}%</tr></td></center> <tr><td> <center>Arrows: {$ir['arrows']}/1000</tr></td></table><br /></center> <center><table width=90% cellspacing=1 class='table'><tr style='background:gray'><th><center>Your Collection</center></th><tr><td> <center>You currently have {$ir['huntbirds']} bird's feathers!<br /> You currently have {$ir['huntlambs']} lamb's wool!<br /> You currently have {$ir['huntsheeps']} sheep's wool!<br /> You currently have {$ir['huntgoats']} goat's horns!<br /> You currently have {$ir['hunttigers']} tiger's skins!<br /> You currently have {$ir['huntelephants']} elephant's hides! </tr></td></table><br /></center> <center><table width=90% cellspacing=1 class='table'> <tr style='background:gray'> <th><center>Small Animals</center></th> <th><center>Medium Animals</center></th> <th><center>Large Animals</center></th>"; if($ir['ranger_equip'] != 2) { echo" <tr><td><center><hr />You cannot hunt here yet! <hr /></td> <td><center><hr />You cannot hunt here yet!<hr /></td> <td><center><hr />You cannot hunt here yet!<hr /> </td></center></tr></td></table><br /><hr width=80% /><center><a href='explore.php'>Explore</a><hr width=80% /></center>"; } else { echo "<tr><td><center> [<a href='rangerden.php?action=hunt1'>Hunt - Bird</a>]<br /> [<a href='rangerden.php?action=hunt2'>Hunt - Lamb</a>] </td><td><center> [<a href='rangerden.php?action=hunt3'>Hunt - Sheep</a>]<br /> [<a href='rangerden.php?action=hunt4'>Hunt - Goat</a>] </td><td><center> [<a href='rangerden.php?action=hunt5'>Hunt - Tiger</a>]<br /> [<a href='rangerden.php?action=hunt6'>Hunt - Elephant</a>] </center></tr></td></table><hr width=80%><center><a href='explore.php'>Explore</a><hr width=80%></center>"; }
-
Thank you guys for helping me out.
-
I agree, and I don't like MCCodes Redux. I find it rubbish.
-
Jedi your getting better mate :)
-
Hey there, I need help. I want my query underneath to randomly choose any members with the field draw +1 Any help will be appreciated. $draw=mysql_query("SELECT * FROM userstatistics WHERE draw > 0 LIMIT 1"); $sql=mysql_fetch_array($draw); $draw2 = mysql_query("SELECT * FROM users WHERE userid = {$sql['userid']}"); $sql2=mysql_fetch_array($draw2);
-
I told you Smokey. BlueHost is rubbish. Change to StableHost! Ask Dave about them!
-
He said create one. Not give his actuall CPanel...
-
Wow nice, I like it.
-
http://www.unovarpg.com/login.php No downloads hah
-
I bought this off him and his interigated it into my register, it was great!
-
Sorry about that, changed now :)
-
This will only let staff upload images to file images/username. Called this file staff_uploadimage.php <?php include"sglobals.php"; if($ir['user_level'] != 2) { print "<hr width='50%'>Please read the error message.<hr width='50%'><h3>! ERROR</h3>Admin Only.<br/><br/> <hr width='50%'><a href='../index.php'>> Go Home</a><hr width='50%'><br />"; $h->endpage(); exit; } echo'<form action="staff_upload.php" method="post" enctype="multipart/form-data"> Path of Image: <input type="file" name="file" id="file" /> <input type="submit" name="submit" value="Submit"> </form>'; $h->endpage(); ?> Now make a file called staff_upload.php <?php include"sglobals.php"; if($ir['user_level'] != 2) { print "<hr width='50%'>Please read the error message.<hr width='50%'><h3>! ERROR</h3>Admin Only.<br/><br/> <hr width='50%'><a href='../index.php'>> Go Home</a><hr width='50%'><br />"; $h->endpage(); exit; } $file_exts = array("jpg", "bmp", "jpeg", "gif", "png"); $upload_exts = end(explode(".", $_FILES["file"]["name"])); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($_FILES["file"]["size"] < 2000000) && in_array($upload_exts, $file_exts)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br>"; $h->endpage(); exit; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo "Type: " . $_FILES["file"]["type"] . "<br>"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " kB<br>"; // Enter your path to upload file here if (file_exists("../images/username/" . $_FILES["file"]["name"])) { echo "<font color ='red'>"."(".$_FILES["file"]["name"].")". " already exists. "."</font>"; $h->endpage(); exit; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "../images/username/" . $_FILES["file"]["name"]); echo "<font color='#088A08'"."Stored in: " . "../images/username/" . $_FILES["file"]["name"]."</font>"; $h->endpage(); exit; } } } else { echo "<font color=red>Invalid file</red>"; $h->endpage(); exit; } ?>
-
Nope I have not yet. I also got into a fight yesterday, my neighbours were drunk and they spat on my mum :/ So me and my brothers beated the **** out of them. I have a court case going on. GBH lol, little ****ers they are.
-
Hey I made that :S? Joke hah, I actually like it :) If it was only mine -_-
-
Yes, I will warn all my members about this. Sorry frosty. Send me any of the IP of the people who spammed your game.
-
That is not my IP :/
-
Good luck mate. OMG Richard! It's you I love your work mate! You might not know me. But I am a big admirer!
-
What are your strongest programming language?
Dragon Blade replied to Script47's topic in Question of the day
PHP,Mysql. That's about it to be honest. And abit of JQuery. -
I don't like fighting overall really.. Last year I was walking to a job interview, and I was beaten up by a few guys, they could have robbed anyone that day, and it happened to be me lol (probably from the smart attire i was wearing)...They took everything I had really, from my wallet, money, papers, side-bag, to even bus pass, apparently doctors say I had enough damage to head I could have died or be put in a coma but luckily that didn't happen. When I was in hospital, the police said I could take on a case but I never did, I didn't want the hassle.