Total RP 3: Extended

Total RP 3: Extended

903k Downloads

LUA error when attempting to share an item link in the chat

LenweSaralonde opened this issue ยท 1 comments

commented

TRP3: Extended 2.5.0 x 2.0.0

No other add-on enabled

  1. Open inventory.
  2. Pres Enter to open the in-game chat.
  3. Shift click on any item on the bag to share the link.
Message: ...face/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:279: attempt to index field 'TRP3_API' (a nil value)
Time: Thu May  4 19:21:57 2023
Count: 4
Stack: ...face/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:279: attempt to index field 'TRP3_API' (a nil value)
[string "@Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua"]:279: in function `OpenMakeImportablePrompt'
[string "@Interface/AddOns/totalRP3_Extended/inventory/container.lua"]:534: in function `trp3func'
[string "@Interface/AddOns/totalRP3_Extended/inventory/container.lua"]:527: in function <...ace/AddOns/totalRP3_Extended/inventory/container.lua:525>

Locals: self = <table> {
 OpenMakeImportablePrompt = <function> defined @Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:275
 HasModule = <function> defined @Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:300
 FIND_LINK_PATTERN = "%[TRP3:([^%]]+)%]"
 storeLink = <function> defined @Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:95
 CheckVersions = <function> defined @Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:290
 FORMAT = <table> {
 }
 LINK_PATTERN = "[TRP3:%s]"
 GetModuleByID = <function> defined @Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:87
 InstantiateModule = <function> defined @Interface/AddOns/totalRP3/Modules/ChatLinks/ChatLinks.lua:78
}
linkType = "Object Extended"
callback = <function> defined @Interface/AddOns/totalRP3_Extended/inventory/container.lua:534
(*temporary) = <function> defined @Interface/AddOns/totalRP3/Core/Popup.lua:211
(*temporary) = <function> defined =[C]:-1
(*temporary) = "Faire un lien %s importable?

Les joueurs pourront copier et utiliser le contenu du lien."
(*temporary) = nil
(*temporary) = true
(*temporary) = <function> defined @Interface/AddOns/totalRP3_Extended/inventory/container.lua:534
(*temporary) = "attempt to index field 'TRP3_API' (a nil value)"
Ellyb = <table> {
 middleclass = <table> {
 }
 Class = <function> defined @Interface/AddOns/totalRP3/Libs/Ellyb/Internals/Class.lua:34
 Frames = <table> {
 }
 Unit = <table> {
 }
 Locale = <table> {
 }
 Logf = <function> defined @Interface/AddOns/totalRP3/Libs/Ellyb/Ellyb.lua:13
 getPrivateStorage = <function> defined @Interface/AddOns/totalRP3/Libs/Ellyb/Internals/Class.lua:25
 Assertions = <table> {
 }
 Texture = <table> {
 }
 EditBoxes = <table> {
 }
 Tooltip = <table> {
 }
 Icon = <table> {
 }
 Tooltips = <table> {
 }
 Log = <function> defined @Interface/AddOns/totalRP3/Libs/Ellyb/Ellyb.lua:7
 Localization = <table> {
 }
 Cursor = <table> {
 }
 Popups = <table> {
 }
 Strings = <table> {
 }
}
TRP3_API = <table> {
 inventory = <table> {
 }
 ApplyPrototypeToObject = <function> defined @Interface/AddOns/totalRP3/Core/Prototype.lua:71
 SetLocationBroadcastEnabled = <function> defined @Interface/AddOns/totalRP3/Modules/Register/Characters/PlayerMapScan/PlayerMapScanner.lua:213
 ApplyColorPrototype = <function> defined @Interface/AddOns/totalRP3/Core/Color.lua:168
 CreateColorFromHSLA = <function> defined @Interface/AddOns/totalRP3/Core/Color.lua:184
 MiscColors = <table> {
 }
 GameEvents = <table> {
 }
 target = <table> {
 }
 ChatLinks = <table> {
 }
 FormatShortcut = <function> defined @Interface/AddOns/totalRP3/Locales/Locale.lua:45
 map = <table> {
 }
 CreateColorFromHexMarkup = <function> defined @Interface/AddOns/totalRP3/Core/Color.lua:219
 r = <table> {
 }
 ParseColorFromString = <function> defined @Interface/AddOns/totalRP3/Core/Color.lua:362
 RegisterCompanionChatLinksModule = <table> {
 }
 CreateCallbackRegistration = <function> defined @Interface/AddOns/totalRP3/Core/CallbackRegistry.lua:48
 FormatShortcutWithInstruction = <function> defined @Interface/AddOns/totalRP3/Locales/Locale.lua:68
 popup = <table> {
 }
 CreateCallbackRegistry = <function> defined @Interface/AddOns/totalRP3/Core/CallbackRegistry.lua:296
 CreateColorFromName = <function> defined @Interface/AddOns/totalRP3/Core/Color.lua:199
 ADVANCED_SETTINGS_DEFAULT_VALUES = <table> {
 }
commented