/CoopAndreas

Cooperative mod for GTA:SA (in active development)

Primary LanguageC++GNU General Public License v3.0GPL-3.0

CoopAndreas

Videos, pictures, news, suggestions, and communication can be found here:

Discord X YouTube Telegram VK

Building

  1. Verify that you have the C++ and C# packages installed in Visual Studio 2022.

  2. Download THIS version of the plugin-sdk and install it using THIS INSTRUCTION. Set up your GTA-SA and plugin-sdk folders.

  3. Install the enet library using the following instructions:

# Open PowerShell:

# Install vcpkg if you don't have it
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat

# Install enet
./vcpkg install enet
./vcpkg integrate install
./vcpkg install enet:x86-windows
./vcpkg integrate install
  1. Open project_files/CoopAndreas.sln in Visual Studio 2022 and build every project (Ctrl+Shift+B).

Donate

USDT TRC20: TDGUyPCVZTXCgViGXkr2pmYQtwAPScgWJb

TON: UQAYxd6PNRBQ2O24vzTDp5NI6snN328y5YgiKIdHD2kHYyhq

BTC: bc1q7srx00mcxevz8j77xczett4cgmld8pd6sv8rda

ETH: 0x9798744754f7c3b0a3370444026Db3DB96b7b459

Contact information is current as of October 2024

TODO list:

Already Done ✓

  • setup C/C++ project
  • client - server connection
  • On foot sync -- in progress
    • Walk/Run
    • Jump
    • Climb
    • Crouch - (Fix Crouch Desync)
    • Hit/Fight
  • Weapon sync
    • Hold weapon
    • Aim sync
    • Lag shot sync - using keys, bad accuracy
    • Shot sync - every bullet will be synced
  • Players info
    • Health bar
    • Armour bar
    • Nickname
    • weapon icon
  • define which player is the host
  • explosion sync
  • fix interior enter exit crash (fix CPlayerPed dctor)
  • players AI is activated when you pause in a vehicle
  • vehicle sync
    • spawn/delete
    • enter/exit
    • color(1/2) sync
    • paintjob sync
    • tuning sync
    • hydra thrusters
    • plane wheels
    • turret aim/shot
    • horn
    • keys (provides steer angles, brake, etc.)
    • pos, speed, quat
    • health
    • damage status
    • doors
      • locked state
    • engine state
  • chat
  • time
  • weather
  • proper key sync

known bugs (highest priority)

  • vehicle add-remove packet spam
  • crashes when closing game caused by different things
  • sometimes closing pause menu game cant load nametag weapon icon

Current Tasks

  • fix weapon selection blinking
  • force crouch sync using CTask
  • refactor packet system (make abstract, more oop, etc.)
  • vehicle sync
    • force hydraulics sync
    • trailer sync
  • passenger sync
    • radio sync
    • drive by shooting
  • rendering
    • text rendering (dx)
    • imgui integration
    • sprite/txd rendering
  • fixes
    • mouse
    • widescreen
    • fast load
      • disable logos
      • disable intro
  • Fix models loading (green polygon)
  • Players map sync
    • Areas aka GangZones
    • Mission icons
    • Player map pin
    • Player mark (waypoint)
  • smooth interpolation
    • move
    • rotation
  • hud sync
    • popup messages
    • wanted level
  • stats sync
    • fat
    • muscle
    • weapon skills
    • fight styles
    • sync money
    • breath level bar
    • stamina sync
    • max hp sync
  • style
    • tatoo
    • clothes
    • haircut
  • npc sync
    • pos, rot, speed
    • weapons
    • aim
    • shots
    • task sync (good luck, warrior!)
    • radar icon?
    • speech sync (if not synced by tasks)
  • fire sync
  • cutscenes
    • objects
    • effects
    • peds
    • camera
  • fix weapon desync
    • fix grenade throw distance
    • fix rpg aim state
  • cheat code sync
  • pickups
    • graffities, horseshoes, snapshots, oysters
    • static weapons, armours
    • static bribes
    • drop
      • money
      • weapons
  • jetpack sync
  • anim sync
    • sprunk drinking
    • fast food eating
    • idle anims
    • funny TAB+NUM4 (or NUM6) anim sync (did you know about this?)
  • gang groups sync
  • player voice commands
  • chat reactions (see LD_CHAT.txd)
  • activities
    • pool
    • basketball
    • casino sync (betting between players)
      • slot machines
      • roulette
      • horse betting
    • gym
      • exercises
      • fighting between players
    • dancing at parties

ChatGPT Generated tasks n ideas:

  • minigames sync

    • pool
    • bowling (chatgppt what????)
    • arm wrestling (wtf chatgpt???)
  • territory wars sync

    • exact status synchronization of captured territories for all players
    • common signals for starting and ending gang wars
  • animation sync

    • gestures/dances at parties
    • joint workouts at the gym (weightlifting, boxing)
  • taxi sync

    • shared taxi ride with another player
    • proper fare splitting among all passengers
  • shops sync

    • ammu-nation purchases sync
    • fast food purchases sync (Cluckin' Bell, Burger Shot)
    • clothing stores sync (Binco, SubUrban, etc.)
  • driving schools sync

    • joint completion of driving tests at driving schools
  • parachute training sync

    • parachute jump sync from tall buildings or planes

Minor tasks and ideas

  • Sync laser sniper rifle red dot with all players
  • Sync moon sniper rifle shot changing size easter egg with all players
  • hot coffee implementation 😏

TODO Launcher:

Already Done ✓

  • setup project and create forms
  • inject all dll in the game (don't need ASI Loader anymore)
  • send params (nickname, ip/port) to client dll
  • implement translation

Current Tasks

  • start/control server directly from launcher
  • save configs