Use with statement to CFBank.open() so that close() is always correctly called. Change the guild account name to used the fixed string /guilds/ in front of the guild name to avoid hash codes changing between Python versions. DMs will need to manually move guild balances to the new account names. |
||
---|---|---|
.. | ||
CFReputation | ||
IPO | ||
casino | ||
commands | ||
dialog | ||
events | ||
gods | ||
guilds | ||
items | ||
maps | ||
misc | ||
monsters | ||
pshop | ||
pyi | ||
quests | ||
start | ||
tod | ||
CFBank.py | ||
CFBoard.py | ||
CFCampfire.py | ||
CFDataBase.py | ||
CFDataFile.py | ||
CFDialog.py | ||
CFGamble.py | ||
CFGuildClearance.py | ||
CFGuilds.py | ||
CFItemBroker.py | ||
CFLog.py | ||
CFMail.py | ||
CFMapTransformer.py | ||
CFMove.py | ||
CFSqlDb.py | ||
CFTimeOfDay.py | ||
CFTowerDefense.py | ||
CFWorld.py | ||
Move_Fog.py | ||
Moving_Fog.py | ||
README |
README
This directory is the proper directory for all python scripts for crossfire and the default location for importing CF modules. The subdirectories are: /: all shared files /events: all script files called by a global server event /items: all scripts embedded in archetypes /IPO: all scripts relating to the Imperial Post and Bank system /guilds: all scripts relating to guild management /casino: all scripts related to the casino /misc: other scripts Script additions should be placed in a subdirectory, either existing, or when it makes sense, a new one. Shared classes used for import should be placed in the root directory All Python scripts added to this map repository should be tested with and valid for Python 2.3