Jump to content

BaseProjectile/BasePlayer error on reloading

Pending 3.0.5

Samael777
Samael777

Posted

I came across a strange bug on the free version (I'm still testing the paid one). Random weapons from raids either don't have a number indicating the amount of ammo or when trying to reload, errors related to BaseProjectile and BasePlayer appear on the screen. For a regular player, the game kicks to the main menu, and for me (auth 2) the movement is blocked until I have the weapon in my hand, after holstering the weapon, everything returns to normal. I tried to find an algorithm, but it seems pretty random, most often affecting AK. On the other hand, the first of the mentioned problems is much less impressive because you simply can't use the weapon in any way, but at least it doesn't kick the player. I'm unsure if the problem relates to raidable bases or copypaste.

11.png

nivex

Posted

heya, that would mean the item had its HeldEntity deleted by something. this plugin doesn't destroy those when taken by a player, and does not destroy them while they're still in a loot box

I did test this for you using the free version, including a server restart, and the weapons work normally

Samael777

Posted

Yes, it works normally in most cases, but only some of the guns are affected for some reason. I'll try to debug all looted items to see if they have an owner and creator assigned to them. I have the impression that when the base is despawned, some weapons are still on the list of those within the base or are related to some box.

nivex

Posted

hi, only items which are still in a box are destroyed. so it only destroys its own containers.

 

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

124.5k

Files Sold

Total number of files sold.

2.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.