Jump to content

ArenaTournament

Closed 0.1.12 0.1.13

Koshara
Koshara

Posted

add support for the ArenaTournament plugin, damage does not occur in the arena

IIIaKa

Posted

@Koshara
I checked the plugin's page and currently, I’m missing a couple of hooks to make it work. I’ve reached out to the plugin author and am awaiting their response.

  • Like 1
IIIaKa

Posted

Changed Status from Pending to Work in Progress

Koshara

Posted

and what is the problem in the OnEntityTakeDamage method line 6957 and line 6974 add the condition && !IsOnTournament(attacker.userID). I added it at my place and everything works

 

IIIaKa

Posted (edited)

15 minutes ago, Koshara said:

and what is the problem in the OnEntityTakeDamage method line 6957 and line 6974 add the condition && !IsOnTournament(attacker.userID). I added it at my place and everything works

@Koshara

The problem is that this method is called every time an entity takes damage, even in cases where the entity is not in the arena.
If the plugin checks every time this hook is triggered, it will result in unnecessary validation, increasing the load, especially for those who don’t use this plugin.
I’m glad you found a temporary solution, but the author has already responded to my message. As soon as I’m free, I’ll get started.😉

Edited by IIIaKa
Koshara

Posted

I understand about the extra load, but as a temporary solution, it's also not a bad option. I'm waiting for an update.

  • Like 1
IIIaKa

Posted

In the next update, the RealPVE plugin will subscribe to universal hooks that will allow any other plugins to add/remove players/entities from PvP.
I also informed the author of the ArenaTournament plugin about this and everything should work once the updates for both RealPVE and the ArenaTournament plugins are released.

IIIaKa

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to Next Version

IIIaKa

Posted

If the issue persists, feel free to report it in this thread.

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.