Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. I hacked samplea b and c... no one notice the redirects to Crimgame lol i even logged in and edited the basic settings on v1 when the signin description redirected to Alans website lol They are insecure and they said that game they were selling for 1k was patch c and i was laughing exploiting that so... i mean they aren't doing very well in making people trust them again, i don't see a patch d coming out but i can imagine before they get it right it will be in triple letters (patch zzz).
  2. Interesting method there Dave, was thinking of something like this (but a little different) for CG.
  3. No problem at all just add a comment like # By CrimGame
  4. if ( in_array($ir['user_level'], array(3,2)) ) {/*code to be executed here*/ } :)
  5. ah cool like my function which gathers the average(mean). <?php function avgval($avg_vals) { if ( is_array($avg_vals) && count($avg_vals) > 1 ) { $return_vals = ( array_sum($avg_vals) / count($avg_vals) ); } elseif ( is_array($avg_vals) && count($avg_vals) == 1 ) { $return_vals = current($avg_vals); } else { $return_vals = FALSE; } return $return_vals; } echo avgval(array(6,11,7)); // outputs 8 echo avgval(array(6)); // outputs 6 ?> Working with string: <?php function avgvals($avg_vals,$avg_delimiter=',') { if ( (is_string($avg_vals) && strlen($avg_vals) > 2) && (is_string($avg_delimiter) && !empty($avg_delimiter)) ) { $average_vals = explode($avg_delimiter, $avg_vals); $return_vals = ( array_sum($average_vals) / count($average_vals) ); } elseif ( (is_string($avg_vals) && strlen($avg_vals) <= 2) && (is_string($avg_delimiter) && !empty($avg_delimiter)) ) { $return_vals = $avg_vals; } else { $return_vals = FALSE; } return $return_vals; } echo avgvals('6,11,7'); // outputs 8 echo avgvals('6-11-7', '-'); // outputs 8 echo avgvals('6'); // outputs 6 ?> Source of script: (php.net)
  6. replace: $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; with: $IP = $_SERVER['REMOTE_ADDR'];
  7. Best to edit all the files really IMO
  8. I kind of just skipped over what people said lol but doesn't ctype_digit and is_numeric give different results? also ctype_digit won't result in +123.00 being numeric but is_numeric will... im sure there's a negative integer also.
  9. Ah i don't use a rating system on CrimGame but looks good solidsnake
  10. I use silk icons... never knew about the site though and i have the flags also:)
  11. I made it but still lol eat me...
  12. Considering it being a source it would take ages to go through and update all the code and everything... i think it was a brilliant offer. I think maybe the idea of giving me some cash upfront and giving me a way to see how many are sold is a bit worrying to them. It's not that i don't trust them it's just business.
  13. I actually offered to Secure Mcv2 full engine for them and even though i would lose out on money with my offer they declined... So in about 2 years when they finally secure it im sure other people will have released their engines and MC will be obsolete. They have the right time to sell the product but with the insecurities with MC people just warez it (i have a legal copy) but i don't see the point in paying for insecure scripts im sure there could be some legal obligation they are breaking by selling it also, Satisfactory rights and so on. GPCG is the best acronym ever (Go Play CrimGame) [note: not mc codes affiliated] Just if anyone asks my price to secure it was 5% of the income per copy sold (they sell it for 100 dollars i'd be asking for 5 dollars of that).
  14. MCC don't have a fully secure version... Dave
  15. yeah the homepage does look rather amateur.
  16. Basic but done right.. Confusing aspect. If you want it done right then you want more than the basics done.
  17. or add something simple like if ( $ir['user_level'] > 1 && !in_array($userid, array(1,2,4,6,8)) ) { // the array could be set in settings so and edited simply when new staff are made/promoted. echo ' You\'re not staff... Buzz Off '; die $h->endpage(); }
  18. Freaky i originally was a sig maker on CoveOfPirates and i stumbled upon MCv2 and here i am lol
  19. $currency->primary = 'Money'; LOL sorry im bored, so you spent "a few hours of work" doing the coding and it's worth 500 bucks?
  20. <table width="100%" cellpadding="1" cellspacing="1"> <tr> <th>one</th> <th>two</th> <th>three</th> <th>four</th> </tr> <tr> <td colspan="2">one / two</td> <td>three</td> <td>four</td> </tr> </table> like that?
  21. what bbcode is available?
  22. ARRR AVAST MATEYS, GIVE ME YOUR WENCHES AND RUM OR WALK THE PLANK...
  23. <?php /** * Layout made by: Shaved92bravada Idea came from another post on CE * Rest of code is just standard V2 MCcodes * Made as a free mod so it is not to be sold. */ global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; if($ir['hospital']) { print "<table width=145 class=menu><th>Main</th><tr><td> [url='hospital.php']Hospital ($hc)[/url]</td></tr> <tr><td>[url='inventory.php']Inventory[/url]</td></tr>"; } elseif($ir['jail']) { print "<table width=145 class=menu><th>Main</th><tr><td> [url='jail.php']Jail ($jc)[/url]</td></tr> <tr><td>[url='inventory.php']Inventory[/url]</td></tr>"; } else { print "<table width=145 class=menu><th>Main</th><tr><td> [url='index.php']Home[/url]</td></tr> <tr><td>[url='streets.php']Explore Streets<font color='red'><blink>(new)</blink></font>[/url]</td></tr> <tr><td>[url='inventory.php']Inventory[/url]</td></tr>"; } if($ec > 0) { print "<tr><td>[url='events.php']Events ($ec)[/url]</td></tr>"; } else { print "<tr><td>[url='events.php']Events (0)[/url]</td></tr>"; } if($mc > 0) { print "<tr><td>[url='mailbox.php']Mailbox ($mc)<image src='mail.jpg'>[/url]</td></tr>"; } else { print "<tr><td>[url='mailbox.php']Mailbox (0)[/url]</td></tr>"; } if($ir['jail'] and !$ir['hospital']) { print "<tr><td>[url='gym.php']Jail Gym[/url]</td></tr> <tr><td>[url='hospital.php']Hospital ($hc)[/url]</td></tr>"; } else if (!$ir['hospital']) { print "<tr><td>[url='explore.php']Explore[/url]</td></tr> <tr><td>[url='gym.php']Gym[/url]</td></tr> <tr><td>[url='criminal.php']Crimes[/url]</td></tr> <tr><td>[url='job.php']Your Job[/url]</td></tr> <tr><td>[url='education.php']Local School[/url]</td></tr> <tr><td>[url='hospital.php']Hospital ($hc)[/url]</td></tr> <tr><td>[url='jail.php']Jail ($jc)[/url]</td></tr>"; } else { print "<tr><td>[url='jail.php']Jail ($jc)[/url]</td></tr>"; } print "<tr><td>[url='/forums']Forums[/url]</td></tr>"; if($ir['new_announcements']) { print "<tr><td>[url='announcements.php']Announcements ({$ir['new_announcements']})[/url]</td></tr>"; } else { print "<tr><td>[url='announcements.php']Announcements (0)[/url]</td></tr>"; } print "<tr><td>[url='newspaper.php']Newspaper[/url]</td></tr> <tr><td>[url='search.php']Search[/url]</td></tr>"; $qq = $db->query("SELECT * FROM cities1 WHERE cityowner1={$ir['userid1']}"); if($db->num_rows($qq) >0) { print "[url='cityadmin.php']City Admin Panel[/url] "; } if(!$ir['jail'] && $ir['gang']) { print "<tr><td>[url='yourgang.php']Your Gang[/url]</td></tr>"; if(!$ir['jail'] && $ir['gang']) { print "<tr><td>[url='yourgang.php']Your Gang[/url]</td></tr>"; } echo " <th>[b]Personal:[/b]</th> <tr><td>[url='preferences.php']Preferences[/url]</td></tr> <tr><td>[url='preport.php']Player Report[/url]</td></tr> <tr><td>[url='breport.php']Bug Report<font color='red'><blink>(new)</blink>[/url]</td></tr> <tr><td>[url='helptutorial.php']Help Tutorial[/url]</td></tr> <tr><td>[url='gamerules.php']Game Rules[/url]</td></tr> <tr><td>[url='viewuser.php?u={$ir[']My Profile[/url]</td></tr> <tr><td>[url='logout.php']Logout[/url]</td></tr> </table> "; } ?>
  24. print " <tr> <td>[url='newspaper.php']Newspaper[/url]</td> </tr> <tr> <td>[url='search.php']Search[/url]</td> </tr> "; $qq = mysql_query("SELECT * FROM cities1 WHERE cityowner1={$ir['userid1']}"); // curious is it supposed to be userid1? if ( mysql_num_rows($qq) > 0) { print "[url='cityadmin.php']City Admin Panel[/url] "; } if(!$ir['jail'] && $ir['gang']) { print "<tr><td>[url='yourgang.php']Your Gang[/url]</td></tr>"; }
  25. I would have to agree DJK the quality and price need to be satisfactory but in some cases the price is low and the quality is even lower it's best to get a stabled price worked out and then that will ensure maximum quality for the money. Hiring a reputable programmer/coder is the best idea. I would suggest raising your budget because for that im sure the quality won't be so good.
×
×
  • Create New...