Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. POG1

    tutorial?

    Re: tutorial?   lol mccodes wass the first game that came to my head
  2. POG1

    Include or Require?

    Re: Include or Require? try require_once ("../globals.php");
  3. Re: Updated Display Pic System [V2]   echo ($ir['display_count'] == 0)?'nopic.jpg':$ir['display_pic'];
  4. Re: [Other] Website Template   with margin you could use; margin: 50px auto; when there is 2 values the browser will take the first as top and bottom margin and the other left and right..
  5. Re: Which piece of code is better to use? i changed my mind lol preg_match..
  6. Re: Which piece of code is better to use? ereg('[^0-9]',$subject)
  7. Re: [mccode v2] Brothel Non exploitable lol :P
  8. Re: [REVIEW] - Celtic Raids link?
  9. Re: [mccode v2] Brothel Non exploitable   if(preg_match("/^MF/",$_GET['y'])) { switch($_GET['y']){ case 'M': //MALE STUFF break; case 'F'; //FEMALE STUFF break; } $h->endpage(); die; }   That would be more secure right? "i haven't tested it"
  10. Re: [mccode V2]Login, Register and Header - (Template)[$20.00] hhmmm lovely
  11. Re: *special* McCodes v3 BETA Release   What dumbass would be using mc code as their game code if they built their own? it was an example
  12. Re: [Other]Game login page[$9.99] you got a demo of the login? people need to see how it performs (loading speeds)
  13. Re: Referal in HOF the query is selecting from the referals table and the username is in the users table. Take a look at LEFT JOIN in the mysql manual..
  14. POG1

    Variables..

    Re: Variables.. document.write is not exactly the best thing to use but for this purpose it is ok.
  15. Re: [MCCodes V2] View User I just don't like to see very long scripts for something as simple as getting a word ;)
  16. Re: [mccode] Buy A House With Level Requirements ! on the page where you show the houses put this in the cell with the buy link ( i don't know exact names ) ...   echo($r['hLEVEL'] =< $ir['level']):'[url="buyhouse.php?id='.$r['hID'].'"]Buy[/url]':'<i style="color:#009">'.number_format($r['hCOST']).'[/i]';   Then in the buy bit..   if($np['hLevel'] > $ir['level'] ) { echo ' You Are Not The Level Required Yet</p>'; $h->endpage(); die; } $newMoney = $ir['money'] - $np['hPRICE']; if($db->query(sprintf("UPDATE users SET money = '%u', will = '0', maxwill = '%u' WHERE userid = '%u'",$newMoney,(int)$np['hWILL'],(int)$userid))) { echo ' You now live in a '.$np['hNAME'],'</p>[url="index.php"]back[/url]'; } else { echo 'error';
  17. Re: [MCCodes V2] View User I found this in your code...   if($r['user_level'] == 1) { $UserLevel = "Member"; } else if($r['user_level'] == 2) { $UserLevel = "Admin"; } else if ($r['user_level'] == 3) { $UserLevel = "Secretary"; } else if($r['user_level'] == 5) { $UserLevel = "Assistant"; } else if($r['user_level'] == 0) { $UserLevel = "NPC"; } else { $UserLevel = "Report To Admin."; }   what about?   $userLevel = array(0=>"NPC",1=>"Member",2=>"Admin",3=>"Sectretary",5=>"Assistant"); $userLevel = $userLevel[$r['user_level'];
  18. Re: *special* McCodes v3 BETA Release But what evidence would there be to say "this is mccodes"? If someone has over time recoded every page then who's to say the game is mccodes..
  19. Re: C.E FORUM COLORS! This theme was chosen because it has very little in comparison to other SMF themes; this cuts down on loading times,server load and bandwidth.
  20. Re: [MCC V2] - Search.php in one | Optimized In the form you have;   '<form action="'.$_SERVER['PHP_SELF'].'" method="post">'   The action to the same page isn't needed, it will do it anyway ;) Apart from that it looks good though
  21. Re: [MCcode v2] Advanced spying script [$10 USD] That looks sick man, worth the $10 any day!
  22. POG1

    How to use sprintf?

    Re: How to use sprintf? spacing some things is useless..
  23. Re: [mccode] Free Starter Pack   it looks like its trying to detect the mccode version, because only V2 has globals.php
  24. Re: Some crons not working you need some crazy query optimization
  25. Re: Opacity in IE Browser's Ok, but from which version of safari is opacity accepted? It would be good for some people who would have the older browsers
×
×
  • Create New...