Jump to content

Buy permission?

Not a Bug 1.1.19

Omega
Omega

Posted

Hi, all players are able to buy at the drone shops but cant get their stuff when drone arrive. Is it possible that foreign players can get their stuff or then completely ban foreign players from using it?

ZEODE

Posted

Hi, sorry I didn't see this request.

Are you using plugin named Prevent Looting? People have reported this issue and using that plugin.

If you are using this plugin, just add the shortname "marketplace" into the excluded items list in the config and enable it.

Omega

Posted

This is my PreventLooting config and it don´t work.

{
  "AdminCanLoot": true,
  "CanAuthorizeCupboard": true,
  "CanLootBackpack": false,
  "CanLootBackpackPlugin": false,
  "CanLootCorpse": false,
  "CanLootEntity": false,
  "CanLootPlayer": false,
  "CanOvenToggle": false,
  "CanPickup": false,
  "ExcludeEntities": [
    "mailbox.deployed",
    "dropbox.deployed",
    "marketplace"
  ],
  "UseCupboard": true,
  "UseCupboardInclude": [
    "storage"
  ],
  "UseExcludeEntities": true,
  "UseFriendsAPI": true,
  "UseOnlyInCupboardRange": false,
  "UseOnlyInCupboardRangeInclude": [
    "storage"
  ],


I also get this by reload PersonalMarketplace

(07:17:44) | Unloaded plugin Personal Marketplace v1.1.19 by ZEODE

(07:17:44) | Failed to call hook 'OnServerInitialized' on plugin 'PersonalMarketplace v1.1.19' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.PersonalMarketplace.OnServerInitialized (System.Boolean initial) [0x00072] in <0f810af81b024892967b42ef726ddf49>:0

at Oxide.Plugins.PersonalMarketplace.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00521] in <0f810af81b024892967b42ef726ddf49>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

(07:17:44) | Loaded plugin Personal Marketplace v1.1.19 by ZEODE

ZEODE

Posted

Hi, sorry I told you to place "marketplace" in PreventLooting config, actually it should be "marketterminal".

 

So it should look like this:

  "ExcludeEntities": [
    "mailbox.deployed",
    "dropbox.deployed",
    "marketplace"
  ],

 

As far as the error goes, I have had one other person with the same error, I am currently looking into it. Does the plugin work OK otherwise? Any issues with any of the marketplaces? Are you using the vending machine option?

Omega

Posted

No problem noticed with vending machines. "marketterminal" don´t work too.

ZEODE

Posted

Have you checked all Marketplaces placed by players? I’d bet there is one somewhere with one or more Vending machines missing. This is what is causing the error you are seeing.

I checked on my test server earlier with Prevent Looting, using the same config as you. And I can confirm adding "marketterminal" to the PreventLooting config fixes the issue.

Omega

Posted

Yes i checked and all of them have the four machines and they work without problem. Only the marketterminal in preventlooting don´t work. When i unload preventlooting it works.

ZEODE

Posted

Please post your prevent looting config if possible. There must be an error, because it’s working fine on my test server with prevent looting with markrtterminal.

 

ZEODE

Posted

The error message means there is an entry in your data file which relates to either a Marketplace or Vending machine which no longer exists in the world. This can happen if you have used Ent Kill command to remove someone’s Marketplace or Vending machine.

If you’re saying all Marketplaces have all their vending machines, then there must be a Marketplace in the data file which no longer exists in the world.

ZEODE

Posted

Thanks for posting your prevent looting config, that all looks ok. Please post your Personal Marketplace config too so I can test with the same settings as you use to verify where any error might be originating from.

Later I will release an update to improve error handling and prevent future issues.

ZEODE

Posted

Ahhhhh, ok. Yeah if you ent kill a market it will cause that error. The next update will fix the NRE spam on those cases. So the plugin sounds as though it’s working fine. The prevent looting issue must be a config issue though, I’ll let u know when I get back to the pc.

ZEODE

Posted

Check your Prevent Looting config dude:

  "ExcludeEntities": [
    "mailbox.deployed",
    "dropbox.deployed",
    "markettermininal"
  ],

 

You misspelled "marketterminal", correct this and it works fine 🤣

ZEODE

Posted

Changed Status from Pending to Not a Bug

Omega

Posted

😬 sorry for that. Thank you!

  • Like 1
rustpve

Posted

Yay, adding "marketterminal" worked! 

  • Like 1
1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.