Mage EZ summoning

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

endymion
a lesser mummy
a lesser mummy
Posts: 34
Joined: Sat Feb 21, 2004 8:37 pm

Mage EZ summoning

Post by endymion » Sat Feb 28, 2004 4:46 pm

I sometimes like to sit in the POK on my mage and just summon items for newbs and hend them out, but it gets really tedious summoning all the focus items, a few weapons, and a bag of armor by hand....id really appreciate it if someone can write up a macro that does the following-


-Detects whether the target is 'caster' or 'tank'
-Summons a Dimensional Hole/Pocket and stuffs the appropriate items into it
-Summons Phantom Plate/Phantom Chain/Phantom Leather depending on what they can wear classwise
-Puts the two bags into my inventory so I can hand them to my target newbie



Any help on this would be much apprecited....I am RTFM and I am so totally lost...if someone could take their time and maybe PM me with a few pointers on how to write something like this myself, it would be even more appreciated. Thanks!

User avatar
Elric
Cheese Whore
Cheese Whore
Posts: 466
Joined: Sun Nov 23, 2003 12:31 am
Location: Tampa, Fl
Contact:

Post by Elric » Sat Feb 28, 2004 11:45 pm

Yet again, this reminds me of the AFK chanters wanting to cast KEI for folks just to be nice..


.. ....


I don't think anyone will help you on this. Sorry.

:twisted:
-Elric

endymion
a lesser mummy
a lesser mummy
Posts: 34
Joined: Sat Feb 21, 2004 8:37 pm

Post by endymion » Mon Mar 01, 2004 1:57 pm

you're right...and I've seen macros with the AFK element, but thats not what im looking for...I just want something that will summon all the stuff, not accept money or open a tradewindow, or even hand the stuff to them automatically. It just gets tedious having to summon each item, put it in a bag, summon the next, put it in a bag, summon the next....you get the picture. I think if there were a way to do that easily we'd see a lot nicer mages sitting around summoning things for the masses.

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Tue Mar 02, 2004 12:30 am

w/o writing it for you i can give you a very basic and simple way that will only sort of do things for you (note: all this stuff taking from TFM...so R it)

step 1 run macro w/ player you wanna summon crap for as the paramater,

Code: Select all

|Usage:
|/macro summonstuff goober
step 2, cast a bag, and put it in your inventory (useing spellcast.ini)

Code: Select all

/call Cast "spellname" 
/autoinvent
step 3, target goober

Code: Select all

/target "@Param0"
step 4, figure out goober's class:

Code: Select all

$target(class)
step 5, lots of logic if else if else statments here to deside what to do w/ that class from step 4

step 6, summon whatever shit he wants and put it into your iventory as well (useing spellcast.ini)

Code: Select all

/call Cast "spellname"  (as many as you want)
/autoinvent
there ya go, bags of crap, it shouldnt be to hard to piece together from there if you take about 30mins to look over other code and see how it gets stuck together.. and to the admins i hope that i didn't give to much away, its far from an AFK macro at this stage.
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

endymion
a lesser mummy
a lesser mummy
Posts: 34
Joined: Sat Feb 21, 2004 8:37 pm

Post by endymion » Tue Mar 02, 2004 4:08 am

OK that sortof starts me in the right direction...I've been trying to RTFM but I'm really just shite at coding or programming or whatever it is that you call it. This will help a bit tho...seeing as how theres a whole thing about AFK macros Im guessing posting my .inc in the Help forum would probably incite the same response as I got here?? Am I right on that?

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Tue Mar 02, 2004 8:02 am

posting code that could be changed slightly to an afk money maker is kind of a no-no, but i dont see this one as too bad, hell i'd use this for raids when people want summoned jewelry or whatever, PM me what you got i'll help you out best i can, i'm not the worldest greatest macro scripter, but i can stumble and bumble my way through most things.
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Mar 02, 2004 9:21 am

I wouldn't stop this one, if that's what you are wondering. Not until it reached the point of automating the player trade window.

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Tue Mar 02, 2004 10:52 am

in that case post your code here or in help, or pm me and i'll still try to help you out. thanks for the responce Mckorr
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

endymion
a lesser mummy
a lesser mummy
Posts: 34
Joined: Sat Feb 21, 2004 8:37 pm

Post by endymion » Wed Mar 03, 2004 5:43 pm

Thank you for the response McKorr...and JCG as soon as I get this thing at least partially finished, I'll PM you and let you laugh at my code (this is my first macro so it may take a day or so).

I'm cannabalizing spelltrainer.mac and itemsearch.mac trying to get them to do what i want...