Jump to content

compatibility with events

Closed 1.2.0 1.6.0

BadLandPVE
BadLandPVE

Posted

ill send you all links of events most people and me use.

 

HunterZ

Posted (edited)

Looked through the descriptions of all of these, and their APIs/hooks don't provide enough info for me to add support.

I'll reach out to the two authors and see if they're willing to work something out.

Edit: I have sent them each a DM on Discord and will report back if I hear anything.

Edited by HunterZ
  • Like 1
HunterZ

Posted (edited)

Update - KpucTaJl responded with the following information regarding his/her plugins:

AirEvent and WaterEvent provide event start hook signatures that look like this:

void OnAirEventStart(HashSet<BaseEntity> entities, Vector3 pos, float radius)

All others provide ones that look like this:

void OnSupermarketEventStart(Vector3 pos, float radius)

And they all provide event end signatures that look like this:

void OnSupermarketEventEnd()

I should be able to make this work, but it will take some effort due to being an approach that I haven't encountered yet. It will require things like persisting event records in my data file in case SuperPVxInfo gets reloaded while an event is active.

Edited by HunterZ
BadLandPVE

Posted

thanks for take your time to upgrade it and make it possible

  • Like 1
HunterZ

Posted

Also got a response from Adem. Sounds like he/she is willing to add enter/exit hooks. This approach would be easy for me to integrate with, as I already support it for a few other plugins

HunterZ

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to 1.3.0

HunterZ

Posted

Support for KpucTaJl's event plugins has been added in version 1.3.0, but I can't test them. Let me know if you get a chance to verify.

  • Like 1
BadLandPVE

Posted

im goin to test it now with all events, and ill tell you.

BadLandPVE

Posted

5 minutes ago, BadLandPVE said:

im goin to test it now with all events, and ill tell you.

okey, it works on all KpucTaJI`s events

  • Like 1
BadLandPVE

Posted

other thing. can make compatible to truepve?¿ if is enabled true pve show PVE and when is unload show PVP?

HunterZ

Posted

4 hours ago, BadLandPVE said:

other thing. can make compatible to truepve?¿ if is enabled true pve show PVE and when is unload show PVP?

Super PVx Info already supports TruePVE.

Set the default PVx type in the config file to PVE if you run TruePVE, or to PVP if you don't. Super PVx Info does its best to determine which kind of area you're in, then falls back to the default if it can't get an explicit state.

BadLandPVE

Posted

15 hours ago, HunterZ said:

Super PVx Info already supports TruePVE.

Set the default PVx type in the config file to PVE if you run TruePVE, or to PVP if you don't. Super PVx Info does its best to determine which kind of area you're in, then falls back to the default if it can't get an explicit state.

ok ok ,im asking because i unloaded truePVE and didnt changed to pvp. had to modify it on cfg.

HunterZ

Posted

3 hours ago, BadLandPVE said:

ok ok ,im asking because i unloaded truePVE and didnt changed to pvp. had to modify it on cfg.

Right, it doesn't know what TruePVE is doing, which is why you also have to align the height limits in Super PVx Info's config file with what you have in TruePVE's config file.

My plugin is limited to what TruePVE's public API allows, or else there's no chance of also supporting other PVE plugins like NextGenPVE, SimplePVE, etc.

HunterZ

Posted

Added support for Ferry Terminal Event by KpucTaJl in SuperPVxInfo 1.5.0.

Haven't seen any updates from Adem yet.

HunterZ

Posted

It looks like Adem has started adding enter/exit hooks as we discussed in Discord DMs several weeks ago, so I've released SuperPVxInfo 1.6.0 with Caravan and Convoy Reforged support.

I've also asked Adem for an update, plus clarification on Armored Train as I think the hook notes may have typos.

BadLandPVE

Posted

On 10/7/2024 at 6:07 AM, HunterZ said:

It looks like Adem has started adding enter/exit hooks as we discussed in Discord DMs several weeks ago, so I've released SuperPVxInfo 1.6.0 with Caravan and Convoy Reforged support.

I've also asked Adem for an update, plus clarification on Armored Train as I think the hook notes may have typos.

thanks!. i tested all the events added and works good.

other thing. would be possible add a command to change status between pve and pvp¿? for purge days

HunterZ

Posted

5 hours ago, BadLandPVE said:

thanks!. i tested all the events added and works good.

other thing. would be possible add a command to change status between pve and pvp¿? for purge days

🤔 How do you control whether the actual events themselves are PVP versus PVE?

BadLandPVE

Posted

15 hours ago, HunterZ said:

🤔 How do you control whether the actual events themselves are PVP versus PVE?

I don't quite understand your question. Could you explain better what you mean?

HunterZ

Posted

8 hours ago, BadLandPVE said:

I don't quite understand your question. Could you explain better what you mean?

I think I misread your post a bit. I'm trying to understand what configuration changes you make to your server to implement "purge days"?

BadLandPVE

Posted

12 hours ago, HunterZ said:

I think I misread your post a bit. I'm trying to understand what configuration changes you make to your server to implement "purge days"?

ahhhh ok ok, ill explain. The last 24h i unload truepve to change all server to pvp. to change the marker to pvp i have to go to cfg and change it, then reload plugin, would be possible add a command to change status ingame? 

HunterZ

Posted (edited)

It might work to change the config setting "Server Default PVx (PVP or PVE)" to "PVP" and then reload SuperPVxInfo. This should cause it to assume PvP status when not in safe zones or areas explicitly marked PvE by other plugins.

Let me know if it works, as I haven't tested this extensively.

Edited by HunterZ
HunterZ

Posted

I'm going to go ahead and close this. Feel free to open a new support request for any issues that need another look.

HunterZ

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In from 1.3.0 to 1.6.0

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.