Jump to content

pls help - sentry turrets colaps

Closed 3.0.9

bobekua
bobekua

Posted

Calling the OnInterferenceUpdate hook resulted in a conflict between the following plugins: SentryTurrets - True (Boolean), RaidableBases (False (Boolean)) 

Tangerine 53 Published26 Nov You need to ask the developer of the RaidableBases plugin to fix their hook. It is common practice in plugins to return True, not False.

 

image.png

nivex

Posted

hi, he is correct that it should return true for a non-bool hook, but oxide and carbon have changed it to a bool hook. so it needs to return false now, not true

bobekua

Posted

So what should we change and where? in Raids or in Sentry, or both?

nivex

Posted

hi, 

        private object OnInterferenceUpdate(AutoTurret turret)
        {
            return Has(turret, true) ? true : (object)null;
        }

just change it from false to true again. it no longer needs to be false.

line 14029

sentry turrets plugin has already been updated too

nivex

Posted

Changed Status from Pending to Closed

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
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
157.6k
Marketplace sales
Payments
3.4m
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.