Open bank file with writeback set to false (default); setting it to True was not needed and caused a mysterious bug on my system. The Python reference manual recommends closing the database after writing data, so remove all sync() calls and instead force a close() in the end. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18861 282e977c-c81d-0410-88c4-b93c2d0d6712 |
||
|---|---|---|
| .. | ||
| IPO | ||
| casino | ||
| commands | ||
| dialog | ||
| events | ||
| gods | ||
| guilds | ||
| items | ||
| maps | ||
| misc | ||
| monsters | ||
| pshop | ||
| 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 | ||
| CFTimeOfDay.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