Page 1 of 1

Spload.mac res/loot/rebuff/item swap w/basic documentation

Posted: Fri Sep 10, 2004 4:52 pm
by Gameross
http://home.earthlink.net/~gameross/Spload.mac

Required include for spell casting/gear components of the macro: Spell_Routines.inc

Spload is a complete looting macro with optional spell/buff casting and gear swapping. As a looting macro, it works better, faster (under 10 seconds to completely loot a corpse) and more reliablely(automatically deals with laggy connections and corpse oor) than any currently posted.

First time you use SPLOAD with any character, you should do a "dry run" of SPLOAD using /mac spload. This initializes your current characters .ini file as well as sets some aliases to ease use of SPLOAD. (No, it won't destroy any existing aliases)

Basic looting command examples:

/mac spload #
Targets your corpse and loots everything leaving # items on your corpse. /mac spload 0 for example to loot everything.

/mac spload res
Waits for a ressurrection box, accept it, once you zone, targets and loots your corpse completely. It will also consent anyone who sends you a message with the word consent in it while you're waiting.

/mac spload res 1
Same as above except leaves 1 item on your corpse.

/mac spload res consent
- or -
/mac spload consent res
Same as above, but also consents everyone in your raid, guild and group.

As you can see, command order is largely unimportant too. Only real exception is the RES command since it sets items to be left on your corpse to 0 automatically, but you can overide that by specifying the number of items to leave on your corpse if need be. Ex: /mac spload res 1 consent

Some other use funtions that are easy to use:

/sload <spell set same>
Loads gems with a defined spell set name.

/nspset <spell set same> save
To make a new spell set or replace an existing one. Remember to first load all your spell gems with whatever spells you wish in your spell set.

/wload <worn set name>
Changes your worn gear so it matches a previously saved worn set.

/mac spload wsave <worn set save>
Creates/Replaces a worn set with your currently worn gear.

Note: There appears to be a bug in MQ where is doesn't know which is the right and left ring fingers, so swapping those around currently can give you some interesting results resulting in MQ in a stuck loop.

The above is the easy stuff and of course useful to everyone. The spell casting abilities is optional and I'm going to re-write the documentation for that part since the old stuff was obviously way to complicated for Cr4zyb4rd.

Most likely won't repost until after MQ is OOW compatible. The old documentation is available at the link below. It's better formatted since this forum complete spooged the formatting when I originally posted it.

http://home.earthlink.net/~gameross/Spload.txt

Sample memories and sploat_character.ini files

Posted: Fri Sep 10, 2004 4:55 pm
by Gameross
Sample memories file. Feel free to submit you own usefull forumulas!

Code: Select all

[Memories]
RefreshBuff=({_SpellMinsLeft}<15&&{_ImTarget})||(!{_ImTarget}&&!{_TargetIsMyPet})||({_TargetIsMyPet}&&!{_SpellOnMyPet})
NeedPet=!{_TargetHasPet}&&{_ImTarget}
WantWater={_ImTarget}&&!{FindItemCount[Summoned: Globe of Water]}
WantFood={_ImTarget}&&{FindItemCount[Summoned: Black Bread]}<1
Noopts=noloot nocast noconsent nopreload nores mrset none mrsetp 0 noauto
HealCLR=none scan quiet nopreload sst raid as 'Daluda's Mending' as 'Daluda's Mending' ssf 1,2 ~{Target.PctHPs}<70 as 'breath of trushar' ssf 3 {Target.PctHPs}<90 ssc 1,2,3 !all,CLR
HealGRP=none quiet nopreload sst group as 'breath of trushar' ssf 1 {Target.PctHPs}<70 castnow
HealAll=\HealClr \HealGrp
IOSClerics=none sst raid as 'infusion of spirit' ssc 1 !all,clr castnow
SafeCan5={Me.CurrentHPs}>1950&&{Me.PctMana}<90
SafeCan4={Me.CurrentHPs}>200&&{Me.PctMana}<95
CanHeal={Me.PctHPs}<50&&{_SpellMinsLeft}==0
SBGroup=none as 8 sst group castnow
SBRaid=none as 8 sst raid castnow

Posted: Fri Sep 10, 2004 5:17 pm
by TheWarden
Uhh, u might wanna put the first post in code brackets...

Can't get [code] to work

Posted: Fri Sep 10, 2004 5:29 pm
by Gameross
Can't the code marks to work. When I did the initial posting, it showed correctly, but needed to make a couple edits and now I can't even post a new message with code marks and get it to work. I'm open to suggestions!

I made a link so people can download Spload until I can fix the message code issues.

http://home.earthlink.net/~gameross/Spload.mac

Figured out the issue...

Posted: Sat Sep 11, 2004 6:21 am
by Gameross
Well I think I figured out what the problem is. Code sections are limited in their size, so gonna have to break this down into .Mac and .Inc files.

Posted: Sat Sep 11, 2004 10:52 am
by Cr4zyb4rd
pass

Updated Spload.mac

Posted: Mon Sep 13, 2004 5:21 am
by Gameross
Changes/Fixes:

9/13/04
Inserted a missing CR - Sorry, have both work in progress and distribution copies.
Figured out which variable Wizard.mac was messing up and added code to deal with it (No more Global variables people! - Use .ini files if you want your variables to last)
Aliases are now only created if no existing alias exists of that name. Yes, no more overwriting your aliases, you're all saved! :shock:

9/12/04
Wrote ultra basic docs for Cr4zyb4rd.
added NSPSET command for easier creation of spell sets.
added /sload alias to make it easier to load spell sets.
added /wload alias to make it easier to load worn sets.
added /nspset aslias to make it easier to create NEW spell sets quickly

9/10/04
Fixed a typo in the looting section. That's what I get for adding last minute stuff.

Posted: Mon Sep 13, 2004 9:45 am
by Cr4zyb4rd
way to complicated for Cr4zyb4rd
thanks, I've been trying to find my way to complicated for a long time now.
There appears to be a bug in MQ where is doesn't know which is the right and left ring fingers
o.O
The above is the easy stuff and of course useful to everyone.
of course. i can't count the times i've wound up with my boots on my head and said to myself "Self, what you need is a monolithic macro to remember where your gear was. Hell, if it could take a res (and/or sacrifice, TL, whatever wacky confirm box happens to pop up) while I'm AFK that'd be sweet too, since afk macros are discouraged here."
added /sload alias to make it easier to load spell sets.
added /wload alias to make it easier to load worn sets.
added /nspset aslias to make it easier to create NEW spell sets quickly
This might be a helpful suggestion, were it in the "ultra basic docs for Cr4zyb4rd". As it is, are you sure tweaking people's aliases is something you want to do IN the macro?

You're missing a linefeed near the top (in the include) and and timestamp is off.

Code: Select all

| Following line because Wizard.macs residue was screwing this macro up.
/deletevar * global
Please use ${Defined[]} instead of deleting the global variables people might well be using for other things such as HUD display.

Posted: Mon Sep 13, 2004 12:20 pm
by Gameross
Cr4zyb4rd wrote:of course. i can't count the times i've wound up with my boots on my head and said to myself "Self, what you need is a monolithic macro to remember where your gear was. Hell, if it could take a res (and/or sacrifice, TL, whatever wacky confirm box happens to pop up) while I'm AFK that'd be sweet too, since afk macros are discouraged here."
Well not everyone has only 1 set of gear for every occassion, I know I don't. I've got stuff I wear for PvE(Largely because of the focus effects) that I don't during raids and adding this ability was just to damn easy.

As for AFK macros, if you think people write/run all these macros so they can sit there and watch them run, you're delusional. Anyways, this isn't a macro that's meant to be running constantly doing something; it's meant to complete a series of tasks and end. Not keep repeating them like all the AFK Nukes, cleric, tradeskills, practice, forage, etc macros which make up 90% of the macros written.
Cr4zyb4rd wrote:added /sload alias to make it easier to load spell sets.
added /wload alias to make it easier to load worn sets.
added /nspset aslias to make it easier to create NEW spell sets quickly
Ya, you could be right. I'll see if I can find a way to see if they're already defined and not overwrite them if they are. If you happen to know a way, feel free to fill me in. In the mean time, YOU'VE BEEN WARNED! :twisted:
*Issue fixed* :D