Jump to content
MakeWebGames

The Ace

Members
  • Posts

    363
  • Joined

  • Last visited

    Never

Everything posted by The Ace

  1. Re: [V2] Race Mod [V2] Thanks! :D Your's works! Now, I just need to change the ones I changed before.....(that might have affected it before!) lol Thanks again, :)
  2. Re: [V2] Race Mod [V2] Nice mod. :) I get this: Fatal error: Call to undefined function conf_race_change() in /usr/home/*****/domains/************/public_html/preferences.php on line 26 I changed a few of the races, and altered the SQL to the correct name, but the error is on this line:   conf_race_change();   Cheers, The Ace (I don't need to put in lines above or below, coz the code is in the first post!) lol :-P
  3. Re: MCcodes Needs Protection I don't really want to get involved in this, so I won't........ But, which features/scripts are the most important that need to be protected?
  4. Re: mccodes v2 i need serious help The formula is mainly for the success rate. Adjust the money given when succeeded. That affects the exp give out. If you make it a lot, more exp will be given out...and the higher the LEVEL of the user, the LESS exp they will gain... :)
  5. Re: Decimals in Banks May someone please help? :o)
  6. Re: [Free V2] Lottery Thanks Tonka! I had to change the 24 to a 0, because it goes from 0-23....lol. But I kept the 6 at 6...so does it still mean it goes out every Friday at 00:00 or Saturday......or Sunday....? :-P lol
  7. Re: [Free V2] Lottery Whereabouts do I change it so the lottery goes out on Fridays?
  8. Re: [Free V2] Lottery Joker....are you using V1? Coz, as it says, it's not tested properly yet and doesn't work....   Akash, this is a great mod! When does the jackpot go out...? On which day? :-P
  9. Re: Changer User Password! V2 Thanks! I altered it a bit and got it to work!!! :D :-P Cheers! :)
  10. Re: Changer User Password! V2 Great mod! I love it. :D I'm still learning as well....so I don't know how to do this part: How do I make just the Change User Password only useable by ID's 1 and 2? I know how to make a whole feature only accessible by certain ID's, but not just a single part of a feature. :-P
  11. Re: Decimals in Banks I made a donator bank from my cyberbank, and changed all the necessary things. The money in the bank changes, but it seems that the last three digits stay the same....seem to be rounded to "000". For example; I have £993512000 in my donator bank and £878 on hand. But, when I deposit my money, the bank money goes to: £993513000 (In the deposit screen it shows: £993512878) This is highly annoying!!!!! :x
  12. Re: City Names Thanks a lot Extermination! :o)
  13. Re: Users Online Thanks... :)
  14. Re: City Names No, that didn't work either...it just displayed: You begin exploring and see a bit that interests you. But thanks for trying! :)
  15. I am trying to get my users online into a table. I have got this:   <?php include "globals.php"; print "<h3>Users Online</h3> <table border='1' width='70%' class='table'> <tr> <th width='15%'>Number</th> <th width='35%'>Username</th> <td width='20%'>Last Action</th> </tr> <tr> <td>$cn=0;</td> <td>$q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); while($r=$db->fetch_row($q))</td> <td>{ $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $cn++; print "$cn. [url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) ";</td></tr></table> } $h->endpage(); ?>   But, there is a problem with this line:   $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC");   Any ideas!? :-P
  16. I am trying to get the name of the city the user is in to display at the top of the explore page, where it says: You begin exploring.... I have tried having: You begin exploring {$r['cityname']}   but that didn't work. Do I need to have something at the top, like in viewuser.php, such as: $q=$db->query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}");   but only have: $q=$db->query("SELECT c.* FROM users u LEFT JOIN cities c ON u.location=c.cityid WHERE u.userid={$_GET['u']}"); or something like that? Cheers.
  17. Re: Slight Problem Yay! I did it myself...I just used another "need" function, but called it $need2! Thanks Deception! :)
  18. Re: New Crime Page [V2] Well done! Very nice and I like it a lot! Much better than the original! :)
  19. Re: Slight Problem Yeah...good point. I'll have a go myself. Thanks.
  20. Re: Slight Problem Thank you very much! Works perfectly! How do I get this: You do not have enough money to buy the White Hole for £1.5e+10. You need £14,999,800,000 more to buy this house. to display: £15,000,000,000? Do I add a number_format after the £ sign and before {$np['hPRICE']}. "; Thanks again! :D
  21. Re: Slight Problem Grr...I get this: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/home/*****/domains/***/public_html/newestate2.php on line 17 Here are my lines above and below the parse error:   else if ($np['hPRICE'] > $ir['money']) { print "You do not have enough money to buy the {$np['hNAME']} for £{$np['hPRICE']}. $need = number_format($np['hPRICE'] - $ir['money']); echo 'You need £' . $need . ' more to buy this house.'";   This is line 17:   $need = number_format($np['hPRICE'] - $ir['money']);   Thanks for helping me!   Yes...I did mean that! :-P lol.
  22. This is probably really easy, but I just can't find out how to work it: I would like it so that when a person attempts to buy a house they can't afford, it says how much more money they need to get the house....I have this:   {$np['hPRICE']} - {$ir['money']}   But that only outputs the house price minus the users money...but not the final answer. This also doesn't work:   ({$np['hPRICE']} - {$ir['money']})   I thought I would need the ( and ), but no.... Can anyone help me...please. :-P Cheers, The Ace
  23. Re: IE and FF Back to the topic of IE and FF: I have it so that when you hover over the link, it goes blue, underlined amd small caps. This works fine in FF, but doesn't in IE. It goes blue and underline, but not small caps. AND, it goes small caps in only ONE or TWO pages, like the estate agents, for example. Anyone know why this only works in FF and not IE...   I have done this...but does anyone know how to get it to work on IE!? Has it got something to do with the code in each script...? :?
  24. Re: securing against mysql injection Which pages are the most important ones to protect against SQL Injections?
  25. Re: IE and FF This is kinda off the topic of IE and FF, but still on the topic of Hover Links. I would like mine to be underline AND overline: a:hover { color: blue;text-decoration:underline;font-variant:small-caps;} I have tried putting a , after underline then type in overline, but that doesn't work.... Anyone know how to get it underline and overline? And I know this is probably really easy...I just can't really think straight today... :)
×
×
  • Create New...