CHANGES

v2.2
Fixed status.php so it can be used in EZClan sites.
Changed TheEnd function
Dark Morbid added as a coder.
Fixed clanstats.. (Menu wasnt working at all)
Made a MarketPanel (Still on Beta)
ClanMarket created (can be accesed by Clan Link only)
Removed many styles.. only PDM and EZClan left.

v2.1.2 (private)
You can see your enemies/allies in the score sheet
Added Menu to the clanstats

v2.1.1 (private)
Many Enhancements to the code by gzip.

v2.1 (private)
New Forums wrote by our newest coder Ahmad.
Ahmad joins the project as coder.
ClanForums made but not working yet.
Gems are removed.
Mass rewrote in military
TOG was changed alot, ED aswell.
New formulas from EZClan (thanks Inferno)
Aid needs peasants now.
BB code for the messages (soon to be added to the forums) (Thanks gzip!)
Blackmarket/Publicmarket changed aswell (thanks Inferno!)
News was reparsed.
The news reading in funcs.php was changed to fit the new attack types.
Added a new style: Phat-Land
Added a small WPA in the top bar
Added a new function sqldrop to drop tables (Reset thing...)
Debug function (thanks gzip!)
Small Change in ED's cap.
Auto log off after 2 hours

v2.0 (private)

Many undocumented changes
Bye Banks...
Fixed bug in styles
Rewrite of many functions
Iron gets out again.
Message system sends e-mail to Admin.
Almost everything was changed.
StockMarket removed

v1.5b (public version)

Disabled 5 = Special countries which cannot be seen/attacked.
Spells are changed, TOG power and Horn of plenty are diminished.
Stock market is created.
Wizards are changed again.
Various fixes on the new stock market.
Bug on the bank solved.
Networth cutted in half again.
$config[clans] is working 100%
Fixes on the search lines/score lines.

v1.4b (private release)

Removed the buy/sell of mana in markets...
Removed wood.. (not worth)
Turns script changed.
Mana Production/Consumption has been decreased/increased.
You need a small ratio to open Time Gates
Topaz/Sapphire and Diamond introduced as special items
Topaz doubles your offensive points and gives you 100% health
When using in Magic, it doubles your WPA.
Motd is displayed into the news.
Health is recovered x turns everytime the turns.php is runned.
Sapphires Give you 50 turns.
Networth splitted to half
Topaz can be used to double the land you get using ED!

v1.3b (private release)

Fixed aiding to dead empires. Thanks Thrust from QM Promisance!.
Iron Production/Consumption have been changed.
Expenses Formula has been changed.
When producing units, you require (Blacksmiths * 5) iron for producing :)
Wood has been added to the game.
Can buy/sell wood in private/public markets.
Return in time spell works now.
Iron and Wood are needed to build.
If you are in the third age you will need 15% more build than you usually need to build.
Forests added.
Irongained and forest gained has been fixed.
Full Credits was changed. It displayed: Enhanced Promisance (Original name)

v1.2.1 (public release)

Lottery is working now!
Search can look for clans.
Technical Information for the auto-updater changes.
Random Factor on ED is changed to mt_rand to allow a better random factor
Added a Random on the health loss when attacking
Health is recovered 1 every time the turns script is runned.
Turns script redone.
Spells appear now, even if you dont hava mana... * Still in check *
Mana Production Increased
Mine & Food Production Increased
Food Consumption Decreased (a little bit)
Fixed TOG.

v1.2b (private release)

