mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 11:13:27 +02:00
Automatically load towns from .OTBM file
Takes up to 10 seconds for otservbr on my PC Taken from old Smart AAC - class SpawnsReader.php
This commit is contained in:
@@ -165,7 +165,9 @@ $config = array(
|
||||
'character_name_max_length' => 21,
|
||||
|
||||
// list of towns
|
||||
// if you use TFS 1.3 with support for 'towns' table in database, then you can ignore this - it will be configured automatically (generated from your .OTBM map)
|
||||
// if you use TFS 1.3 with support for 'towns' table in database, then you can ignore this - it will be configured automatically (from MySQL database - Table - towns)
|
||||
// otherwise it will try to load from your .OTBM map file
|
||||
// if you don't see towns on website, then you need to fill this out
|
||||
'towns' => array(
|
||||
0 => 'No town',
|
||||
1 => 'Sample town'
|
||||
|
Reference in New Issue
Block a user