Documentation & Source Code

This page contains a few things to help you get started developing your own server for UCGO.

GAME CLIENT

Download link: https://mega.nz/#!QUxXFAxb!N4J8K4QhG3aCl456Bi–lIaM3QxZAIAY0QEVTKQUmpQ

This is the game client used on the official server. Version 1.5.7

SOURCE CODE FOR OLD SERVER

Download link: http://ucgoserver.com/wp-content/uploads/2019/08/OLD_UCGO_SOURCE_CODE.zip

This is the source for an old UCGO server, from 2009, I developed for what was known as Titans Server. The server allows you to login, buy MS, walk around and talk to other players. There is no combat or crafting.

XOR TABLE

Download link: http://ucgoserver.com/wp-content/uploads/2019/08/XORTable.zip

Extracted from the UCclient.exe file. The server needs this for the encryption/decryption of packets.

UCGOZLIB TOOL

Download link: http://ucgoserver.com/wp-content/uploads/2019/08/UCGOZLIB.zip

Use this to compress and decompress UCGO client files. It works with the client listed above, but it does not work the client used here on ucgoserver.com

PACKET LOGS FROM OFFICIAL SERVER

Download link: http://ucgoserver.com/wp-content/uploads/2019/08/UCGO_PACKET_LOGS.zip

These are packet logs from the official server, I didn’t collect these. Use these to figure out the format for the different packets.

PACKET VIEWER TOOL

Download link: http://ucgoserver.com/wp-content/uploads/2019/08/UCGOSniffer.zip

A tool, not made by me, to view the packet logs. Requires you to install WinPcap to run.

CONNECTING THE CLIENT TO THE SERVER

For the game client to find the server you will need a domain and to edit the DNS records for it.

Create a new A record pointing to the server e.g ucgoserver.mydomain.com -> 192.168.0.1

Create new SRV records for this A record telling the game client which TCP ports to use. You will need 4 SRV records: info server, login server, chat server, game server

Update the file gameclient.cfg with this info, similar to below:

DNSServer_IP = YOUR DNS SERVER (IP address or domain)
InfoServer  =  infoserver.mydomain.com
LoginServer =  login.mydomain.com
GameServer  =  game.mydomain.com
CmsServer   =  chat.mydomain.com