Jump to content

scientist loots

Closed 2.2.7 2.4.0

Dear Nivex! 

On the new version i set the scientist loot for example 

   "Scientist Items Dropped On Death": [
      {
        "shortname": "ammo.rifle",
        "name": null,
        "amount": 30,
        "skin": 0,
        "amountMin": 1,
        "probability": 1.0,
        "stacksize": -1
      }
    ],

When i kill a scientist the loot is not only what i set. The scinetist loots are much tier 3 stuff , and m249, l96 etc.

Please check it 

thanks

Share this comment


Link to comment

that would be an issue from another plugin. this plugin spawns only whats configured

as shown here:

                    if (murderer && Options.NPC.MurdererDrops.Count > 0)
                    {
                        Options.NPC.MurdererDrops.ForEach(ti =>
                        {
                            if (UnityEngine.Random.value <= ti.probability)
                            {
                                SpawnItem(ti, containers);
                            }
                        });
                    }
                    else if (!murderer && Options.NPC.ScientistDrops.Count > 0)
                    {
                        Options.NPC.ScientistDrops.ForEach(ti =>
                        {
                            if (UnityEngine.Random.value <= ti.probability)
                            {
                                SpawnItem(ti, containers);
                            }
                        });
                    }

 

Share this comment


Link to comment

Dear Nivex! 

On the new 2.3.0 version, can set the loot with your new option:  "Spawn Alternate Default Scientist Loot":

Thanks! 

I don't know to create a new ticket, with this another problem, or i can write it to here 🙂

 

Now i gave errors, on spawn base. I use 2 type of kits of scientists. One of have M249 is shooting to player. But another scientist who have bolt action is only running but not shooting. Is this a conflict with another plugin, or why want to spawn heavy scientist ?

I gave these errors

[Raidable Bases] nightmare33 @ R0 : 374 items
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
You've successfully pasted the structure
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
 

 

Thanks

Edited by olajmuvek

Share this comment


Link to comment

Problem #1:

On every base spawn i give these errors : 

[Raidable Bases] med37 @ AA23 : 165 items
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
You've successfully pasted the structure
NullReferenceException: Object reference not set to an instance of an object
[Raidable Bases] easy4 @ R0 : 116 items
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
You've successfully pasted the structure

 

Problem #2:

i use these settings on profile config.

    "Scientist Kits": [
      "nightm249",
      "nightl96"
    ],

 

    "Amount To Spawn": 15,
    "Minimum Amount To Spawn": 10,

On the raidbase spawn, 2 another type of scientists spawns.

The "nightm249" scientists are working fine, shooting the player, and aggro.

The "nightl96" scinetints are not shooting to player, only running.

When the raidbase spawn with scientists the console write these messages:

assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable

I hope you are unterstand my problems.

thanks

Share this comment


Link to comment

sorry but no more error log on rcon. only what i send before. The  

assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (538.1, 1.2, 1923.6) on area: Walkable

and the 

NullReferenceException: Object reference not set to an instance of an object

These are on every raidbase spawn.

Share this comment


Link to comment

all of log : 

On this test only the night5 base profile have scientists with 

"Scientist Kits": [ "nightm249", "nightl96" ],

and 

"Amount To Spawn": 15, "Minimum Amount To Spawn": 10,

o.unload RaidableBases
Unloaded plugin Raidable Bases v2.3.0 by nivex
o.reload RaidableBases
RaidableBases was compiled successfully in 2542ms
[Raidable Bases] Blocked spawn points in 13 zones.
-
Loaded 125 items from RaidableBases/Base_Loot/nivex1
Loaded 174 items from RaidableBases/Base_Loot/nivex2
Loaded 298 items from RaidableBases/Base_Loot/nivex3
Loaded 373 items from RaidableBases/Base_Loot/nivex4

[Raidable Bases] Loaded 12 manual spawns.
[Raidable Bases] Loaded 12 scheduled spawns.
[Raidable Bases] Loaded 12 maintained spawns.
[Raidable Bases] Loaded 12 buyable spawns.
Calling 'OnServerInitialized' on 'RaidableBases v2.3.0' took 166ms
Loaded plugin Raidable Bases v2.3.0 by nivex
[Raidable Bases] Grid initialization completed in 41 seconds and 164 milliseconds on a 4000 size map. 12959 locations are on the grid.
NullReferenceException: Object reference not set to an instance of an object
You've successfully pasted the structure
NullReferenceException: Object reference not set to an instance of an object
[Raidable Bases] night5 @ A23 : 390 items
NullReferenceException: Object reference not set to an instance of an object
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable
NullReferenceException: Object reference not set to an instance of an object
You've successfully pasted the structure
NullReferenceException: Object reference not set to an instance of an object
[Raidable Bases] med2 @ A2 : 163 items
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
You've successfully pasted the structure
NullReferenceException: Object reference not set to an instance of an object
[Raidable Bases] med55 @ J26 : 166 items
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object

 

Share this comment


Link to comment

that is from the oxide log. i need the error from the server log

the server log is denoted by -logfile in your startup script

Share this comment


Link to comment

Sorry we resolved the problem. We used a converted Kits , and it's not working.  We create new kits for NPC-s and now working fine

also have : no more null reference error.

And if use : " Spawn On Rugs": true, "

i give these messages too:

assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-1899.1, 7.0, -1394.1) on area: Walkable

 

 

Edited by olajmuvek

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.2k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • 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.