Jump to content

CanCombineDroppedItem

Not a Bug 1.2.4

Dad Frog
Dad Frog

Posted

hello

I installed Heli Signals recently and I have a conflict with two other plugins:

Calling hook CanCombineDroppedItem resulted in a conflict between the following plugins:
Ganja - False (Boolean),
IQAlcoholFarm - False (Boolean),
HeliSignals (True (Boolean))

 

Dad Frog

Posted (edited)

one more plugin :

Calling hook CanEntityTakeDamage resulted in a conflict between the following plugins: AbandonedBases - False (Boolean), HeliSignals (True (Boolean))

Edited by Dad Frog
ZEODE

Posted (edited)

With regards to CanCombineDroppedItem, my plugin is correct. The other plugins should not be returning false from this hook. The developers of those plugins should correct their code. If they are unsure they should check the Umod Rust API help pages. Hooks of type object should only return true or null. Hooks which return type Boolean can return true, false or null. CanCombineDroppedItem returns type Object, therefore my code is correct and that hook should never return false. You should report the issue with the other plugins developers. If they are still unsure they can also check that hook in the assembly.

With regards to CanEntityTakeDamage, i am not at home until Monday, so will look into it when I get back. I’ve come across this before I think but I can’t remember what caused it in the end so I’ll get back to you. In the meantime you could a ee if you can notice when the message happens, perhaps when people are mining heli debris?

Edited by ZEODE
ZEODE

Posted

OK, I have looked into it. In my code that hook only responds to helicopters spawned by my plugin. It would need a patch to AbandonedBases to add compatibility with my plugin to prevent the conflict. For example, the dev of thast plugin could check that a heli is from my plugin or not before deciding whether to respond to that hook. You could try reaching out to that dev, there are hooks available on my plugin page that might help them.

ZEODE

Posted

Changed Status from Pending to Not a Bug

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.