Generalstuff.mac V3.0.0

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Fabolous1
a ghoul
a ghoul
Posts: 134
Joined: Sun Jun 27, 2004 12:44 am

Post by Fabolous1 » Thu Aug 19, 2004 3:20 pm

negativeplus wrote:Aren't you supposed to be at school??
Me? wtf you talking about? lol....

Oh and go on eq

User avatar
Kambic
a lesser mummy
a lesser mummy
Posts: 74
Joined: Fri May 28, 2004 11:48 am

Post by Kambic » Thu Aug 19, 2004 3:20 pm

Nice work :) My question is were you able to nix the bug that occured when changing from solo XP to group XP, and it adding them improperly? I never had many opportunities to test it (I do a lot of solo'ing and going between that and group didn't happen often). I'll check and compare when I get home, but so far this looks good.

Request for the macro: auto use abilities/combat skills whenever they are active (kick, bash, slam, beg, whatever) and auto-attack is on.

EDIT: Ok I'm coding all of the auto-skill stuff now. I'm out of town right now, so I won't post anything til I get home and test it (probably Monday).
Last edited by Kambic on Sat Aug 21, 2004 1:20 pm, edited 1 time in total.

negativeplus
decaying skeleton
decaying skeleton
Posts: 4
Joined: Thu Aug 19, 2004 2:07 pm

Post by negativeplus » Thu Aug 19, 2004 5:05 pm

Im at school nub

Fabolous1
a ghoul
a ghoul
Posts: 134
Joined: Sun Jun 27, 2004 12:44 am

Post by Fabolous1 » Sat Aug 21, 2004 9:17 pm

Anyone wanna help on the LFG thing.
Working on it now trying to figure out some stuff...

And as for the solo to group experience thing I'll do that in a few.

No_Idea_At_All
a lesser mummy
a lesser mummy
Posts: 49
Joined: Sat Aug 07, 2004 11:28 pm

Post by No_Idea_At_All » Sat Aug 21, 2004 10:09 pm

I liked the forage part of the macro until I came across 1 slight problem.

While at the bank, my old forage would just spam something like you can't do this now. Well this one with its auto delete may not be able to forage for you but it certainly will still delete anything on your mouse when you go to pick it up. I lost a nice dungeon drop this way.

My suggestion would be to put a check in to see if the bank is open and wait until it is closed until foraging. This would still lead to deletions if you happen to have an item on your cursor at the time of foraging. 2 ways to solve this, don't forage if there is an item on the cursor, or make the default to keep all items foraged.

I notice all the /autoinv's at the start but they didn't seem to save me the other day, not sure went wrong there.

Fabolous1
a ghoul
a ghoul
Posts: 134
Joined: Sun Jun 27, 2004 12:44 am

Post by Fabolous1 » Sun Aug 22, 2004 12:42 am

Ok, sorry about your loss.

I'm not at my house atm but what do the bankers say when you go to the bank?

"Welcome to the bank"?

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Sun Aug 22, 2004 2:22 am

something along the lines of:

Banker Someone tells you, 'Welcome to my bank, Soanaso.'

No_Idea_At_All
a lesser mummy
a lesser mummy
Posts: 49
Joined: Sat Aug 07, 2004 11:28 pm

Post by No_Idea_At_All » Sun Aug 22, 2004 5:26 am

No worries about the loss, was going to be for a twink anyhow. just glad it wasn't something more important.

I have no idea why the /autoinv didn't get it, unless I was ultra unlucky and picked up the item in the 1/2 sec pause before the last /autoinv and the forage command. Since while in a bank the loop is continuosly going I guess it would not be that hard.

BTW the banker saying is like this
Dogle Pitt tells you, 'Welcome to my bank!'

I was thinking change

Code: Select all

/if (${Me.AbilityReady["Forage"]})
to

Code: Select all

/if (${Me.AbilityReady["Forage"]} && !${Window[BigBankWnd].Open} && !${Merchant.Open} && !${Window[TradeWnd].Open}) 
Would hope that would solve it. atm I can't think of at what other times you are unable to forage. Maybe in the bazaar but since you don't have items on your cursor at the time should be a problem.

The only forseeable problem is a person sorting their inventory out and picking up an item at the wrong time.

No_Idea_At_All
a lesser mummy
a lesser mummy
Posts: 49
Joined: Sat Aug 07, 2004 11:28 pm

