Rear Admiral Sisko Posted February 11, 2007 Share Posted February 11, 2007 Ok I hope that you guys got the Database thing taken care of. If so cool I am glade I could help out. As for more players I am trying to help out there as soon as I get my forums and blog working on my server. Also I hope that some of you might come over to my BNT server and give it a once over now that it's running right. It at http://siskobnt.game-host.org/~michaelcrossland/ I hope that some of you might help me out with how I could set the game up better. Anyway great site and now I know how Nite feels trying to run a server on his own now. Link to comment Share on other sites More sharing options...
Megalith Posted February 11, 2007 Share Posted February 11, 2007 ok the planet and ship thing seems to be fixed just the turn update thats not now :) there does seem to be far to many ports and planets tho can this be lowered? plus the sectors for fed space is high Link to comment Share on other sites More sharing options...
TFMF Posted February 11, 2007 Share Posted February 11, 2007 Ah ha I now have access to the database...lets see if i can fix this problem now... Link to comment Share on other sites More sharing options...
Megalith Posted February 11, 2007 Share Posted February 11, 2007 its looking good but alas the turns still don't update :( Link to comment Share on other sites More sharing options...
TFMF Posted February 11, 2007 Share Posted February 11, 2007 I want to thank all of you for putting up with these problems while i try to fix it. You've all been very helpful and i would be totally clueless were it not for you lot :) Link to comment Share on other sites More sharing options...
Dark Knight Posted February 13, 2007 Share Posted February 13, 2007 i found this: ;D From config.php Code: /* Main scheduler variables (game flow control) -----------------------------------------------*/ /* Set this to how often (in minutes) you are running the scheduler script. */ $sched_ticks = 1; /* All following vars are in minutes. These are TRUE minutes, no matter to what interval you're running the scheduler script! The scheduler will auto-adjust, possibly running many of the same events in a single call. */ $sched_turns = 2; //New turns rate (also includes towing, xenobe) $sched_ports = 2; //How often port production occurs $sched_planets = 2; //How often planet production occurs $sched_igb = 2; //How often IGB interests are added $sched_ranking = 30; //How often rankings will be generated $sched_news = 15; //How often news are generated $sched_degrade = 6; //How often sector fighters degrade when unsupported by a planet $sched_apocalypse = 15; $doomsday_value = 90000000; // number of colonists a planet needs before being affected by the apocalypse /* Scheduler config end */ This equals the following: 2 Turns every 1 Min Link to comment Share on other sites More sharing options...
TFMF Posted February 13, 2007 Share Posted February 13, 2007 But that won't change anything unless i get the cron issue fixed. I did try to change it so it was 2 turns every minute, and although it did have 60 second ticks instead of 120 second ticks, it would still go back to 60 every refresh, and wouldn't add the turns at the end of the 60 seconds... Link to comment Share on other sites More sharing options...
Dark Knight Posted February 13, 2007 Share Posted February 13, 2007 i will keep looking. Link to comment Share on other sites More sharing options...
Amnot Borg Posted February 14, 2007 Share Posted February 14, 2007 pold is back..... LOL at least he can't do any damage while this thing is screwed up. Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 I take it Pold is a cheater? Ok. I haven't had a lot of time today to work on fixing the problem. Been too busy watching TNG with school work, but 2moro i should have much more time to work on the problem. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 */ $sched_ticks = 1; should this not be 2 ? hence it gets to 60 then goes to 0 and doesnt reach 120?[br]Posted on: February 14, 2007, 12:53:50 AMpold has been known to cheat he was the unnamed player in the last game, it remains to be seen if he cheats in this game tho not having the bank will take away 1 of his cheats but the multiple logins cheat he uses could still happen so if we see a b c d e f g etc join the game it is him. Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 It is already set at 2. Dark Knight was just showing a suggested modification. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 k from what i have gathered its todo with cron i will look into it too. i'll use the software locally rather than what is on the server maybe find something Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 Yep, it's the cron. Somthing i know absolutly nothing about... ::) mupi has been of great help however, and i think i am almost there. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 thats good news :) is something worth learning i feel even tho it is a right royal pain in the rectum[br]Posted on: February 14, 2007, 01:05:06 AMi Just found a very useful site about cron TFMF http://www.unixgeeks.org/security/newbie/unix/cron-1.html it might help you get round it :) Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 Thanks for the link, Megalith :) Anyway, the problem i am having is with the part in bold below: */6 * * * * /etc/whatever/ --dump http://traders.nitescifi.com/scheduler.php?swordfish=* > /dev/null I have no idea what to put there. After copying over the code it gives me in the install text */6 * * * * /usr/bin/lynx --dump http://localhost/blacknova/scheduler.php?swordfish=password > /dev/null I edited what was needed but it gives me an error message each time i try to run it. It says the file contains errors, and i'm pretty sure it's related to the part in bold above, although i could easily be wrong. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 try it with this. */2 * * * * /usr/bin/lynx --dump http://traders.nitescifi.com/scheduler.php?swordfish=**** > /{somefolder} it should give you a log of it updating remember tho to replace the end bit with the /dev/null once you know its working. note this updates every 2 minutes might even be worth changing it to */1 to make it update every minute and then changing to 2 once you know its working. does the server have lynx? might need to use ccron??? not sure and i noticed you had a diff path to the cron file than the one given in the install file. outputting the logs might give a clue tho Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 It uses Lighttp. In the /usr/bin/ folder there is no 'lynx' which is the problem i am having. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 does it have wget or ccron try a search for cron as it may be called cronc lots of alternatives really lol also it could be called corn :-\ Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 In the /usr/bin folder there are files named: - cron - crontab I'll try both and see what happens. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now