Jump to content
MakeWebGames

Bob911

Members
  • Posts

    65
  • Joined

  • Last visited

    Never

Everything posted by Bob911

  1. Re: [mccodes] Horoscopes no problem
  2. Re: [mccodes] Horoscopes Hello thanks all for your comments. If i did make a mistake I am truly sorry!
  3. This mod has been taken from icodez.net This modification adds a horoscope to your game. Users can choose their star sign and read their horoscope for that week. Horoscopes will have to be changed weekly by the game owner. This mod is a great addition to a game as users will enjoy reading something about their experience playing the game. This mod has been used and tested and users love it. You will have to change the horoscopes once every week. A set of horoscopes have already been written in this mod.   I know this modification is very simple...but hey, its free!   Instructions   INSTRUCTION MANUAL 1. Upload the php file to your server 2. Add a link in the city/explore page to access the horoscope page 3. Keep changing the horoscopes every week. ( Make them up :D )   horoscope.php   <?php include("globals.php"); if(!$_GET['action']) { print " <h3>Horoscopes</h3> Every few weeks the {$set['game_name']} star reader calculates a horoscope for every star sign. The horoscope is always something related within {$set['game_name']}. Choose your star sign below and read your horoscope! [url='horoscope.php?action=aries']Aries (20 March - 20 April)[/url] [url='horoscope.php?action=taurus']Taurus (21 April - 20 May)[/url] [url='horoscope.php?action=gemini']Gemini (21 May - 20 June)[/url] [url='horoscope.php?action=cancer']Cancer (21 June -21 July)[/url] [url='horoscope.php?action=leo']Leo (22 July - 22 Aug)[/url] [url='horoscope.php?action=virgo']Virgo (22 Aug -21 Sept)[/url] [url='horoscope.php?action=libra']Libra (20 Sept - 21 Oct)[/url] [url='horoscope.php?action=scorpio']Scorpio (22 Octr - 21 Nov)[/url] [url='horoscope.php?action=saggitarius']Sagittarius (21 Nov - 21 Dec)[/url] [url='horoscope.php?action=capricorn']Capricorn (21 Dec - 20 Jan)[/url] [url='horoscope.php?action=aquarius']Aquarius (21 Jan - 19 Feb)[/url] [url='horoscope.php?action=pisces']Pisces (19 Feb - 20 March)[/url] "; } if($_GET['action'] == aries) { print " <h3>Aries</h3> Well Aries. The dodgy comments you've been giving to your friends, i'm surprised you're not fed jailed. Anyway, your stats seem as if they are going up in the right direction, but is your common sense? Stop trying to attack users for revenge and concentrate more on attacking users to train! Also Aries, you may want to watch out for Virgo though. They are going to make a deal with you, only to scam you! Maybe over the next week you should really try to find out who your friends are and who your enemies are. Don't you think people have just been using you to get a higher rank? Because the stars say they have! "; } if($_GET['action'] == taurus) { print " <h3>Taurus</h3> Hello Taurus. You have been very quiet recently. I think you should try to communicate with other players. It would make everything a bit more fun for you. Having friends to compete against on the game is very challenging. Also you should take a turn from trying to get the highest post on the forums. It won't get you anywhere. Training your stats is far more important than some forum count! And finally, the stars are showing a very bad sign for you. Bad luck is on it's way. Maybe becoming a donator would get rid of this bad luck. Who knows? "; } if($_GET['action'] == gemini) { print " <h3>Gemini</h3> Oh hello Gemini. You are really on track with the game and all the stars show positive signs for you. Just carry on working as well as you are now, and soon you'll become a legend. But there is one tiny thing which may push you off track. Kill your addiction for gambling. Each week you buy lots of lottery tickets but never win. Also you lose a lot of cash on the horse track. The amount of money you spend on gambling, could be enough to buy you a Hotel! "; } if($_GET['action'] == cancer) { print " <h3>Cancer</h3> Oh no Cancer. All the stars are negative for you! Your stats are incredibly poor. Not to mention the lacking in your activeness. A baby could be better than you! You should also be very careful with who you put your trusts with. A few Scorpios have been told to spy on some people in order to beat them. You really need to sort yourself out, or soon, your rank will be nothing in the game! "; } if($_GET['action'] == leo) { print " <h3>Leo</h3> Well Leo, your signs are neither positive, nor negative. The stars haven't said much about you recently. So there isn't much I can say. All I can say is, keep working your hardest! "; } if($_GET['action'] == virgo) { print " <h3>Virgo</h3> Well, well, well. If it isn't a Virgo. You are a very sly person aren't you? You have a devious little mind! But let me tell you, if you scam an Aries, your ass will be wooped in fed jail. And beleive me, fed jail is NOT a nice place to be. Just play fair and go by the rules, or certain things will happen, to make you rue the day! "; } if($_GET['action'] == libra) { print " <h3>Libra</h3> Hello Libra! I like your personality (from how the stars mention you). You are a very lively person and are quite active. Your stats are VERY good and your level is increasing rapidly. Keep it up and soon you could be a very high ranked player! "; } if($_GET['action'] == scorpio) { print " <h3>Scorpio</h3> Hi Scorpio. The stars advise you to become a donator and spy on all the other players stats. Maybe then your failing level can increase! By spying on people, you can find out everyones stats, then you will know who you can attack for exp. But until then, you're going to be failing miserabilly! "; } if($_GET['action'] == saggitarius) { print " <h3>Saggitarius</h3> Hey Saggitarius. Funnily enough, your stars show exactly the same as Virgos. The stars show you are a very sly person! You have a devious little mind! But let me tell you, if you scam an Aries, your ass will be wooped in fed jail. And beleive me, fed jail is NOT a nice place to be. Just play fair and go by the rules, or certain things will happen, to make you rue the day! "; } if($_GET['action'] == capricorn) { print " <h3>Capricorn</h3> Hello Capricorn. Most of the stars are positive for you and you have nothing to worry about. Your stats are ok. But instead of investing your money in the bank, maybe you should buy a better property. Then maybe you can beat that Saggitarius you're after! "; } if($_GET['action'] == aquarius) { print " <h3>Aquarius</h3> OH NO Aquarius! You're stats and your level is pretty low for your age. You really need to train up more to become a high player. But before you sort out your stats, you may want to start chatting to some new female players. One of them is the woman of your dreams and both of you will soon be married! "; } if($_GET['action'] == pisces) { print " <h3>Pisces</h3> Finally Pisces. The last of the horoscopes. Well you are also one of those players who are neither strong, nor weak. Your stats are just average and like most normal people your age. If you want to be special and beat the people you know, then maybe you should train harder! "; } $h->endpage(); ?>   A set of horoscopes have already been written for you in this mod. Feel free to edit it how you like!
  4. Re: Delete Users     He did say start from scratch so what Nyna said should do the trick. HOW CAN YOU NOT KNOW HOW TO TRUNCATE TABLES??? lol. You did say "easisest" option so I guess you were looking for something easier than that, but I assure you, that is easy!
  5. Re: Delete Users lol oh right I understand now. Well personally I do not know as I have not tried this. But why not just delete the ID 1 user and delete their stats and then just make that user again by the register page. Then to change to admin just change the user_level via phpmyadmin. Thats the simple thing to do... Unless anyone knows a simpler way....(HINT HINT NYNA! YOU KNOW EVERYTHING! :-D)
  6. Bob911

    One Big Code!

    Re: One Big Code! exit;
  7. Re: Delete Users What do you mean by reuse the user ID's?
  8. Re: Negative money ??? there maybe an SQL query in one of your mods which made this happen. Check any mods you added recently or any SQL queries you have added. There may have been a query to minus money from a user but you may not have secured it by making sure it does not minus money if the user does not have enough money for whatever it is they are doing. So for example, if you have something on your game which costs $300,000 to do, you would put this: if($ir['money'] < 300000) { print "You don't even have enough money "; $h->endpage(); exit(); } else { $db->query("UPDATE users SET money=money-300000 WHERE userid=$userid"); } If your money is going into minuses, then you may have just put: { $db->query("UPDATE users SET money=money-300000 WHERE userid=$userid"); }   This will minus $300,000 from the user even if they did not have enough to do whatever it is they wanted to.
  9. Re: game set up ok cool. Is everything working fine?
  10. Re: Donating Problem I am not an expert on these server things but I think it could be your host. You may need to contact your host owner to get fsockopen for the paypal thing. Sorry I am not good with these things but when I was new to all this my donator thing didnt work either and I contacted host and they opened fsock or something like that anyway. I am only giving you something that could be the case. I am no expert in this thing. Sorry
  11. Re: Weird cron problem I know this seems like a babyish answer but have you checked that the cron code is the same as the code in config.php? I just dont know whats wrong and maybe that could be an issue? (Just a suggestion)
  12. Re: game set up looks like your game isnt up at the moment mate :? If you go on www.iproductionz.net and go on contact us, im sure one of my team members will help you. And obviously if its tiny things such as will bar stuff, they will do it for free mate. Look forward to hearing from you.
  13. Re: Free Graphics!!! Saint i just want to say that your banners are looking EXCELLENT and with even more practice and experience I think you will be a great addition to the graphics world! Keep it up mate!
×
×
  • Create New...