Changeset 24 for trunk/www/emulator.php
- Timestamp:
- Jun 12, 2009, 11:40:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/emulator.php
r23 r24 14 14 $DbResult = $this->Database->query('SELECT * FROM `Emulator` WHERE `Id`='.$Id); 15 15 $this->Emulator = $DbResult->fetch_assoc(); 16 $DbResult = $this->Database->query('SELECT * FROM `Client Version` WHERE `Id`='.$this->Emulator['ClientVersion']);17 $this->Emulator['Client Version'] = $DbResult->fetch_assoc();16 $DbResult = $this->Database->query('SELECT * FROM `Client` WHERE `Id`='.$this->Emulator['Client']); 17 $this->Emulator['Client'] = $DbResult->fetch_assoc(); 18 18 } 19 19 … … 24 24 25 25 //$this->AddTask('Vytvoření nového emulátoru', array( 26 // 'ln -s wowclient/'.$this->Emulator['Client Version']['Version'].'/maps emulator/'.$this->Emulator['Id'].'/mangos/maps',27 // 'ln -s wowclient/'.$this->Emulator['Client Version']['Version'].'/dbc emulator/'.$this->Emulator['Id'].'/mangos/dbc',26 // 'ln -s wowclient/'.$this->Emulator['Client']['Version'].'/maps emulator/'.$this->Emulator['Id'].'/mangos/maps', 27 // 'ln -s wowclient/'.$this->Emulator['Client']['Version'].'/dbc emulator/'.$this->Emulator['Id'].'/mangos/dbc', 28 28 //)); 29 29 $this->Download(); … … 66 66 { 67 67 $this->Task->Add('Vygenerování souborů map', array( 68 'cd wowclient/'.$this->Emulator['Client Version']['Version'].'/client',68 'cd wowclient/'.$this->Emulator['Client']['Version'].'/client', 69 69 'wine emulator/'.$this->Id.'/source/contrib/extractor/ad.exe', 70 'mv wowclient/'.$this->Emulator['Client Version']['Version'].'/client/dbc wowclient/'.$this->Emulator['ClientVersion']['Version'].'/',71 'mv wowclient/'.$this->Emulator['Client Version']['Version'].'/client/maps wowclient/'.$this->Emulator['ClientVersion']['Version'].'/',70 'mv wowclient/'.$this->Emulator['Client']['Version'].'/client/dbc wowclient/'.$this->Emulator['Client']['Version'].'/', 71 'mv wowclient/'.$this->Emulator['Client']['Version'].'/client/maps wowclient/'.$this->Emulator['Client']['Version'].'/', 72 72 )); 73 73 return('Požadavek na vygenerování map zařazen.');
Note:
See TracChangeset
for help on using the changeset viewer.