Jump to content

OnRaidableBasePurchased hook seems to not work anymore

Closed 3.1.5

miniMe_rust
miniMe_rust

Posted

Hey nivex,

it seems since your changes to /buyraid the OnRaidableBasePurchased hook either does not fire anymore, or the signature changed. Until before that update my logger caught purchases reliably, but not anymore:

> OnRaidableBasePurchased(string owner, Vector3 eventPos, string gridLabel, int mode, bool allowPVP, float unknownId, float loadTime, string BaseName, DateTime spawnDateTime, DateTime despawnDateTime) 

Thanks in advance for checking and for your great work

nivex

Posted

heya minime, the hook has been updated to remove a couple unused arguments.

OnRaidableBasePurchased(string owner, Vector3 eventPos, string gridLabel, int mode, bool allowPVP, string BaseName, DateTime spawnDateTime, DateTime despawnDateTime)

  • Like 1
miniMe_rust

Posted (edited)

On 6/8/2026 at 2:57 PM, nivex said:

heya minime, the hook has been updated to remove a couple unused arguments.

OnRaidableBasePurchased(string owner, Vector3 eventPos, string gridLabel, int mode, bool allowPVP, string BaseName, DateTime spawnDateTime, DateTime despawnDateTime)

Thanks nivex,

the updated hook works perfectly fine, once I mirrored the changes to the signature in my logger. I can see why those elements have been removed - for me that hook is now perfect as it is 👍

Edited by miniMe_rust
typo
nivex

Posted

you're welcome, enjoy!

  • Love 1
nivex

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.3k
Customers served
Files Sold
162.4k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.