Which OGame Clone Has A Working Battle Engine?

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Which OGame Clone Has A Working Battle Engine?

      Hi. I've tried a few OGame clones only to find out after a few battles that the game is not functioning properly when you attack another planets. I asked google AI about this and it says that 2moons and other clones have a battle engine that can't handle shields, armor, etc due to bugs in the code making it unusable. Are people just modifying a flawed game engine over and over or something? I want a working battle engine. It says that only things like OGgameX works properly but can't be used on shared hosting and doesn't use PHP.
    • Good morning.

      Yes, it's mostly the OPBE combat engine. Easily 10 years old. PHP 7.2.

      Rapid fire is causing problems. Large fleets almost always win against defenses. I've tried tweaking it a bit, but it's pointless. A new engine would be better.
    • includes/libs/opbe/errors
      that explains clearly what is wrong with the code.

      also check
      includes/error.log

      opbe is problematic but are you sure you are using obpe ? generally it have 3 battle engines and that changes with respect to number of ships.

      includes/classes/missions/functions/calculateAttack.php ( set battle engine as OPBE there by $battle_engine = 0; )

      about your question ogameX seems good but not personally tested it. It is an example of doing things correctly, ogame does the same. You need server side C++ engine to calculate battles for performance. OgameX has Rust so it is also pretty OK ( not as fast as C++ but quite good ).


      + double(255,0) and double(50,0) is one of the main source of Database errors. Try replacing them with double or BIGINT ( double is also problematic because it is loosing precision after certain point ). Current PDO fails when text has special characters like "(". check install sql file find double(50,0), double(255,0) replace them with double or BIGINT.

      if you have OBPE error logs send them please.

      The post was edited 4 times, last by amamoslavida_ ().