Download
(6Kb)
Download
Updated: 03-08-11 06:37 AM
Updated:03-08-11 06:37 AM
Created:12-07-10 08:41 AM
Downloads:3,078
Favorites:21
MD5:

Auto Transform

Version: 2.2
by: SDPhantom [More]

-=Notice=-

As of patch 4.1, the entire transformation API has been removed from the game. Transformations are now exclusively triggered through the spell system and is impossible to set it up automatically. Sorry to say, this addon is permanently broken.






Auto Transform is a transformation engine written to handle transformations of specific races/classes. Currently, only Worgen use the transformation mechanic, but this redesign of Worgen Auto Transform adds the ability to expand to any future characters using this mechanic.


Version 2.2 fixes an occasional trigger failure on buff fade events concerning Darkflight and Running Wild. Also included is a movable TimerUI button that displays addon status along with the current timer for any pending transformations.


The TimerUI button reacts to clicks in the following ways:
Left-Click: Triggers an immediate transform if possible.
Right-Click: Toggles the addon on/off.
Middle-Click: Opens the options panel.


The TimerUI button also displays the addon status by color code:
Normal: The addon is running and fully functional.
Red: The game client is restricting transformations.
Blue: The addon is turned off.


List of current transformation events being handled for specific races/classes:

  • Worgen - Exiting combat, expiration of Darkflight, canceling Running Wild, and a fix for transforming into a druid form.


Options can be changed through the new options panel in Interface Options or through the slash command system.
These commands can be accessed by typing /autotransform, /autotrans, or /atf
Auto-Transform Usage: /autotransform [options]
Options:
help - Shows this message.
delay [n] - Sets base delay to [n] seconds.
toggle - Toggles active state.
options - Displays options GUI. (Default action)

2.2 (2011-03-08)
-Added TimerUI button and Options panel
-Fixed occasional failure to trigger on buff fading (Darkflight and Running Wild)

2.1 (2010-12-15)
-Fixed delay timer cancel on manual transform
-Extended module API for new cancel condition type

2.0 (2010-12-13)
-Rewrote entire codebase to support delayed transforms
-New slash command system
-Option to set a base delay
-Delay timer cancels on manual transform
-Added Druid fix for Worgen

1.0 (2010-12-07)
-Initial Version
Optional Files (2)
File Name
Version
Size
Author
Date
Type
1.0
1022B
12-09-10 10:02 PM
Addon
1.0
692B
12-09-10 10:00 PM
Addon


Post A Reply Comment Options
Unread 04-28-11, 08:10 PM  
kanezfan
A Murloc Raider

Forum posts: 5
File comments: 8
Uploads: 0
wow, that really sucks. man this really puts a damper on me playing a worgen now
Report comment to moderator  
Reply With Quote
Unread 04-28-11, 05:36 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
The entire transformation API has been removed from the game. Transformations are now exclusively triggered through the spell system and as such, is impossible to set it up automatically. Sorry to say, this addon is permanently broken.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 04-28-11, 04:56 AM  
kanezfan
A Murloc Raider

Forum posts: 5
File comments: 8
Uploads: 0
Originally posted by SDPhantom
There's talk they removed the Transform() function. I'm still in the process of downloading the patch, so it'll be a day or two before I can see what's going on.
Ah ok, thank you for checking it out, really appreciate it
Report comment to moderator  
Reply With Quote
Unread 04-28-11, 04:42 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
There's talk they removed the Transform() function. I'm still in the process of downloading the patch, so it'll be a day or two before I can see what's going on.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 04-28-11 at 05:36 AM.
Report comment to moderator  
Reply With Quote
Unread 04-27-11, 05:32 AM  
kanezfan
A Murloc Raider

Forum posts: 5
File comments: 8
Uploads: 0
Not working anymore

Hey maybe it's just me, but the add-on isn't recognizing that my toon is a worgen anymore :/
Report comment to moderator  
Reply With Quote
Unread 03-08-11, 06:40 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
Version 2.2 is now out with an options panel and a new TimerUI button.
There are also a couple bug fixes in this release.
Details are on the addon info page.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 12-16-10, 02:43 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
Originally posted by varulv
Perhaps another idea is to add options for the timer, like "Transform after being out of combat after X seconds" makes a little sense RP wise, takes a while to "cool" down your blood and transform back to human form, and it will be nicer for dungeons, since i found myself transforming too much between pulls... annoying other players some times .
You can do something like the following command to set the global delay to 3 seconds for example.
Code:
/atf delay 3
For some events like the Druid fix will ignore this and still proc instantly as needed. This is because the game "forces" you to transform into a worgen when you enter a druid form. It needs to instantly "force" a transformation back before anything else can happen that would confuse the process. Regardless of what form you were in, this would have you appear back as a human when coming out of a druid form. Currently, there is no API function that can tell the addon whether you're in worgen form or human form internally (this is a different memory area than stances/shapeshift). There is a workaround I've experimented with before, creating a DressUpModel and checking the model file used. DressUpModels differ from PlayerModels in which the model is always in "caster form" no matter what druid form they're currently in. One problem is the UNIT_MODEL_CHANGED event never fires if a racial transform occurs while in a druid form. However, UNIT_FLAGS does fire for the Worgen transformations. The second problem is, updating the DressUpModel takes a lot of CPU time and it may not be worth the effort in a high-load environment.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 12-16-10 at 02:47 AM.
Report comment to moderator  
Reply With Quote
Unread 12-16-10, 01:15 AM  
varulv
A Murloc Raider

