Skip to content

grandao/RefinedGunz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

233 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refined Gunz

Refined Gunz is a modified version of Gunz the Duel, a game by MAIET Entertainment. It's based on the leaked Gunz 1.0 source from around 2007.

Building

All the solutions compile out of the box in Visual Studio 2015 Community Edition and above. It will not compile on any other compiler (except clang-cl), or any older version of Visual Studio.

Building shaders

Shaders are already precompiled, but the Visual Studio solutions do not recompile them if you edit them. To recompile the shaders, run the relevant .bat file in the RealSpace2 folder.

BuildHLSLShaders.bat builds the HLSL shaders for D3D9. It requires the fxc compiler which can be found in the DirectX 9 SDK. The path to it is hardcoded in the .bat; change the %fxc% variable if it doesn't match.

BuildGLSLShaders.bat builds the GLSL shaders for Vulkan. It requires the glslang compiler (glslangvalidator) which can be found in the Vulkan SDK.

Configuration

Features of the server can be configured in CSCommon/config.h.

Running

To start up a basic local server and play on that, download binaries from the Releases page on here, run the server (MatchServer.exe) and then run the client (Gunz.exe). There is no additional configuration required.

To connect to someone else's server instance, change the IP in config.xml to their IP or domain. (Make sure ports are open, etc.)

Running the client requires DirectX 9 (or Vulkan support, although that is unfinished). There are no other external dependencies.

Running the server with SQLite requires no external dependencies or configuration. Running it with MSSQL requires you to compile it in the MSSQL solution configuration, set up ODBC and a matching MSSQL server instance, and set up database login info in server.ini.

Note that since Refined Gunz is based on Gunz 1.0, MSSQL database files, XMLs, etc. from Gunz 1.5 distributions may not work with it.

Features

Gameplay

  • 3 netcode modes:
  • Server-based -- (Unfinished) No direct connections are established, hit registration is done with lag compensation on the server. Only enabled if game_dir in server.xml points to a valid game directory that contains animation and map files
  • Peer to Peer Antilead -- Peer to peer, attacker does immediate hit registration
  • Peer to Peer Lead -- Peer to peer, target does immediate hit registration
  • Voice chat
  • Passwords hashed on the client with BLAKE2b and on the server with salted scrypt
  • Remade chat -- Resizable, movable, copyable text, unlimited history, transparent background
  • Basic info update rate per second increased from 10 to 100
  • Spectator mode
  • Portals
  • Commands -- See docs/commands.md
Gladiator changes:
  • Invulnerability states removed
  • Massive range weirdness fixed
  • Reduced massive damage from the distance-scaling multiplier range [0.9, 3.0] to [0.9, 1.5]
  • Recoil randomness at lower ping when target registers the hit fixed
  • Ground massive animation speed reduced to 90%
  • Slash angle and range variance fixed

New gamemodes

  • Skillmap -- Skillmaps contain start and end zones, track your time, and teleport you back to the start zone when you fall. Will have a time record list in the future. Other players are partially transparent and cannot damage or push you.

Replays

  • Runs multiple formats -- Have so far tested Official V4, V6, and V11; Freestyle Gunz V7 (both formats), V8 and V9; Dark Gunz V6. If you'd like another replay format to be supported, make an issue with the replay file.
  • Seek bar to jump to different time locations
  • Data in the replay list -- Shows gametype, map name, stage name, player names, scores, etc.

Misc client stuff

  • Registration at the login screen
  • Supports fullscreen, borderless and windowed mode
  • Dynamic resource loading -- Clothes are loaded individually as they are required, not loaded all together when you start the game. This reduces load time and memory usage.
  • Supports Gunz 2/RS3 maps

Server

  • MatchServer supports SQLite in addition to MSSQL
  • MatchServer comprises the previous modules (MatchAgent, Locator) by default, although you can run them freestanding as well

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 77.9%
  • C 18.1%
  • Objective-C 2.2%
  • CMake 0.8%
  • HTML 0.4%
  • PHP 0.1%
  • Other 0.5%