Post by No_Idea_At_All » Sun Aug 22, 2004 5:32 am

Actually momentary touch of brilliance :) either that or a phsycotic break.

REPLACE

Code: Select all

   /if (${Me.AbilityReady["Forage"]}) { 
         /autoinv 
         /autoinv 
         /autoinv 
         /autoinv 
         /autoinv 

         /varset wasSitting FALSE 
         /varset wasAttacking FALSE 

         /if (${Me.Combat}) { 
            /varset wasAttacking TRUE 
            /attack off 
         } 

         /if (${Me.Sitting}) { 
            /varset wasSitting TRUE 
            /stand 
         } 

         /delay 5 
         /doability "Forage" 
WITH

Code: Select all

   /if (${Me.AbilityReady["Forage"]} && !${Window[BigBankWnd].Open} && !${Merchant.Open} && !${Window[TradeWnd].Open}) { 

         /varset wasSitting FALSE 
         /varset wasAttacking FALSE 

         /if (${Me.Combat}) { 
            /varset wasAttacking TRUE 
            /attack off 
         } 

         /if (${Me.Sitting}) { 
            /varset wasSitting TRUE 
            /stand 
         } 

         /delay 5
         :CursorCheck
         /if (${Cursor.ID}) {
            /autoinventory
            /goto :CursorCheck
         }
         /doability "Forage" 

Fabolous1
a ghoul
a ghoul
Posts: 134
Joined: Sun Jun 27, 2004 12:44 am

Post by Fabolous1 » Mon Aug 23, 2004 4:38 pm

We are now using Kambic's Skill_Routines.inc

Thanks Kambic!
http://macroquest2.com/phpBB2/viewtopic ... 4758#64758

jtanida
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Jul 09, 2004 12:39 pm

Hmm.. little problem

Post by jtanida » Wed Aug 25, 2004 7:44 pm

When I run the macro I get the message
"subroutine skill_routines.inc wasn't found"
I've gone through and made absolute certain that it is there.
This is the where the error is coming from:

Code: Select all

:Main 
/delay 1s 
/varcalc Timer (${Timer} + 1) 
/varcalc OverallRunningTime (${OverallRunningTime} + 1) 
/doevents
/call Skill_Routines.inc
Anyone have any idea's what's up with it?

mekaniak
a hill giant
a hill giant
Posts: 290
Joined: Thu Sep 18, 2003 3:21 pm

Post by mekaniak » Wed Aug 25, 2004 11:30 pm

did you get kambric's .inc file and put it in the right spot? omg i might have actually helped some one...

EDIT: Also make sure everything is exactly the same...I killed myself for 3 hours trying to figure out what was wrong with a macro once and all I had to do was change a "/" to a "\"
I love the Power Glove, it's so bad

Say hello to M.C. Smurf!

[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]

[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]

I love quoting IRC chat.

jtanida
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Jul 09, 2004 12:39 pm

inc file

Post by jtanida » Thu Aug 26, 2004 1:25 am

You mean Skill_Routines.inc from the snippets section? Yep, got it. It's in the macro folder with the macro. From what I could see it didn't seem to call from a different folder (then again. .I am a total newb hehe). The Skill_Routines.ini is there also. I know it's spelled right too. Just to be sure I copied the name from the #include line and then searched the macro for all instances and pasted over the file name. Then I renamed the file and pasted it over that too lol. It may have been a bit overkill, but it was my one true assurance at the time lol.
Any other ideas? I'm totally stumped lol.

jtanida
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Jul 09, 2004 12:39 pm

Got it

Post by jtanida » Thu Aug 26, 2004 1:49 am

Woot.. the newb figured it out after all lol. The problem line was "/call skill_routines.inc". I took off the .inc and it seems to be working fine now :)
Thank you for your help thuogh :)

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Aug 26, 2004 6:04 am

a_druid_00 recently posted in another thread requesting a force-feeding macro (to force you to fill up on bought/foraged food rather than eating your stat foods) and I wrote a little ten-minute quicky macro for it. I'd be happy to flush it out a bit (he suggested an INI file of what to eat, and I'm sure we can come up with some other ideas) if you think it would be the type of thing you'd like to include in this. I'd also be interested in working towards turning at least some of this into a plugin, if you feel there's a need.