Forums » Community Projects

CargoFind Plugin

«12
Aug 02, 2009 smittens link
I don't know what you mean by "regular expressions," but a search for "blaster" should turn up any item with "blaster" anywhere in its name... is that what you wanted?
Dec 28, 2009 floatingatoll link
You can speed up cargofind by replacing this RadarPrev code:

if(GetTargetInfo() ~= nil) then
while(GetTargetInfo() ~= nil) do
gkinterface.GKProcessCommand("RadarPrev")
end
end

with this line of code from cargolist (which someone told me was faster):

radar.SetRadarSelection(0,0)

That saves on most of one loop through the target list, which is noticeably faster for me.
Dec 29, 2009 smittens link
That does sound a lot faster!

That update is officially endorsed by Smittens!

I'll put a note about it on the front page, but Mick, I don't suppose you want to update the linked version? :)
Dec 30, 2009 maq link
Sure. Updated it.
I should just make cargolist do search too i guess.