Thx to Grahame for the inspiration to add it just before logout.
This should fix the login without clothings.
This will not fix not visible Clothings for others, because it only runs
just before logout, but Players can force it be pressing ESC and waiting
until this command is fired.
Configs:
-Custom wrecks : ClassName string expected
-Custom locations : Posistion Array{x,y,z} expected
Description:
-This upgrade was to provide maps without the built-in terrain objects
"SHIPWRECK" to have this feature available with a few custom locations
added to the servers config.
Function Changes:
-Custom Locations and Wrecks Classnames are pulled from the config
variable.
-Wrecks are created and added to the already gathered array of Terrain
Objects "SHIPWRECK".
-On Maps without these terrain objects, the original array will be
empty[], and then the custom locations will populate it from there.
-On Maps with these terrain objects, the custom locations are added to
the already populated array of "SHIPWRECK"'s and will then become part
of the random selection of all known shipwrecks and custom locations.
Remember custom shipwrecks have a distance check and will stop a loot
spawn if there is already another shipwreck within the configured
amount.
- Helper 3D-Icon + Line on the part, where element is snapped on (while
Base-Building)
- "PLAYER_REJECT_ServerVersion" kick, if connecting with older version
- Default Key is "W"
- You can change the key in EPOCH ESC Menu
- If choosen key is same as "moveforward" (default), you have to 2x tap
it, else you only have to 1x tap it
- If your legs are broken, you get a hint "can not autorun - legs are
broken"
- If the terrain is too steep, you only walk in AutoRun
- Inside Water, you can not Autorun
With a Radio (low mass Item?!) in Inventory + BaseSpawn it sometimes
happens, that the Player stuck on login.
So we remove it until we found a solid fix
- Fixed usedItemRepack removes all same items with same rounds
- removed action "gear" by opening Cargo Container
- removed StorageInit (EH Killed), if Storage is indestructible
- Spawn Vehicles near 0 and port them after all is loaded to final
position (prevent collide)
- increased Altis World size to 25000 (better Vehicle / Trader Spawn)
- Removed disable Simulation here, because desimulated objects need a
long time to broadcast the correct position. So we only desimulate them
on next restart
- Removed reveal, because it has no effect in my tests.
- Moved the position set code more to the top of this script, as it has
a positive effect on position set performance