Go to Page... |
Compatibility: | Flames of Ambition (6.3.5) Markarth (6.2.5) Stonethorn (6.1.5) Greymoor (6.0.5) |
Updated: | 03/14/21 05:52 PM |
Created: | 12/23/20 03:28 PM |
Monthly downloads: | 87 |
Total downloads: | 3,199 |
Favorites: | 5 |
MD5: |
File Name |
Version |
Size |
Uploader |
Date |
1.3.1 |
10kB |
DewiMorgan |
01/06/21 12:41 AM |
|
1.3.0 |
8kB |
DewiMorgan |
01/03/21 08:57 PM |
|
1.2.1 |
7kB |
DewiMorgan |
12/31/20 04:50 AM |
|
1.2.0 |
7kB |
DewiMorgan |
12/30/20 10:34 PM |
|
1.1.0 |
7kB |
DewiMorgan |
12/24/20 03:37 PM |
|
1.0.0 |
7kB |
12/23/20 03:28 PM |
Comment Options |
12/24/20, 03:30 PM | |
Hope you're all finding this addon useful and easy to use.
If not, here's a good place to let me know! |
|
|
DewiMorgan |
View Public Profile |
Send a private message to DewiMorgan |
Find More Posts by DewiMorgan |
Add DewiMorgan to Your Buddy List |
DewiMorgan |
View Public Profile |
Send a private message to DewiMorgan |
Find More Posts by DewiMorgan |
Add DewiMorgan to Your Buddy List |
12/25/20, 09:41 AM | |
|
Thanks for the addon.
A few hints: Do not use numbers here in your if statement but use the defined constants that ZOs uses, so if they change them you won't run into problems: Code:
if 9 == currencyType If you want to be precise check the event/function parameters.n your case it is EVENT_CURRENCY_UPDATE, so search for it in th txt file. In there you'll find the parameters list of the callback function and their types: Code:
* EVENT_CURRENCY_UPDATE (*[CurrencyType|#CurrencyType]* _currencyType_, *[CurrencyLocation|#CurrencyLocation]* _currencyLocation_, *integer* _newAmount_, *integer* _oldAmount_, *[CurrencyChangeReason|#CurrencyChangeReason]* _reason_, *integer* _reasonSupplementaryInfo_) Code:
h5. CurrencyType * CURT_ALLIANCE_POINTS * CURT_CHAOTIC_CREATIA * CURT_CROWNS * CURT_CROWN_GEMS * CURT_EVENT_TICKETS * CURT_MONEY * CURT_NONE * CURT_STYLE_STONES * CURT_TELVAR_STONES * CURT_UNDAUNTED_KEYS * CURT_WRIT_VOUCHERS And instead of using your own texts like "Use", "Search" etc. use the predefined constants which Zos uses via SI_*whatever. These are numbers returning the text via GetText(SI_*) -> "Use" e.g. This way you got multi language support at once! And do not need to re-create the same strings over and over again. Here is the list of predefined texts that ZOs uses: https://github.com/esoui/esoui/blob/master/esoui/ingamelocalization/localizegeneratedstrings.lua e.g. Code:
"Search", -- SI_GAMECAMERAACTIONTYPE1 "Talk", -- SI_GAMECAMERAACTIONTYPE2 "Harvest", -- SI_GAMECAMERAACTIONTYPE3 "Disarm", -- SI_GAMECAMERAACTIONTYPE4 "Use", -- SI_GAMECAMERAACTIONTYPE5 "Read", -- SI_GAMECAMERAACTIONTYPE6 "Take", -- SI_GAMECAMERAACTIONTYPE7 "Destroy", -- SI_GAMECAMERAACTIONTYPE8 "Repair", -- SI_GAMECAMERAACTIONTYPE9 "Inspect", -- SI_GAMECAMERAACTIONTYPE10 "Repair", -- SI_GAMECAMERAACTIONTYPE11 "Unlock", -- SI_GAMECAMERAACTIONTYPE12 "Open", -- SI_GAMECAMERAACTIONTYPE13 "Examine", -- SI_GAMECAMERAACTIONTYPE15 "Fish", -- SI_GAMECAMERAACTIONTYPE16 "Reel In", -- SI_GAMECAMERAACTIONTYPE17 "Pack Up", -- SI_GAMECAMERAACTIONTYPE18 "Steal", -- SI_GAMECAMERAACTIONTYPE19 "Steal From", -- SI_GAMECAMERAACTIONTYPE20 "Pickpocket", -- SI_GAMECAMERAACTIONTYPE21 "Trespass", -- SI_GAMECAMERAACTIONTYPE23 "Hide", -- SI_GAMECAMERAACTIONTYPE24 "Preview", -- SI_GAMECAMERAACTIONTYPE25 "Exit Home", -- SI_GAMECAMERAACTIONTYPE26 "Excavate", -- SI_GAMECAMERAACTIONTYPE27 Use this script ingame to change to German language e.g. and move your cursor at the apple basket to see the exact text: Code:
/script SetCVar("language.2", "de") de German en English fr French ru Russian jp Japanese (only with the extra Japanese client) The same SI_ constants could be used for your addon. Here is how to support multi language in your addon: https://wiki.esoui.com/Addon_manifest_(.txt)_format#Variable_Expansion $(language) https://wiki.esoui.com/How_to_add_localization_support
Last edited by Baertram : 12/25/20 at 09:52 AM.
|
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
danbest82 |
View Public Profile |
Send a private message to danbest82 |
Find More Posts by danbest82 |
Add danbest82 to Your Buddy List |
DewiMorgan |
View Public Profile |
Send a private message to DewiMorgan |
Find More Posts by DewiMorgan |
Add DewiMorgan to Your Buddy List |
12/26/20, 04:00 AM | ||
Last edited by DewiMorgan : 12/26/20 at 04:17 AM.
|
||
|
DewiMorgan |
View Public Profile |
Send a private message to DewiMorgan |
Find More Posts by DewiMorgan |
Add DewiMorgan to Your Buddy List |
12/26/20, 07:04 AM | |||
|
Sure, you are welcome If you need translation help with German texts write me a PM please.
|
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
12/31/20, 12:47 AM | ||
|
||
|
DewiMorgan |
View Public Profile |
Send a private message to DewiMorgan |
Find More Posts by DewiMorgan |
Add DewiMorgan to Your Buddy List |
12/31/20, 09:44 AM | |||
Last edited by danbest82 : 01/01/21 at 01:17 AM.
|
|||
|
danbest82 |
View Public Profile |
Send a private message to danbest82 |
Find More Posts by danbest82 |
Add danbest82 to Your Buddy List |
06/05/23, 12:37 PM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
I started getting errors with Update 48 (Necrom). As with other addons using the FISHING_MANAGER in LUA, it needed some massaging to get working again. Some details are here (https://www.esoui.com/downloads/info....html#comments). Below are the updates I committed to make my addon work again.
Original Code: Code:
originalStartInteraction = FISHING_MANAGER.StartInteraction FISHING_MANAGER.StartInteraction = StartInteraction_hook Code:
local interactionManager = FISHING_MANAGER or INTERACTIVE_WHEEL_MANAGER originalStartInteraction = interactionManager.StartInteraction interactionManager.StartInteraction = StartInteraction_hook Code:
local assistantLookup = { ["Fezez"] = true, ["Ezabi"] = true, ["Pirharri the Smuggler"] = true, ["Tythis Andromo"] = true, ["Nuzhimeh"] = true, ["Giladil the Ragpicker"] = true, ["Ghrasharog"] = true, ["Peddler of Prizes"] = true, ["Zuqoth"] = true, ["Baron Jangleplume"] = true, ["Aderene"] = true, ["Factotum Commerce Delegate"] = true, ["Factotum Proptery Steward"] = true, ["Bastian Hallix"] = true, ["Ember"] = true, ["Isobel Veloise"] = true, ["Mirri Elendis"] = true, ["Azandar Al-Cybiades"] = true, ["Sharp-As-Night"] = true, } Special thanks to Baertram and DinoZavr for sharing the pointers on working around the FISHING_MANAGER situation. Feel free to test and share experiences here.
Last edited by snatch : 06/05/23 at 12:42 PM.
|
|
snatch |
View Public Profile |
Send a private message to snatch |
Find More Posts by snatch |
Add snatch to Your Buddy List |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.