Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: Is this worth it?   http://www.techtuts.com/forums/lofivers ... 10390.html something along the lines of that?
  2. Re: HOF-- User level Colours I haven't tested this but it looks like it will work. Add this somewhere, maybe global_func..   function formatName($id) { $id = abs(@intval($id); $result = mysql_query(sprintf("SELECT id,username,donatordays,user_level FROM users WHERE u.userid = '%u'", $id)); $result = mysql_fetch_assoc($result); switch($result[user_level]) { case 1: $staffType="Player"; break; case 2: $staffType="Admin"; break; case 3: $staffType="Assistant"; break; } return '[url="?page=profile&ID='.$result[id].'"]<span class="'.$staffType.'">'.$result[username].'</span>[/url]'; }   Then to use it... echo formatName($r[id]);
  3. Re: Quick coding question what about?   if(!empty($odata['fedjail)) {
  4. Re: Voted Today? that bit of code i posted will work, i tried it lol
  5. Re: [mccode V2] City Pic xD // for this location id 1 will show the first image... $images = array(1 =>'images/cityImage.jpg', 2 =>'images/otherCityImage.png', 3 =>'images/yetAnotherCityImage.gif'); // output the image echo ''; worked for me... I don't see the point of having masses of code to do something as simple as display an image like with the 1 illusions posted.
  6. Re: Voted Today? echo ($ir['voted'] > 4) ? '<u>Vote</u>':'';
  7. Re: MD + CE = Free Template looks good, why not use it?
  8. Re: [Mccodes V2]Phds haha You created a mod and can not install it lol
  9. Re: Voted Today? echo ($votes > 4) ? 'Vote':'';
  10. Re: Trying something out   Any decent game will also be created for mac. Mac is very good but very costly and hardware dependent (not for long). I for one would rather linux over windows and whoever prefers windows probably hasn't ever used linux.
  11. Re: [MCcode V2] Item Info revamp! looks nice. The only thing is that the buy and sell price is just a number if you added $ it would be money :)
  12. Re: [mccode V2] City Pic xD Here is a very simple way to do this, using an associative array... <? // for this coty id 1 will show the first image... $images = array(1=>'images/cityImage.jpg', 2=>'images/otherCityImage.png', 3=>'images/yetAnotherCityImage.gif'); // output the image echo ''; ?>
  13. Re: [New Game!]Legacy Phaser nice login +1
  14. Re: Password yeah good idea but if someone finds that you are fu*ked.
  15. Re: Password passwords are MD5 which would be extremely hard to decode, it will take even the best computers 40+ years to calculate. http://gdataonline.com/seekhash.php If you go there you can search in their database for the hash, it will not have every hash though.
  16. Re: [mccode V2] Index.php This looks good to me. +1 If you wanted to change something like a border you would have to go through the whole codes and change um. My suggestion is; use classes, corrections and changes can be done to the whole site in seconds.
  17. Re: [mccodes v2] Jail Bust Offer $10   Pretty sure the idea (not by AlabamaHit, his customer) was taken off RogueVampires, a more popular game with same type of feature. Anyway, cool mod, good price, nice job! :-) It was added onto RV lover a year ago.
  18. POG1

    loop problem

    I'm having trouble workng out a level from exp. If $enduranceXp has a value of 50 using this the $lvl will be 0... $e = $enduranceXp; $lvl=0; while($e < 0) { $lvl++; $e = $e - ($e * 0.4); }   any ideas?
  19. Re: [showcase] D4rk-Forces its mccodes....
  20. Re: [mccode] Cityname in Mainmenu   looks good to me. You missed a ' in the where clause :) Also you could do mysql_query(sprintf()); imstead of setting $query twice, it probably would make it a millesecond faster lol
  21. Re: My basic Html Login Page try not to use DIVs and tables. 1 or the other...
  22. Re: [mccode V2} Web Templates Converted my comment wasn't a complaint. It just seems like all he does was add a form to existing templates..
  23. Re: [mccode V2} Web Templates Converted so you just add a form?
  24. Re: [Mccode v2] better Voting Page if anyone needs a voting site www.bcvoting.net is a new voting site.. ;)
  25. Re: Staff appear offline hows about only update the non staff for last action query.
×
×
  • Create New...