
The last two lines are the filenames of the files we want to include to our AddOn. Note: is a description that will be shown under the title. Title: is the title of the AddOn that will appear in the AddOn list at the character select screen. If you want to know how to get the current number look hereĬurrent Interface number: 30300 (07 January 2010) Interface: tells World of Warcraft for which client version the AddOn was written. toc file format I recommend you visit the wowwiki page about it.

If you really want to learn everything about the. Now open the WoWProFit.toc file and write the following lines:Įvery line with a # in the front represents a parameter. So, in your AddOns folder, create a new folder called « WoWProFit » and create the following files:

toc file has to have the same name as this folder. As said above, all our files have to be in their own folder and our. So never despair, keep cool and have fun!īefore we actually start coding we will prepare the file and order structure. Nevertheless you have to note, that this Guide won’t give you ALL information you need to write professional AddOns like Cartographer or TourGuide, but it is definitely a step in the right direction WoW-ProFit includes pretty much everything that is needed for this « basic » introduction. Additionally it keeps track over all the session since it’s installation and can display the all-time profit/deficit. The little AddOn you will write during this guide will show you exactly how much money you have spent or earned in the current playing session. The star means that there are some visible changes, so it might be a good idea to look at your AddOn in the game. The blue segment contains the explanations for what has been done in the code.

The purple segment is the place for lua code-snippets The grey segment is the place for XML code-snippets The green segment will have a short introduction on what will be done in this step The steps can consist out of three different « segments »: (That’s why the WoW-ProFit AddOn won’t be available as a download!)Īs you will see, the Guide is based on steps. No seriously, please don’t just read the guide an try to memorize something, this would have absouletely no use and it would completely spoil the fun you have while writing your first own AddOn. This guide has been written for learning-by-doing, so roll up your sleeves and prepare for hard work!
