Jump to content

Separate UI Icon - Text Disappearing

Closed 1.0.7 1.0.8

  "Separate UI Icon": true,

If I turn this on, it works as intended, but once I go into a PVP zone and then leave it, the text disappears and doesn't return, even after I reload the plugin. The only way to fix it is to turn this setting to false, reload the plugin, then turn it back to true but the problem remains every time you enter a PVP zone and leave it again.

Link to comment
51 minutes ago, OfficialJaco said:

  "Separate UI Icon": true,

If I turn this on, it works as intended, but once I go into a PVP zone and then leave it, the text disappears and doesn't return, even after I reload the plugin. The only way to fix it is to turn this setting to false, reload the plugin, then turn it back to true but the problem remains every time you enter a PVP zone and leave it again.

I am pushing an update that "should" fix this shortly, there will need to be a slight modification to the DynamicPVP plugin, it looks like because it hasnt been updated for the July 6 2024 update, it throws an error sometimes on Oxide when trying to fire the hook, causing it to disappear, and on Carbon it fires the error all the time

 

DynamicPVP: (BOTH CARBON AND OXIDE)
Line 1627 find:

Interface.CallHook("OnPlayerAddedToPVPDelay", player.userID, zoneId, baseEvent.PvpDelayTime);

Change to:
Interface.CallHook("OnPlayerAddedToPVPDelay", player.UserIDString, zoneId, baseEvent.PvpDelayTime);



doing this change on dynamicPVP seems to make the hook fire every time, on both carbon and oxide. i will keep monitoring and testing also

Link to comment

Okay, and I also set the pvp countdown to true but it didn't do anything. Could that also be because DynamicPVP hasn't updated yet?

Link to comment
8 minutes ago, OfficialJaco said:

Okay, and I also set the pvp countdown to true but it didn't do anything. Could that also be because DynamicPVP hasn't updated yet?

Actually, either changing what you suggested or the latest update you did for the plugin fixed this issue. Well done

Link to comment
8 minutes ago, OfficialJaco said:

Actually, either changing what you suggested or the latest update you did for the plugin fixed this issue. Well done

it would have been a combination of both, but mostly the dynamicPVP change. another person also had the issue, but i wasnt having the issue, as i had already made that change back on July 6, so it was all working for me already

Link to comment
1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.7k

Files Sold

Total number of files sold.

1.9m

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.