CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code

Newbie Spellweaver
Joined
Jan 10, 2022
Messages
11
Reaction score
11
Hello everyone,

I am a developer from China. Today I would like to share my CrossFire: Fire at Will (CFW) Unity micro-client server source code project.

屏幕截图 2026-08-23 004205 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums
屏幕截图 2026-08-23 004218 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums
屏幕截图 2026-08-23 004235 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums


屏幕截图 2026-08-23 004246 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums
屏幕截图 2026-08-23 004317 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums


About the Game

CrossFire: Fire at Will is an online first-person shooter based on the CrossFire gameplay style. Players join different teams and fight using firearms, grenades, explosives and melee weapons across multiple game modes.

Project Status

This project is still under development and is not 100% complete yet. However, most of the core features have already been implemented.

Some functions may still require further testing, bug fixing and refinement. The project is being developed step by step according to the client-side game flow and protocol requirements.

Server Architecture

  • .NET API server
  • PostgreSQL database
  • Broker gateway
  • World gateway
  • Client compatibility proxy
  • Caddy reverse proxy
  • Configurable server address, ports and database settings

The server package includes a simple first-installation and startup process for Windows computers and Windows servers.

Map Port

The Biohazard Pyramid map was ported from the CF Zero client.

Download




Server Deployment

  1. Copy the complete server package to a Windows computer or Windows server.
  2. Run the following file:

Code:
First-Install-and-Start.bat

  1. Enter the server address or domain name.
  2. Enter the PostgreSQL database name, username and password.
  3. Enter the internal service key, or allow the installer to generate one.
  4. After the first installation is completed, run the following file to start the server:

Code:
Start-Server-EN.bat

The server configuration file is:

Code:
server-config.json

The database username, database password and internal service key are server-side settings. They do not need to be entered into the game client.

Client Configuration

Open the following file in the client directory:

Code:
CFWClient_Data\Config\etc_config.ini

Replace the server address with your own public IP address or domain name, save the file, and then start:

Code:
CFWClient.exe

The client should use the same server address configured for the server.

The client does not require the PostgreSQL host, database username, database password or internal service key.

Account Registration

Default local registration address:

Code:
http://127.0.0.1:18088/register

For a public server, replace 127.0.0.1 with the public server IP address or domain name.

Example:

Code:
http://YOUR_SERVER_IP:18088/register

If the web port is changed in the server configuration, use the configured web port instead.

In the room, enter /bot <number> to add bots, for example /bot 15.
Need Help?

If you are not familiar with server deployment, PostgreSQL configuration or client configuration, you can ask an AI assistant to guide you through the installation and configuration process.

Development assistance: GPT-5.6-Sol
 
Last edited:
thank bro this is good since it has multiplayer function
 

Attachments

  • 1787574210200 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums
    1787574210200.webp
    84 KB · Views: 28
Yeah, but it still needs some improvement. I’ll keep working on the missing parts.
how i can add bot and how can i can edit/access db since every time im going to login using navicat it only shows authentication method 10 not supported
 
how i can add bot and how can i can edit/access db since every time im going to login using navicat it only shows authentication method 10 not supported
For bots, use /bot <number>, for example /bot 15.

For the database issue, try updating Navicat. I’m using Navicat 17.3.6 and it works fine with PostgreSQL.

please google link download? or other? mega have limits
Please wait a moment, I’m uploading it now.
 
Last edited:
Hey, could you clear something up for me? Is the clan system included? Does it work?
 
some of the game text is already english im trying to turn it in full english idk how to edit game ui if iknow how i might just change it to english ui

(edit: i just need too find where is the cn language directory or en language directory since there are some missing text in en language directory that turn to korean language)
 

Attachments

  • 1787672183785 - CrossFire: Fire at Will (CFW) Unity Micro-Client Server Source Code - RaGEZONE Forums
    1787672183785.webp
    69.6 KB · Views: 31
Last edited:
some of the game text is already english im trying to turn it in full english idk how to edit game ui if iknow how i might just change it to english ui

(edit: i just need too find where is the cn language directory or en language directory since there are some missing text in en language directory that turn to korean language)
i’m also searching for this

i already unpacked the client successfully, now just need research
 
Is there an already set up version of this so that we can play it without going through the troubles of making the server ourselves?
 
Back