Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
Preocts
- a snow griffon

- Posts: 312
- Joined: Thu Jan 29, 2004 1:02 pm
Post
by Preocts » Mon May 03, 2004 10:24 am
I don't even think that particular variable is needed. It just checks to see if what is on the cursor is what was there when that sub started. Should be no ill effects if I just remove it. But I still want to know what you are pointing to specifically please.
Sorry, been away for a week. Yeah, that old @DoubleCheck was suppose to be switched to ${DoubleCheck}. Yes, the var looks, and probably is, useless but it gave me peace of mind when I used the script that it was 'doublechecking' the cursor before /destroy was used.
Would be just dandy if I picked up my epic at the same moment the macro hit the /destroy command...

-
robdawg
- a ghoul

- Posts: 114
- Joined: Tue Mar 23, 2004 11:54 am
-
Contact:
Post
by robdawg » Mon May 03, 2004 1:41 pm
can we make it a forum rule that the word "dandy" can never be used again?
ROBDAWG
[url=http://www.seathound.com]Seat Hound[/url]
[url=http://www.sportsrumormill.com]Sports Rumor Mill[/url]
[url=http://www.packerforum.com]Packer Forum[/url]
-
game_slave
- orc pawn

- Posts: 18
- Joined: Wed Apr 21, 2004 6:50 pm
Post
by game_slave » Mon May 03, 2004 7:39 pm
Would be just dandy if I picked up my epic at the same moment the macro hit the /destroy command...
Uhhhhhh, yeah. Like ouch!!!
Game_Slave
-
N3mo
- a lesser mummy

- Posts: 63
- Joined: Tue Apr 13, 2004 11:51 am
Post
by N3mo » Tue May 04, 2004 11:17 am
forage cap is 5 + 5*lvl witha max of 200
-
Drumstix42
- a grimling bloodguard

- Posts: 808
- Joined: Mon May 03, 2004 4:25 pm
Post
by Drumstix42 » Tue May 04, 2004 3:13 pm
Max Skill Cap for anything:
(Your level * 5) + 5
Example:
Level 20:
20*5 + 5 = 105
So if your level 20, your max skill of anything is 105
-
JinxterStarrose
- decaying skeleton

- Posts: 6
- Joined: Wed May 05, 2004 4:07 am
Post
by JinxterStarrose » Wed May 05, 2004 4:46 pm
I am really new to this and have no idea how to get anything to workk really was wondeirng if soemone could explain where to put this code and how to activate it. I am basically jsut looking for a simple macro that alows me to forage with my druid without haveing to click any buttons AKA I could go afk and still forage. also within the code auto inventory would be nice. from the looks of it the one posted hjere does all that and more but how do I implement it to MQ and how do I run it on EQ?
-
VirusX
- orc pawn

- Posts: 14
- Joined: Sun May 16, 2004 7:52 pm
Post
by VirusX » Mon May 31, 2004 5:24 pm
Anyone having a problem with this locking? If I get a lag spike when I have something in my hand that I have foraged it just stops. The macro doesnt end but it keeps the item I foraged in my hand and never forages anything else. =/
-
game_slave
- orc pawn

- Posts: 18
- Joined: Wed Apr 21, 2004 6:50 pm
Post
by game_slave » Tue Jun 01, 2004 8:16 pm
Hmmmmm, I pretty much leave this mac running 24/7 on my other computer and have never had that happen to me. I have also run it on my main computer for 12+ hours on many occassions with no problems. Don't know what it could be. /shrug
GS
-
VirusX
- orc pawn

- Posts: 14
- Joined: Sun May 16, 2004 7:52 pm
Post
by VirusX » Wed Jun 02, 2004 1:38 pm
It was YAFM that was doing this I posted on the wrong thread heh I was reading this when I was posting on the other so I thought. Sorry its YAFM that had that problem for me... Im currently using this no problems yet..
-
Trump
- a lesser mummy

- Posts: 36
- Joined: Fri Aug 06, 2004 5:01 pm
Post
by Trump » Fri Aug 06, 2004 5:05 pm
Code: Select all
|Forage.mac
|Based off code from Preocts(thanks!) and code from various other forage macros.
|In the forage.ini file use -1 to keep all of that item, 0 to destroy all of that item and any other number to keep just that many.
|New foraged items are added to the ini file automatically.
sub Main
/cleanup
:Forage
/if (${Me.State.NotEqual[STAND]}) {
/stand
/delay 5
}
/delay 1s
/if (${Me.Skill[Forage]} > 0) /doability forage
}
/if (${Cursor.ID}) /call ItemSort
/goto :Forage
:loop
/return
sub ItemSort
/delay 5
/declare DoubleCheck local
/varset DoubleCheck "${Cursor.Name}"
/if (!${Ini[forage.ini,ForageList,${Cursor.Name}].Length}) {
/ini "Forage.ini" "ForageList" "${Cursor.Name}" "-1"
} else {
/if (${Ini[forage.ini,ForageList,${Cursor.Name}]}) {
/if (${FindItemCount["=${Cursor.Name}"]} > =${Ini[forage.ini,ForageList,${Cursor.Name}]} && ${Ini[forage.ini,ForageList,${Cursor.Name}]}!=-1) /goto :Destroy
} else {
:Destroy
/if (${Cursor.Name.Equal[${DoubleCheck}]}) {
/echo Destroying ${Cursor.Name}
/destroy
/return
}
}
}
:LootIt
/echo Keeping ${Cursor.Name}
/autoinventory
/delay 5
/if (${Cursor.ID}) /goto :LootIt
/return
I was having problems running this till i found this lil topic
http://macroquest2.com/phpBB2/viewtopic.php?t=8111
So far it works for me just changed the > to >....
Trump
-
HanzO
- orc pawn

- Posts: 16
- Joined: Tue Jul 01, 2003 7:58 pm
Post
by HanzO » Thu Sep 30, 2004 3:29 am
Needs a bit of TLC for the new forage mastery....
Code: Select all
sub ItemSort
/declare DoubleCheck local
:Recheck
/delay 5
/varset DoubleCheck "${Cursor.Name}"
/if (!${Ini[forage.ini,ForageList,${Cursor.Name}].Length}) {
/ini "Forage.ini" "ForageList" "${Cursor.Name}" "-1"
} else {
/if (${Ini[forage.ini,ForageList,${Cursor.Name}]}) {
/if (${FindItemCount["=${Cursor.Name}"]}>=${Ini[forage.ini,ForageList,${Cursor.Name}]} && ${Ini[forage.ini,ForageList,${Cursor.Name}]}!=-1) /goto :Destroy
} else {
:Destroy
/if (${Cursor.Name.Equal[${DoubleCheck}]}) {
/echo :: Destroying ${Cursor.Name}
/destroy
/return
}
}
}
:LootIt
/echo Keeping ${Cursor.Name}
/autoinventory
/delay 5
/if (${Cursor.ID}) /goto :Recheck
/return