• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver
autofish.lua

Release autofish.lua 2023-05-19

No permission to download
A nice feature would be to add a GUI with check boxes to arbitrarily keep or destroy items. or know by zone option, so if you fish in FV it destroys the unusable fish..

Some zones have stupid fishes that aren't used for anything and just fill up your inventory..
 
A nice feature would be to add a GUI with check boxes to arbitrarily keep or destroy items. or know by zone option, so if you fish in FV it destroys the unusable fish..

Some zones have stupid fishes that aren't used for anything and just fill up your inventory..
Sounds great if I had the time right now. lol Even though it would have probably been about the same time to add that feature as it was to login and post this message.
 
4 characters tried to use it and it threw a nil error for them and crashed. (Attempt to compare number with nil, in main chunk)

My other two characters -- you rearranged some very carefully setup backpacks, with no warning - and then shut down because I had no dispenser. Though I had 1000+ bait on me.

I assumed (poorly) if I had bait it would run, I did not realize the dispenser was required for execution. (I though it would be used if needed (which is cool) but would run without it... my misunderstanding I guess.)

Perhaps you could clarify that / put somewhere the prereqs to run this (a dispenser, a cleared last slot) and a warning that you will possibly be moving and emptying bags as well.

It's not end of the world stuff, but it wasn't a happy surprise for me.

Will try the Lua again down the line, good luck with it.
 
Could easily be set up to use bait, but the whole purpose was kinda to run it and never need bait using the anizok bait dispenser. :)
 
cannonballdex updated autofish.lua with a new update entry:

Minor Changes

Changed a few checks around to avoid casting a brell's pole if you already have a bone rod or an ancient rod. Will attempt to clean out the bait dispenser if the wrong item gets dropped in there while foraging. Will use the hargar's fishing pail only when needed.
If any issues let me know, I will look at it again. :)

Read the rest of this update entry...
 
I can finally autofish and overseer at the same time. Thank the lord!

(Weird though, I "watched" this resource and it did not auto-add to my Lua section on the launcher, I had to download it manually. Maybe it's just a bit delayed.)
 
CBD,

Rhetorical question. How difficult might it be to have the Lua reference an ini for the destroy items as opposed to hard coding? I am thinking that then we, the community, could develop an ini editor as a companion similar to the Lootly and Lootier relationship. Maybe even call the companion script Fishier.Lua?

Just some random thoughts before I might lose power. :)
 
CBD,

Rhetorical question. How difficult might it be to have the Lua reference an ini for the destroy items as opposed to hard coding? I am thinking that then we, the community, could develop an ini editor as a companion similar to the Lootly and Lootier relationship. Maybe even call the companion script Fishier.Lua?

Just some random thoughts before I might lose power. :)
Good Recommendation. As all scripts and macros have the ability to be approved upon.
For me a remote possibility. For someone who knows how to write script, pretty simple. lol
I will check it out. Best I can do. :)
 
Hi,

i run into a problem with my SK... when i start autofish he summons brell´s fishing pole and starts casting... after that he puts the rod on the cursor again and says you dont have a fishing rod in your primary hand and the Lua stops...
When i have a second rod in the Inventory he is flipping both rods in the Primary Hand and the skript works..

Any Idea what i can do ?

PS: and my SK also starts to Forage when i start the autofish.
 
Hi,

i run into a problem with my SK... when i start autofish he summons brell´s fishing pole and starts casting... after that he puts the rod on the cursor again and says you dont have a fishing rod in your primary hand and the lua stops...
When i have a second rod in the Inventory he is flipping both rods in the Primary Hand and the skript works..

Any Idea what i can do ?

PS: and my SK also starts to Forage when i start the autofish.
Sounds like the script isn't registering the brell's fishin' pole in the main hand. Once I get back to my comp I will take a look. Thanks.
 
Hi,

i run into a problem with my SK... when i start autofish he summons brell´s fishing pole and starts casting... after that he puts the rod on the cursor again and says you dont have a fishing rod in your primary hand and the lua stops...
When i have a second rod in the Inventory he is flipping both rods in the Primary Hand and the skript works..

Any Idea what i can do ?

PS: and my SK also starts to Forage when i start the autofish.
Unfortunately I could not reproduce this issue with a Brell's Fishing Pole. Do you have some other plugin or script that would cause you to grab the pole back out of the primary slot? Forage starts while fishing. If you do not want to forage you can remove the two lines at the bottom of the script.
if mq.TLO.Me.Skill('Forage')() > 0 then
mq.cmd.doability('Forage')
 
Sounds great if I had the time right now. lol Even though it would have probably been about the same time to add that feature as it was to login and post this message.
Alright it has almost been a year, do you have time now?
 
I can not imagine whitch one this could do... you have any example?
Sounds specific to what your SK is running, any kind of bandolier swap. /plugin list or I think rgmerc, muleassist or kissassist macro might have some condition if its running.
 
