mojo_client/bin/scripts/database_loader.def
false_genesis 2b1d743125 * update gui charlist when crating a char
* implemented display correct response string in console & gui if char creation failed
* fixed & simplified PlayerNameCache, load directly before world join and not at charlist receive
* fixed some warnings
* misc stuff
* TODO: fix bug that prevents reopening char create window after creating char + implement dixplaying response strings for actions other then char creation.
2009-04-25 20:20:28 +00:00

51 lines
1.2 KiB
Modula-2

#script=register_db_loader
if ?{not ?{IsHooked _startup}}
HookStart _startup
HookAdd db_loader_load_all
HookEnd
// Set up paths; ./data/scp and ./cache are set in the core already.
// The SCP files placed in this directory are used to override some values
// in already present SCP files or to add custom fields or content.
// Note: it DOES matter in which order paths are added!!
AddDBPath ./data/scp-patches
endif
//---------------------------------------------------------
#script=db_loader_load_all
log ** Loading / dyncompiling databases...
// game databases
LoadDB race
LoadDB class
LoadDB gender
LoadDB language
LoadDB emote
LoadDB map
LoadDB zone
LoadDB creaturedisplayinfo
LoadDB creaturemodeldata
LoadDB gameobjectdisplayinfo
// LoadDB itemdisplayinfo // not yet used
// LoadDB charsections // not yet used
LoadDB sound
// LoadDB npcsound // not yet used
// GUI related databases
LoadDB gui_login_text
LoadDB gui_charselect_text
// misc data
LoadDB generic_text
log ** Databases loaded.
//----------------------------------------------------------
#script=dummy
#onload
register_db_loader
#/onload