cyrillya / autofish Goto Github PK
View Code? Open in Web Editor NEWA tModLoader mod that allows you to fish while afk. Don't you have something more important to do?
License: MIT License
A tModLoader mod that allows you to fish while afk. Don't you have something more important to do?
License: MIT License
在我在硫磺海挂机钓鱼了几个小时之后我才发现,如果只启用“自动钓宝匣”,那么灾厄的宝匣是不会被钓起的。
我觉得有三个办法可以避免其他人重蹈我的覆辙:
灾厄有四种宝匣:深渊匣、沉沦匣、硫磺火匣、星幻匣。
in 1.3 the mod works as expected but in 1.4 i have noticed there are lots of times where nothing gets fished but the line recasts anyways. i believe this is when tools and weapons should be getting fished but they are not. also bait is not used regularly like in 1.3. bait only get used about 3 out of 10 times. using latest version of everything and autofish 1.0.1.
{
"PullingDelay": 1.0,
"CatchWhiteRarityCatches": true,
"OtherCatches": [],
"AutoSonar": true,
"AutoFishing": true,
"AutoCrate": true
}
[
"AlchemistNPCLite",
"Antisocial",
"ArmorReforge",
"Autofish",
"AutoPotion",
"AutoReroll",
"AutoStacker",
"AutoTrash",
"BannerBonanza",
"BannerBoost",
"BetterBossBar",
"BetterBossBars",
"BetterExtractinator",
"BossChecklist",
"BossCursor",
"CalamityMod",
"CalamityModMusic",
"Census",
"CheatSheet",
"CompareItemStats",
"ConsistentReforging",
"CraftableAccessories",
"CraftablePaintings",
"DirectionalMelee",
"DisableCorruptionSpread",
"DoubleOreDrop",
"EquipmentReforge",
"Fargowiltas",
"FargowiltasSouls",
"FishermanNPC",
"FriendlyNpcsDontDie",
"GemToGem",
"GlobalTrinkets",
"GoldenTrough",
"GraveMirror",
"HelpfulNPCs",
"HEROsMod",
"imkReborn",
"ItemMagnetPlus",
"LansAutoSummon",
"limitlessMod",
"LootBags",
"MagicStorage",
"MaxStackExtra",
"MoreEndlessAmmo",
"MoreZenith",
"NCBSI",
"NPCFlagsAlways",
"NPCNameDisplay",
"OmniSwing",
"OreExcavator",
"OreExchange",
"RecipeBrowser",
"RecipeBrowserToMagicStorage",
"ReducedGrinding",
"SellAll",
"ShorterRespawn",
"SummonersShine",
"TombTweaks",
"TooManySlots",
"TownNPCHome",
"UnlimitedBuffSlots",
"WeaponDisplay",
"WingSlotExtra",
"Wireless",
"WMITF"
]
Mod cannot be successfully enabled with the most recent alpha version of tModLoader.
Screenshot:
Logs:
[11:50:04] [Main Thread/INFO] [tML]: Enabling Mod: Autofish
[11:50:06] [.NET ThreadPool Worker/INFO] [tML]: Unloading mods
[11:50:06] [.NET ThreadPool Worker/INFO] [tML]: Unloading: tModLoader
[11:50:06] [.NET ThreadPool Worker/INFO] [tML]: Finding Mods...
[11:50:06] [.NET ThreadPool Worker/INFO] [tML]: Sandboxing: Autofish
[11:50:06] [.NET ThreadPool Worker/INFO] [tML]: Instantiating Mods...
[11:50:07] [.NET ThreadPool Worker/INFO] [tML]: Initializing: ModLoader v0.12
[11:50:07] [.NET ThreadPool Worker/INFO] [tML]: Initializing: Autofish v0.2.3
[11:50:07] [.NET ThreadPool Worker/DEBUG] [tML]: Hook IL.Terraria.Projectile::FishingCheck() modified by Autofish
[11:50:07] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at MonoMod.Cil.ILCursor.GotoNext(MoveType moveType, Func`2[] predicates)
at Autofish.AutofishPlayer.Projectile_FishingCheck(ILContext il) in AutofishPlayer.cs:line 107
at MonoMod.Cil.ILContext.Invoke(Manipulator manip)
at MonoMod.RuntimeDetour.ILHook.Context.InvokeManipulator(MethodDefinition def, Manipulator cb)
at MonoMod.RuntimeDetour.ILHook.Context.Refresh()
at MonoMod.RuntimeDetour.ILHook.Apply()
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator, ILHookConfig& config)
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator, ILHookConfig config)
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator)
at MonoMod.RuntimeDetour.HookGen.HookEndpoint._NewILHook(MethodBase from, Manipulator to)
at MonoMod.RuntimeDetour.HookGen.HookEndpoint._Add[TDelegate](Func`3 gen, TDelegate hookDelegate)
at MonoMod.RuntimeDetour.HookGen.HookEndpoint.Modify(Delegate hookDelegate)
at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify(MethodBase method, Delegate callback)
at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify[T](MethodBase method, Delegate callback)
at IL.Terraria.Projectile.add_FishingCheck(Manipulator )
at Autofish.AutofishPlayer.Load() in AutofishPlayer.cs:line 91
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 25
at Terraria.ModLoader.Mod.AddContent(ILoadable instance) in tModLoader\Terraria\ModLoader\Mod.cs:line 140
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 48
at Terraria.ModLoader.ModContent.<>c.<Load>b__41_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 302
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 358
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 297
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
at Terraria.ModLoader.ModLoader.<>c__DisplayClass45_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 114
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
[11:50:07] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading Autofish
The mod(s) have been automatically disabled.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at MonoMod.Cil.ILCursor.GotoNext(MoveType moveType, Func`2[] predicates)
at Autofish.AutofishPlayer.Projectile_FishingCheck(ILContext il) in AutofishPlayer.cs:line 107
at MonoMod.Cil.ILContext.Invoke(Manipulator manip)
at MonoMod.RuntimeDetour.ILHook.Context.InvokeManipulator(MethodDefinition def, Manipulator cb)
at MonoMod.RuntimeDetour.ILHook.Context.Refresh()
at MonoMod.RuntimeDetour.ILHook.Apply()
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator, ILHookConfig& config)
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator, ILHookConfig config)
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator)
at MonoMod.RuntimeDetour.HookGen.HookEndpoint._NewILHook(MethodBase from, Manipulator to)
at MonoMod.RuntimeDetour.HookGen.HookEndpoint._Add[TDelegate](Func`3 gen, TDelegate hookDelegate)
at MonoMod.RuntimeDetour.HookGen.HookEndpoint.Modify(Delegate hookDelegate)
at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify(MethodBase method, Delegate callback)
at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify[T](MethodBase method, Delegate callback)
at IL.Terraria.Projectile.add_FishingCheck(Manipulator )
at Autofish.AutofishPlayer.Load() in AutofishPlayer.cs:line 91
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 26
at Terraria.ModLoader.Mod.AddContent(ILoadable instance) in tModLoader\Terraria\ModLoader\Mod.cs:line 137
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 48
at Terraria.ModLoader.ModContent.<>c.<Load>b__41_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 302
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 358
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 297
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
[11:50:07] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: Autofish
On an unrelated note, I also noticed that (while using the mod before the most recent tModLoader update) Wandering Eye Fish can spawn from fishing during a Blood Moon, even if the "Only catch non-enemies" option is enabled. Unsure if this is correct behavior.
Let me know if there's any additional information I can provide.
First, I apologize that I am not a very good English speaker and that my writing is difficult to read.
I have confirmed that since this mod has been Ver 0.2.5, there is a problem with the bobber being thrown back the moment an item other than Vanilla (added by another mod) is hooked up.
Simply put, it is now impossible to fish for items added by the mod.
I am reporting this as a bug because I was able to catch fish with no problem in previous versions.
Any other information I can provide would be appreciated.
When i use autofishing, after a time it just stops working and doesn't work again until i completely restart tmodloader, very annoying, log attached.
client.log
Hi Crapsky233, my name is Geovane and I'm from Brazil, so if my English is bad, I'm sorry.
I played Terraria with your mod and LuiAFK and noticed that LuiAFK's unlimited fishing rods don't work with Autofish.
Can you make them be compatible, plz? Or just tell me what I need to do to make them work.
Thank you 😊.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.