New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vgs overhaul #4
Open
ravmustang
wants to merge
20
commits into
IT07:master
Choose a base branch
from
ravmustang:VGS-Overhaul
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Vgs overhaul #4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Global.hpp was missing for those wanting to use virtual garage only. Remove class cfgFunctions from description.ext and add it to a cfgFunctions.hpp file
The system was looking for AIR entities but was only listing the HELICOPTER kind
**Server Side** [REMOVED] PublicVariable Event Handler [REMOVED] Spawn loop for generating keys for each [ADDED] 3 new functions to handle the removed PVEH(ReadFrom/WriteTo/TrashFrom) [ADDED] 2 new functions to spit out client vgs key and client garage on join [ADDED] Debug config option to log every use/request **Client Side** [FIXED] Global.hpp missing and caused hosts issues getting the script setup and running [ADDED] Ships are now searched for and listed for storage in the garage [FIXED] System searched for "Air", but listed only "Helicopters" (now planes and VTOL will show up). [ADDED] Scroll Wheel config option to disable/enable [ADDED] Dyna Menu self interaction [ADDED] Jammer requirement config option along with max distance from jammer entry [ADDED] Scroll Wheel will follow Jammer Requirements and Max Distance if enabled [ADDED] Dyna Menu will follow Jammer Requirements and Max Distance if enabled [ADDED] Debug config option to log each client vgs event [ADDED] New Function to handle the receipt of data from VGS server [FIXED] Refreshing of VGS GUI on Move IN and Move OUT was not refreshing both sides properly. **New Configs** // Settings here debug = 0; // 1 = ON // 0 = OFF range = 25; // Vehicles within this range of player can be moved into garage useScrollWheel = 1; // Scroll Wheel VGS Menu requireJammer = 0; // 1 = ON // 0 = OFF maxDistanceFromJammer = 300; // meters, only applies if requireJammer = 1
… water position [FIXED] Upon MOVE IN, vehicle object was setDamage 1, which could at time blow up the vehicle [ADDED] Debug config check for remove keys diag_log lines [FIXED] Hitpoints were not saving / loading properly [ADDED] usage of params to ReadFromGarage function for MOVE OUT [ADDED] params for original vehicle data _toSpawn [ADDED] params for original vehicle gear data _gear [CHANGED] gear default values in WriteToGarage function [ADDED] Upon MOVE OUT, find safe position for vehicle based on old save location as center [ADDED] Upon MOVE OUT, check if vehicle is a "SHIP" and find safe position in water
[ADDED] Virtual Garage DB entry expiration time [ADDED] Saving vehicles as EPOCH saves current vehicles [ADDED] Textures save / load [ADDED] Turret Ammo and Mags save / load [ADDED] Vehicle Upgrade compatibility save / load baseClass variable [ADDED] Compatibilty with epoch settings for disableVehicleTIE/removevehweapons/removevehmagazinesturret
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[FIXED]Global.hpp missing and caused hosts issues getting it up and running
[ADDED] Ships are now searched for and listed for storage in the garage
[FIXED] System searched for "Air", but listed only "Helicopters" (now planes and VTOL will show up).
Server Side
[REMOVED] PublicVariable Event Handler
[REMOVED] Spawn loop for generating keys for each
[ADDED] 3 new functions to handle the removed PVEH(ReadFrom/WriteTo/TrashFrom)
[ADDED] 2 new functions to spit out client vgs key and client garage on join
[ADDED] Debug config option to log every use/request
Client Side
[FIXED] Global.hpp missing and caused hosts issues getting the script setup and running
[ADDED] Ships are now searched for and listed for storage in the garage
[FIXED] System searched for "Air", but listed only "Helicopters" (now planes and VTOL will show up).
[ADDED] Scroll Wheel config option to disable/enable
[ADDED] Dyna Menu self interaction
[ADDED] Jammer requirement config option along with max distance from jammer entry
[ADDED] Scroll Wheel will follow Jammer Requirements and Max Distance if enabled
[ADDED] Dyna Menu will follow Jammer Requirements and Max Distance if enabled
[ADDED] Debug config option to log each client vgs event
[ADDED] New Function to handle the receipt of data from VGS server
[FIXED] Refreshing of VGS GUI on Move IN and Move OUT was not refreshing both sides properly.
New Configs
// Settings here
debug = 0; // 1 = ON // 0 = OFF
range = 25; // Vehicles within this range of player can be moved into garage
useScrollWheel = 1; // Scroll Wheel VGS Menu
requireJammer = 0; // 1 = ON // 0 = OFF
maxDistanceFromJammer = 300; // meters, only applies if requireJammer = 1
[FIXED] Upon MOVE IN, vehicle object was setDamage 1, which could at time blow up the vehicle
[ADDED] Debug config check for remove keys diag_log lines
[FIXED] Hitpoints were not saving / loading properly
[ADDED] usage of params to ReadFromGarage function for MOVE OUT
[ADDED] params for original vehicle data _toSpawn
[ADDED] params for original vehicle gear data _gear
[CHANGED] gear default values in WriteToGarage function
[ADDED] Upon MOVE OUT, find safe position for vehicle based on old save location as center
[ADDED] Upon MOVE OUT, check if vehicle is a "SHIP" and find safe position in water
[CHANGED] Vehicle save / loading now uses EPOCH_cargoFill and _cargoSave
[CHANGED] Database table is now "VirtualGarage" instead of each UID having its own table
[CHANGED] Client DB entry is now their UID only and is found within the "VirtualGarage" table
[ADDED] Virtual Garage DB entry expiration time
[UPGRADED] Saving vehicles as EPOCH saves current vehicles
[ADDED] Textures save / load
[ADDED] Turret Ammo and Mags save / load
[ADDED] Vehicle Upgrade compatibility save / load baseClass variable
[ADDED] Compatibilty with epoch settings for disableVehicleTIE/removevehweapons/removevehmagazinesturret
[CHANGED] Instead of setDamage 1, use Epoch vehicle killed handler
[UPGRADED] Add UID to vehicle killed log on MOVE IN