Download
(3 Kb)
Download
Updated: 02-12-07 10:29 AM
Pictures
File Info
Updated:02-12-07 10:29 AM
Created:unknown
Downloads:12,728
Favorites:33
MD5:
GetLink  Popular! (More than 5000 hits)
Version: 1.0.1
by: Kremonte [More]
GetLink - better than ever!

Hello fellas.

I'd like to present the finally-cared-about less-memory-whoring brand-new shiny version of GetLink. It's brand new and shiny because it's been rewritten from scratch, with much memory concerns in mind, and using the wonderful Ace backend.

GetLink's purpose has always been to be a link manager that isn't a memory whore. Without a database, nothing was saved, meaning less overhead. However, GetLink did the exact opposite. Saving the technical jargon, it ended up, after getting half a dozen links, using as much - if not more memory than an addon that saved links.

The newest version of GetLink hopes to solve all that. After a good bit of thinking, I've made a system of temporarily caching links and accessing them so neither is much of a memory hog. In other words, it's faster and lags you less :-)

The only difference upfront is that to get a link, it's now /getlink get <search>. /getlink (and /gl) has more options now, including managing the faster, built-in bot.

Enjoy.

1.0.1 : savedvariable is now... saved.
Optional Files (0)


Post A Reply Comment Options
Old 02-14-07, 02:05 PM  
Matrix110
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Change:

Originally posted by Spiderkeg
Until the author makes such changes, could you demonstrate what changes you made in the meantime?

Well my change is quite simple, i think the Author just forgot it as its really easy to put that in:
bot.lua

Code:
        local links, ret = GetLink:Retrieve(
            (arg1:sub(string.len(saved.bot_trigger))):gsub("%d?%d?%d$", "")), ""
        for i = start, start + saved.bot_max_results do
            if(not links[i]) then break end
            if((ret .. links[i]):len() > 255) then
                SendChatMessage(ret, channel, DEFAULT_CHAT_FRAME.defaultLanguage, arg2)
                ret = ""
            end
            ret = ret .. links[i]
        end
        
        if(ret:len() > 0) then
            SendChatMessage(ret, channel, DEFAULT_CHAT_FRAME.defaultLanguage, arg2)
		        else
			SendChatMessage("Sorry, no results were found for your search "..arg2..". Your Search was: '"..arg1:sub(string.len(saved.bot_trigger)).."'.", channel, DEFAULT_CHAT_FRAME.defaultLanguage,arg2)
        end
Marked the thing i inserted in red
Last edited by Matrix110 : 02-14-07 at 02:07 PM.
Matrix110 is offline Report comment to moderator  
Reply With Quote
Old 02-13-07, 03:54 PM  
Spiderkeg
A Deviate Faerie Dragon

Forum posts: 14
File comments: 227
Uploads: 0
Originally posted by Matrix110
Thanks it works now


Just 2 things:


1. Hide the Output just display a message as with the old GetLink Bot
2. Display people a No results warning if nothing is fouind(was able to fix that in myself for now)
Until the author makes such changes, could you demonstrate what changes you made in the meantime?
Spiderkeg is offline Report comment to moderator  
Reply With Quote
Old 02-13-07, 06:29 AM  
Matrix110
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Thanks it works now


Just 2 things:


1. Hide the Output just display a message as with the old GetLink Bot
2. Display people a No results warning if nothing is fouind(was able to fix that in myself for now)
Matrix110 is offline Report comment to moderator  
Reply With Quote
Old 02-12-07, 10:25 AM  
Kremonte
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 13
Uploads: 10
Re: How to configure the Bot?

Originally posted by Matrix110
Hi there, i love using GetLink and the GetLink Bot.

With the new version though it wont work.

Its enabled and all GetLink itself is working.


but if i configure the bot to use !item
= /gl bot trigger !item

