PHP Classes

File: implementations/Xgp/

Recommend this page to a friend!
  Classes of Nicola Covolo  >  OPBE  >  implementations/Xgp/  >  Download  
File: implementations/Xgp/
Role: Documentation
Content type: text/plain
Description: Documentation
Class: OPBE
Ogame probabilistic battle engine
Author: By
Last change: improved portability
fixed a wrong path in the README.
fixed an old call to toString($resource) method, now replaced with __toString()
Date: 7 years ago
Size: 565 bytes


Class file image Download
Replace all content of function includes/classes/class.FlyingFleetHandler.php::missionCaseAttack() with 

      $opbePath = XGP_ROOT.'includes'.DIRECTORY_SEPARATOR.'battle_engine'.DIRECTORY_SEPARATOR; // XGP 2.10.x
      //$opbePath = $GLOBALS['xgp_root'].'includes'.DIRECTORY_SEPARATOR.'libs'.DIRECTORY_SEPARATOR.'opbe'.DIRECTORY_SEPARATOR; // XGP 2.9.x

where $opbePath is the path where you uploaded the battle engine pack. 
For more information send a message to info at phpclasses dot org.