Quantcast
Download
(50 Kb)
Download
Updated: 11/14/17 10:07 AM
Compatibility:
Clockwork City (3.2)
Updated:11/14/17 10:07 AM
Created:02/15/15 02:57 PM
Monthly downloads:39
Total downloads:1,167
Favorites:6
MD5:
3.2
Hello World  Updated this week!
Version: 2.9
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: 2.9
==================================
Update to API version 100020 (Clockwork City)
and LibMenu to r25

==================================
Summary of changes: 2.8
==================================
Update to API version 100019 (Morrowind)

==================================
Summary of changes: 2.7
==================================
Update to API version 100018 (Homestead)

==================================
Summary of changes: 2.6
==================================
Update to API version 100016 (Shadows of the Hist)

==================================
Summary of changes: 2.5.1
==================================
The name used in em:RegisterForEvent and em:UnregisterForEvent should match.

==================================
Summary of changes: 2.5
==================================
Fixed two spicy mistakes:
1. The name of the addon folder must match the manifest file name.
2. Convention) is the zip contains the addon folder in its root. Not the files directly.

==================================
Summary of changes: 2.4
==================================
Update to API version 100014 (Dark Brotherhood)
Updated LibAddonMenu to 20
Updated LibStub to 4

==================================
Summary of changes: 2.3
==================================
Update to API version 100014 (Thieves Guild)

==================================
Summary of changes: 2.2
==================================
Updated to API version 100013 (Orsinium)

==================================
Summary of changes: 2.1
==================================
Updated API version for ESO 2.1

==================================
Summary of changes: 1.8
==================================
Update to LibAddonMenu-2.0r18

==================================
Summary of changes: 1.7
==================================
ESO update 6

==================================
Summary of changes: 1.3
==================================
LibAddonMenu Version: 2.0 r17

==================================
Summary of changes: 1.1
==================================
- added comments and organized so this can
be used as a skeleton for other addons
- update from libMenu 1.0 to 2.0


==================================
Summary of changes: 1.0
==================================
- initial creation
- added key binding
- used libMenu 1.0 to 2.0 bridge
- used libMenu 1.0
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Author
Date
2.8
48kB
Kelnoreem
05/22/17 10:55 AM
2.7
47kB
Kelnoreem
02/06/17 12:33 PM
2.6
47kB
Kelnoreem
08/01/16 12:51 PM
2.5.1
47kB
Kelnoreem
07/14/16 11:19 AM
2.5
47kB
Kelnoreem
07/05/16 06:51 PM
2.4
47kB
Kelnoreem
06/01/16 02:14 PM
2.3
41kB
Kelnoreem
03/07/16 04:50 PM
2.3
42kB
Kelnoreem
11/13/15 08:19 PM
2.1
42kB
Kelnoreem
08/31/15 01:35 PM
1.8
42kB
Kelnoreem
08/29/15 02:12 PM
1.3
34kB
Kelnoreem
03/03/15 01:44 PM
1.2
34kB
Kelnoreem
02/26/15 01:19 PM
1.1.1
30kB
Kelnoreem
02/15/15 07:28 PM
1.1.0
30kB
Kelnoreem
02/15/15 02:57 PM


Post A Reply Comment Options
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: 7
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.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
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: 7
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.
__________________
Curiosity is the cure for boredom, there is no cure for curiosity.
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: 22
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: 418
File comments: 781
Uploads: 21
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
__________________
@votan73 (EU - megaserver)
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: 22
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: 14
File comments: 77
Uploads: 1
Thanks, its very helpful for learning the basics.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: