Giter VIP home page Giter VIP logo

scheduler's People

Contributors

kirirur avatar kail72 avatar

Watchers

James Cloos avatar Antonio Davide avatar  avatar  avatar  avatar

scheduler's Issues

User permissions problems

The daily job potentially can have problems performing cleaning tasks while running on different user then Apache. Let's investigate if it's a cron/Apache configuration problem or not.

double script_path for combat module

Hi

in file moves_common we define the path to bin/moves_combat.
After the first use uf combat i have a php error. because we have defined the script path in config.inc.php and in moves_combat.php. But the config.inc.php is includet to moves_common.php.
I have set in config.inc.php the script path to the location of bin/moves_combat.
Set i moves_common.php script path to ' ' and it works fine.

we remove the Line in moves_common?

Unread messages flagged "read"

It seems that sometimes messages still unread by the player are flagged "read" by some piece of code somewhere in the game...

moves_main php error

Hi

Found in logs:

PHP Notice: Undefined variable: sdl in /var/stfc/scheduler/moves_main.php on line 24
PHP Fatal error: Call to a member function log() on a non-object in /var/stfc/scheduler/moves_main.php on line 24

in moves_main: $sdl->log('entering file');

maybe a permisson problem or so. but apache can write on logs folder.

PHP error

Hi @ all

today i startet a new clean install from master branch.
Now i have php error message in the server log:

PHP Notice: Undefined variable: sdl in //scheduler/moves_main.php on line 24
PHP Fatal error: Call to a member function log() on null in /scheduler/moves_main.php on line 24

System is a new deb 8 with php 5.5

make a test on deb 7 and the same in the log.

Field 'min_security_troops' maximum size can be reached

The mathematic formula used to calculate the minimum security troops needed by each colonized planet, can overflow the maximum size (signed int) of min_security_troops field in planets table when the player has more then 142 planets (typically Settlers NPG can easily reach and go beyond that value).

With mySQL version 5.1 the problem was never signaled, the issue appear with mySQL version 5.5 and above, where query execution rises a warning (investigation shall be performed to check if this interrupts the whole query and the following rows affected by it or not).

Solutions can be several:

  • limit Settlers NPC to 140 planets or lower
  • remove Settlers planets from min security troops check
  • change the formula (if possible) with an asymptotic one
  • other...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.