- Joined
- Jun 6, 2013
- Messages
- 93
- Reaction score
- 74
1. Get the required files.
2011 emulator binaries itself :
Gunz client 2011 :
PostgreSQL database server (Directly linked to 9.2.4 version) :
Windows 32bit users :
Windows 64bit users :
PostgreSQL ODBC driver (Directly linked to 9.2 version) :
This tutorial is made by Windows 7 32bit, but it's same as most of 64bit.
2. Install PostgreSQL database server.
Run postgresql-9.2.4-1-windows.exe. (for 64bit, there is "x64" in file name.)
Welcome to the PostgreSQL Setup wizard. Press Next.
Installation directory. Keep it default and press Next.
Data Directory. Change directory path to C:\PostgreSQL data\9.2 (In case of PostgreSQL version 9.2.x) and press Next.
Password. Determine your favorite password for PostgreSQL. Of course, don't forget this password. press Next.
Port. Keep it default and press Next.
Advanced Options. Select C Locale and press Next.
Ready to Install. Press Next and install it. This may take several minutes.
Complete Setup wizard. Untick Stack Builder checkbox and press Finish.
3. Install PostgreSQL ODBC driver.
Extract psqlodbc_09_02_0100.zip to somewhere directory and Run psqlodbc.msi.
Welcome to the psqlODBC Setup Wizard. Press Next.
End-User License Agreement. It's called
Custom Setup. Keep it default and press Next.
Press Install and wait.
Setup complete. Press Finish.
4. Create a Gunz Database.
Find pgAdmin III from the start menu. and Run.
There is tree in left-side called Object browser.
Go to Server Groups > Server > PostgreSQL 9.2 (localhost:5432).
Enter your determined password when install. Press OK.
Now you can access the database server from the Object browser.
Right click Databases and select New Database....
Enter gunzdb to the name field and Press OK.
Click newly created database 'gunzdb'. Press Ctrl + E.
Find gunzdb_130706.sql from Emulator files. Drag and Drop it to the Query Tools window.
I think upper right says gunzdb on postgres@localhost:5432. (If it says 'postgres on postgres@localhost:5432' or something else, reselect it to gunzdb.)
Now press F5 button. The gunzdb creation is done.
But an additionally, Query Tool window > Menu > New Window.
Enter
to the query box (Large text field).
Press F5 again.
5. Configure ODBC data source for 'gunzdb'.
(I don't have English version of WIndows OS. The following Window titles and Button names may different.)
Press Windows Key + R. and type :
32bit users : %WINDIR%\system32\odbcad32.exe
64bit users : %WINDIR%\SysWOW64\odbcad32.exe
ODBC data source administrator, We'll add 'gunzdb' to User DSN. Press Add(D).
Create new data source. Select PostgreSQL ANSI from the ODBC dirver list and press Done.
Data Source name. Enter gunzdb.
Server name. Enter localhost.
Database name. Enter gunzdb.
Default authentication. Enter postgres to the Username. and Enter the Password you determined.
Press Test. If it not tells 'Connection Successful', you did something wrong.
Press Save.
Press OK.
6. Configure Emulator.
Go to the emulator folder that you extracted.
Open matchserver.xml and you'll see :
If you completely followed this tutorial, you'll only edit the Red marked part.
Replace with your determined database password.
Save the file.
Also do the same thing to locator.xml.
7. Run Emulator.
Run MatchServer.exe and Locator.exe.
Run client : Gunz.exe (there is in ijjiClone-20130615-2.zip).
Login to MatchServer1 using ID : id1 PW : pw .
Enjoy.
EDIT : Locator problem fixed.
2011 emulator binaries itself :
To view the content, you need to sign in or register
(Extract it to somewhere.)Gunz client 2011 :
To view the content, you need to sign in or register
PostgreSQL database server (Directly linked to 9.2.4 version) :
Windows 32bit users :
To view the content, you need to sign in or register
Windows 64bit users :
To view the content, you need to sign in or register
PostgreSQL ODBC driver (Directly linked to 9.2 version) :
To view the content, you need to sign in or register
This tutorial is made by Windows 7 32bit, but it's same as most of 64bit.
2. Install PostgreSQL database server.
Run postgresql-9.2.4-1-windows.exe. (for 64bit, there is "x64" in file name.)
Welcome to the PostgreSQL Setup wizard. Press Next.
Installation directory. Keep it default and press Next.
Data Directory. Change directory path to C:\PostgreSQL data\9.2 (In case of PostgreSQL version 9.2.x) and press Next.
Password. Determine your favorite password for PostgreSQL. Of course, don't forget this password. press Next.
Port. Keep it default and press Next.
Advanced Options. Select C Locale and press Next.
Ready to Install. Press Next and install it. This may take several minutes.
Complete Setup wizard. Untick Stack Builder checkbox and press Finish.
3. Install PostgreSQL ODBC driver.
Extract psqlodbc_09_02_0100.zip to somewhere directory and Run psqlodbc.msi.
Welcome to the psqlODBC Setup Wizard. Press Next.
End-User License Agreement. It's called
To view the content, you need to sign in or register
. Tick "I accept the terms in the License Agreement" checkbox and press Next.Custom Setup. Keep it default and press Next.
Press Install and wait.
Setup complete. Press Finish.
4. Create a Gunz Database.
Find pgAdmin III from the start menu. and Run.
There is tree in left-side called Object browser.
Go to Server Groups > Server > PostgreSQL 9.2 (localhost:5432).
Enter your determined password when install. Press OK.
Now you can access the database server from the Object browser.
Right click Databases and select New Database....
Enter gunzdb to the name field and Press OK.
Click newly created database 'gunzdb'. Press Ctrl + E.
Find gunzdb_130706.sql from Emulator files. Drag and Drop it to the Query Tools window.
I think upper right says gunzdb on postgres@localhost:5432. (If it says 'postgres on postgres@localhost:5432' or something else, reselect it to gunzdb.)
Now press F5 button. The gunzdb creation is done.
But an additionally, Query Tool window > Menu > New Window.
Enter
Code:
INSERT INTO serverstatus (id, maxplayer, ip, port, name, opened, type)
VALUES(1, 1000, '127.0.0.1', 6000, 'MatchServer1', true, 2);
SELECT insertaccount("id1", "pw");
Press F5 again.
5. Configure ODBC data source for 'gunzdb'.
(I don't have English version of WIndows OS. The following Window titles and Button names may different.)
Press Windows Key + R. and type :
32bit users : %WINDIR%\system32\odbcad32.exe
64bit users : %WINDIR%\SysWOW64\odbcad32.exe
ODBC data source administrator, We'll add 'gunzdb' to User DSN. Press Add(D).
Create new data source. Select PostgreSQL ANSI from the ODBC dirver list and press Done.
Data Source name. Enter gunzdb.
Server name. Enter localhost.
Database name. Enter gunzdb.
Default authentication. Enter postgres to the Username. and Enter the Password you determined.
Press Test. If it not tells 'Connection Successful', you did something wrong.
Press Save.
Press OK.
6. Configure Emulator.
Go to the emulator folder that you extracted.
Open matchserver.xml and you'll see :
Code:
<DATABASE> <!-- PostgreSQL connection info. -->
<USERNAME>postgres</USERNAME>
<PASSWORD>[COLOR=#ff0000]password[/COLOR]</PASSWORD>
<DSN>gunzdb</DSN>
</DATABASE>
Replace with your determined database password.
Save the file.
Also do the same thing to locator.xml.
7. Run Emulator.
Run MatchServer.exe and Locator.exe.
Run client : Gunz.exe (there is in ijjiClone-20130615-2.zip).
Login to MatchServer1 using ID : id1 PW : pw .
Enjoy.
EDIT : Locator problem fixed.
Last edited:

