New TS w/INI support

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

Catt
a lesser mummy
a lesser mummy
Posts: 76
Joined: Mon Sep 16, 2002 2:49 am

Post by Catt » Thu Nov 06, 2003 10:00 am

Good change, however, make that:

Code: Select all

Sub CleanPack 
/declare l0 local 
/declare l1 local 
   /press ctrl 
/if $pack(@CombInt,empty)!=TRUE { 
   /sendkey down shift 
   /if "@CombStr"=="enviro" { 
      /varset l0 10 
   } else { 
      /varcalc l0 $pack(@CombInt,slots)-1 
   } 

   /for l1 0 to @l0 
      /click left @CombStr @l1 
      /call WaitForPickup 
      /click left auto 
      /call WaitForDrop 
   /next l1 
}
   /sendkey up shift 
   /press shift 
/return 

I'm not positive the shift at the end needs to be out of the /if, however, the CTRL at the top DOES need to be, it was leaving CTRL pressed, when the pack was clean (almost all of the time).

Gnomore

Post by Gnomore » Sat Nov 08, 2003 8:49 am

appears broken after nov6th patches... whatever combine ini i use..

even ones i did a couple thousand combines on... says
Cannot find container << combinename >>

any clue what to do?

Janked
decaying skeleton
decaying skeleton
Posts: 4
Joined: Wed Sep 10, 2003 10:53 am

Broken for me too

Post by Janked » Sat Nov 08, 2003 9:16 am

First time I have tried to use the macro, but I get the same error as above.

User avatar
Slice
a hill giant
a hill giant
Posts: 189
Joined: Wed Oct 30, 2002 2:52 pm

Post by Slice » Sat Nov 08, 2003 12:23 pm

I used this last night for smithing and it worked fine. Can you specify what container you're using?
Slice

Gnomore

Post by Gnomore » Sat Nov 08, 2003 5:26 pm

tried:
forge
sewing kit( non inventory version)
mixing bowl
deluxe toolbox

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

solution

Post by Azum » Sat Nov 08, 2003 5:40 pm

I used to get that error too, took me a while to figure out why. What it is, is the ini file is not located on your computer where the macro is pointing to it. To fix it, just change the INI line to this

#define INIfile "recipes.ini"

That tells it that the ini file is located in your macroquest\macros folder. (The same folder the TS.mac is in) So if that's not where it is, place it there.

Falco
orc pawn
orc pawn
Posts: 23
Joined: Fri Sep 26, 2003 5:25 am

Post by Falco » Sun Nov 09, 2003 5:01 am

you also might want to note that those are all #enviro containers, your Cont in your recipes.ini hast to be Cont=#enviro for this to work, using the name wont work here, i also suggest adding a /target clear after your mac clicks on the container(if its automated that way) otherwise you may find your enviroment(and i've heard inventory) container has gone missing till you zone/log an come back, this is verants way of sayin "yer a dirty little cheater and your gonna get it when your dad comes home" /em butters off. well, thats all i've heard, so gud luk

Otterboyy
decaying skeleton
decaying skeleton
Posts: 9
Joined: Fri Nov 14, 2003 11:21 am

Post by Otterboyy » Tue Nov 18, 2003 11:30 am

Just wanted to say nice macro. Has earned me points with the wife now that she doesn't have to work her fingers to the bone.

Also, I too had problems getting things to run, BUT I READ this entire thread and found the answers to my problems.

Thanks!

O-

desnts
RTFM, then ask again
Posts: 58
Joined: Wed Apr 30, 2003 4:40 pm

Post by desnts » Tue Nov 18, 2003 3:45 pm

i jsut tried this macro today to make some JC stuff.

here is my ini

[gte] Golden Topaz Earring
cont="Planar Jeweller's Kit"
comp0="gold bar"
comp1="topaz"

when i start the macro useing /macro ts "default" gte

the program takes one gold bar puts it in the kit and sits there. no errors doesnt move nothing at all.

