A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
EQ Rogue
- orc pawn

- Posts: 16
- Joined: Tue Oct 28, 2003 3:31 pm
Post
by EQ Rogue » Sat Feb 21, 2004 1:46 pm
Hi. I'm trying to get this running. However, whenever I run the macro I get:
Ending macro: Calculate encountered unparsable text ''
bazaarupdate.mac@253 (ConvertPlat(CashAmt)): /varset platAmt $int($calc(@CashAmt/1000))
bazaarupdate.mac@132 (Add_Item(ItemName,Verbose)): /call ConvertPlat "@Ini_Price"
bazaarupdate.mac@71 (Main(Verbose)): /call Add_Item "$item(@l2,@l11,name)" @Verbose
Cleared the following: Timers Vars Arrays
The current macro has ended.
Error: Bad variable in /var function.
Any ideas what I'm doing wrong? TIA!
-
Bad Karma
- a snow griffon

- Posts: 346
- Joined: Sat Nov 22, 2003 9:34 pm
-
Contact:
Post
by Bad Karma » Sat Feb 21, 2004 5:26 pm
OMFG did you even RTFM????
Look at the FISRT PAGE of this thread...READ IT.
THEN look
HERE, since we can assume you won't find the answer anyway....guessing your immediate response will be you already read the first page of the thread...which, simply by posting this, you porve you didn't.
[b]- Bad Karma
________________________________________[/b]
In our own quest for excellence, we should strive to take the time to help those who help themselves.
All others should [b]RTFM[/b]!!!!!!!!!
-
EQ Rogue
- orc pawn

- Posts: 16
- Joined: Tue Oct 28, 2003 3:31 pm
Post
by EQ Rogue » Sat Feb 21, 2004 9:11 pm
Wow dude chill out.
YES, I did a search before I posted and saw noting on this. Or at least nothing I could tell was related to the issue. And YES, I read the ENTIRE THREAD before I posted. I'm not an idiot. However, I'm not a MQ guru either. I didn't know you had to use old DOS paths and there is no mention of it on the first page that you so eliquently pointed out.
Why in the hell is it you guys get all bent out of shape when someone posts a simple question? And why do you all jump at any chance to slam someone that doesn't know as much about this shit as you guys do? Take a chill pill for Christs sake... You act like I'm constantly on here posting idiotic question after idiotic question or something.
BTW, thanks for the reply. Much appreciated.

-
hardarac
- a lesser mummy

