Page 2 of 2

Posted: Mon May 03, 2004 10:24 am
by Preocts
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... :twisted:

...

Posted: Mon May 03, 2004 1:41 pm
by robdawg
can we make it a forum rule that the word "dandy" can never be used again?

Posted: Mon May 03, 2004 7:39 pm
by game_slave
Would be just dandy if I picked up my epic at the same moment the macro hit the /destroy command...
Uhhhhhh, yeah. Like ouch!!! :P



Game_Slave

Posted: Tue May 04, 2004 11:17 am
by N3mo
forage cap is 5 + 5*lvl witha max of 200

Posted: Tue May 04, 2004 3:13 pm
by Drumstix42
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

ok ya I'm a newb but help me out if ya can ;)

Posted: Wed May 05, 2004 4:46 pm
by JinxterStarrose
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?

Posted: Wed May 05, 2004 5:32 pm
by Preocts
Try searching the boards before you give people a chance to yell at you.

http://macroquest2.com/phpBB2/viewtopic.php?t=6928

this is a VERY recent thread that asked the same question you just did.

Bug?

Posted: Mon May 31, 2004 5:24 pm
by VirusX
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. =/

Posted: Tue Jun 01, 2004 8:16 pm
by game_slave
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

DOH

Posted: Wed Jun 02, 2004 1:38 pm
by VirusX
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..

Fixed

Posted: Fri Aug 06, 2004 5:05 pm
by Trump

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 &gt to >....

Trump

Forage Mastery

Posted: Thu Sep 30, 2004 3:29 am
by HanzO
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