Sounds specific to what your SK is running, any kind of bandolier swap. /plugin list or I think rgmerc, muleassist or kissassist macro might have some condition if its running.
Hm my SK use CWTN plugin but no bandoswap or anything else... Plugin was on pause and no Marco was running...
Just my autostart Lua's like easfind/nav lootly etc. was active.

Hm I will play around a bit and maby I can find out something.. I will let you know.
 
having an issue. after the first fishing pole breaks, I get spam for every cast
1670039405633.png
 
Using "Fisherman's Companion" and "Brell's Fishin' Pole" here, and I'm using "Animated Bait" (I have tested swaping for "Catch-a-Lot Bait"). My results are the same with both "autofish.Lua" and "autofishgui.Lua".
With "Brell's Fishin' Pole" in my main-hand I start the script and start fishing. The first thing I notice is that I get an "Invalid item slot 'fishing pole' message in the MQ2 window, followed by a pickup of my fishing pole from my main-hand, and then putting it back into main-hand.
The script does this pickup, put-down function constantly. It is not deleting any of the selected items, so the script is interrupted when a "Rusty Dagger" is on the mouse tooltip and the script picks up my fishing pole, which goes to inventory, and then puts down the "Rusty Dagger" into my main-hand.
 
Using "Fisherman's Companion" and "Brell's Fishin' Pole" here, and I'm using "Animated Bait" (I have tested swaping for "Catch-a-Lot Bait"). My results are the same with both "autofish.lua" and "autofishgui.lua".
With "Brell's Fishin' Pole" in my main-hand I start the script and start fishing. The first thing I notice is that I get an "Invalid item slot 'fishing pole' message in the MQ2 window, followed by a pickup of my fishing pole from my main-hand, and then putting it back into main-hand.
The script does this pickup, put-down function constantly. It is not deleting any of the selected items, so the script is interrupted when a "Rusty Dagger" is on the mouse tooltip and the script picks up my fishing pole, which goes to inventory, and then puts down the "Rusty Dagger" into my main-hand.
Someone else had this issue before. I could not reproduce the issue. I asked if they had something else running that would cause switching out the main hand weapon. Another script, plugin, bandoswap type? I believe the class was SK.

Updated, also updated the first post with new easyfishgui
 
Last edited:
yup I read through that. I have nothing running that would interact in this way. Before I run the script everything else is off. I have tested it as thoroughly as I know how to.

By removing this snippet of code it stops picking the fishing pole up repeatedly.

Code:
    if (mq.TLO.FindItem('Fishing Pole')() ~= nil and mq.TLO.Me.Inventory('mainhand').Name() ~= 'Fishing Pole' and mq.TLO.Me.Inventory('mainhand').Name() ~= 'Ancient Fishing Pole' and mq.TLO.Me.Inventory('mainhand').Name() ~= "Brell's Fishing Pole" and mq.TLO.Me.Inventory('mainhand').Name() ~= 'The Bone Rod') then
        mq.cmdf('/ctrl /itemnotify "%s" leftmouseup',"Fishing Pole")
        mq.delay(2000)
        mq.cmd('/nomodkey /itemnotify mainhand leftmouseup')
        mq.delay(1000)
        mq.cmd('/autoinventory')
    end
 
yup I read through that. I have nothing running that would interact in this way. Before I run the script everything else is off. I have tested it as thoroughly as I know how to.

By removing this snippet of code it stops picking the fishing pole up repeatedly.

Code:
    if (mq.TLO.FindItem('Fishing Pole')() ~= nil and mq.TLO.Me.Inventory('mainhand').Name() ~= 'Fishing Pole' and mq.TLO.Me.Inventory('mainhand').Name() ~= 'Ancient Fishing Pole' and mq.TLO.Me.Inventory('mainhand').Name() ~= "Brell's Fishing Pole" and mq.TLO.Me.Inventory('mainhand').Name() ~= 'The Bone Rod') then
        mq.cmdf('/ctrl /itemnotify "%s" leftmouseup',"Fishing Pole")
        mq.delay(2000)
        mq.cmd('/nomodkey /itemnotify mainhand leftmouseup')
        mq.delay(1000)
        mq.cmd('/autoinventory')
    end
That code you removed had a mispelling of "Brell's Fishing Pole" suppose to be Brell's Fishin' Pole the download has been updated and the autofishgui in the first post was updated. Thanks.
 

Collapsible Fishing Pole ... would be nice to be able to use without spamming window with Invalid Item slot `fishing pole`?​


1670873897704.png

Man that is some really large font ..... Sorry.

Using this item seems to break things ..... Meaning Lua continues to fish and forage but ignores Items to delete? and
spams window with "Invalid Item slot 'Fishing Pole'.
 
Last edited:
Release autofish.lua

Users who are viewing this thread

Back
Top
Cart