Download
(5 Kb)
Download
Updated: 08/23/21 09:21 AM
Compatibility:
Waking Flame (7.1.5)
Blackwood (7.0.5)
Updated:08/23/21 09:21 AM
Created:02/15/15 02:57 PM
Monthly downloads:19
Total downloads:5,415
Favorites:9
MD5:
Hello World  Popular! (More than 5000 hits)
Version: 3.8
by: Kelnoreem [More]
Each time I learn a new programming language, I make a Hello World program. With ESO, there is not just LUA to learn, but
also the ESO addon process.

This Hello World addon will display a Hello World window, which changes with each ESO zone you are in. The program can also be used
as a skeleton for initially starting other addons.

This addon covers the following areas of ESO addons:
- manifest file
- separation of lua files for window, menu, startup
- key binding in settings->controls
- window display
- settings->addons entry
- saving data
- loading data, initial data
- comments useful for new addons, references to ESO addon wiki

-- The ESO Wiki main page is at http://wiki.esoui.com/Main_Page
-- data for API's can be found at: http://esodata.uesp.net/100010/
==================================
Summary of changes: 3.8
==================================
Update to API 101031 (Waking Flames)

==================================
Summary of changes: 3.7
==================================
Update to API 100031 (Flames of Ambition)

==================================
Summary of changes: 3.6
==================================
Update to API 100031 (Greymore)

==================================
Summary of changes: 3.5
==================================
Update to API 100030 (Harrowstorm)
removed addon lib folder

==================================
Summary of changes: 3.4
==================================
LibMenu API bump to r30
Update to API 100029 (Dragonhold)

==================================
Summary of changes: 3.3
==================================
Update to API version 100025 (Murkmire)

==================================
Summary of changes: 3.2
==================================
Update to API version 100024 (Wolfhunter)

==================================
Summary of changes: 3.1
==================================
Update to API version 100023 (Summerset)
and LibMenu to r25

==================================
Summary of changes: 2.11
==================================
Update to API version 100022 (Dragon Bones)
and LibMenu to r25

==================================
Summary of changes: 2.10
==================================
Update to API version 100021 (Clockwork City)
and LibMenu to r25

==================================
Summary of changes: 2.9
==================================
Update to API version 100020 (Horns of the Reach)
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Uploader
Date
3.7
5kB
Kelnoreem
03/01/21 11:34 AM
3.6
5kB
Kelnoreem
05/12/20 05:32 PM
3.5
5kB
Kelnoreem
02/24/20 10:37 AM
3.4
53kB
Kelnoreem
10/21/19 10:10 AM
3.3
50kB
Kelnoreem
10/22/18 10:10 AM
3.2
50kB
Kelnoreem
08/24/18 01:10 PM


Post A Reply Comment Options
Unread 05/12/20, 04:01 PM  
satchmo1991
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 5
Uploads: 1
Thanks for this resource!

I just wanted to say thanks for this addon! It's really helped me improve my own addon, and I think it's really great that you've made this available for us! Cheers!
Report comment to moderator  
Reply With Quote
Unread 08/26/18, 09:07 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Check out this library:
http://www.esoui.com/downloads/info989-LibMainMenu.html

Originally Posted by Fetaro
Firstly, your work is great. Kudos for you, it's helping me.

But I really wish someone could explain clearly how to add a tab to a vanilla window and display something in

it. All I have found this far is outdated (18 months old for the most recent one), and the API doesn't work anymore like that.

As for existing add-ons that do such UI modificationz, they are very complex, and the concerned code is drowned.
Report comment to moderator  
Reply With Quote
Unread 05/27/17, 02:53 PM  
Fetaro

Forum posts: 2
File comments: 4
Uploads: 0
Firstly, your work is great. Kudos for you, it's helping me.

But I really wish someone could explain clearly how to add a tab to a vanilla window and display something in it. All I have found this far is outdated (18 months old for the most recent one), and the API doesn't work anymore like that.

