Jump to content
MakeWebGames

Decepti0n

Members
  • Posts

    731
  • Joined

  • Last visited

    Never

Everything posted by Decepti0n

  1. Re: Illegal codes been sold Yay! Piczo! edit: ok, way to make yourselves look like complete retards in the shoutbox (except seany).   Don't even try and pretend you can take piczo down... geez. Better not insult you or anything or you'll report me to the 'directors of the net'   Dunno who that is, but err, it kinda speaks for itself   Don't try and fake yourself if you can't even talk right or spell correctly Besides, piczo is almost the shittest free web site host around
  2. Re: FOUND A ILLEGAL DISTRIBUTER I ditched MSN for Gtalk :p still use it for some people, but otherwise I get what i want - to talk to someone - from Gtalk, without all the extra crap
  3. Re: FOUND A ILLEGAL DISTRIBUTER Damnnnnnnnnnn that MSN's oooooooooooold
  4. Re: !!! Many ideas for Mc 2.0 but I cant program !!! Horadric Cube woohoo
  5. Re: Text Boxes and Apostrophes echo '<td>Desc:</td><td><input type="text" size="20" name="mdesc" maxlength="250" value="'.$msn['DESC'].'"></td>';
  6. Re: WTF It was the entire game when i logged in :p Say, whats the info from the users table for ID 16, and what is it for something higher than 18, might be able to spot something
  7. Re: WTF What's in your users table for <17, and 18>
  8. Re: WTF I signed up and i have errors all over, and no userid Name: gooey [] Money: $100 Level: 1 Crystals: 0 So, i'd say you changed something in the one of the user tables, and now when registering it wont insert properly
  9. Re: WTF 1) they dont have any referrals at a guess, or there was an error 2) they dont have any friends 3) they dont have any enemies I'd say, try adding a friend or so to see if it helps any
  10. Re: [mccode] Send Crystals No, $hot! Your other account, remember?
  11. Re: Making A template You need to know it if you wanna be any good at anything, since its the basis of a web page. And i dont know why people keep saying 'dont do this or they can just hack you', can you hack meeeee?
  12. Re: Making A template You can use includes in php, but not in just html For that template i'd put the entire top and left in the header file, and call it on every page (would have to be with php though)
  13. Re: Making A template Yahuh You'll end up with a better page than if you just used photoshop's save for web function (it outputs messily)
  14. Thought I might test something, saves a lot of server power especially on high-jail count games. Can be applied to other things (re: should be) This is totally untested and mostly off the top of my head, so name it fedjail56.php or something first. I'd be glad if someone helped debug it Quick Instructions: 1. Add in your game things at the top of the page 2. Save it as some file name 3. Go to it 4. Check to see if it cached, you can either go via Cpanel's file manager, FTP, or pretty much just browse to it (yourgame.com/cache/fedjail.cache) You'll have to add in all the stuff at the top yourself though   <?php // Whatever the normal page headers are if (!is_dir('cache')) { @mkdir('cache', 0777); fopen('cache/index.html', 'w'); } if (!file_exists('cache/fedjail.cache') || filemtime('cache/fedjail.cache') < strtotime('-1 hour')) { // Get and cache $fedjail = array('fedjail', 'mailban'); $fed_q = mysql_query("SELECT f.*,u.username,u2.username as jailer FROM fedjail f LEFT JOIN users u ON f.fed_userid=u.userid LEFT JOIN users u2 ON f.fed_jailedby=u2.userid ORDER BY f.fed_days ASC"); $mailq = mysql_query("SELECT * FROM users WHERE mailban>0 ORDER BY mailban ASC"); while ($r = mysql_fetch_assoc($fed_q)) { $fedjail['fedjail'] .= '[url="viewuser.php?u='.$r['fed_userid'].'"]'.$r['username'].'[/url] '.$r['fed_days'].' '.$r['fed_reason'].'[url="viewuser.php?u='.$r['fed_jailedby'].'"]'.$r['jailer'].'[/url]'; } while ($r = mysql_fetch_assoc($mailq)) { $fedjail['mailban'] .= '[url="viewuser.php?u='.$r['userid'].'"]'.$r['username'].'[/url] '.$r['mailban'].' '.$r['mb_reason'].''; } $o = fopen('cache/fedjail.cache', 'w'); fwrite($o, serialize($fedjail)); fclose($o); } $retrieve = unserialize(file_get_contents('cache/fedjail.cache')); print "[b]Federal Jail[/b] If you ever cheat the game your name will become a permanent part of this list... </pre> <table border="1">WhoDaysReasonJailer</table>";<br>print "[b]Mail Bann[/b]<br><br>If you ever swear or do bad things at your mail, your name will become a permanent part of this list...<br><br><table width="100%" border="1">WhoDaysReason</table>";<br><br>$h->endpage();<br   Nice reminder that it's totally untested, so don't yell at me if you destroy your game (which you wont be able to with this)
  15. Re: [LITE][FREE] Job mysql_query("UPDATE users u WHERE job > 0".mysql_error()); thats a bug since it doesn't even make sense
  16. Re: How To Do V1 Crons ( Hope This Will Help ) I usually have like one or two max, so, it doesn't really bother me
  17. Re: How To Do V1 Crons ( Hope This Will Help ) Yeesh, am i the only one who uses the beginner cron page? lol
  18. Re: Making A template You can usually adapt to any browser size by using percentages for widths, and links are just the <a> tag I learned html from w3schools.com, take the xhtml lessons thing
  19. Re: Causes of Looping? nope
  20. Re: [TGM] Custom Hospital Message [TGM]   [code] $phrase = 'hello this contains a zero'; $look[0] = 'zero'; $look[1] = 'one'; $look[2] = 'two'; $look[3] = 'three'; $i = 0; while($i < 3){ if ($phrase = $look[$i]){ echo 'The phrase contains a number.'; exit; } }   Now deathstar, i though you said you knew php well? Lets see, - That would loop endlessly since $i doesn't increment - A foreach loop would be far better - $phrase = $look[$i] would always equal true since it's an assignment not comparison - That wouldn't check the last word since you're doing less than 3 - You'd have to use stripos or something similar to check against the string - It'd be cleaner to write all the words in a string, then explode it into an array[/code]
  21. Re: How do I use a type function on a normal page? We already established that, but typing </textarea> would end it
  22. Re: How do I use a type function on a normal page? I'd like to know where you came up with using textarea in an echo or print statement, which is PROBABLY WHAT HAPPENS ANYWAY, it doesn't mean it doesn't get parsed, besides i answered it on the first page with <pre> tags
  23. Re: code not optimized? How is that optimizing? Im betting you could run those games of yours on a shared server if you knew where to start cutting down on your resource hogging Just because you have a dedicated server doesn't mean you're better, or your game is better, or you even need it
  24. Re: [TGM] Custom Hospital Message [TGM] kraig has a point, i doubt there's anything to stop filling the messages with racist/sexist things
  25. Re: code not optimized? Could always not have those ten thousand crons running all the time that load the entire database
×
×
  • Create New...