Changeset 66 for trunk/www/model/realm.php
- Timestamp:
- Aug 6, 2009, 8:46:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/model/realm.php
r65 r66 224 224 $EmulatorConfig->ParameterList['ScriptDev2DatabaseInfo'] = 'localhost;3306;server'.$this->Data['Server'].';server'.$this->Data['Server'].';realm'.$this->Id.'_scriptdev2'; 225 225 $EmulatorConfig->ParameterList['WorldServerPort'] = $this->Data['NetworkPortWorldd']; 226 $EmulatorConfig->ParameterList['Motd'] = $this->Data['Motd'];227 226 $EmulatorConfig->ParameterList['DataDir'] = 'wowclient/'.$this->Data['Database']['Emulator']['Client']['Version']; 228 227 $EmulatorConfig->ParameterList['LogsDir'] = 'realm/'.$this->Id.'/log'; 229 228 $EmulatorConfig->ParameterList['LogLevel'] = 1; 230 $EmulatorConfig->ParameterList['PlayerLimit'] = $Config['MaxOnlinePlayerCountPerServer'];231 $EmulatorConfig->ParameterList['PlayerSaveInterval'] = 300000;232 229 $EmulatorConfig->ParameterList['LogSQL'] = 0; 233 $ServerTypes = array(0 => 0, 1 => 1, 2 => 6, 3 => 8);234 $EmulatorConfig->ParameterList['GameType'] = $ServerTypes[$this->Data['Type']];235 230 $EmulatorConfig->Save($RealmEtcDir.'mangosd.conf'); 236 231
Note:
See TracChangeset
for help on using the changeset viewer.