Page 1 of 1

[b42] How do I edit code?

Posted: Thu Oct 04, 2012 1:25 am
by jenx
I've created an addon in the past, but it was very painstaking. I renamed .team to .zip. Unzipped. changed code. Rezipped. rename .zip to .team. tried.

If I don't do this way, I can't get the program to run.

Surely there is a faster way to be in a development type mode, where I can change code, load tome and see if it works? it is the renaming and zipping and unzipping that takes so long.

Re: [b42] How do I edit code?

Posted: Thu Oct 04, 2012 1:45 am
by bricks
It should function just as well with the relevant addon folder in the addon directory.

Re: [b42] How do I edit code?

Posted: Thu Oct 04, 2012 2:01 am
by jenx
so remind me, as I can't remember how to do this, as it was 4-5 months ago and I'm not a programmer by trade. I'm overwriting Combat.lua at the moment. So I put my own Combat.lua in the addon folder as a zipped file and then just load the game? Or is there more to it than this.

Re: [b42] How do I edit code?

Posted: Thu Oct 04, 2012 4:34 am
by lukep
The easiest way to show how it works is to just unzip any addon into the "addons" folder. It should come out with everything in the right places. (make sure it keeps a containing folder)