Frost And Flame Promisance
PHP CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
external
guide
img
lib
local
styles
templates
.gitignore
400.shtml
401.shtml
403.shtml
404.shtml
500.shtml
INSTALL.txt
LICENSE
LICENSE.html
README.txt
admin.php
aid.php
bank.php
base64.js
build.php
cash.php
changepass.php
chat.php
clan.php
clanadmin.php
clancrier.php
clanforum.php
clanjoin.php
clanmanage.php
clanmarketbuy.php
clanmarketsell.php
clanstats.php
compile.php
conf-proc.php
config.php
constants.php
contacts.php
contactus.php
credits.php
dbadmin.php
delete.php
demolish.php
faq.php
farm.php
features.php
find-server.php
forumadmin.php
forums.php
funcs.php
globalout.php
globalsignup.php
guide.php
guide2.php
halloffame.php
header.php
heal.php
hero.php
hfame.php
html.php
igletter.php
index.php
industry.php
info.php
intel.php
ip.php
land.php
license.php
login.php
login2.php
logout.php
m_read.php
magic.php
magicfun.php
main.php
manage.php
map.php
map2.php
md5.js
menus.php
menus_alt.php
mercenary.php
messages.php
military.php
mm-invcol.php.run
motd.php
motdadmin.php
msgadmin.php
new_guide.php
news.php
newsletter.php
play.php
prefixconv.php
produce.php
profiles.php
pubmarketbuy.php
pubmarketsell.php
pvtmarketbuy.php
pvtmarketsell.php
raffle.php
redirect.php
replace.php.run
rnews.php
rss.php
rules.php
runes.php
scores.php
scrip.php
script.php
search.php
sentmail.php
server-env.php
serverforum.php
shadmin.php
shadminrpc.php
signup-new.php
signup.php
skingen.php.run
source.php
spells.php
sql-setup.php
status.php
stockpanel.php
stocks.php
test.php
theend-script.php
theend.php
ticker.js.php
top10.php
treasury.php
tres-news.php
trim.js
troopreserve.php
troopunreserve.php
turnbank.php
useradmin.php
wikraces.php.run

README.txt

Installation is super easy:

1. Unzip on your web server

2. Copy config.php to local/ and edit it to set up your server.

Directives are documented within the file.

All you need to do to get a running game is to change the pertinent MySQL variables,
but you may customize the game to your liking in detail if you wish.

You do not need to do perform any database setup or installation step; tables for
configured servers are automatically and transparently installed on the fly. This makes
it very easy to add and remove servers later just by editing local/config.php

3. Congratulations! FAF is installed. Just browse to the game directory and log in with:
username: admin
password: password

BE SURE TO IMMEDIATELY CHANGE YOUR ADMIN PASSWORD ON ALL SERVERS!


################################# Notes for Developers #################################
1. If you wish to make changes to the codebase, it is recommended that you copy the
   files you want to modify into the same path in the ./local directory, and edit them
   there. For example, if you change military.php, you would copy military.php to
   local/military.php and change it there. It will be transparently included by the
   game. Then an upgrade is trivial as your changes will never be overwritten. Some
   other examples:
      lib/libclan.php               -> local/lib/libclan.php
      templates/prom/login.html     -> local/templates/prom/login.html
      external/minibb/lang/eng.php  -> external/local/minibb/lang/eng.php
      guide/Aid.2                   -> local/guide/Aid.2
   etcetera.
2. Since FAF is released under the GPL, any modifications you make must be released to
   any party requesting them, unless doing so would conflict with the license of
   another project you took code from. This must not be construed as legal advice.
########################################################################################