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

Guest

Post by Guest » Wed Oct 29, 2003 12:13 pm

Hi

cant get the script to find the item (

[mini]
Cont=enviro
Comp0="Malt"
Comp1="Malt"
Comp2="Malt"
Comp3="Short Beer"
Comp4="Short Beer"
Comp5="Water Flask"
Comp6="Water Flask"
Comp7="Yeast"
Comp8="Cask"


But still get the MSG cant fine Malt.
when i use # the same

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

hi

Post by Azum » Wed Oct 29, 2003 2:40 pm

nm, diff problem now
Last edited by Azum on Wed Oct 29, 2003 6:55 pm, edited 1 time in total.

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

Post by Slice » Wed Oct 29, 2003 4:33 pm

Nice macro, except for the fact that it doesn't work at all.

I've tried it with and without quotation marks in the ini file. My conclusion is, this just doesn't work.
Try asking for help without being a smartass and you might be able to get it working.

By the way, it works fine. I've been using it all day.
Slice

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

Post by Slice » Wed Oct 29, 2003 4:35 pm

Anonymous wrote:Hi

cant get the script to find the item (

But still get the MSG cant fine Malt.
when i use # the same
1) Open all your bags. Make sure none of them are touching another bag or the inventory screen.
2) Now close all your bags and inventory screen.
3) Reopen the bags once again
4) Run the macro.
Slice

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

Post by Azum » Wed Oct 29, 2003 6:09 pm

Got it to work, problem now is it misses the combine button, its clicking a bit above it, so of course nothing happens.

Narrowed the problem down further. It's only in vert UI that it misses the combine button, works fine in default. How would I go about fixing it so it works with vert?

Guest

Post by Guest » Wed Oct 29, 2003 7:31 pm

thanks slice

but didnt work
Courser jumps between auto inventor feld in the Inventory window and the Brew Barrel Cont.

I use default window all open all closet.

;(

thanks

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

Post by Slice » Wed Oct 29, 2003 8:31 pm

Azum wrote:Got it to work, problem now is it misses the combine button, its clicking a bit above it, so of course nothing happens.

Narrowed the problem down further. It's only in vert UI that it misses the combine button, works fine in default. How would I go about fixing it so it works with vert?
Try /loadskin vert 1 while you have vert already loaded. There was a problem where some custom UI's required you to reload the UI in order for the combine button to work. I've heard of some problems with extremely customized UI's but I've never had a problem myself and I use customized bags that have a smaller footprint and take off the edges.
Slice

User avatar
MDewHead
orc pawn
orc pawn
Posts: 28
Joined: Fri Oct 31, 2003 4:08 am

Post by MDewHead » Fri Oct 31, 2003 5:33 am

Hello Diggler

I've been tweaking with your code a bit, trying to learn, and this caught my attention:

Code: Select all

Sub ParseArgs 
/declare l0 local 
/declare l1 local 
/declare l2 local 
/declare l3 local 
/declare l4 local 
Forgive my lack of knowledge here; my question is, what is that character before the numerals, and why are you using numerals for variables instead of text? I am having a hard time following the ParseArgs because I can't figure out what those variables are. (I know they are the arguements, but which ones?)

NotSoCSharp
a ghoul
a ghoul
Posts: 85
Joined: Sat Oct 25, 2003 10:48 am

Post by NotSoCSharp » Fri Oct 31, 2003 7:51 am

Those are lowercase "L"s.

User avatar
MDewHead
orc pawn
orc pawn
Posts: 28
Joined: Fri Oct 31, 2003 4:08 am

Post by MDewHead » Fri Oct 31, 2003 8:06 am

I guess it's the font in Textpad that was throwing me off, thanks.

Guest

Post by Guest » Mon Nov 03, 2003 11:32 pm

whenever i try to combine the minotaur hero beverage and i fail on the attempt it messes the script up because it tries to replace the cask, how do i fix this?

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

Post by Slice » Mon Nov 03, 2003 11:53 pm

It should be dropping the cask in autoinventory. Make sure none of your bags overlap, close all bags and the inventory screen, then reopen and rerun the macro.
Slice

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Nov 04, 2003 12:01 am

Okay, enough of this.

All TS macros must open and close and open all the bags before they get posted here. There are just too many stupid people around.

rucifel
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Oct 31, 2003 5:17 pm

Item return

Post by rucifel » Tue Nov 04, 2003 5:36 am

Very pleased with this macro to date but I have a query.

I have tried making Metal Studs which requires a file which is returned each time. I'm not usre if it was straight away or after several attempts but the file was no longer in my inv and the macro returned file could not be found. As far as I am aware the file should always be returned on faile or succeed.

Is there anyway of specifyingint he ini if an item is returned in which case if there was a successfull combine 2 seperate drops would need to be made back into the inventory.

Furiousness
a lesser mummy
a lesser mummy
Posts: 62
Joined: Tue Aug 26, 2003 3:48 pm

Post by Furiousness » Tue Nov 04, 2003 2:20 pm

First I would like to say this macro (well its parents and co....) is great! I have found so many uses for it. Also a few enhancements.

The first one was the one that Catt posted above, stops a lot of spam!!

The next is the below

Change the Clean Pack sub to:

Code: Select all

Sub CleanPack 
/declare l0 local 
/declare l1 local 

| Dont clean the pack if its empty! Doh!
/if $pack(@CombInt,empty)!=TRUE {
   /press ctrl 
   /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 
This stops it from cleaning an empty pack which gets really annoying as cleanpack is called so often. I found that I was sitting there watching it go over each slot when the entire pack was empty.......very tedious. Anyways, the simple check cures it. Works for the non-ini version also.

Cheers

Fury