Macro Idea - Component Lookup

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

AarynD
a lesser mummy
a lesser mummy
Posts: 45
Joined: Thu Jan 02, 2003 11:25 am

Macro Idea - Component Lookup

Post by AarynD » Mon Jun 16, 2003 4:13 pm

I've got one of those modified Story Window UI's which lists all the new words, runes, pages, etc, for the new spell combines. Even still, it's kind of a hassle to pull it up, and scroll down to find the items.

Assuming I could make a single text file which listed each component name, followed by each spell it was used in, do you think it's possible for a macro to parse the file, search for the component name, and return the spells it's used for?

Example, call the macro ItemIdentify. /macro itemidentify "Words of Energy"

Would end up echoing to screen the spell names, class, lvl, for each spell Words of Energy was used in.

Any one wanna take a shot at this?

- Aaryn

icon
Official loudmouth
Official loudmouth
Posts: 158
Joined: Fri Jun 14, 2002 2:59 pm
Location: ...
Contact:

Post by icon » Mon Jun 16, 2003 4:34 pm

Hey that's actually a good idea! Hunting with one of my alts and get some words, unsure whether or not one of my casters might need them, I can call the macro with the word name and find out.

Unsure if it's possible or not though, besides hardcoding the information about words and spells into the macro itself.

- Icon
In memory of [b][color=darkblue]MasTerKeyZ[/b][/color].

AarynD
a lesser mummy
a lesser mummy
Posts: 45
Joined: Thu Jan 02, 2003 11:25 am

Post by AarynD » Mon Jun 16, 2003 4:44 pm

Been going over the command list for MQ, and currently, doesn't appear to be any way to open an external file like that for reading/processing. From all accounts, the Perl implimentation is buggy at best, and I'm not even sure it's still a part of MQ, but I'm assuming one could do it if Perl were active and not buggy.

I've also done lots of searches on here, and see a few references to the Itemdb.txt file. I'm not sure if there was a way to modify this file, and be able to access the info within to do this or not. Would be a fun little experiment to try.

I'm not a C coder, and can barely read what's going on in the code. The MQ scripting is pretty easy to understand. I'm a Foxpro/dBase person, and working with data and lists is pretty second nature, and just thought how nice it would be to be able to look some of these things up on the fly within EQ. Research components would be my first step. After that, I'd create a file for Focus Effects, and track down all the known focus effects and compile those into a text db also.

If you can get basic text file parsing to work in the MQ script engine, then you open up a HUGE amount of functionality. Imagine writing inventory scripts, that will maintain an accurate inventory everytime you loot another research item. Or a script that will scan your inventory and cross check it with research lists, and tell you which spells you can research at the moment. Or macros that could echo back the name and/or loc of a vendor in zone that sells RareComponent01. You get the picture...

How about it devs, any chance I can get some basic text file parsing for the MQ script engine?

- Aaryn

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

This has nothing to do...

Post by Malachi » Tue Jun 17, 2003 12:26 am

This has nothing to do w/ this topic, it's just interesting.


http://www.eq-toolbox.com/modules.php?n ... e=SidlWidl


and

the tradeskill box mods


http://www.eq-toolbox.com/modules.php?n ... oad&cid=31


Someone over a f-h first posted a link to this site on that board....but I thought that some of you people messing w/ click and speedy tradeskill macros might appreciate the XML toy in the first link. :)

~malachi
~Oh danny boy, the pipes the pipes are calling.~

cybernerd
a lesser mummy
a lesser mummy
Posts: 38
Joined: Tue May 13, 2003 11:05 pm

Post by cybernerd » Tue Jun 17, 2003 9:29 am

You could always just put all the info inside an Access file and make a form to use it. We use it at work alot!

-The Nerd :lol:

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Re: This has nothing to do...

Post by wassup » Tue Jun 17, 2003 12:28 pm

Malachi wrote:This has nothing to do w/ this topic, it's just interesting.


http://www.eq-toolbox.com/modules.php?n ... e=SidlWidl

~malachi
I tired it, gets an error when started saying I don't have .Net Framework 1.1.4432 installed, when I actually do have it installed.

Looks interesting though.