[b42] How do I edit code?

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

[b42] How do I edit code?

#1 Post 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.
MADNESS rocks

bricks
Sher'Tul
Posts: 1262
Joined: Mon Jun 13, 2011 4:10 pm

Re: [b42] How do I edit code?

#2 Post by bricks »

It should function just as well with the relevant addon folder in the addon directory.
Sorry about all the parentheses (sometimes I like to clarify things).

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: [b42] How do I edit code?

#3 Post 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.
MADNESS rocks

lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

Re: [b42] How do I edit code?

#4 Post 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)
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Post Reply