Jump to content

News: Blacknova Traders


NiteShdw
 Share

Recommended Posts

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

  • Replies 670
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

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

*/
$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 AM


pold 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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share


×
×
  • Create New...