Montando um Servidor
Componentes necessários:
- Computador muito bom (pra quem não sabe o que é isso vai um exemplo: P4 ou
Athlon acima de 2.0GHz com no mínimo 512MB de RAM, recomendo de 1GB pra cima,
rodando Windows 2000 Pro ou Server, é melhor e mais estável que o 98 e o XP, e
100MB de espaço, talvez mais vai depender da sua base de dados);
- MSSQL 2000 (Não é o MySQL!!!);
- Mu Server 0.97 (EXTRAIA OS ARQUIVOS NUMA PASTA QUALQUER NA UNIDADE D:,
SÓ PODE SER NA UNIDADE D POIS OS ARQUIVOS ESTÃO TRAVADOS PRA ESSA UNIDADE, CASO
ALGUÉM NÃO TENHA UNIDADE D COMO OUTRO HD OU PARTIÇÃO USE O COMANDO SUBST DO
DOS);
- Paciência (eu quase arrebento tudo aqui hehehehe);
- Mu Client Full e Patch pra versão 0.97(pode ser d, e, f, x qualquer uma);
Começando:
- Primeiramente vamos pegar os softwares necessários:
- No caso do MSSQL você pode fazer o download dele aqui:
SQLEVAL.exe;
- Os arquivos do Mu Server 0.97 estão aqui:
Server97DFULL;
- Server97DFULL Pegue o Mu Client e os patchs no site do Mu China
MU0_96y_full(Chs).exe;
Instalação do SQL:
Run SQL Setup Select "SQL Server 2000 Components";
1. Click "Install Database Server";
2. Click Next;
3. Click dot in Local Computer and Next;
4. Click dot in "Create a new instance of SQL Server,or install Client Tools"
and Next;
5. Put name and company Click Next;
6. Click Yes to Agreement;
7. Click dot in Server and Client Tools and Next;
8. Click tick in Default at top and Click Next;
9. Click dot in Typical Click Next;
10. Click dot in "Use the same account for each service.Auto start SQL Server
Service";
11. Click dot in "Use the Local System account" Click Next;
12. Click dot in "Windows Authenticatication Mode." Click Next;
13. Click Next and install;
Quando a instalação terminar, reinicie o computador.
Restaurando o banco de dados:
1. Open Enterprise Manager (Start -> Programs -> Microsoft SQL Server
-> Enterprise Manager) and go to Databases;
2. Create a new database, name it MuOnline;
3. After that, right click on muonline database then click "Restore Database";
4. Click on "From Device" and then click on "Select Devices";
5. Click Add and then choose the destination of the backups to Restore into
muonline;
6. Press OK 3 times to continue, then press the Options tab;
7. Tick "Force restore over existing database", check that the database files
point below D:\MuServer\DB\ directory;
8. Press OK to import the database;
9. Create another database, name it Ranking and restore the tables from Ranking
database files, make sure the database files point below D:\MuServer\DB\
directory.
Do the same for the exdb database.
System DSN:
1. Start Data Sources (ODBC) (Start -> Programs -> Administrative Tools
-> Data Sources (ODBC)), go to System DSN tab then click Add;
2. Select the SQL Server driver(bottom) and click Finish. Choose MuOnline for
Name and your SQL Server for Server;
3. Change the default database to muonline and click Next then Finish and OK;
4. Create also 4 System DSN links named MuOnlineJoinDB, USELOG, Event that use
muonline as the default database;
5. Create 1 System DSN named Ranking that use Ranking as the default database;
Editing IP Address and Setting up Server Files:
1. Type ipconfig /all in command prompt to check your ip;
2. Change all the ip addresses (127.0.0.1) found in config files to your ip
address.
IP Addresses can be found in the following files:
D:\MuServer\CS\Connectserverlist.dat
D:\MuServer\CS\data\Connectserverlist.dat
D:\MuServer\CS\data\ServerList.dat
D:\MuServer\data\commonserver.cfg
D:\MuServer\data\IpList.dat
*D:\MuServer\data\lang\eng\commonloc.cfg
*D:\MuServer\data\lang\kor\commonloc.cfg
*D:\MuServer\data\lang\tai\commonloc.cfg
*D:\MuServer\data\lang\chi\commonloc.cfg
3. Change the IP Addresses found in 4.lnk* and 9.lnk* files below
D:\MuServer\Links folder(right click on them and select properties) to your
own. (*links may defer.);
4. Edit D:\MuServer\MU2003_EVENT_SERVER\DATA\svconfig.ini and change
"mu2003_dsn = DEVILSQURE_RANKING" to "mu2003_dsn = Ranking" and edit also
D:\MuServer\RankingServer\svconfig.ini changing "odbc_dsn=DEVILSQURE_RANKING"
to "odbc_dsn=Ranking";
Conectando em seu servidor
Entre no diretório do seu mu,ache "Main.exe" crie um atalho na área de trabalho
Clique com o botão direito e vá em Propiedades sobre o "Main.exe"
Deixe o destino:
"C:\SeuMu\main.exe" connect /u127.0.0.1 /p44405"
Clique em Aplicar depois da OK e clique duas vezes sobre ele.