Bazaar Trader INI Update Macro Error

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

9232mark
decaying skeleton
decaying skeleton
Posts: 6
Joined: Mon Jan 05, 2004 6:59 pm

Bazaar Trader INI Update Macro Error

Post by 9232mark » Mon Jan 05, 2004 7:11 pm

Using MQ2
Getting:
Ending Macro: Calculate encountered unparseable text ''
bazaarupdate.mac@253(convertPlat...
bazaarupdate.mac@132(Add_Item(ItemName,V...
bazaarupdate.mac@71(Main(Verbose((....
Cleared the following: Timers Vars Arrays
The Current macro ended.
Error: Bad variable in /var funcion

Elipses cuz im lazy.

Any idea?

Thanks

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Mon Jan 05, 2004 7:58 pm

When you set the ini paths, it doesn't seem to like it if you have spaces in it, even if you use quotation marks around it. To bypass this "bug", convert the path to the old DOS 8.3 format with the ~ in it

IE, "C:\Program Files\EverQuest\" becomes "C:\progra~1\everqu~1\"

You will have to check in a MS-DOS prompt to get the correct paths, because it might not always be ~1.

Best way to get it is to type in "dir /ad", which tells it to list all directories, and you'll get something like this:

Code: Select all

 Volume in drive C is HARD DISK
 Volume Serial Number is 0123-4567
 Directory of C:\

_RESTORE       <DIR>        08-20-02 12:21a _RESTORE
MYDOCU~1       <DIR>        08-20-02 12:25a My Documents
PROGRA~1       <DIR>        08-20-02 12:14a Program Files
RECYCLED       <DIR>        08-20-02  1:11a Recycled
WINDOWS        <DIR>        08-20-02 12:14a WINDOWS
MYSHAR~1       <DIR>        08-18-03 10:25p My Shared Folder
         0 file(s)              0 bytes
        6 dir(s)       99,999.99 MB free
Old 8.3 format is on the left, LFN format is on the right.

Follow the path you would need by changing directories, and you'll get the whole path in 8.3 format.
Opinions are like assholes, everyone has one, but most of them stink.

9232mark
decaying skeleton
decaying skeleton
Posts: 6
Joined: Mon Jan 05, 2004 6:59 pm

Post by 9232mark » Mon Jan 05, 2004 8:15 pm

That fixed that issue. Now just comes up with

Code: Select all

couldn't parse '/bzsrch race any class any $ini @ItemName'
Im sorry if these are simple. If I can get pointed to a FAQ of the simple ones Ill will amuse my self there for a bit.

Thanks for any help. These are quite fun to play with.

mark

User avatar
Bad Karma
a snow griffon
a snow griffon
Posts: 346
Joined: Sat Nov 22, 2003 9:34 pm
Contact:

Post by Bad Karma » Mon Jan 05, 2004 9:24 pm

9232mark wrote:That fixed that issue. Now just comes up with

Code: Select all

couldn't parse '/bzsrch race any class any $ini @ItemName'
Im sorry if these are simple. If I can get pointed to a FAQ of the simple ones Ill will amuse my self there for a bit.

Thanks for any help. These are quite fun to play with.

mark
That line should read:

Code: Select all

/bzsrch race any class any @ItemName
Double check to make sure all your user-defined settings at the top of the file are correct, all fies exist, and there is data present. As mentioned in the intro to the post....Always make backups!

This should be moved to the thread for the macro you're having problems with.

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Mon Jan 05, 2004 10:26 pm

Don't forget to load the MQ2Bzsrch Plugin :)

Loading: /plugin MQ2Bzsrch
Unloading: /plugin MQ2Bzsrch unload
Opinions are like assholes, everyone has one, but most of them stink.

User avatar
Bad Karma
a snow griffon
a snow griffon
Posts: 346
Joined: Sat Nov 22, 2003 9:34 pm
Contact:

Post by Bad Karma » Mon Jan 05, 2004 10:49 pm

GD wrote:Don't forget to load the MQ2Bzsrch Plugin :)

Loading: /plugin MQ2Bzsrch
Unloading: /plugin MQ2Bzsrch unload
OMG...lol...I was going to say that, too, but forgot!

At least he stated he was running MQ....that's a start.
Yeah...gotta have mq2bzrsch loaded, also! :P

9232mark
decaying skeleton
decaying skeleton
Posts: 6
Joined: Mon Jan 05, 2004 6:59 pm

Post by 9232mark » Tue Jan 06, 2004 12:06 am

Yeah that was it, I assumed that since it was in the project that it was automagicly included.

I added it to the ini and recompiled. All is well. Thanks so much for the help.

Mark