As for existing add-ons that do such UI modificationz, they are very complex, and the concerned code is drowned.
Last edited by Fetaro : 05/27/17 at 02:54 PM.
Report comment to moderator  
Reply With Quote
Unread 07/14/16, 11:07 AM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
Originally Posted by Lagencie
Hmm im just new, but im not really sure about this line

Code:
em:UnregisterForEvent("HelloWorldSkeletonInitialize", EVENT_ADD_ON_LOADED)
You never registered an Event named HelloWorldSkeletonInitialize - the registration was made here:

Code:
em:RegisterForEvent(HWS.name, EVENT_ADD_ON_LOADED, function(...) HWS.Initialize(...) end)
with HWS.name = "HelloWorldSkeleton"

Does it auto-combine called function + addonname on registering?
We all are new in one way or another, welcome! I looked at the code, and then with some other addons, and I see the name should match. I will update the code, test it, and make a new deploy.
Report comment to moderator  
Reply With Quote
Unread 07/09/16, 02:12 PM  
Lagencie
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 8
Uploads: 1
Hmm im just new, but im not really sure about this line

Code:
em:UnregisterForEvent("HelloWorldSkeletonInitialize", EVENT_ADD_ON_LOADED)
You never registered an Event named HelloWorldSkeletonInitialize - the registration was made here:

Code:
em:RegisterForEvent(HWS.name, EVENT_ADD_ON_LOADED, function(...) HWS.Initialize(...) end)
with HWS.name = "HelloWorldSkeleton"

Does it auto-combine called function + addonname on registering?
Report comment to moderator  
Reply With Quote
Unread 07/05/16, 06:53 PM  
Kelnoreem
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 41
Uploads: 3
Originally Posted by cosh
Indeed, this package has two spicy mistakes.
1. Look closely to the name of the zip. The name of the addon folder must match the manifest file name.
2. Normally (as a convention) the zip contains the addon folder in its root. Not the files directly.
I have updated the addon to fix these two items. Looks like I need to automate the zip creation.
Last edited by Kelnoreem : 07/06/16 at 04:02 PM.
Report comment to moderator  
Reply With Quote
Unread 04/05/16, 12:18 PM  
cosh
 
cosh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
Originally Posted by votan
Indeed, this package has two spicy mistakes.
1. Look closely to the name of the zip. The name of the addon folder must match the manifest file name.
2. Normally (as a convention) the zip contains the addon folder in its root. Not the files directly.

HellowWorldSkeleton\HelloWorldSkeleton.txt

And welcome to the addon devs
Thank you for helpful answer, votan! Now it works fine.
Report comment to moderator  
Reply With Quote
Unread 04/05/16, 11:42 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by cosh
I've installed this mod. I see it in ADD-ONS list (it isn't out of date). But I don't see any HelloWorld window
Also, there are no settings for this mod in SETTINGS->Addon Settings and Settings->Add-Ons. And no keybindings in CONTROLS->Keybindigs.
Any tips how to make it works?
Indeed, this package has two spicy mistakes.
1. Look closely to the name of the zip. The name of the addon folder must match the manifest file name.
2. Normally (as a convention) the zip contains the addon folder in its root. Not the files directly.

HellowWorldSkeleton\HelloWorldSkeleton.txt

And welcome to the addon devs
Report comment to moderator  
Reply With Quote
Unread 04/05/16, 04:08 AM  
cosh
 
cosh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
I've installed this mod. I see it in ADD-ONS list (it isn't out of date). But I don't see any HelloWorld window
Also, there are no settings for this mod in SETTINGS->Addon Settings and Settings->Add-Ons. And no keybindings in CONTROLS->Keybindigs.
Any tips how to make it works?
Report comment to moderator  
Reply With Quote
Unread 02/24/15, 06:46 AM  
Migoda
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 79
Uploads: 1
Thanks, its very helpful for learning the basics.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: