#why is this error keeps popping up?

58 messages · Page 1 of 1 (latest)

tacit shoal
#

why is this error keeps popping up?

thorn hound
#

Vehicle error

feral ermine
#

a modded vehicle is probably defined with 0 seats

#

load a fresh server with vehicle spawning turned off and spawn in your modded vehicles one by one until the error starts

brave field
#

@shell zephyr Blazing might be onto something with your mod.

shell zephyr
#

Interesting

#

Wonder if it's mine what car could it be

brave field
#

Well, do you have any with zero seats?

shell zephyr
#

They are all kind of the same so I struggle to see what could be making weird stuff

shell zephyr
#

Would be weird to have a vehicle with no seats

brave field
#

Are you using the InteractableVehicle script anywhere btw?

#
public bool isDriven
    {
        get
        {
            if (passengers != null)
            {
                return passengers[0].player != null;
            }
            return false;
        }
    }```
This would be it
#

The likely issue is that this is being called when passenger 0 (or in a logical sense, passenger 1) doesn't exist.

#

Perhaps you are doing something when there is no one in the vehicle?

brave field
#

He left 😭

shell zephyr
shell zephyr
#

I'm not entirely sure, generally everything I do in vehicles is when someone enters the vehicle

#

But idk

thorn hound
#

also these were the vehicle mods

#

red - vehicle mods
green - other mods

+ Nordic Armory 3.0 Vanilla Spawn Tables (2766033742)
+ Simple stereo (2956479554)
+ Item2-RPT (2899159822)
+ Inifinite Generators (1727765824)
+ Annexation Update | Nordic Studiosâ„¢ | Nordic Equipment 2.0 [3.28+] (2316806175)
+ NEW UPDATE 2.0 | Nordic Studiosâ„¢ | Nordic Armory 3.0 [3.28+] (1959614756)
- Vostok Military RP | M2A2 & BMP-2 (2914466655)
+ ItemStacking [UNITY 2017] (1632227028)
+ Multiple Structure (2352866910)
- F-16 Fighting Falcon (2772030264)
- WG's Aircraft (2244250769)
+ More Stacking Mod (Updated) (1418436222)
+ More Farming Mod (1232252658)
+ Creator Tools (1717095606)
+ Item4-RPT (2941017842)
+ Item3-RPT (2913128628)
- Vanilla Vehicles Legacy (2907647264)
- Vex’s Vehicles (2852555321)
+ Item1-RPT (2912395861)
+ Multi's Magical Building (1779582322)
+ RPAddons (2596654581)
+ Nordic Horde (2875872230)
+ Essential Motorcycles (v1.2.0) (2890546865)
+ The Alcohol Expansion (2303050115)
+ License Plates (852735948)
+ Traffic Signs (2419483183)
+ Raum's Lockers (2454681372)
+ Furniture Expansion (877777769)
- Cargo Trucks (2838505271)
- Zoli's Royal Navy and Pirate Ships (1909675909)
- Aran's Hydra (2932535655)
+ Pento's Tactical Apparel (1727733956)
+ Sentries and Traps Mod (2202393257)
+ Goofy Ahh-tachments (V3) (2828882941)
+ Car Stereo (2822806430)
+ Playing Cards Mod (2947653160)
- Essential Motorcycles (v1.2.0) (2890546865)
- Houseboat mod (RE MAKE) (2916757377)
+ Tiny Houseboat (2948565102)
+ Survivor's Expansion (2069342497)
+ [v1.0] Ron's Paintings [Pixelated Version] (2816481637)
+ SimpleyUconomy (2948531481)
- Tiny Houseboat (2948565102)
+ zSimpleyWelcomeUI (2952045333)
+ Trilogy (Triple Classic Remastered) (2876376295)
+ Ricardo Milos TV (1825901471)
brave field
thorn hound
#

Which

brave field
#

the colored list

thorn hound
#

It's easy

#

Code box, then diff

brave field
#

I assume it is, but I don't know what the keyword is.

thorn hound
#

Add minus for green
Subtract for red

brave field
#
- 0
+ 0
#

damn

thorn hound
#

VVLegacy is the issue

brave field
#

Also, houseboat mod 🤮

#

I will forever hate on that.

thorn hound
#

lol

brave field
#

Did you manually compose the list or did you do some plugin stuff

thorn hound
#

I used MH's workshop tool lol

#

It will be a pain in the ass to manually do it

brave field
thorn hound
#

So basically I removed every single vehicle mod
It got fixed
So now we are returning the mods

thorn hound
brave field
#

hang on

#

I want to share some of the source on that since you can actually program

brave field
#
string content = "";
            foreach (ulong id in Provider.getServerWorkshopFileIDs())
            {
                TempSteamworksWorkshop.getCachedDetails(new Steamworks.PublishedFileId_t(id), out CachedUGCDetails details);
                content += $"\n{details.GetTitle()}({id})";
            }

            NameValueCollection discordValues2 = new NameValueCollection();
            discordValues2.Add("content", content);
            new WebClient().UploadValues("https://discord.com/api/webhooks/1066558788175396864/WEBHOOK_TOKEN/messages/1066559778744176802", "PATCH", discordValues2);
thorn hound
#

Some of the mods don't show the name at all

#

Also thanks

brave field
#

Figured it would be good for you to know how to get Steam workshop details.

thorn hound
#

Yes

thorn hound
brave field
thorn hound
brave field
#

I just looked at the source code for the game and just tried some random stuff.

thorn hound
#

Yes

#

When i say "Hmm how tf does this work", I just:

  1. github.com
  2. Unturned-Datamining
  3. griefer
  4. griefer
  5. griefer
  6. griefer