Search found 14 matches

by semper
Wed Jun 02, 2004 11:23 am
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Broken again, not sure why. Bzsrch problem?
by semper
Wed Jun 02, 2004 11:21 am
Forum: MQ2::Macros::Macro Depot v3.0
Topic: Bazaar Search Conversion--Dumpster Diving
Replies: 6
Views: 3409

Hmm, broken again. Bzsrch down? Macro runs but does nothing and no errors. Echoes "Searching for [1st item]" then sits there with no results in Baz window.
by semper
Fri May 14, 2004 1:46 pm
Forum: MQ2::Macros::Macro Depot v3.0
Topic: Bazaar Search Conversion--Dumpster Diving
Replies: 6
Views: 3409

As requested Ini format is as follows: [Names] /names of the items you are looking for val1=rune of whatever val2=sword of stuff [Prices] /Price to compare to the advertised prices in baz. 1 p 1g 1s 1c would be listed as 1111, 1p 0g 0s 0c would list as 1000 val1=9062 val2=50000 *Edit: Okay, as poste...
by semper
Fri May 14, 2004 10:17 am
Forum: MQ2::Macros::Macro Depot v3.0
Topic: Bazaar Search Conversion--Dumpster Diving
Replies: 6
Views: 3409

Bazaar Search Conversion--Dumpster Diving

|Semper's conversion of Driftinsupra's Dumpster diving script |Thanks to Driftinsupra for the original code, Lax and the devs for MQ2 |and making me learn this without handing it to me, and Chill, mpmq, |ml2517, and banannaboy for their much needed help and suggestions. Sub Main /declare File outer...
by semper
Fri May 14, 2004 1:39 am
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Holy shit it actually works!!!! My first conversion, I'm so proud. It's clumsy and it's ugly but it damn well works! Ty again for the assistance. If you see something in here that could be done without going around my ass to get there as I'm pretty sure I've done a few times I will gladly take sugge...
by semper
Thu May 13, 2004 10:51 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

ack, wish i had checked here earlier. just spent a few hours of reading and trying combos and came up with: /declare Traderid local /declare l1 int local /varset l1 1 /varset Traderid ${Bazaar.Item[{l1}].Trader} /echo Targeting ${Spawn[${Traderid}]} /target ${Spawn[${Traderid}]} It appears to do wha...
by semper
Thu May 13, 2004 6:20 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Encouraged by my partial success, I plowed thru more of the code. After about |40 I'm still working on it: Sub Main /declare File local /declare Counter int local /declare l1 int local /declare Traderid local /declare Price local /declare Iniprice int local /varset File Bazprice.ini /varset Counter ...
by semper
Thu May 13, 2004 12:14 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

First of all ty!! The test was successful! Now for the strange part. When I went to paste the suggested change to the /echo line in the .mac file it was already there exactly as you suggested. It looks like I got the /echo part right accidentally at the end last night. I hadn't yet changed the bzsrc...
by semper
Wed May 12, 2004 11:36 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Well, no, I suck again. Another hundred variations with the same results. Can someone point me at a reference for how to handle .ini files (set to variable and then read values from it)? Every variation I've tried gives me "Searching for Null" or unable to parse. How about a hint? Is it th...
by semper
Wed May 12, 2004 9:15 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Ty! I'll give that a go. :)
by semper
Wed May 12, 2004 4:58 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Agreed Chill, it does search a bit faster than human. Still searching for and targeting null so I've gone back to the beginning and started from scratch. Read until my eyes starting bleeding again. Couldn't figure out how to draw info from my ini correctly despite trying about a million things and l...
by semper
Tue May 11, 2004 7:52 pm
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

closer....maybe #turbo Sub Main /declare File outer /declare Counter int local /declare l1 local /declare Traderid local /declare Price local /varset File c:\mq2\ini\bazprice.ini /varset Counter 1 :mainloop /if (${ini{${File},${Names},[${val.Counter}]}==NOTFOUND) { /echo Starting search over /varset...
by semper
Mon May 10, 2004 11:58 am
Forum: MQ2::Macros::Conversion Help
Topic: Bazaar Search Conversion
Replies: 16
Views: 9581

Bazaar Search Conversion

The following is my attempt at converting Driftinsupra's Dumpster dive script. I'm only interested in the bazaar search function using an .ini without the movement so that's all I've included here. I realize my attempt is ridiculously newbie-ish and probably mostly just plain wrong but it's the best...
by semper
Thu Apr 22, 2004 10:02 pm
Forum: Macro Depot (MQ1)
Topic: bazaar.mac - Complete Bazaar Buy and Sell Script
Replies: 65
Views: 24422

Anyone have this working with the new system?