Several bugfixes
Spells are completely remodel.
Fixed Horn of Plenty (wasnt working)
Fixed the wizards (weren't working since old version)
Update Information is now avaliable.
IP Checking fixed.
Fixed military.php (The damn thing didnt work!) (Thanks QM Code)

v1.1.1b (private release)

Added a new style. United Realms.
Fixed bug in the aid.
gzip joins the project as main coder.
Install file done.
Scores shows Clans
Top10 shows clans
Fixed some minor bugs in the clans.

v1.1b (private release)

Added clans.
News redone... clan compatible.
Major update on the military code, compatible with the clans now.
Option for letting users buy in the public market when they are in protection.
Amount of land needed for ED is now configurable (currently: 10k land)
ED Cap is now configurable (currently: 5k)
Balanced Golem race again, major bug there =/
Fixed many bugs. (Syntax bugs mostly)
Aid is possible to do now.
Golems, Drow, Orcs, Dwarf and Trolls use 3 turns for aiding. Elves and Gnomes use 1 turn.
You need more galleons to send aid.
You need markets to send aid aswell. (5% of your land with markets)
Aiding takes 10% of all your units sent as comission rate. (Suggested by gzip) (10% Tax rate bug report by Tassador)
Changed the multiplier for aiding from 3 to a number configurable in const.php
Income formula was changed. (Suggested by gzip)
You can just aid people who are 1/75 your networth. (Suggested by Tassador)
If you get aided you can't send aid in 24 hours. (Suggested by Tassador)
Added many configuration options (How many packages can you send, get, etc)
Configuration added for number of messages avaliable to send.

v1.0.1.stable.patch.3 (public release)

Contains Patch 2
Fixes a bug in the turns used for Magic.

v1.0.1.stable.patch.2 (public release)

Contains Patch 1
Fixes the Prom.SQL information for Golem Race.
Adds Lottery Information on the Prom.SQL

v1.0.1.stable.patch.1 (public release)

Disabled the security fix until next release.

v1.0.1b (public release)

Fixed the ironlack bug. (You were consuming less if you had a lack of iron bonus, so I reverted it)
Major security updates.
Minor changes on the farming & mining action, corrected the syntax of cashing action.
People can change their style to use ezclan style or qm. We may add new styles later.
Added new spells information to the guide
Fixed a minor bug on the eras where farming was giving 23% instead of 25% more
Added the mining bonus for the Eras:
1st Age: +25%
2nd Age: +15%
3rd Age: +53%
Fixed some turns bugs.
Fixed some scores bug.
********************************************************
Major Update on the Races Bonus, here are the changes:

* Golems: 

-10 % costs 
-10% market
-25% income
-15% food
-15% farms
---------------
+20% industry
+30% ironbonus
+15% build

=-=-=-=-=-=-=-=-=-=-=-=-

* Orc:

+16% Offense
+4% Build
+8% Industry
+19% Explore
+3% IronBonus
--------------
-14% Costs
-4% Magic
-10% Food
-14% Runes
-8% Farms

=-=-=-=-=-=-=-=-=-=-=-=-

* Dwarf:

+6% Offense
+16% Defense
+16% Build
+12% Industry
+12% Iron Mines
----------------
-8% Costs
-16% Magic
-18% Explore
+8% Market
-12% Runes

=-=-=-=-=-=-=-=-=-=-=-=-

* Elf:

-14% Offense
-2% Defense
-5% Build
-12% Industry
-6% Farms
-5% Iron Lack
---------------
+18% Magic
+2% Income
+12% Explore
+12% Runes
+0% IronBonus

=-=-=-=-=-=-=-=-=-=-=-=-

*********************************************************

v1.0b (private release)

Added Mining action.
Turns to attack/magic are made on the database instead on the code (CPU load) (Thanks Morvandium!)
Added a new Race: Golem (with +30% Iron and +30% Industry, weak in mages) (Thanks to Tassador for suggesting it)
Added a new spell (Horn of Plenty) (like ToG but for Food)
Spells (Just Non Harmful) just show if you have enough mana. (If you don't they won't show.)

v0.1a (private release)

Added Emminent Domain
Added Heal Spell
Added Music to the Game 
Minor bugfixes on the magic users.
Changed the Era's.
ED can only be casted until you get 75,000 acres
Heal can only be casted if you have more than 25 health
Drow, Troll, Orc and Dwarf just use 1 turn for offensive actions and 3 for magic (except Drow)
Elves use 3 turns for offensive actions, 1 for magic
Indy/Farmer/Casher/Reseller work.
Minimum Vacation delay is 48 hours
Lottery Pot is $1B
ED cap is 5,000
Mana can be sold in the black market
Changed NW formula
Mana can be sold in public and buyed in public
Added Iron (used to upkeep Footmen/Dragons/Galleons/Persons) (No Ballistas)
Elf/Mager strategy is possible now
Added a new building: Bank (adds more space to the bank)
Added a new building: Mines
Changed bonuses for Eras:
1st Age: -5% Industry, +40% Mana Production + 25% Revenue on Cashing + 53% Revenue on Farming
2nd Age: 0% Industry, 0% mana production + 53% Cashing + 15% on Farming
3rd Age: +15% Industry, -20% Mana, +15% Cashing + 25% on Farming