FAF
Frost And Flame Promisance
Frost And Flame Promisance

Broadly speaking, FAF is the result of an effort by 4 --mostly just 2-- programmers over a period of almost 2 years. You can imagine how many features we've added to plain vanilla Promisance, and more importantly, the number of security issues and bugs we've fixed in the original game. We have fixed at least 700 bugs, by rough count, and added 156 big and small new features.

When developing FAF, we had in mind 4 main goals:
  • A Balanced Game
  • Ease of Playing
  • Ease of Development
  • Eliminating Security Issues

In this light, our features can be divided up into four main categories: 1. features that ensure balance in the game, between various different strategies; 2. features that make it easy and non-tedious to play a precise yet fun game; 3. features that make it easy for developers to understand and modify the code or the HTML; and 4. a battery of security investigations that have fixed over 30 vulnerabilities in Promisance. So without further ado, here are the most important features:
  • Features That Aim For A Balanced Game
    • Attack for Food, Cash, or Land
    • Market commission: networth under 10 mil: 10%, under 20: 15%, under 50: 20%, under 100: 25%, all above: 30%
    • More stringent cap on Scout (ED)
    • Experience factors into attack strength
    • Declare War
    • Declare Peace (Ally)
    • Use turns: Train
    • Use turns: Write
    • Value of food decreased in networth
    • Races balanced more
    • Treasury can be Open/Closed
    • Market sales go into the Bank

  • Features That Ease The Playing Experience
    • Espionage: Report
    • Condense Turns option that remembers your selection
    • Execute multiple missions at once
    • Demolish: "safe" options
    • News Condensation
    • Military, Aid, Messages dropdown boxes added
    • Military dropdown boxes colorized
    • Aid, Bazaar, Market, and Bounty pages have Max/All checkboxes
    • Lite or Full Menus
    • Picking location at signup
    • News reports kills
    • Refresh link changed to javascript to resend form data
    • People can resurrect their old clan if they know the password for it
    • The statusbar's cash and food indicators turn yellow if you are losing cash/food, and red if the rate is critical
    • In-Game clan forums, integrated with main page
    • Game, Server, and Clan chats (using revolutionary low-bandwidth no-latency, pure HTML and JavaScript technology)
    • Messages, clan MOTD and crier, clan forums, all use bbcode parsing
    • New and advanced title-based PM system
    • Open Clans that can be joined on signup (clan leader can set this)
    • Login option to hide online-ness
    • Online attacks are marked by an asterisk
    • Market items are displayed using a visual bar for delay from market
    • Profile page with public information and recent news, as well as a user's private profile
    • Clan crier page with public information and recent news, as well as the clan's crier info
    • Status bar shows turns left in Protection
    • New Mail is loaded in JavaScript so you can read it fast
    • Clan Granary, Treasury, and Loft
    • Clan Market
    • Military, Aid, and Hawks auto-select your last target
    • View complete news history
    • Message Entire Clan option
    • 10 message credits by default
    • No-Cookies login method
    • More clan diplomacy spots
    • pconnect() means using many turns is much faster
    • Private notepad
    • "Show All" on scores page
    • Condensation of market items
    • Option to leave protection early
    • On the scores page, clan leaders are distinguished with asterisks around their clan's tag
    • User-choosable news sorting

  • Miscellaneous Features
    • The Map
    • Raffle instead of Lottery
    • Source Viewer (in accordance with our policy of openness about development)
    • Removed validation; replaced with password generation
    • Rearranged status page (was illogical before)
    • Combo attack: Pincer Move: uses Hares and Otters
    • Combo attack: Sniper Assault: uses Squirrels and Otters
    • Stock Market (extensively tested to be realistic)
    • Heroes system
    • Bounty System
    • New mission: Heal
    • New mission: Recruit
    • New mission: Seppuku
    • New mission: Prod Market
    • New mission: Scout
    • Missions dropdown box shows missions in yellow or red (yellow: not enough runes / red: would fail)
    • News page by default shows the last 100 news items
    • Shorter URLs
    • Graveyard, Hall of Shame, Admin List
    • Top10 page skips vacation people
    • Option to change email
    • In-Game names

  • Features That Ease Administration and Development
    • Transparent server installation
    • Era & race matrix (fine-grained control)
    • Arbitrary number of troop types
    • bbcode_parse function
    • swear_filter function (fast & efficient)
    • Rewrote News system to be more logical and comprehensible
    • Optional forum news syndication on main page
    • More flexible naming (for example to replace 'empire')
    • Disabled pages array (tied in with new menu system)
    • Ease of configuring and adding multiple servers
    • The login page automatically accomodates any number of servers
    • Stock Market Manipulator
    • Missions system completely rewritten for flexibility
    • Many signup variables swear filtered
    • Table and cookie prefixing

  • Fixed Security Holes and Promisance Bugs
    • HTTP_REFERER bug
    • REMOTE_ADDR bug
    • HTTP_HOST login problem
    • Clan inheritance fixed
    • HTMLEntities instead of HTMLSpecialChars
    • Can't attack or execute missions under 20% health
    • Shared Forces bug fixed
    • In Promisance, "@." was a valid signup email
    • HTML could be inserted in clan image or link
    • Logout removes your online status, as it should
    • Build and Demolish no turns used bug fixed