Forum posts: 6
File comments: 8
Uploads: 0
Perhaps another idea is to add options for the timer, like "Transform after being out of combat after X seconds" makes a little sense RP wise, takes a while to "cool" down your blood and transform back to human form, and it will be nicer for dungeons, since i found myself transforming too much between pulls... annoying other players some times .
Report comment to moderator  
Reply With Quote
Unread 12-15-10, 12:17 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
Originally posted by Mightylink
Ah just found a small bug, when you use two forms to turn back into a human, the addon turns you back into a worgen after the delay timer, you should make it so when you use two forms it cancles the timer.
Oh, right.... I covered that with /transform and forgot about the spell version.



If you still feel like working on it then maby add a config ui, get it to show up in the addons tab, add more options like wether to transform in cities or certain zones or not, idk just pitching ideas now.

Maby add a small optional progress bar just above the character frame that shows how much time left until you auto transform, be kind of like your angry meter where the min value will be when you transform and the max value is whatever delay the player set.
I'll look into adding some UI elements after I work out the remaining bugs in the base code. A timer progress bar would add an area to notify the user if a problem preventing transformation has occurred with Blizzard's end. This happens a lot, especially with Running Wild and teleporting or using portals.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 12-15-10 at 02:38 AM.
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 09:58 PM  
Foobs
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Thanks man, I'm really enjoying your work-- I hope whatever that other modder is doing stops and if anything you get proper credit for your work.

I noticed a lot of praise being given to him for what I know is your idea. That should actually be given to you, I hope the site does something about real quick.

Thanks for your hard work!!
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 09:49 PM  
Mightylink
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Awesome update! Keep up the good work.

[EDIT] Ah just found a small bug, when you use two forms to turn back into a human, the addon turns you back into a worgen after the delay timer, you should make it so when you use two forms it cancles the timer.

I can't think of anything else to add to it now, its perfect the way it is.

If you still feel like working on it then maby add a config ui, get it to show up in the addons tab, add more options like wether to transform in cities or certain zones or not, idk just pitching ideas now.

Maby add a small optional progress bar just above the character frame that shows how much time left until you auto transform, be kind of like your angry meter where the min value will be when you transform and the max value is whatever delay the player set.

Anyway thanks for 2.0 I love it.
Last edited by Mightylink : 12-14-10 at 10:03 PM.
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 03:10 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
Originally posted by varulv
Hey SDPhantom, thanks a BUNCH for this.. there's also a "worgen auto transform" addon on curse, was wondering if we're talking about the same addon.
I haven't published on curse honestly...
I took a look at their source code and it looks to be their own, however it only handles leaving combat and nothing else.
It's mere coincidence that addon was released a day after my initial code.

Anyway, got a question for you: owning a very old PC, i wanted to know just how 'light' is this script exactly? Thanks in advance.
I haven't run any time tests except between the CLEU and UNIT_AURA triggers to see which was more efficient. There really isn't much this addon does other than keep track of an internal timer for delayed transform and the events that trigger it.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 04:51 AM  
varulv
A Murloc Raider

Forum posts: 6
File comments: 8
Uploads: 0
Hey SDPhantom, thanks a BUNCH for this.. there's also a "worgen auto transform" addon on curse, was wondering if we're talking about the same addon.

Anyway, got a question for you: owning a very old PC, i wanted to know just how 'light' is this script exactly? Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 12-13-10, 03:10 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2308
File comments: 132
Uploads: 38
Originally posted by Spycatcher
Hey SD...i think someone stole your addon and is trying to make it his own...check it out

http://www.wowinterface.com/download...cher.html#info
Thanks for the notice. I took a look at the code and despite all the variable names changed and the condition structure is different, They're using the exact same dual-transform method I developed in beta. Even all the checks are intact to prevent transforming twice when a transform is queued and an instant is triggered. This notice has been sent to the WoWI staff for review.

In addition, the new version Auto Transform is out and I hope everyone enjoys it. Druid transforms are fixed and a base delay option is available to be set through the slash command on the info page. Some transforms like the Druid fix ignore the transformation delay and run instantly.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 12-13-10, 12:00 PM  
Spycatcher
A Deviate Faerie Dragon

Forum posts: 10
File comments: 2
Uploads: 0
Hey SD...i think someone stole your addon and is trying to make it his own...check it out

http://www.wowinterface.com/download...cher.html#info
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: