Jump to content
MakeWebGames

Jordan Palmer

Members
  • Posts

    1,660
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jordan Palmer

  1. Search youtube..
  2. I prefer it without out tab spacing, Just like my things to be clean and organised.
  3. There is difference in the speeds in mccodes db class & mysql. It looks messier + I suspect the ima n00b is dannys way of saying do you see what i mean
  4. Your coding is very untidy and you are persistent throughout the mod.. Good attempt Just try and be persistent ie using print and echo... pick one and stick with it throughout the script referring to mysql_ then going to $db-> pick one and go with it
  5. Well there is no simple addon to actually secure your game, However people will do this at a price. Usually around 200+ USD depending on who and exactly what your having done.
  6. MCCodes is made up of php|mysql so all webhosts pretty much support mccodes.
  7. All they'll do is transfer you to a new package/server and as said they will do this for you, I think they even have a automated system of some sort to do most of the work
  8. The last I heard the owner was stopping away from MWG as he kept getting abused/stalked. Which only leads me to believe the OP is telling the truth
  9. I work for MCCodes, The guys who did the MD layout are no longer under contract..
  10. This is a nice way of doing things, A credit system alike
  11. @Aaron not bad at all, bit of a long name but good :) As for CB doing you a layout, I'm sure your getting mixed up as CB cannot do layouts :s
  12. That would be up to you to do, I'm sure he's not gunna pay someone to do the images for each pet
  13. Do you have the PSD lying around?
  14. Is the banner changeable or is it an actual banner? If so are you willing to change the banner for users?
  15. I guess it all comes down to what script is used ect, As free hosts usually have over crowded servers so that means site will be slower and for someone with a slow internet that can be a major turn off so to speak. I would personally get a open source script and work with it, build your skills and then offer then as a service, Sooner or later you'll start earning and after a while you'll be able to run a game on your income
  16. This isn't a discussion about the speed of echo/print - Back on topic guys.
  17. Very nice, I can remember looking at this a few months back and admiring how nicely its done. Gives users alot more options to use. Very good work! :D
  18. As for the PHP Quiz Woah there's alot of persons in the SQL test, quite ashamed of the time but blah, I got a good result
  19. I wouldn't advise it, running a game for a hobby is fine but running a live game on a free host with a free domain is really stupid and shouldn't ever be done. My advice would be get your dad to buy you a domain $8-$10, and a years web hosting $100 max. and then setup your own game using a open source engine
  20. We have made a couple of updates to the game to improve the flow of gameplay and encourage activity. The first one doesn't really concern current users, but we have altered the email validation system to allow users to play before validating their account. Their access to certain areas of the game will be restricted, however. This should encourage more registrations. Secondly, we have altered the frequency at which you gain energy so you gain more each day. The frequency at which you gain energy. We understand these energy gain times might be confusing, as they are not always going to happen at the same time each hour. Therefore, we have also prepared the following page which lists the times at which you will gain energy each day in the timezone you have set your account to: Energy Gain Times Table More updates are forthcoming. Mono District Staff
  21. Use the search feature it's already been done :)
  22. I think you can buy via Seany Bobs Website
  23. Not from my side
  24. SMS payments are very touchy things and you will never recieve full payment, Although http://www.allopass.com :) is good Read there documentation and you'll be fine
  25. I liked this script, It's been something I wanted to make but not really had the time to get it started but just as a starter I thought I'd recode this one, Nothing majorly changed just pushed into two functions instead of three and use of tag. <?php /* Guessing Game Copyright chicka & Jordan Palmer */ include_once(DIRNAME(__FILE__) . '/globals.php'); if($ir['guess']<1) { echo "you have used up all your guesses for the day. Come back Tomorrow. [url='index.php']Home[/url]"; exit($h->endpage()); } echo' <font color="red" align="center"><h3>Welcome to the guessing game</h3></font>'; switch ($_GET['action']) { case 'bet': Whole_Function(); break; default: game_home(); break; } function game_home() { echo('[b]guessing Game[/b] The system is pretty easy to use, You guess a random number between 1 - 500 and if the number you guess is the same number which is automatically generated you will win 50x your bet placed. Sound good? - <a href ="'.basename($_SERVER['SCRIPT_FILENAME']).'?action=bet">> Place a bet</a>'); } function Whole_Function() { global $h,$db,$ir; if(isset($_POST['submit'])) { if(!ctype_digit($_POST['bet'])) { echo('The bet needs to be a valid number'); exit($h->endpage()); } else { if($_POST['bet'] > $ir['money']) { echo('You dont have enough cash on hand to place this bet'); exit($h->endpage()); } else { $number = mt_rand(1,500); $guess = (int) $_POST['bet']; if($guess != $rand) { echo('[b]Wrong[/b] The number you guessed did not match the number that was randomly selected <a href ='.basename($_SERVER['SCRIPT_FILENAME']).'>> Back</a>'); $db->query('UPDATE `users` SET `money` = `money` - '.$_POST['bet'].', `guess` = `guess` - 1 WHERE `userid` = '.$_SESSION['userid'].''); } else { $winning = $_POST['bet']*50; echo('[b]Congratulations[/b] Your account has been credited with $'.number_format($winning).' <a href ='.basename($_SERVER['SCRIPT_FILENAME']).'>> Play again</a>'); $db->query('UPDATE `users` SET `money` = `money` + '.$winning.', `guess` = `guess` - 1 WHERE `userid` = '.$_SESSION['userid'].''); } } } } else { echo '<h3>Placing a bet</h3> Place a bet on a random number between 1 - 500 <form action="'.basename($_SERVER['SCRIPT_FILENAME']).'?action=bet" method="post"> Bet: <input type = "text" name = "bet"/> <input type = "submit" value = "Place your bed" name = "submit"/> </form>'; } } ?> Mysql Addition: [mysql]ALTER TABLE users ADD guess (int)11 default 10;[/mysql] Cron: $db->query('UPDATE `users` SET `guess` = 10'); A few tips for game owners If your game economy is high I would fully changed the script and charge per bet along with lowering the amount I guess *50 is alright for $1-$100 bets but if someone put a million dollars it'd be a big payout for him/her. Good work Chika btw :)
×
×
  • Create New...