It wont work :-(

I tried setting it in many different ways
/gl bot trigger <!item>
/gl bot trigger item
/gl bot trigger ^~!item
/gl bot trigger ^~item
/gl bot trigger [!item]

and cant seem the right way to configure it, could you please elaborate how to configure it correctly?
/gl bot trigger ^!item works.

It uses lua's string.match, which means lua-style regular expressions are usable. ^ simply means "at the beginning only".
Last edited by Kremonte : 02-12-07 at 10:25 AM.
Kremonte is offline Report comment to moderator  
Reply With Quote
Old 02-04-07, 06:05 AM  
Matrix110
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
How to configure the Bot?

Hi there, i love using GetLink and the GetLink Bot.

With the new version though it wont work.

Its enabled and all GetLink itself is working.


but if i configure the bot to use !item
= /gl bot trigger !item

It wont work :-(

I tried setting it in many different ways
/gl bot trigger <!item>
/gl bot trigger item
/gl bot trigger ^~!item
/gl bot trigger ^~item
/gl bot trigger [!item]

and cant seem the right way to configure it, could you please elaborate how to configure it correctly?
Last edited by Matrix110 : 02-04-07 at 06:14 AM.
Matrix110 is offline Report comment to moderator  
Reply With Quote
Old 02-04-07, 12:10 AM  
Dyslexic60
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Awesome! Thanks for the update. I love getlink compared to all the others. Keep up the good work!
Dyslexic60 is offline Report comment to moderator  
Reply With Quote
Old 12-14-06, 06:06 PM  
Tomed
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
Originally posted by Siz
I've posted a fixed version for WoW 2.0, it should appear under Patches.
Awesome! Now just to wait for the file server to come back up.
Tomed is offline Report comment to moderator  
Reply With Quote
Old 12-14-06, 12:46 PM  
Siz
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 228
Uploads: 6
I've posted a fixed version for WoW 2.0, it should appear under Patches.
Siz is offline Report comment to moderator  
Reply With Quote
Old 12-14-06, 07:37 AM  
Tomed
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
Any plan for a 2.0 version? I miss GetLink Bot
Tomed is offline Report comment to moderator  
Reply With Quote
Old 09-29-06, 09:11 PM  
Shirk
A Defias Bandit
 
Shirk's Avatar

Forum posts: 3
File comments: 37
Uploads: 0
Heh, what happened to 3.13?
Shirk is offline Report comment to moderator  
Reply With Quote
Old 09-05-06, 10:46 AM  
Kremonte
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 13
Uploads: 10
Re: Re: Re: Re: Re: Re: Re: Re: okay enough Re:

Originally posted by Fin
Ah! That'll teach me to read descriptions properly. Actually it probably won't, but I do apologise for my incorrect assumptions!

Cheers,

- Fin
No worries :P Also, to anyone who used 3.11 while it was still up, 3.12 has a whole different SavedVariables thingermajig, so you'd need to delete them manually (cba to write a mod to upgrade a version that was up for a whole hour)

The next version (3.13) should be up tomorrow or the day after, finishing up the rest of the options in GetLink(), adding a /glhelp slash command for help on the searching options, and correcting some performance issues, as well as more features for chat channels with the bot. Yay updates!
Kremonte is offline Report comment to moderator  
Reply With Quote
Old 09-05-06, 04:58 AM  
Fin
An Aku'mai Servant
 
Fin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 74
Uploads: 4
Re: Re: Er...

Originally posted by Kremonte
Nope.
Ah! That'll teach me to read descriptions properly. Actually it probably won't, but I do apologise for my incorrect assumptions!

Cheers,

- Fin
Fin is offline Report comment to moderator  
Reply With Quote
Old 09-04-06, 10:06 PM  
Kremonte
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 13
Uploads: 10
no GUI

I'm not very well for GUIs, they're generally the biggest part of mods and one would definitely be much bigger than the base of GetLink altogether. However, to retain the lightweight searching capabilities along with a GUI for personal searching, try using the aforementioned "Ludwig."

http://www.wowinterface.com/download...74-Ludwig.html

Personally, I see no reason for it to spit the information to a window, considering the only information for it to spit is a set of links :P
Kremonte is offline Report comment to moderator  
Reply With Quote
Old 09-04-06, 05:38 PM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 108
Uploads: 3
Any chance of spitting this information out into a window?
__________________
Theondry of Perenolde
Theondry is offline Report comment to moderator  
Reply With Quote
Old 09-04-06, 09:12 AM  
Kremonte
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 13
Uploads: 10
:O

I was wondering why it updated it instantly, must have been a bug or something. Anyway, I need to upload a fix for a formatting error, so hopefully this works =p
Kremonte is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: