Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Detecting pre-made callouts

Featured Replies

  • Author

Bingo... I can obviously detect my own, but ideally wanted to be made aware when a callout was accepted that wasn't created by my plugin. If worst comes to worst, I'll disable the pre-existing callouts in favour of my own :)

Let's broaden it - can you detect when a callout is accepted, period? (the pre-made callouts are, AFAIK, coded with essentially the same tools available to you, and aren't specially privileged besides being physically located in the main DLL).

  • Management Team

Hello,

 

you can detect when your callout has been accepted, it fires an event when the user accepts it. There is no global event/hook for when a callout has been accepted though. Do you want something like this? Or a property telling you whether the player is in a callout (or in a built-in callout)? Just let me know and I'll add it to the next build.

 

LMS

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

I think it would be a useful feature to have some way to know if you're in a "vanilla" callout or user-made callout. For example, if you have several user-made callouts, and you think that it's causing crashes, it would be a lot easier to detect which plugin it is. Hope that made some sense. 

Invenio, Investigatio, Imperium

Maybe have an event fired to all plugins when a callout is accepted, giving the namespace and class name of the callout? I think it should be general-purpose, not distinguishing between vanilla and user-made (though if the namespace for builtins is something obfusucated, maybe have them *report* a namespace of G17 or LCPDFR, regardless of what their *actual* namespace is).

  • Author

cp702, I think you've hit it on the head. Something like that would be both beneficial to what I was hoping to achieve but also work in the long-run for any other plugins that get developed in the future.

 

LMS if you could try and include this in the next build, I certainly would be grateful and I'm sure others will be too. 

 

Cheers Guys.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.