if i manually grab the topaz and hit combine the program will resume and put the product into my inventory and grab another bar, just to sit there agian.

what am i doing wrong?

Edit: ok put the topaz in a different bag it now puts the bar in the kit and grabs a topaz but doenst move it. if i manually put in the kit and hit combine it does it again. pick up bar put in kit pick up topaz sit there.
Last edited by desnts on Tue Nov 18, 2003 4:00 pm, edited 1 time in total.

MrDoh
Hypocrite fag
Posts: 10
Joined: Tue Oct 28, 2003 4:01 pm

Post by MrDoh » Tue Nov 18, 2003 3:58 pm

jsut tried this macro today to make some JC stuff.

here is my ini

[gte] Golden Topaz Earring
cont="Planar Jeweller's Kit"
comp0="gold bar"
comp1="topaz"

when i start the macro useing /macro ts "default" gte

the program takes one gold bar puts it in the kit and sits there. no errors doesnt move nothing at all.

if i manually grab the topaz and hit combine the program will resume and put the product into my inventory and grab another bar, just to sit there agian.

This happened to me last night too. (1st time it has ever happened, and I have used this script pretty intensively.)

It could be a lag issue. The game stalls, but MQ doesn't realize it maybe?
What I had to do to get it working again last night was to move my combine container window to a different spot on the screen, then close it, and reopen it. I don't know why this worked, but it corrected that same probelm for me last night. (I was fletching.) (This is the first problem I've ever had with it.)

The zone I was using it in last night was very croweded and laggy anyway, so that may have had something to do with it.

Maybe try using the "cursor-delay=4" option instead of "default". This should slow the macro down a bit. You may have to play with that number a little bit. The higher the number, the more delay, and it defaults to 2, so by default, it's pretty fast.

If none of that helps, we'll think of something else to try.

Mr. Doh

desnts
RTFM, then ask again
Posts: 58
Joined: Wed Apr 30, 2003 4:40 pm

Post by desnts » Tue Nov 18, 2003 4:09 pm

still a no go. i did the delay at 100 to just see if that was the problem.

it took a few seconds to get started cause of the 100 delay but still just held the topaz and didnt put it in the container.

edit: also tried a couple different zones.

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Tue Nov 18, 2003 5:48 pm

Remember the JC bag should be in the bottom right hand corner inventory slot. I believe this is what Otterboyy discovered in his readings of this thread. Otterboyy, is this correct?

Bob

desnts
RTFM, then ask again
Posts: 58
Joined: Wed Apr 30, 2003 4:40 pm

Post by desnts » Tue Nov 18, 2003 5:50 pm

bag is in the bottom right corner of my inventory but as i said it will put the bar into the bag but not the topaz, it grabs the topaz and just sits there.

Guest

Post by Guest » Thu Nov 20, 2003 5:20 am

Ok, tried to find a solution for this but the above steps didnt help.

When using /macro ts "default" bits along with

[bits]
Cont=#enviro
Comp0=Small Piece of Ore
Comp1=Small Piece of Ore
Comp2=Water Flask

I get

Cannot find container << bits >>

also tried

[WovenMandrake]
Cont=#tailoring
Comp0=Mandrake Root
Comp1=Mandrake Root

I have tried with and without # to be sure, also made sure that the INI was defined with #define INIfile "recipes.ini" and made sure the file was in same directory. Any suggestions/assistance would be greatly appreciated.

Thanks

Seventh
orc pawn
orc pawn
Posts: 16
Joined: Thu Nov 20, 2003 7:14 pm

Post by Seventh » Thu Nov 20, 2003 7:17 pm

Has anyone got this to work with Celestial Essence, in a Mortar and Pestle? It seems to treat the M&P like a 10-slot container.

Any tips would be appreciated.I've been loving it for Mino Brews and MQ sheets for smithing - great macro. My lack of carpal tunnel thanks you all.