Jump to content
MakeWebGames

rulerofzu

Members
  • Posts

    2,464
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by rulerofzu

  1. Looks ok at a glance. Try running it in command line php cron_minute.php it will spit out the result of an error or just run BTW before you come back saying it dont work. The code was taken direct from crons running on my server.
  2. Well you have a header.php and then a mainmenu.php which sits on the left. Pretty self explanatory the mainmenu is called towards the end of the header code To add a right menu you create a second menu file like stated in the post Jordan gave you and then add that to the header code. The rest is done using css to make them all the correct widths. So think logically about where it will go. HEADER MENU CONTENT MENU FOOTER See from line 258 in the header on the post Jordan gave you.
  3. Newttster so player A is only going to send player B 100 crystals once and will never wish to do so again? and it doesnt make any difference if its a gift or not. Your statement says they will need permission so every time they wish to send they will need admin to allow it (basically do it for them). Multiply that by how many players which could possibly need to do it. Now tell me its a good idea or not.
  4. Swtor for example. You have a main character and then have additional companions which assist you in fighting etc. I see through all your ideas Sporto mwa hahahaha (joke)
  5. So now going back to what both Lithium and HD stated to you. Where are the crons in relation to your class_db and config file!! According to a previous post you made you have put them in iMpoRtAnt (really do you think that really stops people from finding them lol) But your cron script is looking for class/class_db Which is incorrect. Is your directory structure like this? home/username/public_html/iMpoRtAnt/class or like this home/username/public_html/class BTW if you had set an email for crons then you would have been sent an error output saying just that ;) Seriously though just remove the important nonsense directory. Make a directory called crons out of the wwwroot so /home/username/crons Place all your crons in there Then amend your crons so it looks like this.   require "/home/username/public_html/global_func.php";include "/home/username/public_html/config.php"; global $_CONFIG; //if($_GET['code'] != $_CONFIG['code']) { die(""); } you dont need this rubbish its a false sense of security define("MONO_ON", 1); require "/home/username/public_html/class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $Set = array(); $SelectSettings = $db->query("SELECT `conf_name`, `conf_value` FROM `settings`"); while($r = $db->fetch_row($SelectSettings)) { $Set[$r['conf_name']] = $r['conf_value']; }   Run the crons OUT of the wwwroot getting rid of the ?code=lalalalalalathisisjustdumb Set your crons to run /usr/bin/php -q /home/username/crons/cron_min.php Job done.
  6. Honestly the game is called something else as its somebody else's script and they have not been bothered to change it all. Yet another rush job quick lets see if we can make $500 before players realize its what they have played elsewhere and leave.
  7. Good luck. Personally I dont like it. It could be much much better if some thought to a proper designed layout was made.
  8. Well you do not have something either setup correctly server wise or you have a issue in your code which Lithium has tried to point out to you. Or your not setting the cron command correctly. So either post a script so the code can be seen. Screenshot your cron entry in your control panel
  9. Seriously if you have to ask admin permission to do something every time you wish to do something its going to get old real quick.
  10. Or try the path to the cron /usr/bin/php -q /home/usrname/public_html/cron_day.php?code=thisisnotneededjustputmeoutofhtewebroot Note the command /usr/bin/php -q does depend on where php is installed so if your server host has installed it to/usr/lib/php then it will be that instead. Speak to your host they would have been able to resolve this for you on the the same day
  11. So it wouldnt be your host then lol Obviously we do not know what we are talking about sigh.
  12. Really? I could think of numerous ways on how to do crimes real quick without using a macro so am i cheating or just being resourceful? I think your best bet is to change your logic. Go for a x amount of clicks then throw in a captcha code to input.
  13. Cant be bothered tbh sorry Good luck with the job interview SRB
  14. Thing is same IP would you ban players for it without asking? I own my game. I have 3 boys who play my game so they are all on the same IP. Now I know thats ok as I am a mean SOB and dont help them out lol but if it was your game would ban all 3 of them even though they are legit players?
  15. Sporto....what game(s) do you play your requests are starting to sound very familiar ;)
  16. How can it be a "big deal"....define the term big deal. Personally I have bigger and better things to do then check logs to see if someone is transferring 50 crystals from one account to another. I see it as it comes down to how the game is set up on a bigger picture. For example: If player A signs up creates player B account and then sends 50 crystals to their main account player A. Then uses them to train in the gym at a cost of 10 crystals per train. They in effect get 5 trains more than a person not cheating but depending on how the training is setup is the extra gain significant? if your answer is no then you already have your solution to the problem. The gain is not significant enough and therefore defeats the objective of the player creating another account. Obviously to make it worthwhile the player would have to make players b,c,d,e,f,g,h..... which would stand out like a sore thumb and you delete them regardless if they are paying or not and pocket the cash.
  17. Lets face it there is no real solution and how uptight do you really want to be. Oh a player has two accounts and is sending their daily x amount from what ever you give away to themselves. 1. It aint that much of a big deal. 2. If you convert that player into a paying player then its something you can live with. 3 If the player really needs to have more than one account to get their daily x of whatever then they should really get out more!!
  18. You aint gonna get much gold for yer balls.. I mean peanuts.. SRB
  19. Or /usr/bin/php -q
  20. Not had a look at the scripts but your not setting a memory limit with ini_set are you?
  21. Whats your memory setting in php.ini
  22. The jail crime forumula has been discussed many many times. Search for it.
  23. rulerofzu

    Gym

    necessary conversion of "include(DIRNAME(__FILE__).'/globals.php')" This is a necessary conversion why? Firebug the script and you will see where your going wrong.
  24. Its a discussion forum booher which gives SRB every right to discuss the matter.
  25. Really dont think you searched hard enough :P Key issue you may have here is your host does not allow 1min crons? Host may not have curl or give you permission to use it
×
×
  • Create New...