Plugin: MQ2AASpend -- AutoAAspender plugin

Status
Not open for further replies.
.ini support for this would be most festive and make me smile =)
 
Well, here is my ghetto like .ini mac to set up aaspend without having to type it out every time I log or go LD, thought I'd share.


AAshop.mac
Code:
| To be used as a ghetto .ini for plugin mq2aaspend, you must have mq2aaspend loaded for this to work
| Edit where it says "aa" to the aa you want purchased

Sub Main

/echo must have aaspend plugin loaded for this to work
/echo setting up aa buy list
/delay 3s
/popup Setting up aaspend list, one moment please
/aaspend setauto "aa" 1
/aaspend setauto "aa" 2
/aaspend setauto "aa" 3
/aaspend setauto "aa" 4
/aaspend setauto "aa" 5
/aaspend setauto "aa" 6
/aaspend setauto "aa" 7
/aaspend setauto "aa" 8
/aaspend setauto "aa" 9
/aaspend setauto "aa" 10
/aaspend auto
/delay 3s
/popup Your one lazy bastard...
/end
 
gome_One,

I took it one step further and added to yours to check for the plugin and see if it is loaded. If not it will load it if it is there.

Code:
| To be used as a ghetto .ini for plugin mq2aaspend
| Edit where it says "aa" to the aa you want purchased

Sub Main
/if (!${Plugin[MQ2AASpend].Name.Length}) { 
    /squelch /plugin MQ2AASpend noauto 
    /delay 1s
    /if (!${Plugin[MQ2AASpend].Name.Length}) {
         /echo You don't seem to have the plugin MQ2AASpend in your MQ2 folder!
         /end
        } 
    }
/echo must have aaspend plugin loaded for this to work
/echo setting up aa buy list
/delay 3s
/popup Setting up aaspend list, one moment please
/aaspend setauto "aa" 1
/aaspend setauto "aa" 2
/aaspend setauto "aa" 3
/aaspend setauto "aa" 4
/aaspend setauto "aa" 5
/aaspend setauto "aa" 6
/aaspend setauto "aa" 7
/aaspend setauto "aa" 8
/aaspend setauto "aa" 9
/aaspend setauto "aa" 10
/aaspend auto
/delay 3s
/popup Your one lazy bastard...
/end
Matt
 
So

Is this working atm? I am using atm, and working fine, am worried about if say I am not lvl 80, and cannot buy certain aa, that this will get stuck there.
 
does this work any more

does this aaspend work anymore
 
As of last compile this is not working.

It loads but will not function, Ie: /aaspend brute.
 
with the struct updates probably moved the AA section
 
You can do it with window functions but no other plugin that I know of. the AA.inc is also messed up atm if not mistaken
 
AAspend

Has anyone gotten this to work lately? I could use some help on setting it up.

I want to be able to use the ini file to buy aa rather than manually entering the aa's every time I restart mq. I have am also aware of the macro that loads the aa's but thats not what I'm looking for.

Here is what I have tried so far:

1. loaded /plugin mq2aaspend
2. Edited the server/name in the aa.ini in the macro folder like this [bla-blaServer_Chucknorris]
3. /aaspend auto
4. I have also put an "#include aa.inc" in my macro I'm running on the toon.

The best success I can get is when I start my macro it will go thru the aa.ini and try and buy all the stuff down the list. However it will not check the ini when i get more aa's

Questions:
1. Is the "aa.ini" suppose to be in the macro folder or in the main folder? its in my macro folder ATM.
2. is "aa.inc" the correct name that the file is suppose to be that /aaspend reads from?



Any suggestion would help
 
the ini function on loading doesnt work you have to manually put in the AAs you wish to spend.


I just put them into a macro and run that

Have macro issue /aaspend auto on
/aaspend auto "AAName" 1
/aaspend auto "AAName" 2
soforth
 
Here is a macro i setup to run in my character.cfg file, so every character runs it to load their auto AA's per character. I only changed the sections header names to protect my innocent characters :) It will also take a command line macro that it will run after it is finished, ie, /mac aaspend modbot, will run the aaspending setup, then run the modbot macro afterwards. It works well for me. just replace the ******** with your characters name and change the AA's you want.

Code:
| To be used as a ghetto .ini for plugin mq2aaspend
| Edit where it says "aa" to the aa you want purchased

Sub Main
	|Added in the plugin unload at the first to handle whne plugin is already set to auto
	/squelch /plugin MQ2AASpend unload
	/delay 1s
	
	/if (!${Plugin[MQ2AASpend].Name.Length}) { 
		/squelch /plugin MQ2AASpend
		/delay 1s
		/if (!${Plugin[MQ2AASpend].Name.Length}) {
			/echo You don't seem to have the plugin MQ2AASpend in your MQ2 folder!
			/end
		} 
	}
	/echo must have aaspend plugin loaded for this to work
	/echo setting up aa buy list
	/delay 3s
	/popup Setting up aaspend list for ${Me.CleanName}, one moment please
	
	/Call ${Me.CleanName}
	
	/aaspend auto
	/delay 3s
	/popup Your one lazy bastard...
	
	|segment to autorun secondary macro if placed on command line
	/if (${Defined[Param0]}) {
			
			/mac ${Param0}
	}

/return

