Jump to content

pveJP

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by pveJP

  1. pveJP

    error

    Same issue here with 1.1.1. I believe the cause is EntityTools.CreateCustomEntity. After the recent Rust update, BaseNetworkable.prefabID is a property backed by a private field declared in the base class. GetFields on the derived type doesn't return private fields of base classes (even with NonPublic), so prefabID stays 0 on AntiAirAutoTurret. Result: "PrefabID is 0!" on saves, then a NullReferenceException in ResetState -> LookupPrefab when a turret is killed. That aborts the ship's Kill() halfway, and FixedUpdate keeps calling Ship.Kill(), so "already IsDestroyed" spams until restart. Suggested fix: in CreateCustomEntity, before DestroyImmediate(entity, true), add: customEntity.prefabID = entity.prefabID; Setting it from a small helper plugin when the turret spawns does fix the ID (the turrets are no longer 0).
  2. Even if I change the settings in Config and Profiles, they revert back to the original settings.
  3. pveJP

    How to install plugins

    thank you
  4. pveJP

    How to install plugins

    I was able to start the game. Where can I find the NPC and reward LOOT TABLE? Sorry, I'm a beginner.
  5. pveJP

    How to install plugins

    The plugin doesn't show up in Rust Manager even after installing it. How to install plugins.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.5k
Total sales
Payments
3.9m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.