altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

Some .meta file controlling by alt:V

Open GVMP opened this issue 1 year ago • 1 comments

Description of the problem

Currently to prevent some soft cheating (using modified weapons.meta, vehicles.meta, handling.meta etc. ) alt:V should deliver the default configuration for vehicles.meta, handling.meta and weapons.meta and use it on start up.

This also makes it possible to just replace single entries in those .meta files.

e.g.: Restream a vehicles.meta with an entry for "police2", which overrides the temporary default configuration from alt:V as soon the player connects to the server before startup. Basically an override, but just for a single entry.

It's not required to use it for all .meta files. But atleast for vehicles.meta, handling.meta and weapons.meta files. Since alt:V requires the lastest version of GTA V, there shouldn't be any issue. It requires another tool to generate the .bin file automatically.

Desired solution for the problem

Store the default values in a .bin, delivery it for every client. On server connect, while game starts, use the generated .meta files. When the server re-streamed any .meta entry, override it amd use this entry.

Alternatives you considered

Re-stream each single .meta file by hand.

Additional context

No response

GVMP avatar Jan 01 '24 18:01 GVMP

This is quite important for us as well. We'd love a built-in way to for example replace handling.meta for default vehicles, and/or verify cheaters

amazur31 avatar Mar 07 '24 21:03 amazur31