Changeset 120 for trunk/import/index.php


Ignore:
Timestamp:
Feb 21, 2009, 7:38:18 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Program MPQEditor ke stažení.
  • Přidáno: Možnost exportovat překlady jako Lua překladové soubory.
  • Odstraněno: Stará překladová skupina client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/import/index.php

    r118 r120  
    33include('../includes/global.php');
    44include('../includes/dbc.php');
    5 
    6 $PatchVersion = '3.0.3';
    75
    86function ImportSQLMangos()
     
    6765function ImportDBC()
    6866{
    69   global $Database, $TranslationTree, $PatchVersion;
     67  global $Database, $TranslationTree, $Config;
    7068
    7169  echo('Načítání textů z DBC souborů...');
     
    7674      echo('<br />'.$Group['Name'].'<br />');   
    7775          $DBCFile = new DBCFile();
    78           $DBCFile->OpenFile('../source/'.$PatchVersion.'/dbc/'.$Group['DBCFileName'].'.dbc', $Group['DBCColumns']);
     76          $DBCFile->OpenFile('../source/'.$Config['Web']['GameVersion'].'/dbc/'.$Group['DBCFileName'].'.dbc', $Group['DBCColumns']);
    7977          $ItemCount = $DBCFile->GetRecordCount();
    8078          $NewCount = 0;
     
    123121function ImportLUA()
    124122{
    125   global $Database, $TranslationTree, $PatchVersion;
     123  global $Database, $TranslationTree, $PatchVersion, $Config;
    126124
    127125  echo('Načítání textů z LUA souborů...');
     
    132130      echo('<br />'.$Group['Name'].'<br />');   
    133131          $File = new FileStream();
    134           $File->OpenFile('../source/'.$PatchVersion.'/lua/'.$Group['LuaFileName'].'.lua');
     132          $File->OpenFile('../source/'.$Config['Web']['GameVersion'].'/lua/'.$Group['LuaFileName'].'.lua');
    135133          $NewCount = 0;
    136134          $Count = 0;
Note: See TracChangeset for help on using the changeset viewer.