mirror of
https://github.com/edubart/otclient.git
synced 2025-10-21 23:05:54 +02:00
Multi-protocol
Lots of chagnes to add multi protocol flexibility, not really completed yet, still have to rework text messages opcodes and other stuff, so this still a working in progress feature * Rework dat reader, the dat reader can now * dinamically detect dat version * Split game into gamelib and game_interface * Lots of other minor changes
This commit is contained in:
9
init.lua
9
init.lua
@@ -29,17 +29,18 @@ g_configs.load("/config.otml")
|
||||
|
||||
g_modules.discoverModules()
|
||||
|
||||
-- core modules 0-99
|
||||
g_modules.autoLoadModules(99)
|
||||
-- libraries modules 0-99
|
||||
g_modules.autoLoadModules(99);
|
||||
g_modules.ensureModuleLoaded("corelib")
|
||||
g_modules.ensureModuleLoaded("gamelib")
|
||||
|
||||
-- client modules 100-499
|
||||
g_modules.autoLoadModules(499)
|
||||
g_modules.ensureModuleLoaded("client")
|
||||
|
||||
-- game modules 500-999
|
||||
g_modules.autoLoadModules(999)
|
||||
g_modules.ensureModuleLoaded("game")
|
||||
g_modules.autoLoadModules(999);
|
||||
g_modules.ensureModuleLoaded("game_interface")
|
||||
|
||||
-- mods 1000-9999
|
||||
g_modules.autoLoadModules(9999)
|
||||
|
Reference in New Issue
Block a user