Giter Club home page Giter Club logo

vc-mp's Introduction

VC:MP 0.1c source code

Licensed for use under the GNU General Public Licence. Note: Some portions are derived from public domain source code. Please see relevant files for futher details.

Projects

  • launch3: Basic MFC application to launch gta-vc.exe with the command line arguments required to start VC:MP.
  • rcon: The remote console client.
  • vcmp: A dll renamed as .flt and placed within the GTA:VC /mss folder. Files named as *.flt will be automatically loaded inprocess by the Miles Sound System which GTA:VC uses.
  • server: The dedicated server.

Build

Compilation instructions Microsoft Visual C++ 6.0 or higher:

  • VC:MP 0.1 requires the RakNet networking library (http://www.rakkarsoft.com/).
  • Copy all files from the \Source and \Include trees in the RakNet distribution to '{location of vcmp source}\raknet'. Alternatively, compile RakNet as a static lib and readjust the linker settings to use it.
  • You will now need to add the following enum IDs to /raknet/PacketEnumerations.h
  • ID_PLAYER_SYNC
  • ID_VEHICLE_SYNC
  • ID_PASSENGER_SYNC
  • ID_RCON_COMMAND
  • ID_RCON_RESPONSE
  • Add them to the end in the user packets section.

IMPORTANT

If you're using VC++6.0 will need to open raknet/NetworkTypes.h and add #pragma pack(1) above all struct definitions.

ie

#pragma pack(1)

struct PlayerID
{
  • Open the vcmp.dsw workspace in Microsoft Visual C++.
  • You may need to adjust the compile paths in all projects. The default build path is set to compile to c:\gtavc. e.g. Project Settings > vcmp > Link. The build path is c:\gtavc\mss\vcmp.flt.
  • After you have set your compile paths you should be able to compile all projects.

vc-mp's People

Contributors

ziggi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.