Changeset 66
- Timestamp:
- Aug 6, 2009, 8:46:20 AM (15 years ago)
- Location:
- trunk/www
- Files:
-
- 2 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 -
trunk/www/view/realm.php
r65 r66 97 97 'Rate_XP_Quest' => array('Type' => 'Integer', 'Caption' => 'Násobek získaných zkušeností za dokončení výpravy', 'Default' => 1), 98 98 'Rate_XP_Explore' => array('Type' => 'Integer', 'Caption' => 'Násobek získaných zkušeností za objevení oblasti', 'Default' => 1), 99 ' Console_Enable' => array('Type' => 'Boolean', 'Caption' => 'Povolení vzdálená konzoly.', 'Default' => 0),99 'Ra_Enable' => array('Type' => 'Boolean', 'Caption' => 'Povolení vzdálená konzoly.', 'Default' => 0), 100 100 ), 101 101 ); … … 313 313 $EmulatorConfig->ParameterList[str_replace('_', '.', $Index)] = $Form->Values[$Index]; 314 314 } 315 print_r($EmulatorConfig->ParameterList);316 315 $EmulatorConfig->Save('../realm/'.$Realm->Id.'/etc/mangosd.conf'); 317 316 $RealmId = $_POST['RealmId'];
Note:
See TracChangeset
for help on using the changeset viewer.