Ignore:
Timestamp:
Aug 6, 2009, 8:37:02 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Editace a ukládání podrobného nastavení světů.
  • Opraveno: Světy v generovaném realmlistu nebyly viditelné.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/model/realm.php

    r64 r65  
    9696      'mysql --user=server'.$this->Data['Server'].' --password=server'.$this->Data['Server'].' realm'.$this->Id.'_scriptdev2 < emulator/'.$Database['Emulator'].'/source/src/bindings/ScriptDev2/sql/scriptdev2_script_full.sql',
    9797      'mysql --user=server'.$this->Data['Server'].' --password=server'.$this->Data['Server'].' realm'.$this->Id.'_mangos < emulator/'.$Database['Emulator'].'/source/src/bindings/ScriptDev2/sql/mangos_scriptname_full.sql',
    98       'mysql --user=server'.$this->Data['Server'].' --password=server'.$this->Data['Server'].' realm'.$this->Id.'_characters < emulator/'.$Database['Emulator'].'/share/mangos/sql/characters.sql'));
     98      'mysql --user=server'.$this->Data['Server'].' --password=server'.$this->Data['Server'].' realm'.$this->Id.'_characters < emulator/'.$Database['Emulator'].'/source/sql/characters.sql'));
    9999    if($Database['ACIDSourceFileName'] != '')
    100100      $CommandList[] = 'mysql --user=server'.$this->Data['Server'].' --password=server'.$this->Data['Server'].' realm'.$this->Id.'_mangos < database/'.$Database['Id'].'/'.$Database['ACIDSourceFileName'];
     
    215215   
    216216    // mangosd.conf
     217    if(!file_exists($RealmEtcDir.'mangosd.conf'))
     218      file_put_contents($RealmEtcDir.'mangosd.conf', file_get_contents($EmulatorEtcDir.'mangosd.conf.dist'));
    217219    $EmulatorConfig = new MangosConfigurationFile($this->Database);
    218     $EmulatorConfig->Load($EmulatorEtcDir.'mangosd.conf.dist');
     220    $EmulatorConfig->Load($RealmEtcDir.'mangosd.conf');
    219221    $EmulatorConfig->ParameterList['LoginDatabaseInfo'] = 'localhost;3306;server'.$this->Data['Server'].';server'.$this->Data['Server'].';server'.$this->Data['Server'].'_realmd';
    220222    $EmulatorConfig->ParameterList['WorldDatabaseInfo'] = 'localhost;3306;server'.$this->Data['Server'].';server'.$this->Data['Server'].';realm'.$this->Id.'_mangos';
Note: See TracChangeset for help on using the changeset viewer.