Jump to content

DC Protect Plugin Conflict

Closed 1.3.3 1.3.4

dustyhansen
dustyhansen

Posted

We use the DC Protect plugin from umod to protect players from getting looted if the disconnect for x minutes. 

This is only really needed for PVP players with War Mode, but we still use it.

I am getting the following errors in console. I believe this is when someone tries to loot a body that is protected by DC Protect at that moment:

01/05 11:27:37 | Hook conflict while calling 'CanLootPlayer[2953315606]': DCProtect 1.0.6 [True] and WarMode 1.3.3 [False]
01/05 11:27:41 | Hook conflict while calling 'CanLootPlayer[2953315606]': DCProtect 1.0.6 [True] and WarMode 1.3.3 [False]
01/05 11:27:42 | Hook conflict while calling 'CanLootPlayer[2953315606]': DCProtect 1.0.6 [True] and WarMode 1.3.3 [False]

Any suggestion for a fix?

Mr01sam

Posted

The problem is that for that specific hook, the umod documentation defines it to return a bool, however it seems this can be changed to an object. If this was done in both WarMode and DCProtect, then this hook conflict in theory would be resolved.
image.png.3414744872b437078bd05f041ed1994b.png

I might include this change in the next WarMode patch, I'll DM you what this would look like for both plugins and you can let me know if it resolves it for you.

  • Like 1
Mr01sam

Posted

Changed Status from Pending to Work in Progress

Mr01sam

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 1.3.4

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.6k

Files Sold

Total number of files sold.

2.4m

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.