Jump to content
MakeWebGames

AlabamaHit

Members
  • Posts

    1,308
  • Joined

  • Last visited

Everything posted by AlabamaHit

  1. Re: Making CSS compatible with IE! I ran into this problem before....I assume yo have the css already made and its just not working right in IE but works right in FF.... open your header... find   <html> <head>   add after <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">   All it is, is you have to set standards for the pages.. And a thanks to Floydian cause he showed me this :-D
  2. Re: Display Picture upload, size and file format Are you sure you want that?...Safest way is make them upload someoen where and link to it.....
  3. Re: [V2 REQUEST] IPN_DONATOR the one that comes with mccodes version 2 works.. I don't know of anyone that has any trouble with them unless they have edited the file, not know what the heck they are doing., And no one will post the page here cuase thats illegal, and the post would just be removed
  4. Re: Donating Problem :mrgreen: usually its the simplest things :-D
  5. Re: [mccode] Free Starter Pack Next time you make a complatible...give some credit to the guy who showed you how to do that...... And dont use $db-> Use only mysql_ V2 uses it just fine..and no need to change it later.
  6. Re: [MCV1]Crimes Need An Item i couldn't do it? LMFAO....dumbass look at my game.. And you should Learn BEFORE your ass jumps on google and gets mccodes Illegally and trys to get rich quick with a game.
  7. Re: Dodgy header problem cant say the blame is on dreamweaver... but it does suck, lol......
  8. Re: Securing Item market search here for crystal market securing...im woudl guess the fix is the same.... ..if not sorry, can think of nothign right off hand
  9. Re: Donating Problem if all your doing is updating money you just need this....   $db->query("UPDATE users SET money = money + 20 WHERE userid = {$for}");
  10. Re: MailBox Problem in the mailbox.php you need to make it update is..... Use the Search Bar at the top cause this has been fixed on here 100 times..
  11. Re: [mccodesV2]main menu help Your joking right?                               All you have to do is what you said
  12. Re: Crons VS. Time Stamp Yeah i was thinking about that....cuase it would have to run that big query all the time, lol......Really was me thinking out loud :-D and thowing ideas maybe someoen would see and and have somethign to go with it, :mrgreen:
  13. Re: Query Question (Energy) That is common....reason is.. If my energy is 100 100 / 10 = 10 <-- comes out right. but if my energy is 14 14/10 = 1.4 <- not even so not going ot be a clean 10%
  14. Re: Query Question (Energy) Do this.. backup your jailbust.php Then copy the stuff I gave you over the part in the jailbust.php
  15. Re: Query Question (Energy) i have no idea what you mean, lol.. the querys i gave you should take 10% of there energy...
  16. Re: Little bit of help with items search this forum for stuff like hollowen pack, starter pack, or trick or treat pack....i think they have the same function as what your looking for.
  17. Re: Query Question (Energy) Maybe somethign like this...   $percent = $ir['maxenergy'] / 10; //Takes 10% from them $update = sprintf("UPDATE users SET energy = energy - '%u' WHERE userid = '%u' ", ($percent), ($userid)); mysql_query($update); //This stops energy below "0" $check = sprintf("UPDATE users SET energy = '%d' WHERE energy < '%d' AND userid = '%u' ", (0), (0), ($userid)); mysql_query($check); if($ir['energy'] < $percent) { die("DIE MESSAGE"); }
  18. Re: Crons VS. Time Stamp   I have thought about something on that......you could inplant a code that is included in the site that everyone uses... JUST an example...... say you have a "main.php" which is where the main information of your game is at...so everyone gets this page included.. you could put something like this in there couldn't you?   $updatehealth = sprintf("UPDATE users SET health = '%u' WHERE health < '%u' ", ($maxhealth), ($maxhealth)); mysql_query($updatehealth);   Now that would update peoples health with them offline......though you now have that running ever page load....
  19. Re: Weird cron problem yup check the code and double check the code then double check the URL
  20. Re: [MCV1]Crimes Need An Item see...begging.....and if it wasnt asking for much   then you could do it.... I dont help people thatjust jump on here and ask for codes.....take your self to php.net and learn
  21. Re: Weird cron problem its probarly your host blocking the curl feature
  22. Re: [mccode] Gangs     thats not asking...and in all your post your Begging like that............
  23. Re: Sql Help Try this.   $q = $db->query("SELECT `courtREASON`, `courtVDAYS`, `courtVERDICT` FROM `court` WHERE `courtVERDICT` > 0 ORDER BY `courtID` DESC"); while($case = $db->fetch_row($q)) { $q=$db->query( sprintf("SELECT `username`, `userid` FROM `users` WHERE `userid` = %u", $case['courtID']) ); $user = $db->fetch_object($q); $outcome = ($case['courtVERDICT'] == 1) ? 'Not Guilty' : 'Guilty'; echo " <tr> <td>".$user->username." [".$user->userid."]</td> <td>".$case['courtREASON']."</td> <td>".$outcome."</td> <td>".$case['courtVDAYS']."</td> </tr>"; } echo "</table>";
  24. Re: [mccode] Gangs dang dude..............stop begging for stuff................
  25. Re: [mccodes v2] Find random items while playing the game... when you convert v1 to v2 you DONT have to chagne the mysql_query to $db-> myql_query is php code...it will always work....come on people Mccodes is wrote in PHP mccodes is NOT a language itself....
×
×
  • Create New...