Jump to content

CanCombineDroppedItem

Not a Bug 1.2.4

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))

 

Share this comment


Link to comment

one more plugin :

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

Edited by Dad Frog

Share this comment


Link to comment

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

Share this comment


Link to comment

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.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.6k

Files Sold

Total number of files sold.

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