autolink.mac - Link Storage/Search/Retrieval Macro

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Ecchi_User
orc pawn
orc pawn
Posts: 18
Joined: Fri Aug 30, 2002 6:34 am

Post by Ecchi_User » Tue Jul 06, 2004 8:28 pm

Does this macro still work as it is now?

Ecchi_User
orc pawn
orc pawn
Posts: 18
Joined: Fri Aug 30, 2002 6:34 am

Post by Ecchi_User » Tue Jul 06, 2004 9:03 pm

Ok, it does work but there's a bug... maybe.

I ran it on my bazaar mule just for the links. When a file hits 1000 items, it stops. 999 + item 0.

Delete one, and it'll work again. My 'S' file is kinda full. hehe. =)

Limitation somewhere? Anyway to increase this? Thanks.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Tue Jul 06, 2004 11:03 pm

I've been out of a loop for awhile but you should just be able to change this line:

Code: Select all

/declare LinkArray[40,1000] string outer UNDEFINED-ARRAY-ELEMENT
To this:

Code: Select all

/declare LinkArray[40,2000] string outer UNDEFINED-ARRAY-ELEMENT
Or take it higher than 2000 if you need.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Tue Jul 06, 2004 11:23 pm

Need to go through and fix the code to replace HTML characters < with < and > with >.

Rollerball
orc pawn
orc pawn
Posts: 12
Joined: Mon May 24, 2004 2:20 pm

Post by Rollerball » Wed Jul 07, 2004 4:16 am

I really like this macro, but for some reason it sometimes shut down randomly. Also it would own if this was a plugin! (trying to do it myself but me and plugins = bad :cry: )

eqaussie
a ghoul
a ghoul
Posts: 124
Joined: Tue Mar 16, 2004 5:58 am

Post by eqaussie » Wed Jul 07, 2004 7:04 pm

This would be an awesome plugin, but my macro and plugin conversion attempts been disasterous.. I will leave the coding to the experts. :)

GreenPlastik
orc pawn
orc pawn
Posts: 28
Joined: Thu May 27, 2004 4:40 pm

Two questions...

Post by GreenPlastik » Thu Jul 22, 2004 10:56 am

Just was wondering...
As somebody else said already... what are the odds of this being converted into a plugin.

Second. Is there a way to get this to interact with the /bank command. Right now /bank just lists the bank contents. Would be awesome to list them with links. This could just be seperate request though. Anyway.

Macro looks great.

Some Guy
a ghoul
a ghoul
Posts: 119
Joined: Thu Apr 29, 2004 5:32 pm

Post by Some Guy » Thu Jul 22, 2004 11:05 am

/bank does provide links. :smile: The problem is MQ2ChatWnd does not allow links.

GreenPlastik
orc pawn
orc pawn
Posts: 28
Joined: Thu May 27, 2004 4:40 pm

Post by GreenPlastik » Thu Jul 22, 2004 11:08 am

See? that's why I love life... You learn something every day. I'm going to go read the manual now, but still ask this here just in case. could i make myself a personal channel let's say '/join dudemanbrodawg' and then have bank send the linkage to that channel by doing '/bank dudemanbrodawg' ?

Also I've tried searching this, but would there be any way to open up the bankwindow using the bankcommand?

wardave
a ghoul
a ghoul
Posts: 120
Joined: Sun Jan 25, 2004 4:38 am

Post by wardave » Wed Aug 11, 2004 2:56 am

Took me a bit to get it going but we all should pool our link ini's for the same server or something. Has to be a way to get all the links with out having to watch for them all. Cool program :)

cronic
a grimling bloodguard
a grimling bloodguard
Posts: 536
Joined: Wed Nov 26, 2003 11:01 pm

Re: Two questions...

Post by cronic » Thu Aug 12, 2004 1:00 pm

GreenPlastik wrote:Just was wondering...
As somebody else said already... what are the odds of this being converted into a plugin.
I've been working on this in VIP, but it's a little different. I've found a way to create item links based on data mined from lucy, so now I have an item link for every item in lucy's db, accesible via an xml web service on my web server. The plugin to interact with this service is almost finished, and I'll be releasing it shortly.

There's a catch: using this plugin (well, my web service) is going to require an account. For the first few days, there will be a test account open for all to use. After that, you'll need to have your own account or you can't search the database. Accounts are free - to VIP members. If you don't have VIP access, you'll have to get it if you want to use this plugin.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Aug 12, 2004 1:22 pm

Dang it, we don't want EVERYONE in VIP. Bad enough I'm in there, sheesh. LOL
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

cronic
a grimling bloodguard
a grimling bloodguard
Posts: 536
Joined: Wed Nov 26, 2003 11:01 pm

Post by cronic » Thu Aug 12, 2004 1:26 pm

aChallenged1 wrote:Dang it, we don't want EVERYONE in VIP. Bad enough I'm in there, sheesh. LOL
The point isn't really to get people to join VIP, it's to get them to donate. I'm offering the hosting for the data at no charge (aka, my contribution to the community), but it's only going to be available to those who also contribute.

Mimatas
a hill giant
a hill giant
Posts: 262
Joined: Wed Mar 10, 2004 4:22 pm

Post by Mimatas » Thu Aug 12, 2004 1:31 pm

also a good way to limit the bandwidth on your server... which may get pretty nasty if you get too many people.

cronic
a grimling bloodguard
a grimling bloodguard
Posts: 536
Joined: Wed Nov 26, 2003 11:01 pm

Post by cronic » Thu Aug 12, 2004 1:52 pm

Mimatas wrote:also a good way to limit the bandwidth on your server... which may get pretty nasty if you get too many people.
Yes, that's true too. However, most searches would consist of less than 1k of data total, so the user base would have to get pretty large for it to really pose a problem.