PDA

View Full Version : CtrlGroupCast v0.09


sarf
09-10-2004, 08:28 AM
EDIT:
Upgraded it to new Interface version. Might be non-working. Optionally dependent on Cosmos (options should work now).

Greetings!

I've whipped together a module which will allow you to cast spells on specific group members.

It has quite a few bindings that need to be assigned - they should be rather self evident (since I lack the time currently to explain them).

Basically, after you've CtrlGroupCast-targeted someone, you just need to hold Ctrl while you use an action to use it on that person instead. Note that it will switch targets if necessary, but will switch back if possible.

CtrlGroupCast can be found here:
http://www.fukt.bth.se/~k/wow/scripts/CtrlGroupCast/

Post feedback, comments, suggestions et cetera here.

Sarf
---
Hard work may not kill me, but why take chances?

Anonymous
09-10-2004, 05:41 PM
I have tried this and an error occurs when you enter a group. Its a nil value error, line: 107.

I did however have a request that isnt too disimilar to this. Rather then creating a single key that automatically directs the casting to a single friendly unit, would it be at all possible to create a key that targets a player and then toggels between players? If a single key could be used to toggel between players it would be easy to re-Target the enemy by using /assist macro or key binding. Rather then go through the confusion of assigning single keys to single players and have to find the corresponding number to the corresponding position in the group, couldnt it be easier to just use a single key to switch between each chacter and then loop it around. I think this would be 10 times more efficient and eliminates the whole idea of searching for te right key for the right player.


The only problem is that you have to go through more pressing then you would using a direct hotkey for the chracter.

Also, for this function to automatically select one of the characters when you initially press it. That way, if you are not targeted on an ally it will automatically select the first group member and then go to him.

What do you think of this as a possible replacement or addition?

Allanth
09-10-2004, 05:42 PM
that post above was me btw, i just forgot to login

sarf
09-10-2004, 05:51 PM
EDIT: added new version notice

I have tried this and an error occurs when you enter a group. Its a nil value error, line: 107.
Ah. OK, thanks, I'll fix this.
New version is available now.

I did however have a request that isnt too disimilar to this. [snip]
What do you think of this as a possible replacement or addition?
Basically, I have "cycle Ctrl-target" built in as a binding in this mod - you can use it to cycle through your party list and then you simply Ctrl-cast something on that person. Sure, I could do a mod to simply change the target and cycle through your party if that is what you want. I'd like this AddOn to work first, though! :)

Sarf
---
EPICURE, n. An opponent of Epicurus, an abstemious philosopher who, holding that pleasure should be the chief aim of man, wasted no time in gratification from the senses.

Allanth
09-11-2004, 12:34 AM
Basically, I have "cycle Ctrl-target" built in as a binding in this mod - you can use it to cycle through your party list and then you simply Ctrl-cast something on that person.

awesome, thanks! didn't know that there was a keybinding option for selecting next group member. i guess i should just try this out first before requesting anything else. but the CtrlGroupCast has another string error.

String : CTRLGROUPCAST_TARGET_NEXT
Line : 1
Error : attempt to call global
'CtrlGroupCast_CycleCtrlTargetNext' (a nil value)

hope this helps and i'm looking forward to the working version!

sarf
09-11-2004, 09:32 AM
awesome, thanks! didn't know that there was a keybinding option for selecting next group member. i guess i should just try this out first before requesting anything else. but the CtrlGroupCast has another string error.
[report]

hope this helps and i'm looking forward to the working version!
Error corrected. New version uploaded.

Thanks for the report!

Sarf
---
Ethernet n., something used to catch the etherbunny

Allanth
09-11-2004, 09:41 PM
The following errors occurred when I tried to use the key bindings for "CtrlGroupCast on next player":

CGC: Error - could not find PartyMemberFrame1CtrlTargetIcon
CGC: Error - could not find PartyMemberFrame2CtrlTargetIcon
CGC: Error - could not find PartyMemberFrame3CtrlTargetIcon
CGC: Error - could not find PartyMemberFrame4CtrlTargetIcon
Ctrl Group Cast-target not changed; party member 1 was invalid.

