Coder Social home page Coder Social logo

autofish's People

Contributors

cyrillya avatar kobawho avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

autofish's Issues

Reporting bugs in mods for Ver 1.3

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.

A suggestion or a personal request

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 😊.

【建议】兼容灾厄宝匣

在我在硫磺海挂机钓鱼了几个小时之后我才发现,如果只启用“自动钓宝匣”,那么灾厄的宝匣是不会被钓起的。

我觉得有三个办法可以避免其他人重蹈我的覆辙:

  1. 在创意工坊或模组简介说明玩家需要手动把灾厄的宝匣加进“其它自动捕获物品”。
  2. 模组自己自动把灾厄的宝匣加进“其它自动捕获物品”。
  3. “自动钓宝匣”兼容灾厄的宝匣。

灾厄有四种宝匣:深渊匣、沉沦匣、硫磺火匣、星幻匣。

Error with latest version of tModLoader Alpha

Mod cannot be successfully enabled with the most recent alpha version of tModLoader.

Screenshot:

image

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.

1.4 does not fish weapons and tools

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"
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.