Git Product home page Git Product logo

2moons-1.8-mods's People

Contributors

bastiherold avatar bergi9 avatar bigtwoproduction avatar gitter-badger avatar harukama avatar hikegame avatar jbaukens avatar jgalat avatar jkroepke avatar mimikri avatar ozankurt avatar tatarysh avatar vauen avatar waffle-iron avatar xer0fire avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

wumix jfr-ogm

2moons-1.8-mods's Issues

Browsing to an empty system gives crash

In ShowGalaxyPage.class.php is an error at line 94.
'planetcount' => sprintf($LNG['gl_populed_planets'], count($Result)),
This happens when there is no planet present.

i replaced it with the following fix on my personal server:
$PlanetCount = 0;
if ($Result != null && $Result != "")
{
$PlanetCount = count($Result);
}
$this->tplObj->loadscript('galaxy.js');
$this->assign(array(
'GalaxyRows' => $Result,
'planetcount' => sprintf($LNG['gl_populed_planets'], $PlanetCount),

Hall of Fame crash

page.battleHall.default.tpl gives an error

line 18 change <tr class="day{floor($row.date / 86400)} week{floor($row.date / 604800)}"> in <tr class="day{floor((float)$row.date / (float)86400)} week{floor((float)$row.date / (float)604800)}"> to fix the problem

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.