Sub ********
		/aaspend setauto "Hastened Defiance" 1
		/aaspend setauto "War Cry" 2
		/aaspend setauto "Enhanced Aggression" 3
		/aaspend setauto "Heightened Endurance" 4
		/aaspend setauto "Shielding Resistance" 5
		/aaspend setauto "Mark of the Mage Hunter" 6
		/aaspend setauto "Quick Draw" 7
		/aaspend setauto "Warlord's Deadly Aim" 8
		/aaspend setauto "Fear Resistance" 9
		|/aaspend setauto "Finishing Blow"
		|/aaspend setauto "Tailoring Mastery"
		|/aaspend setauto "Punishing Blade"
		|/aaspend setauto "Salvage"
		|/aaspend setauto "Pottery Master"
		|/aaspend setauto "Packrat"
		|/aaspend setauto "New Tanaan Crafting Mastery"
		|/aaspend setauto "Jewel Craft Mastery"
		|/aaspend setauto "Innate Wisdom"
		|/aaspend setauto "Innate Strength"
		|/aaspend setauto "Innate Stamina"
		|/aaspend setauto "Innate See Invis"
		|/aaspend setauto "Innate Regeneration"
		|/aaspend setauto "Innate Poison Protection"
		|/aaspend setauto "Innate Magic Protection"
		|/aaspend setauto "Innate Lung Protection"
		|/aaspend setauto "Innate Intelligence"
		|/aaspend setauto "Innate Fire Protection"
		|/aaspend setauto "Innate Disease Protection"
		|/aaspend setauto "Innate Dexterity"
		|/aaspend setauto "Innate Cold Protection"
		|/aaspend setauto "Innate Charisma"
		|/aaspend setauto "Innate Agility"
		|/aaspend setauto "Hastened Origin"
		|/aaspend setauto "Foraging"
		|/aaspend setauto "Fletching Mastery"
		|/aaspend setauto "Energetic Attunement"
		|/aaspend setauto "Discordant Defiance"
		|/aaspend setauto "Brewing Mastery"
		|/aaspend setauto "Blacksmithing Mastery"
		|/aaspend setauto "Baking Mastery"
		|/aaspend setauto ""
		|/aaspend setauto ""
/return

Sub ********
		/aaspend setauto "Combat Stability" 1
		/aaspend setauto "Combat Agility" 2
		/aaspend setauto "Recourse of Life" 3
		/aaspend setauto "Celestial Hammer" 4
		/aaspend setauto "Hastened Sanctuary" 5
		/aaspend setauto "Recourse of Life" 6
		/aaspend setauto "Divine Avatar" 7
		/aaspend setauto "Hastened Divine Avatar" 8
		/aaspend setauto "Divine Retribution" 9
/return

Sub ********
		/aaspend setauto "Hastened Origin" 1
		/aaspend setauto "Shield Block" 2
		/aaspend setauto "Persistent Minion" 3
		/aaspend setauto "Companion's Blessing" 4
		/aaspend setauto "Destructive Fury" 5
		/aaspend setauto "Expansive Mind" 6
		/aaspend setauto "Fortify Companion" 7
		/aaspend setauto "Fury of Magic" 8
		/aaspend setauto "Spell Casting Fury" 9
/return

Sub ********
		/aaspend setauto "Twisted Shank" 1
		/aaspend setauto "Veteran's Wrath" 2
		/aaspend setauto "Seized Opportunity" 3
		/aaspend setauto "Knave's Return Strike" 4
		/aaspend setauto "Ligament Slice" 5
		/aaspend setauto "Nerves of Steel" 6
		/aaspend setauto "Ferocity" 7
/return

Sub ********
	/aaspend setauto "Bandage Wounds" 1
	/aaspend setauto "Combat Medic" 2
	|/aaspend setauto "" 3
	|/aaspend setauto "" 4
	|/aaspend setauto "" 5
	|/aaspend setauto "" 6
	|/aaspend setauto "" 7
	|/aaspend setauto "" 8
	|/aaspend setauto "" 9
/return

Sub ********
	/aaspend setauto "Shield Block" 1
	/aaspend setauto "Combat Stability" 2
	/aaspend setauto "Combat Agility" 3
	/aaspend setauto "Delay Death" 4
	/aaspend setauto "Mastary of the Past" 5
	/aaspend setauto "Call of Xuzi" 6
	/aaspend setauto "Translocational Anchor" 7
/return
 
Thanks Nightmare327,

Pretty handy little way around the ini file.
 
Thanks Nightmare327 --

Can anyone help me understand what else I must do to this file to make it work?

1. What do I need to name the actual file?
2. How do I need to load it?
3. Will the edits I made work?

Code:
| To be used as a ghetto .ini for plugin mq2aaspend
| Edit where it says "aa" to the aa you want purchased

Sub Main
	|Added in the plugin unload at the first to handle whne plugin is already set to auto
	/squelch /plugin MQ2AASpend unload
	/delay 1s
	
	/if (!${Plugin[MQ2AASpend].Name.Length}) { 
		/squelch /plugin MQ2AASpend
		/delay 1s
		/if (!${Plugin[MQ2AASpend].Name.Length}) {
			/echo You don't seem to have the plugin MQ2AASpend in your MQ2 folder!
			/end
		} 
	}
	/echo must have aaspend plugin loaded for this to work
	/echo setting up aa buy list
	/delay 3s
	/popup Setting up aaspend list for ${Me.CleanName}, one moment please
	
	/Call ${Me.CleanName}
	
	/aaspend auto
	/delay 3s
	/popup Your one lazy bastard...
	
	|segment to autorun secondary macro if placed on command line
	/if (${Defined[Param0]}) {
			
			/mac ${Param0}
	}

/return

Sub Charactername

		/aaspend setauto "Natural Durability" 1
		
/return

Sub Charactername
		/aaspend setauto "Weapon Affinity" 1


/return
 
Status
Not open for further replies.