This following error occurs when i try to use any hotkey on any hotbar:

String :
Interface\AddOns\CtrlGroupCast\CtrlGroupCas...
Line : 251
Error : attempt to call global 'IsCtrlKeyDown' (a nil value)

sarf
09-11-2004, 10:59 PM
The following errors occurred when I tried to use the key bindings for "CtrlGroupCast on next player":
[reports snipped]
Thanks for the feedback. Unfortunately, it seems that one can not have "freestanding" texture and attach them to other places... at least, I do not know how. I've made an attempt to do so, but I don't know if it works.
I will have to use cruder means if this fails - I can rather easily manipulate the master loot icon (which should be somewhat less used) or the names of the group members... if you would prefer me to implement such a hack-ish thing, please do tell. :)

New version up now. Try it out.

Sarf
---
EPICURE, n. An opponent of Epicurus, an abstemious philosopher who, holding that pleasure should be the chief aim of man, wasted no time in gratification from the senses.

Allanth
09-12-2004, 04:24 AM
OMG OMG OMG.. IT WORKs!! I love this, its so much easier.

However, my only beef with this Add-on is that you cant tell which group member you have tageted when you just use the Next player hotkey. There should be a little indicator that represents which character you have targeted without actually targeting. Does that make sence?

Anywho, it works awsome!! Thanks sarf!

sarf
09-12-2004, 10:16 AM
New version up.

This version takes over the MasterLooter icon and replaces it with its own stuff.

Try it out, and see if it is enough.

Perhaps I should add "[CTRL]" before the currently targeted group member instead?

Sarf
---
Colorless green ideas sleep furiously.

Allanth
09-12-2004, 08:46 PM
The second I log in, I get the following string error:

String:
Interface\AddOns\CtrlGroupCast\CtrlGroupCas...
Line: 224
Error: attempt to concatenate local 'lootMaster' (a nil value)

Hope you can get this working before the ST ends. I am really excited to see the unfinished-finished version.Goodluck!

sarf
09-12-2004, 09:57 PM
The second I log in, I get the following string error:
[snipped report]

Hope you can get this working before the ST ends. I am really excited to see the unfinished-finished version.Goodluck!
Fixed the error.

I'll see what I can do! :)

Sarf
---
Dying can be hazardous to your health.

sarf
09-12-2004, 11:58 PM
Even newer version.

After talking with people on the cosmostesters irc channel, I've found a better way of doing this. I also corrected an error that would have appeared with the other version (0.06 - it would've caused a nil error with lootMaster again).

Keep in mind that due to the entirely new way of dealing with the GUI components, it may cause new and exciting bugs! :)

Sarf
---
Frogs are my favorite vegetable.

Allanth
09-13-2004, 02:07 AM
Well, stress test just ended!

In anycase, i was able to try out the last version and ... i got another error. Looks like ill hafta wait a couple months before getting to see what the final version will do. Here is the error that i got

[string "Interface\AddOns\CtrlGroupCast\CtrlGroupCast..."]:155:attempt to index local 'currentIcon' (a string value)

Hope this helps. Anyway, wont be able to tell you if the lastest versions work or not becasue im no longer able to play, looks like youll have to play AlexanderYoshi's copy. Good Luck, and keep me updated!

sarf
09-13-2004, 07:45 AM
Well, stress test just ended!
Ah. :(

In anycase, i was able to try out the last version and ... i got another error. Looks like ill hafta wait a couple months before getting to see what the final version will do. Here is the error that i got
[snipped]
OK, fixed. Thanks for the report - I hope you get into the Beta from the contest thingy!

Hope this helps. Anyway, wont be able to tell you if the lastest versions work or not becasue im no longer able to play, looks like youll have to play AlexanderYoshi's copy. Good Luck, and keep me updated!
I sure will - and if you get more ideas, feel free to post them here. I'll have to find other people to test them, but hopefully I won't have to do that for long (European beta test, when are you going to come around?).

Many thanks for the suggestions, testing and reports!

Sarf
---
A clear conscience is usually the sign of a bad memory.