Quantcast Give me some tips, please - WoWInterface
Thread Tools Display Modes
05-22-13, 11:35 PM   #1
A Kobold Labourer
Join Date: May 2013
Posts: 1
Cool Give me some tips, please

I'm wanted to make an autocast addon for instances. It's possible, i think. GCD isn't a problem. I'm using OnUpdate. Sure, the source code will be large, but easy. So, i just begin start coding. I wrote the code - maybe it will be for you a mess. Just one thing what i can't deal with. I'm starting to explain the code.

SLASH_HEALER = '/healer', '/heal';
SLASH_DPSM = '/dpsm';
SLASH_DPSH = '/dpsh';
SLASH_DPSP = '/dpsp';
local function handler(msg, editbox)
 if msg == '/heal' then
  goto heal
 elseif msg == '/dpsm'then
  goto dpsmage;
 elseif msg == '/dpsh' then
  goto dpshunter
 elseif msg == '/dpsp' then
  goto dpspriest
i think it's not too hard to understand. i used wowwiki's guide to write a command. i don't think it's perfect i just didn't found here any problem.
i made some labels for heal, dpsmage and so on.
i'm making this addon for myself. i made 5 accounts in a private server. all of it will have a 80 player (yes, wotlk 3.3.5a). two priest, one paladin, one hunter and one mage. so, i used CastSpellByName.
i wrote next the labels. went fine, and here comes the problem.
this is my toc file
## Interface: 12340
## Title: Raid BoT
## Notes: "Not yet complete"
## Version: 1.0
My client says: incompatible. Yea, i don't have any *.xml files, 'cause if i did understand well, then i don't need any of those. (It is for frames)

I'm waitain' for useful tips. i don't want to hear about it's impossible, you are crazy it won't work, so on. i know that is possible, just need to think. i attach my lua files.
my toc file is up there.

Last edited by Cairenn : 05-23-13 at 01:00 AM.
05-23-13, 12:59 AM   #2
Credendo Vides
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,094
Discussion of Private Servers, in any manner other than theoretical, is completely against our rules. We are an Official Fan Site. We follow Blizzard's rules, on top of our own rules.

Threads requesting assistance with Private Servers get locked. Repeated postings get you banned.
“Do what you feel in your heart to be right — for you’ll be criticized anyway.” ~ Eleanor Roosevelt
Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Avatar Image by RaffaeleMarinetti

WoWInterface » General Discussion » Tech Chat » Give me some tips, please

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off