Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: Page Tutorials [$10] Is it a code you have to add to every page?
  2. Re: Tables ID But it would be faster for him to just add this: DROP TABLE cities; CRATE TABLE cities blah blah; INSERT INTO cities VALUES(null,blah,blah,blah,blah);   Then he would need to go to every row and change the id.
  3. Re: Guess Who!   Sounds funny that you got the idea from isomerizer. But i was the first to actualy come up with the idea. I made a mod using the file_exist("config.php") and stuff so....
  4. Re: Guess Who! Why is this in free posts?
  5. Re: Any one got tips for a new mccode game creator? (v2)   The stocks is a bad idea it puts massive inflation into games. Here are my tips: - Take off cyber bank. - Take off the interest on bank's. - Add the investment bank mod. - Make hard crimes with low cash. - Make little will but high priced houses. - Make your gym $gain according to your house. - Make your bank account only hold 2,000,000,000 and thats it. - Make a vault that will cost then 1,000,000,000 and they can store as much money in there as they want. - Remove all interest on bank's as said befor, thats why you make a investment bank, Make them wait the 7 days for interest. - Make your game more realistic on the price of items.   That stops massive inflation in my game.
  6. Re: Tables ID You will need to create your cities table gain. If you send me your cities table sql i could re create it for you and resend it back for you.
  7. Re: View User Addon - Profile Views Thats to much :| why not: if($_SESSION['profile_viewed'][$_GET['u']] != 'true') mysql_query("UPDATE `users` SET `profile_views` = `profile_views` + '1' WHERE `userid` = '{$r['userid']}'"); $_SESSION['profile_viewed'][$_GET] = 'true'; echo 'Profile Views: '.$r['profile_views'].' ';
  8. Re: Enumeration Permutations - Minor Notice Well it was worth a try i never quite understood what this is for so anyway's it was worth a try xD
  9. Re: [Free Mod]Rent A Spy[v2] Bullet why dont you just shhh befor we tell everyone how u resell other peoples mods? xD
  10. Re: [Free Mod]Rent A Spy[v2] This is hirespy.php
  11. Re: Enumeration Permutations - Minor Notice Nyna i know im not the best at coding but i came up with a little function that randomly selects a b c and displays them. Yes every single one is different but you might some times get the same all 3 letters its basicly like gambling lol. Anyways:   <? error_reporting(E_ALL); $array = array("a","b","c"); function rand_one($max) { global $array; $rand = rand(0,$max); $val = $array[$rand]; return $val; } function rand_two($max) { global $array; $rand = rand(0,$max); $val = $array[$rand]; return $val; } function rand_three($max) { global $array; $rand = rand(0,$max); $val = $array[$rand]; return $val; } function loop_through() { global $array; $count = rand(0,count($array)-1); $p = 0; while($p < 100) { $p++; echo rand_one($count).' '.rand_two($count).' '.rand_three($count).' '; } } loop_through(); ?>   That gave me:   a a b b a a b b a b a a a b b a b b a a a a a b b b a b b a a a a b b b b a b a a b b a b a b a b b b b a b a b b b b a b b b a b b b b a a b a a a b b a a a a a b a b b a a a a a b b a b a b a b b b a b b a b b a a b a b a a b b b a a a a a a a b a a a a a b b a a b b a a a b a a a b b b a a b b b a a a b b a b a b a a b a b b a b b a b a b a b a a a b a b b a a b b a a b a b b a a a b b a b b b b b a b b a b b a b b b a b a a b b a a a b a b a a b b a b a b b b b a a b b a a b b b b a b b b a b a a a b a b b a b a a b b a a b a b b b a b b a a b a b b a b a a a a a b b a b b b a b a b a a b   Hope that helps in a way.
  12. Re: View User Addon - Profile Views   You tell me my codes are bad?   if(abs(@intval($_GET['u'])) != $ir['userid']) { mysql_query("UPDATE users SET pviews=pvies+1 WHERE userid='{$r['userid']}'") or die(mysql_error()); }
  13. Re: Total Crime Income FREE Its not a addon its just to help others use less resource in the database.
  14. Re: Guess the next poster no matt
  15. Re: Total Crime Income FREE I see some of you are using a total crime in the db now got to say pretty dumb if you are trying to make your game run faster. Add this to header: Failed Crimes: ".$ir['crimesfailed']." Passed Crimes: ".$ir['crimesdone']." "; $total = $ir['crimesfailed']+$crimesdone']; echo "Total Crimes: ".$total." And you do the same for view user but just change all $ir's to $r's.
  16. Re: Enumeration Permutations - Minor Notice For some reason this code works:   <?php error_reporting(E_ALL); function next_permutation( $p, $size ) { // slide down the array looking for where we're smaller than the next guy for ($i = $size - 1; $p[$i] >= $p[$i + 1]; -$i) // warning in this line { } // if this doesn't occur, we've finished our permutations // the array is reversed: (1, 2, 3, 4) => (4, 3, 2, 1) if ($i == -1) return false; // slide down the array looking for a bigger number than what we found before for ($j = $size; $p[$j] <= $p[$i]; --$j) { } // swap them $tmp = $p[$i]; $p[$i] = $p[$j]; $p[$j] = $tmp; // now reverse the elements in between by swapping the ends for (++$i, $j = $size; $i < $j; ++$i, --$j) { $tmp = $p[$i]; $p[$i] = $p[$j]; $p[$j] = $tmp; } return $p; } $set = split(" ", "a b c"); // like array('she', 'sells', 'seashells') $size = count($set) - 1; $perm = range(0, $size); $j = 0; do { foreach ($perm as $i) { $perms[$j][] = $set[$i]; } } while ($perm = next_permutation($perm, $size) and ++$j); foreach ($perms as $p) { print join(' ', $p) . " "; } ?>   But only thing now says: Fatal error: Maximum execution time of 30 seconds exceeded in /home/finalkil/public_html/test.php on line 7 So maybe try and set a maximum its supposed to show.
  17. Re: Enumeration Permutations - Minor Notice Ill work on it on a test file.
  18. Re: Enumeration Permutations - Minor Notice Well have you ever tried adding 1 line more to the code? Say for example: $size2 -= 1; then use:   <? for ($i = $size2; $p[$i] >= $p[$i + 1]; --$i) // warning in this line { } ?>   I dont know what your code is trying to do but i sure dont know what its trying to do itself. Please tell me if that works or not.
  19. Re: Guess the next poster yes matt
  20. Re: _Stoner_ Well you may all know that i have started his own topic and all but anyway's thought i'd might add a bit here. Ok well he said i could buy www.criminalisland.com for $125 so i said ok ill send him the $125, Once i sent the $125 he said to me that i must register for an account on namecheap.com so i did, before i got back to tell him that im registered he appeared offline. I went immediatly to my paypal and filed a claim, he said to paypal that i bought a donator pack for $128 but he gave me a discount for $125. Ok so the next day he comes to me and says he will give me all his mods he has got if i can end claim because his paypal was -$125. But unfortunatly i never kept screen shots of when he said he would sell for $125 and i lossed out, he could of won the claim but he never wanted to wait 2 weeks. Anyways. Seeing this post is open, lets just see anthonys history log :lol:. First game: nyc-thugs.com Second game: forgotten. Third game: forgotten. Fourth game: forgottoen. Fith game: www.gangstas-paradise.com got idea from www.gangst3rs-paradis3.com Sixth game: www.criminalisland.com Seventh Game: www.criminalcombat.com Now just go look at www.gangstas-paradise.com initials are GP go on www.criminalisland.com and put in freports.php after the url, go on www.criminalcombat.com and put in freports.php after the url do you guys see how he is a fake? So lets leave this topic open so who ever feels like it can post.
  21. Re: [FAQ] Email Validation in PHP   Shoudlnt your code be: function myCheckDNSRR($hostName, $recType = '') { if(!empty($hostName)) { if($recType == '' ) { $recType = "MX"; } exec("nslookup -type=$recType $hostName", $result); foreach ($result as $line) { if(eregi("^$hostName",$line)) { return true; } } return false; } return false; }   Its easier for me to read that and it's got the end loop (}) added.
  22. Re: Guess the next poster nope matt
  23. Re: Advanced Pub Mod [$5] You know, infact you could do better with this mod if u came to think of it. Contact me on msn [email protected] i can give you some pointers on how to make this mod's price shoot up to $15+.
  24. Re: Need a custom mod made? Im not fighting at all its just that if i was to pay some one i would want more info.
  25. Re: Ranger Den [$25] Sounds like a nice modification. Unique idea to.
×
×
  • Create New...