hell
- Joined
- Jan 1, 2009
- Messages
- 384
- Reaction score
- 20
Short Tutorials-Edit MaxGalaxy..-New Members E-mail- Building,Ships ..
In reg.php – Edit What You Need
Search for something like this:
In const.php / constants.php – Edit what you need
For example:
Name:
Production:
If you want to edit Metal Mine then you edit those values
I think you already know how to edit templates ( you go to templates folder).
If you want to edit language then search for the language folder, open it , select the language you want to edit and you should have some .mo extension files:
Open the one you want, search the phrase you want to modify , edit and save.
Maybe you already know all of this , maybe you don’t , I wrote it for people who don’t know.
In reg.php – Edit What You Need
Search for something like this:
Above it you will see something like this:SendSimpleMessage
This is what you need to edit.For Example:$Message = "And A Message Here";
$Message = "Hi, Welcome to XXXX Ogame Server. We hope you have fun playing with us .If you have problems then contact us. Start with metal mines and Crystal mines as well as a Solar Plant. Good Luck! You will need it.";
In const.php / constants.php – Edit what you need
define('MAX_GALAXY_IN_WORLD' , 9);
How many galaxyes you want on your univers
define('MAX_SYSTEM_IN_GALAXY' , 499);
How many systems every galaxy should have
define('MAX_PLANET_IN_SYSTEM' , 15);
How many planets should every system have
define('SPY_REPORT_ROW' , 2);
Number of columns for spying report
define('FIELDS_BY_MOONBASIS_LEVEL', 4);
Number of fields for every Lunar Base level
define('MAX_PLAYER_PLANETS' , 21);
How many colonyes should every player have
define('MAX_BUILDING_QUEUE_SIZE' , 5);
How many elements should the quque(waiting for construction list) have
define('MAX_FLEET_OR_DEFS_PER_ROW', 1000);
Maximum number of constructions on the fleet and defenses construction list
define('MAX_OVERFLOW' , 1.1);
Exceeding rate of the space available in storage...
1.0 for 100% - 1.1 for 110% …
define('BASE_STORAGE_SIZE' , 1000000); - Base storage for new planets and colonyes
define('BUILD_METAL' , 500); - Metal Base storage for new planets and colonyes
define('BUILD_CRISTAL' , 500); - Cristal Base storage for new planets and colonyes
define('BUILD_DEUTERIUM' , 500); - Deuterium Base storage for new planets and colonyes
You want to edit buildings,ship,… ?
Go to vars.php and start editing from name , requeriments to prices($pricelist),production and consumption.
For example:
Name:
1 => "metal_mine",
Price list:
1 => array ( 'metal' => 60, 'crystal' => 15, 'deuterium' => 0, 'energy' => 0, 'factor' => 3/2),
Production:
1 => array( 'metal' => 40, 'crystal' => 10, 'deuterium' => 0, 'energy' => 0, 'factor' => 3/2,
'formule' => array(
'metal' => 'return (30 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);',
'crystal' => 'return "0";',
'deuterium' => 'return "0";',
'energy' => 'return - (10 * $BuildLevel * pow((1.1), $BuildLevel)) * (0.1 * $BuildLevelFactor);')
),
If you want to edit Metal Mine then you edit those values
I think you already know how to edit templates ( you go to templates folder).
If you want to edit language then search for the language folder, open it , select the language you want to edit and you should have some .mo extension files:
……admin.mo
buddy.mo
Open the one you want, search the phrase you want to modify , edit and save.
Maybe you already know all of this , maybe you don’t , I wrote it for people who don’t know.
Last edited: