Jump to content
MakeWebGames

Sim

Members
  • Posts

    2,392
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by Sim

  1. Re: [PC version of MC-Codes] - Online Crime MMORPG what u mean by not work?
  2. post feature suggestions and bugs on www.teampo2.com/index.php or this thread. register on my forum for future update announcements. www.teampo2.com/OnlineCrimeMMORPGClient.zip = download
  3. Re: Looking for TOPSITES that use daily votes   thanks thanks.
  4. Re: Looking for TOPSITES that use daily votes any others?
  5. anyone have a list of topsites or can everyone post there topsites they use that use daily voting instead of weekly/monthly?
  6. Re: [mc codes lite] User Credit Card Companys   Is that one for v2 :? no.
  7. Re: [mc codes lite] User Credit Card Companys redownload file from first post. that should do it. ;]
  8. Re: [mc codes lite] User Credit Card Companys   will fix tonight.
  9. does one exist?
  10. Re: [mc codes lite] User Credit Card Companys Gotta click the company name, that will bring up a form where you can get loan.
  11. Re: Cron job question   no. like this instead of cron_day.php rename it to cron_dayz.php or something else so people will not know the file. put this code in it <?php /* MCCodes Lite cron_day.php Rev 1.0.0 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ include "mysql.php"; global $c, $mykey; $path=$_SERVER['HTTP_HOST'].str_replace('cron_day.php','',$_SERVER['SCRIPT_NAME']); mysql_query("UPDATE users SET daysold=daysold+1",$c); mysql_query("UPDATE users SET mailban=mailban-1 WHERE mailban > 0",$c); mysql_query("UPDATE fedjail set fed_days=fed_days-1",$c); mysql_query("UPDATE users u LEFT JOIN fedjail f ON u.fedjail=f.fed_id SET u.fedjail=0 WHERE f.fed_days=0",$c); mysql_query("DELETE FROM fedjail WHERE fed_days=0",$c); ?>   instead of cron_fivemins.php rename it to cron_fiveminz.php or something else so people will not know the file. put this code in it <?php /* MCCodes Lite cron_fivemins.php Rev 1.0.1 Copyright (C) 2006 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ include "mysql.php"; global $c, $mykey; $query="UPDATE users SET energy=energy+(maxenergy/(12.5)) WHERE energy<maxenergy"; $query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; $query3="UPDATE users SET will=will+10 WHERE will<maxwill"; $query4="UPDATE users SET will=maxwill WHERE will>maxwill"; mysql_query($query,$c) or die("\nError Executing Query 1 for updating users $i to $next\n$query\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query2,$c) or die("\nError Executing Query 2 for updating users $i to $next\n$query2\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query3,$c) or die("\nError Executing Query 3 for updating users $i to $next\n$query3\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query4,$c) or die("\nError Executing Query 4 for updating users $i to $next\n$query4\n".mysql_error()."\nError Code:".mysql_errno()); $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave<maxbrave "; $query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; $query3="UPDATE users SET hp=hp+(maxhp/3) WHERE hp<maxhp"; $query4="UPDATE users SET hp=maxhp WHERE hp>maxhp"; mysql_query($query,$c) or die("\nError Executing Query 1 for updating users $i to $next\n$query\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query2,$c) or die("\nError Executing Query 2 for updating users $i to $next\n$query2\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query3,$c) or die("\nError Executing Query 3 for updating users $i to $next\n$query3\n".mysql_error()."\nError Code:".mysql_errno()); mysql_query($query4,$c) or die("\nError Executing Query 4 for updating users $i to $next\n$query4\n".mysql_error()."\nError Code:".mysql_errno()); ?>
  12. I need feedback and suggestions on what you would like to see in a new crime/mafia/gang engine   heres my User Feature List so far www.teampo2.com/crime-web/feature_doc.html
  13. Re: [mc codes lite] User Credit Card Companys good job ReaSonZ
  14. Re: [mc codes lite] User Credit Card Companys what ammount? The spelling error? if thats what you mean, then No, and I don't plan on fixing the spelling error.
  15. Re: Cron job question sorry for double post. I thought of an easier way to do it.   remove the if statement where it says if CODE = then rename the file so other people can't access the cron_file. and just point directly to the file.
  16. Re: Cron job question Could you enter a URL like path_to_your_game/code/YOUR REAL CODE/ if so you could use .htaccess to modrewrite =)
  17. Re: [mc codes lite] User Credit Card Companys   bug fixed and also fixed bug where you can enter a negative # to manipulate system. please redownload file.   Also heres the cron_day.php query thats needed if you can't see it. mysql_query("UPDATE userCCCompanyClients SET client_ammount_owed=(client_ammount_owed + (client_ammount_owed / client_ammount_int))") or die(mysql_error());
  18. Re: [mc codes lite] User Credit Card Companys No.
  19. Re: [mc codes lite] User Credit Card Companys   I don't have V2 and i'm not paying 300$ for it =) I was gonna sell thsi mod at 5$/copy to try to get there lols but decided to give my first mod away as a freebie. if you like it that much though, you can donate to [email protected] via paypal. ;] Before you think of selling mod's how about you learn how to spell first? It's amount not ammount! :wink:   oh yeah?
  20. Re: [mc codes lite] User Credit Card Companys   I don't have V2 and i'm not paying 300$ for it =) I was gonna sell thsi mod at 5$/copy to try to get there lols but decided to give my first mod away as a freebie. if you like it that much though, you can donate to [email protected] via paypal. ;]
  21. This mod will allow users to create there own credit card companys in which they can loan money to other users in-game. This mod is also gonna be apart of my "Gang Mod" which will be called the Loan Shark business's instead of credit card companys. more details found here: http://criminalexistence.com/ceforums/i ... 125361#new Teaser: SQL CREATE TABLE `userCCCompany` ( `comp_id` int(11) NOT NULL auto_increment, `comp_user_id` int(11) NOT NULL default '0', `comp_daily_interest` int(3) NOT NULL default '0', `comp_available_funds` bigint(15) NOT NULL default '0', `comp_loan_ammount` bigint(15) NOT NULL default '0', `comp_name` varchar(255) NOT NULL default '', `comp_clients` int(10) NOT NULL default '0', PRIMARY KEY (`comp_id`) ) ENGINE=MyISAM AUTO_INCREMENT=1 ; CREATE TABLE `userCCCompanyClients` ( `client_id` int(11) NOT NULL auto_increment, `client_user_id` int(11) NOT NULL default '0', `client_comp_id` int(3) NOT NULL default '0', `client_ammount_loaned` bigint(15) NOT NULL default '0', `client_ammount_owed` bigint(15) NOT NULL default '0', `client_ammount_int` int(3) NOT NULL default '0', PRIMARY KEY (`client_id`) ) ENGINE=MyISAM AUTO_INCREMENT=1 ; add this line of code before ?> in "cron_day.php" mysql_query("UPDATE userCCCompanyClients SET client_ammount_owed=(client_ammount_owed + (client_ammount_owed / client_ammount_int))") or die(mysql_error()); user_cc_companys.php file http://www.teampo2.com/crime-web/user_cc_companys.zip Be sure to add a link pointing to user_cc_companys.php in your menu somewhere.
  22. Re: SQL Injections must of misread.
  23. Re: [REVIEW] Crime-Network.com - Please review!   dreamweaver and php, what a strange comparison... dreamweaver = Web page editing software. PHP = server side programming language.   it is obvious it is GRPG, bad choice... I use dreamweaver and php together ;]
  24. Re: SQL Injections   someone turned there mccode game into a real hacking program for people?
  25. Re: [All Sites] No file images You can do this with .htaccess with 1 line of code. Don't know the code offhand though.
×
×
  • Create New...