Jump to content

harvesting in tc zone with realpve

Closed 1.8.500 1.8.600

dfgas
dfgas

Posted (edited)

Hi, i have been working on a few problems we came across with realpve and one was that if have an option enabled to not allow people to take plants in a tc zone, it works but also does not allow us to pick up nodes too. this is not your problem however the problem we found is that when you try to pick up nodes, you don't get it of course but XPerience gives you xp as if you did. this is what he said about it

 

I actually got the quoted post below

 

is there a way you can fix this?

Edited by dfgas
dfgas

Posted

7 hours ago, IIIaKa said:


Are you using this plugin? Most likely, it (XPerience) doesn't check if the resource was actually harvested. The author of that plugin needs to add a check for whether the object was destroyed.

void OnCollectiblePickup(CollectibleEntity collectible, BasePlayer player)
{
    NextTick(() =>
    {
        if (collectible.IsDestroyed)
            //give reward
    });
}

 

 

  • Like 1
MACHIN3

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.8.600

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.