Jump to content
MakeWebGames

Curt

Members
  • Posts

    525
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Curt

  1. Im paying 10$ for a mod like this..i think thats fair if not message me for negotiations...   I need this Feature ASAP ! Thanks Everyone.
  2. Im know this has been done not sure if its free or not but Im willing to pay a reasonable price for one. Heres what im looking for.. Players donate and Receive Credits equal to the amount they donate. 1 Credit = 1 US dollar. Also would like to have it set so it will credit the person instantly... thats about it... i will create the credits market and such...just need the paypal system set up. Give me a price. Thanks everyone, Curt
  3. nice work illusions :)
  4. Hello everyone, Some of you may have noticed I posted my game in the Projects Section but infact the game is Live and open to all. It is still a work in progress but its a fully playable Browser Game. Thug Battle has not been doing too bad lately, I have an active Players base and seem to be growing with each day. This is my First and Only Browser game so that means it gets all the attention. I have put countless hours into developing the game. The game is influenced by players input and I have already added many things suggested by the players. Im always open to suggestions and constructive criticism. The game has been open to the public since November 4th, 2009. I will also accept any advice that any experienced game owners might want to share. Please check it out and post some pros and cons if you wish :) Login Info : Name: Demo Password: Demo   Thanks Everyone, Curt
  5. Yes you are correct Crimgame, otherwise it would simply show the overall top gangs... I like this idea so i may create this for my game...I have a custom gang system so my version would not help you guys but ill see about posting some code for the default system as well...this should be a simple task..:P Cheers
  6. I would have to agree with this statement completely. Ive been using mccodes for a while now and there is always more updates to be made.....
  7. lol...i had the same problem as well....it would say x people was online but last action was like an hour ago...lol I solved my problem the same way you did :)
  8. lol...wow I think we need a sticky about Cron Jobs because they seem to be a reoccuring problem...lol   Check the post below this...try those methods to identify the problem. use error reporting and try running them manually to see if they actually work....
  9. Your code can be found in the config.php file.
  10. lol, if i had a quarter for everytime someone called them corn jobs...lol   If your on a FREE host the chances of them allowing you to use Cron Jobs is very slim, but if your on a paid host then simply go into Cpanel, scroll down and you will see a Cron Job area...click that and add the data. command should be somthing like this: curl http://www.YOURGAME.com/cron_fivemins.php?code=YOURCODE then set the time you want it to run. once that is set up you can manually test it by going to the link in your browser. To enable Error reporting add this right below the <?php tag : error_reporting(E_ALL); Good Luck :)   **EDIT - Its not good to double post for help, someone will either help you or not and double posting like that shows your impatience...lol
  11. of course not, this mod was one of the first mods I have ever made, its filled with noob coding.... is that a problem for you ?...if it is fix it then...lol
  12. First dont post your code all scrambled together....makes it hard for someone to look at the code and help you... Well i dont use mccode v1 but would this not work ?   <?php include "mysql.php"; global $c; //Energy update mysql_query("UPDATE users SET energy=energy+(maxenergy *.15) WHERE energy<maxenergy AND donatordays=0",$c) or die(mysql_error()); mysql_query("UPDATE users SET energy=energy+(maxenergy *.5) WHERE energy<maxenergy AND donatordays>0",$c) or die(mysql_error()); mysql_query("UPDATE users SET energy=maxenergy WHERE energy>maxenergy",$c) or die(mysql_error()); // Will Update mysql_query("UPDATE users SET will=will+10 WHERE will<maxwill",$c) or die(mysql_error()); mysql_query("UPDATE users SET will=maxwill WHERE will>maxwill",$c) or die(mysql_error()); ?>
  13. lol....damn this was one of the first mods i posted :P....lol As some of you will notice the noob coding... $_GET['action'] = mysql_real_escape_string($_GET['action']);   lol...glad to say i have improved since this :P thanks glad you like it :) Cheers
  14. lol...sorry didn't realize you was testing if he actually purchased the template. also i havent been on crimgame.com or nuclear nation long enough to know if they are exact same....i just remember looking through layouts and seeing a template very similiar to the one on crimgame. If he copied your layout then by all means do what you gotta do..lol
  15. lol..crimgame may be using this same exact template but its not HIS...lol Its a Paid Layout available to anyone who wants to pay for it.... also i think crimgame said something about changing his layout but idk...anyway you cant hate his game cause he is using a public template...lol Its not a bad concept but i believe players who donate for high stats/level would not like to much that the game would come to an end and they would have start over...i believe a lot of people would lose appeal because of this...its a cool idea I admit but GAME OVER is not cool...lol Cheers
  16. I will have to say I believe there is still lots of money to be made with mccode based games. Copying a game completely is bad but creating a feature similar to something cool you have seen in another game is not always bad...I have done this myself on a few occasions...i see a nice feature in a game and i say hey this would make my game better...so i create a similar feature for my game. Uniqueness is a must as mentioned below and this will keep experienced/new players interested and active...give the players plenty of things to do, even if there in jail or the hospital give them things they can do to keep them interested while waiting it out..lol Also as mentioned below you will have to put a lot of time and effort into a game to begin making profits. Interaction with players and not ignoring them is a huge plus. also make frequent updates to your game if its possible. Whether its a minor display change or a huge new feature, you players will enjoy the fact that you want to make your game better. When ever an bug comes up get it fixed as quickly as you can, that will also keep the players happy...lol I would also like to add that if you want to own a game its a MUST that you have some coding experience. Most games fail because the lack of coding experience brought within the game. You can only skate by with so much :P...lol hope ive been a little helpful to ya Cheers
  17. First off i would highly recommend not bunching the code all together like it is. i think you may simply need an else case..but i did not test this so it may not be the problem.. give it a try and let me know :)   <?php $macropage="docrime.php?c={$_GET['c']}"; include "globals.php"; $stats= $ir['level']*5000 ; $tstats= $ir['strength']+$ir['guard']+$ir['agility'] ; $estats= ($ir['level']*5000)-($ir['agility']+$ir['guard']+$ir['strength']) ; if($ir['jail'] or $ir['hospital']) { print "This page cannot be accessed while in jail or hospital."; $h->endpage(); exit; } $_GET['c']=abs((int) $_GET['c']); if(!$_GET['c']){print "Invalid crime";} else { $q=mysql_query("SELECT * FROM crimes WHERE crimeID={$_GET['c']}",$c); $r=mysql_fetch_array($q); if($ir['brave'] < $r['crimeBRAVE']){ print ".style1 {color: #FF0000;} You do not have enough Brave to perform this crime."; } else { $ec="\$sucrate=".str_replace(array("LEVEL","CRIMEXP","EXP","WILL","IQ"), array($ir['level'], $ir['crimexp'], $ir['exp'], $ir['will'], $ir['IQ']),$r['crimePERCFORM']).";";eval($ec); print $r['crimeITEXT'];$ir['brave']-=$r['crimeBRAVE']; mysql_query("UPDATE users SET brave={$ir['brave']} WHERE userid=$userid",$c); if(rand(1,100) <= $sucrate && ($ir['strength']+$ir['guard']+$ir['agility']) < ($ir['level']*5000) && $ir['level'] > 2) { print str_replace("{money}",$r['crimeSUCCESSMUNY'],$r['crimeSTEXT']); print "You will not recieve exp till you bring your stats up! You need $stats total of the following three stats right now you have... {$ir['strength']} strength, {$ir['guard']} guard, {$ir['agility']} agility Total= $tstats You need $estats more total";$ir['money']+=$r['crimeSUCCESSMUNY'];$ir['crystals']+=$r['crimeSUCCESSCRYS'];$ir['exp']+=(int) ($r['crimeSUCCESSMUNY']/8); mysql_query("UPDATE users SET money={$ir['money']}, crystals={$ir['crystals']} WHERE userid=$userid",$c); if($r['crimeSUCCESSITEM']){ item_add($userid, $r['crimeSUCCESSITEM'], 1); } } else if(rand(1,100) <= $sucrate && ($ir['strength']+$ir['guard']+$ir['agility']) >= ($ir['level']*5000) && $ir['level'] < 3) { print str_replace("{money}",$r['crimeSUCCESSMUNY'],$r['crimeSTEXT']); $ir['money']+=$r['crimeSUCCESSMUNY']; $ir['crystals']+=$r['crimeSUCCESSCRYS']; $ir['exp']+=(int) ($r['crimeSUCCESSMUNY']/8); mysql_query("UPDATE users SET money={$ir['money']}, crystals={$ir['crystals']}, exp={$ir['exp']},crimexp=crimexp+{$r['crimeXP']} WHERE userid=$userid",$c); if($r['crimeSUCCESSITEM']){ item_add($userid, $r['crimeSUCCESSITEM'], 1);} } else { if(rand(1, 2) == 1){ print $r['crimeFTEXT']; } else { print $r['crimeJTEXT']; $db->query("UPDATE `users` SET `jail` = '$r[crimeJAILTIME]', `jail_reason` = '$r[crimeJREASON]' WHERE `userid` = '$userid'"); } } print " Try Again Crimes Gym"; } } $h->endpage(); ?>
  18. thanks to those that viewed this topic... Im still unsure how this problem just appeared out of no where but i have fixed it. Seems unix_timestamp() and time() does not equal the same value....not sure how this happened but i edited my header so that laston is updated by time() instead of unix_timestamp and all is working... I would still like to know what the hell caused this ?....lol... Cheers
  19. so your admin panel is not working ? When creating crimes you must fill in every box even if its not used....so if the crime gives no points you still must put 0 in the points box Items, not sure about this because in the default mccodev2 script this should work..(im assuming thats what you are using?) crons jobs - Its most likely that you must have a paid host and not a free host to run cron jobs. if you do have a paid host this is what you do : Open Cpanel Open the Cron Jobs tab - set the common settings to the time you want the cron job to run in the command spot put the link to your cron job with curl in front of it here is an example: curl cron_min.php?YOURCODEHERE you can find the code in the config.php file Hope that helps you
  20. My game is thugbattle.com and today my game went offline(due to problems on the host end).. Now thats its back online my last active spot on the usersonline page is not displaying the correct value. Its showing all the guys on in less than 15 minutes but the last active time says like an hour...i have no clue about this issue or how to solve it... Im curious if anyone has had a similiar issue ?..or maybe a good guess what is causing the problem ?.. Thanks Everyone
  21. lol...i think he means either or but not both...
  22. bump for a very nice mod thanks :)
  23. cool, i was also looking for it but didnt find it :P... lol but i did find this which im going to check out... [MMCODES V2] HACKING ATTEMPTS LOGGED
  24. very strange...it works fine for me ?
  25. There is a free log user system in these forums somewhere that log all url actions from a player while they are on your site.   so if they went to this link: http://www.yourgame.com/crystalmarket.php?hack=hackhere then it will show in the logs. I made my system so it automatically logs all new players for a set limit because if someone wants to hack your game, most likely they are not gonna hang out for a few days before they attempt a hack. They usually go right for the hacks. So my log system will catch the attempts. Only downside to this is you have to manually go through and look at the logs. Its a nice mod and Thanks for whoever made it :) I would link you but ive had it for so long im not sure where to find it. maybe search "log system" ? hope that helps ya out some. Cheers
×
×
  • Create New...