Coder Social home page Coder Social logo

xmke / xnova Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 7.0 15.85 MB

XNova is a free opensource OGame clone. This one is a french fork under maintenance :D

License: GNU General Public License v3.0

PHP 51.41% CSS 1.50% Modelica 26.90% JavaScript 5.68% Smarty 5.93% Shell 0.54% Motoko 8.04%
browser empire game ogame online open php strategy ugamela world xnova

xnova's People

Contributors

dependabot[bot] avatar wvandenhaak avatar xmke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xnova's Issues

Notices page Notes

Notice: Undefined index: a in /notes.php on line 37

Notice: Undefined index: n in /notes.php on line 38

Notice: Undefined index: s in /notes.php on line 46

Notice: Undefined index: s in /notes.php on line 46

Notice: Undefined index: a in /notes.php on line 94

Notice: Undefined index: a in /notes.php on line 116

Notice: Undefined variable: list in /notes.php on line 167

Notice: Undefined variable: page in /notes.php on line 173

Notices page Flotte

Notice: Undefined variable: ExpeditionEnCours in /fleet.php on line 84

Notice: Undefined variable: EnvoiMaxExpedition in /fleet.php on line 84

Notice: Undefined variable: EnvoiMaxExpedition in /fleet.php on line 260

Notice: Undefined variable: ExpeditionEnCours in /fleet.php on line 261

Notices page Recherches (search.php)

Notice: Undefined index: searchtext in /search.php on line 35

Notice: Undefined index: type in /search.php on line 36

Notice: Undefined index: searchtext in /search.php on line 43

Notice: Undefined index: type in /search.php on line 126

Notice: Undefined index: type in /search.php on line 127

Notice: Undefined index: type in /search.php on line 128

Notice: Undefined index: type in /search.php on line 129

Notice: Undefined variable: search_results in /search.php on line 131

Erreurs page Bâtiments

Bonjour, voici l'erreur affichée sur la page bâtiment, empêchant toute construction (aucun bâtiment ne s'affiche)

Fatal error: Uncaught Error: Call to undefined function bcmul() in
/includes/functions/IsElementBuyable.php:58 Stack trace: #0
/includes/functions/BatimentBuildingPage.php(123): IsElementBuyable(Array, Array, 1, true, false) #1
/buildings.php(59): BatimentBuildingPage(Array, Array) #2 {main} thrown in /includes/functions/IsElementBuyable.php on line 58

Je ne sais pas si ça change quelque chose, mais le jeu est installé dans un sous-dossier.

Installation impossible

Bonjour,

L'installateur ne fonctionne pas, j'ai l'erreur suivante :

Fatal error: Uncaught Error: Call to a member function render() on null in /var/www/nova/public_html/nova/includes/functions.php:153 Stack trace: #0 /var/www/nova/public_html/nova/includes/functions.php(110): StdUserHeader('Installeur') #1 /var/www/nova/public_html/nova/install/index.php(356): display('\r\n<!-- /var/www...', 'Installeur', false, false) #2 {main} thrown in /var/www/nova/public_html/nova/includes/functions.php on line 153

Merci !

Add composer as dependency manager

Would you like to have composer implemented as the dependency manager?

We can use autoloading to move pieces of code to separate classes.
Maybe it will also be possible to move the Mustache template engine out of the source code so it can be managed by composer.

Notices page Alliance

Notice: Undefined index: mode in /alliance.php on line 72

Notice: Undefined index: yes in /alliance.php on line 73

Notice: Undefined index: edit in /alliance.php on line 74

Notice: Undefined index: allyid in /alliance.php on line 75

Notice: Undefined index: show in /alliance.php on line 76

Notice: Undefined index: sort in /alliance.php on line 77

Notice: Undefined index: sendmail in /alliance.php on line 78

Notice: Undefined index: t in /alliance.php on line 79

Notice: Undefined index: a in /alliance.php on line 80

Notice: Undefined index: tag in /alliance.php on line 81

Notice: Undefined index: mode in /alliance.php on line 94

Notice: Undefined variable: page in /alliance.php on line 297

Notices page Liste Amis

Notice: Undefined index: a in /buddy.php on line 37

Notice: Undefined index: e in /buddy.php on line 38

Notice: Undefined index: s in /buddy.php on line 39

Notice: Undefined index: u in /buddy.php on line 40

Notice: Undefined index: s in /buddy.php on line 58

Notices page Statistiques

Notice: Undefined variable: LastPage in /stat.php on line 145

Notice: Undefined variable: LastPage in /stat.php on line 145

Suggestion: Refactor Xnova installation scripts / Start using classes

Dear,

I would like to propose to refactor the Xnova installation scripts.

Refactoring would help improving the readability and understanding of the code. It also may allow us to remove duplicate code and reduce the size of the codebase.

Besides refactoring I would also like to start creating classes. Classes can help separate functionality and remove duplicate code.
These classes will still contain a bunch of legacy code (because we don't want to break functionality) but we can fix that in future refactoring once the codebase is cleaned up. After a class have been created we can slowly start to replace pieces of code for the class. I think this will also allow us to remove the file includes which create variables and define functions (for example: $lang/$user variable and doQuery() function).
For these classes I would like to introduce a new folder in the src folder called Legacy. We can use this folder to create classes without focussing on folder structure too much. The full namespace will be Xmke\Xnova\Legacy.

If you like the idea about refactoring the scripts and/or start using classes, please let me know. I am able to create an example if needed.

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.