-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Did you change anything how to Register "external" Extensions for Vendor? #63
Comments
I will take a look, if this hasn't already been fixed, however that seems like a great function to just pull into our default functions, which I might do as part of 6.3 |
error still not fixed! same error: 1x Vendor/rules/extensions.lua:133: attempt to call method 'RegisterFunctions' (a nil value)
[string "@Vendor/rules/extensions.lua"]:133: in function <Vendor/rules/extensions.lua:120>
[string "@Vendor/rules/extensions.lua"]:463: in function `Register'
[string "@Vendor/rules/extensions.lua"]:512: in function <Vendor/rules/extensions.lua:511>
[string "=(tail call)"]: ?
[string "@Vendor_fubaExtensions/fubaExtensions.lua"]:91: in function `registerfubaRules'
[string "@Vendor_fubaExtensions/fubaExtensions.lua"]:98: in main chunk
Locals:
ext = <table> {
Rules = 0
Source = "fuba"
Functions = 3
OnUpdate = 0
Name = "Vendor [6.5.0]"
}
fdef = <table> {
Function = <function> defined @Vendor_fubaExtensions/fubaExtensions.lua:5
Documentation = "Return "true" if you have learned the Profession.
You can use SpellName or SpellID for this function.
Example:
fuba_HaveProfession("Enchanting") will return "true" you have the "Enchanting" Profession learned.
You can also use the SpellID if you want and know it like this:
fuba_HaveProfession(7411) will also return "true" if you're an Enchanter."
Name = "HaveProfession"
Supported = <table> {
}
}
f = <table> {
Function = <function> defined @Vendor_fubaExtensions/fubaExtensions.lua:5
SourceName = "fuba"
Extension = <table> {
}
Documentation = "Return "true" if you have learned the Profession.
You can use SpellName or SpellID for this function.
Example:
fuba_HaveProfession("Enchanting") will return "true" you have the "Enchanting" Profession learned.
You can also use the SpellID if you want and know it like this:
fuba_HaveProfession(7411) will also return "true" if you're an Enchanter."
Supported = <table> {
}
Name = "fuba_HaveProfession"
}
(*temporary) = nil
(*temporary) = <table> {
MerchantButton = <table> {
}
c_Config_Tooltip_Rule = "tooltip_addrule"
RuleType = <table> {
}
RaiseEvent = <function> defined @Vendor/sys/event.lua:124
CopyProfile = <function> defined @Vendor/sys/profilemanager.lua:290
DefaultConfig = <table> {
}
PreHookWidget = <function> defined @Vendor/sys/hook.lua:29
c_Config_Tooltip = "tooltip_basic"
RARE_BLUE_COLOR = <table> {
}
c_Config_SellThrottle = "sell_throttle"
RuleConfig = <table> {
}
RemoveThread = <function> defined @Vendor/sys/thread.lua:103
IsItemInList = <function> defined @Vendor/vendor/blocklists.lua:386
ListToggle_Cmd = <function> defined @Vendor/cmds.lua:27
AttachImplementation = <function> defined @Vendor/ui/dialog.lua:40
History_Cmd = <function> defined @Vendor/features/history/history.lua:341
TableMerge = <function> defined @Vendor/sys/helpers.lua:89
COMMON_GRAY_COLOR = <table> {
}
GetProfileList = <function> defined @Vendor/sys/profilemanager.lua:230
GetPriceString = <function> defined @Vendor/sys/systems.lua:156
AddInitializeAction = <function> defined @Vendor/sys/core.lua:148
c_Config_SellLimit = "autosell_limit"
GetNumTotalEquippedBagSlots = <function> defined @Vendor/sys/systems.lua:156
IsDebug = false
Systems = <table> {
}
TableFind = <function> defined @Vendor/sys/helpers.lua:62
CreateCategory = <function> defined @Vendor/RulesEngine/category.lua:163
EPIC_PURPLE_COLOR = <table> {
}
GetCharacterFullName = <function> defined @Vendor/sys/helpers.lua:104
RuleManager = <table> {
}
IsDebugChannelEnabled = <function> defined @Vendor/sys/core.lua:173
c_Config_MerchantData = "merchantdata"
IsConfigInitialized = <function> defined @Vendor/sys/config.lua:414
FindDefaultProfile = <function> defined @Vendor/vendor/profileimpl.lua:130
UnregisterFromEvents = <function> defined @Vendor/sys/systems.lua:225
GetCurrentProfile = <function> defined @Vendor/sys/profilemanager.lua:299
SecureHookWidget = <function> defined @Vendor/sys/hook.lua:8
TableHasKey = <function> defined @Vendor/sys/helpers.lua:57
ActionType = <table> {
}
CreateRulesEngine = <function> defined @Vendor/rules/manager.lua:44
OnInitialize = <function> defined @Vendor/addon.lua:7
AddConsoleCommand = <function> defined @Vendor/sys/console.lua:125
StringRTrim = <function> defined @Vendor/sys/helpers.lua:21
GetDebugSetting = <function> defined @Vendor/sys/core. But it still works if i copy it directly into your internal extensions and execute it by Vendor itself! |
any progress? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
did you change anything about how to register an external "Extension" for Vendor?
I've reactivated wow today and I use my own "Extension" for Vendor but I get this ersror:
and this is my "Extension" for Vendor:
I've checked your "internal Extensions" like TSM or ArkInventory but the Code seems complete the same, except you now use an "internal" Function for your Rules.
Did I miss anything?!
Also the "Info Text" in the
extensions.lua
seems outdated:Maybe you can add an "Example" Extension for external Extensions so we can update them easily?
Update
Well, my "Extension" works if I integrate it into your "Internal Extension" collection (like Pawn or TSM) but not with the "RegisterExtension" as an external Extension...
I really appreciate any help you can provide.
The text was updated successfully, but these errors were encountered: