Jump to content
MakeWebGames

Faz`

Members
  • Posts

    652
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Faz`

  1. Re: View Item Information Alright, I'll try post up a proper one now.   <?php include "globals.php"; print "<h2 style = 'padding-bottom:2px;'>{$set['game_name']} Item Information</h2>"; $sql = $db->query( "SELECT i.*, i.itmid, i.itmname, i.itmdesc, i.itmbuyprice, i.itmsellprice " . "FROM items i "); echo "<table class='table' width='80%'>"; echo "<tr>"; echo "<th>Item ID</th>"; echo "<th>Item Name</th>"; echo "<th>Item Description</th>"; echo "<th>Item Buy Price</th>"; echo "<th>Item Sell Price</th>"; echo "</tr>"; while($item = $db->fetch_row($sql)) { echo "<tr>"; echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmid']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmname']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmdesc']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmbuyprice']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmsellprice']))); } echo "</table>"; ?>
  2. Re: View Item Information I don't know what to do, all I can say is remove the annoying or whatever it says, if not send me your email and I'll email you the file. Thanks.
  3. Re: View Item Information It always seems to come out wrong when I copy and paste it on here. I'll update now.   <?php include "globals.php"; print "<h2 style = 'padding-bottom:2px;'>{$set['game_name']} Item Information</h2>"; $sql = $db->query( "SELECT i.*, i.itmid, i.itmname, i.itmdesc, i.itmbuyprice, i.itmsellprice " . "FROM items i "); echo "<table class='table' width='80%'>"; echo "<tr>"; echo "<th>Item ID</th>"; echo "<th>Item Name</th>"; echo "<th>Item Description</th>"; echo "<th>Item Buy Price</th>"; echo "<th>Item Sell Price</th>"; echo "</tr>"; while($item = $db->fetch_row($sql)) { echo "<tr>"; echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmid']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmname']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmdesc']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmbuyprice']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmsellprice']))); } echo "</table>"; ?>   There you go, much better. Alright, its still playing up, I don't know what to do, sorry about this :(
  4. Re: Viewing codes hack You bet...
  5. Re: Viewing codes hack   Your Clever Lol :P Your clever too, a 13 year dumbass bitch with nothing better to do than hack games.
  6. Re: Viewing codes hack I'm not bothered lol, you were the one that posted the topic about it, its pretty obvious how to do it, right click and view source, doesn't take a genius to figure it out.
  7. Re: Viewing codes hack I've heard of something called IonCube, you might want to check that out, but I think you have to pay for that.
  8. Re: Viewing codes hack Most people won't steal your layouts, unless they're a 13 year old noob who thinks they are "cool" or "bad" or whatever slang they use these days. If you find someone with your layout, just contact their host to take them down.
  9. I got sick and tired of constantly going into the database to look up Item Information, the ID's, The Name etc. so I decided to make this, I just made this to save time and make it more accesssible. 1. Make a file called itemid.php <?php include "globals.php"; print "<h2 style = 'padding-bottom:2px;'>{$set['game_name']} Item Information</h2>"; $sql = $db->query( "SELECT i.*, i.itmid, i.itmname, i.itmdesc, i.itmbuyprice, i.itmsellprice " . "FROM items i "); echo "<table class='table' width='80%'>"; echo "<tr>"; echo "<th>Item ID</th>"; echo "<th>Item Name</th>"; echo "<th>Item Description</th>"; echo "<th>Item Buy Price</th>"; echo "<th>Item Sell Price</th>"; echo "</tr>"; while($item = $db->fetch_row($sql)) { echo "<tr>"; echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmid']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmname']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmdesc']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmbuyprice']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmsellprice']))); } echo "</table>"; ?>   2. Add this to mainmenu.php or wherever you want: if($ir['user_level'] == 2) { print "[url='itemid.php']Item Information[/url]"; }   Thanks and I hope you enjoy this, took about two minutes to do, just wanted to see if I could actually execute SQL properly, I kinda suck at it, but hey, I'm getting better, thanks for reading this topic and I hope this "mod" (if you can call it that) is some use to you.
  10. Re: How much bandwidth does your game use? That game is one of the best I've played, I used to play it a lot before I got into programming.
  11. Re: MCcode V2 user DB hack http://criminalexistence.com/ceforums/i ... ic=28945.0 I made that a month or so ago. But yeah, I agree with strats, you're all going on about how you should learn to code, but if I'm honest, I'd be nothing if I didn't own an mccode game. A few people can back me up on this, I knew NOTHING when I started off. The first error I ever corrected was changing a file name from "street.php" to "streets.php" . That's the first thing ever. I've been at it 4 months now, and boy have I advanced a lot. Owning a game helps, and mccode offers people the opportunity to start learning, we all have to start somewhere. But anyway, I hope that post helps you, I spent a bit of time when making that.
  12. Re: [mccodes v2] Workout Centre [$15] After not much interest, I've decided to lower the price to $10.
  13. Re: How much bandwidth does your game use? I guess I'm a bit under all your standard, a lame 8gb per month.
  14. Re: [mccode v2] Faction with Armoury You might be missing a bracket or something, not too sure. Check around for any missing semi colons, brackets, speech marks etc.
  15. Re: Military Nation I'll help you, send me a pm with your msn addy and we'll take it from there. As for you damn noobs hacking, get a life and grow up.
  16. Re: Military Nation Your post probably provoked some noob like Jameo to hack his game, those noobs need to be taught a lesson. I will help you get your game back up if you wish, just give me a shout.
  17. Re: Advanced Tax Mod [$5] This seems a very nifty little mod, the concept I love. Good job, I'm sure it lives up to expectations.
  18. Re: Looking to buy a full layout & register & login A bit of a pointless post but...WWE Rules xD
  19. Re: What would you do with $100,000,000? Now I think about it, I now realize how I probably wouldn't spend it. Most rich people are greedy, never spend there money, are mizers. Trust me I know, my uncle has a fortune of over ?150 million. He has everything, an SLR, M6, big ass house. But I guarantee he still has around 99% left, just sitting there doing nothing. I personally would give some to charity, as I know many people, and have suffered at one point myself, having next to nothing is not cool. That's not to say I wouldn't reward myself, I would do that of course, but sometimes you have to look at the bigger picture in my eyes, there is more out there than what first meets the eye.
  20. Re: HottestGames.com Great layout, from first impressions, just from that screenshot it gives me the idea it is a great site with bags of potential, which can be executed very well.
  21. Re: What would you do with $100,000,000?   Lmao, I'd set up a business, buy some gold bars, so the value of the money always stays no matter what the currency, and then sustain that business, so you are always getting extra income, I'd then also give some to charity, but I'd make sure the money actually goes to where I want it to, I heard somewhere that Bill Gates donated $30b and Warren Buffett around $38 to the Bill & Melinda gates charity fund, that money alone could rebuild a couple of African countries, maybe more. But oh well, no-one knows what happened with that money. I'd also buy a big ass house, car and treat myself every now and again xD
  22. Re: Request |Nuclear Mod| v2 More information? What does it do, what is it supposed to do?
  23. Faz`

    Hello

    Re: Hello Welcome to the CE forums Vladimir. Hopefully you will take on programming, it is a very interesting field, and if you take it up the right way, can be executed very wisely. Tell me about the gaming side of life. I was playing text based games for about 6 years before I took on programming, then I realised how much of an idiot I'd been and wasted so much time... Anyway, if you have any queries, issues or just wanna talk feel free to post up here, there are a bunch of pretty decent people round here.
  24. Faz`

    What do you

    Re: What do you I like Andy McNabs books a lot. They are very gripping, and very realistic also.
  25. Re: [mccodes v2] Workout Centre [$15] Ah yes, that is a good idea, as it would bring the user back to your game to see how much stats they've gained etc after its complete. I'll add it in the instructions.txt as an option now so people know what to do. Thanks for that.
×
×
  • Create New...