Forums » Community Projects
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?
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.
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.
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? :)
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? :)
Sure. Updated it.
I should just make cargolist do search too i guess.
I should just make cargolist do search too i guess.