altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Make gameconfig.xml streamable #444

Closed rethon82 closed 4 years ago

rethon82 commented 4 years ago

The gameconfig.xml contains some crucial upper limits regarding modded cars, mlos and so far. Having this file streamable would be very helpful for servers that rely heavily on custom interiors and cars.

The client crashes if more than approximately 60 custom interiors are loaded. It crashes with an error claiming a "pool is full".

There seems to be a solution to this problem. FiveM and even RageMp ran into the same issue. The Solution for fivem was allowing to stream the gameconfig.xml. Ragemp hat announced a streamable in the presumed upcoming 1.0 release.

A solution would be a system that allows to stream a custom gameconfig.xml.

I realize this is a crucial feature for the most upcoming servers. As modding is just beginning to start and will increase in the upcoming months, more and more developers will run into these limits.

emcifuntik commented 4 years ago

It's not possible, cuz engine loads gameconfig on game start to preallocate pools. We can't reallocate pools in game process, so it will not be done.