- Posts: 37
- Joined: Sat Nov 30, 2002 2:25 pm
Post
by hardarac » Sun Feb 22, 2004 6:19 am
Hmmm ... every time I run this macro I CTD (
What info would you need to help me fix this ?
-
theafkxper
- a hill giant

- Posts: 207
- Joined: Sun Sep 08, 2002 6:41 pm
Post
by theafkxper » Sat Feb 28, 2004 1:29 am
I'm CTDing as well, any ideas?
-
nickr98
- orc pawn

- Posts: 14
- Joined: Thu Jan 22, 2004 5:11 pm
Post
by nickr98 » Sat Feb 28, 2004 4:45 pm
you have no target
you have no target
CTD..
-
theafkxper
- a hill giant

- Posts: 207
- Joined: Sun Sep 08, 2002 6:41 pm
Post
by theafkxper » Sat Feb 28, 2004 7:41 pm
bazaar plugin is broken atm, wait for new zipfile.
(at least thats what the bazaar plugin thread says)
-
theafkxper
- a hill giant

- Posts: 207
- Joined: Sun Sep 08, 2002 6:41 pm
Post
by theafkxper » Mon Mar 01, 2004 5:13 pm
Plugin is fixed, but having issues with Macro
It dosent seem to be actually pricing the item 1 pp below the lowest person when i have the bypass ini value set to 2 for the item. Any Thoughts?
-
CuddleBunny
- orc pawn

- Posts: 23
- Joined: Sun Feb 22, 2004 10:23 pm
Post
by CuddleBunny » Thu Mar 04, 2004 12:11 am
Same here.. set the bypasses to 2 and the price to go 5pp below the lowest offer in bazaar for fast selling... nothig happens..

-
theafkxper
- a hill giant

- Posts: 207
- Joined: Sun Sep 08, 2002 6:41 pm
Post
by theafkxper » Thu Mar 04, 2004 2:04 am
Ah hah! i found the demon that was messing up what i wanted to do...
Code: Select all
/if [color=red]n OutSell[/color]==1 {
/varset Low_Price $int(@price)
/varsub Low_Price @OutSellPrice
/varset Low_Price $int(@Low_Price)
} else {
/varset Average_Price $calc(@Average_Price/$bazaar(count))
/varset Low_Price @Average_Price
}
was using a numerical comparison against a string and 1, that shouldnt ever be true, so we were never outselling, making it always set your value to average price...
so, to fix, replace the above block with:
Code: Select all
/if n @OutSell==1 {
/varset Low_Price $int(@price)
/varsub Low_Price @OutSellPrice
/varset Low_Price $int(@Low_Price)
} else {
/varset Average_Price $calc(@Average_Price/$bazaar(count))
/varset Low_Price @Average_Price
}
-
EQ Rogue
- orc pawn

- Posts: 16
- Joined: Tue Oct 28, 2003 3:31 pm
Post
by EQ Rogue » Mon Mar 08, 2004 12:36 am
Still can't get it to change the price on anything. Even after making that change above. :^/
I set a dagger of dropping to sell for 1,000,000p against another guy that had his at 12p then set the ini to 2. Set the macro to undersell by 1p, and it didn't lower it at all. It also does not change the price of anything else in my inventory that i have set up in my ini file... I even set the DoD to 3p and ran the macro again and it stayed at 3p. It runs and says it's changing the price, but it doesn't... I must be doing something wrong, just not sure what.
-
theafkxper
- a hill giant

- Posts: 207
- Joined: Sun Sep 08, 2002 6:41 pm
Post
by theafkxper » Mon Mar 08, 2004 1:30 am
Is this all set right? dont forget you cant have spaces in any of the file paths.
Code: Select all
|BZRINI Here is the location of your Bazaar File!!!
/varset BZRINI "c:\Everquest\BZR_"
|BZRINI Dont Change This (Should be the same for Everyone
/varcat BZRINI $char(name)_
|BZRINI This is For your Server... Check your Trader file for it
/varcat BZRINI YOURSERVERHERE
|BZRINI Shouldnt have to change this
/varcat BZRINI ".ini"
|YOU MUST SETUP YOUR MQ Directory Here.
/varset MQ_Directory c:\Mq2\
-
Elric
- Cheese Whore

- Posts: 466
- Joined: Sun Nov 23, 2003 12:31 am
- Location: Tampa, Fl
-
Contact:
Post
by Elric » Mon Mar 08, 2004 8:02 am
Actually, I have the same problems. And I used the DOS filename structure as the fix for anything with spaces in it.. still no go, though I get no errors when I use the DOS path instead of the windows path.
-
EQ Rogue
- orc pawn

- Posts: 16
- Joined: Tue Oct 28, 2003 3:31 pm
Post
by EQ Rogue » Mon Mar 08, 2004 10:41 pm
Yup theafkxper, all set. Complete with dos paths.. No errors, just no price change either
-
Hank Hill
- decaying skeleton

- Posts: 6
- Joined: Mon Mar 15, 2004 5:46 am
Post
by Hank Hill » Mon Mar 15, 2004 5:45 am
No errors, just no price change either
The macro is mostly broken, but it will work if you set the price too high.
For example, if your 10 dose SoW potion is 1 plat, the script won't do anything. If your 10 dose sow potion is set for 10000 plat or anything too high, and your ini is set to "fast sell", it will work.