AtomicTorch Studio Forums

CryoFall => Mods => Topic started by: Feuerteufel on July 24, 2020, 04:22:54 AM

Title: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Feuerteufel on July 24, 2020, 04:22:54 AM
This  mod is a simple expansion to the Automaton mod.
It adds a new Feature "AutoFish" which automatically fishes near water when a fishing rod is equipped. (At the moment u need to have the mouse over water though)
Simply activate it like everything else in the Automaton mod.

Prerequisites: Automaton Mod which can be found here: https://forums.atomictorch.com/index.php?topic=1097.0 (https://forums.atomictorch.com/index.php?topic=1097.0)
Mod type: Client Mod
Version: 0.1.1
Supported game version / Supported Automaton Mod version: 0.27.7.6 / 0.3.5
Download: https://drive.google.com/file/d/1maGmvk8m8caJ2OWk-xntU7VSMwoGVHZ9/view?usp=sharing (https://drive.google.com/file/d/1maGmvk8m8caJ2OWk-xntU7VSMwoGVHZ9/view?usp=sharing)
How to install:
1. Place Automaton.mpk and AutomatonFishingExpansion.mpk in the "Mods" folder located at %userprofile%\documents\AtomicTorchStudio\CryoFall
2. Edit "ModsConfig" located at %userprofile%\documents\AtomicTorchStudio\CryoFall which looks likes this:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
  <mod>core_1.0.0</mod>
</mods>

by adding the following two lines:
<mod>automaton</mod>
<mod>automatonFishingExpansion</mod>

after the core, so it looks like this:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
  <mod>core_1.0.0</mod>
  <mod>automaton</mod>
  <mod>automatonFishingExpansion</mod>
</mods>


Changelog:
25.07.2020:
- updated mod to work with Automaton 0.3.5

Hope i have done everything right and you'll like it :)
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on July 24, 2020, 11:23:15 AM
Wow this game engine is powerful...

Good job.  Too bad we can't really use the mouse to do something else on the computer at the same time.
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Feuerteufel on July 24, 2020, 12:24:19 PM
Quote from: Mars on July 24, 2020, 11:23:15 AM
Wow this game engine is powerful...

Good job.  Too bad we can't really use the mouse to do something else on the computer at the same time.

It should be possible to use the mouse when u alt+tab into a diffent window,
cause the mouse position ingame is does not get updated while the game is not in focus.
The mouse just need to be over the water when u change the focus.
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: MGS on July 24, 2020, 04:33:38 PM
Thank you for posting this.

I initially thought this would be gamebreaking


But infact its not.

Its a great little tool for getting a lot of fish, finising completionist and great for LP gain until diminishing returns kick in.

Overall great mod. Doesnt break the game.
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on July 24, 2020, 05:16:43 PM
alt-tab works thanks. 
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Djekke on July 24, 2020, 08:55:34 PM
Good job!
But there was a problem with Automaton (if you wanted to add a new feature you were needed to rewrite AutomatonManger.cs) so I add small modification to my mod.
There is new release Automaton 0.3.5 (https://forums.atomictorch.com/index.php?topic=1097.0)

@Feuerteufel, you need to adjust few things, to make it compatible again:

Also there is few things that better to be changed:

After writing all of this I realized that it would be easier to share modified mod (https://drive.google.com/file/d/1CWVcZTzsyTI2aVTohQO_Sfwq2y7yF0b0/view) (you also can try to fix it yourself and after that compare result)
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Feuerteufel on July 25, 2020, 08:27:58 AM
Quote from: Djekke on July 24, 2020, 08:55:34 PM
Good job!
But there was a problem with Automaton (if you wanted to add a new feature you were needed to rewrite AutomatonManger.cs) so I add small modification to my mod.
There is new release Automaton 0.3.5 (https://forums.atomictorch.com/index.php?topic=1097.0)

@Feuerteufel, you need to adjust few things, to make it compatible again:

  • Remove `AutomatonManager.cs` from your mod.
  • Add new bootstrapper and add new feature there.
  • Modify feature class to make it looks like other (after my update)

Also there is few things that better to be changed:

  • Change folder name `Scripts\Automaton' to `Scripts\YourModId` to make sure, that you accidentally didn't overwrite any files from original mod.
  • Add to your feature override of options builder 'PrepareOptions' to get rid of not used options.

After writing all of this I realized that it would be easier to share modified mod (https://drive.google.com/file/d/1CWVcZTzsyTI2aVTohQO_Sfwq2y7yF0b0/view) (you also can try to fix it yourself and after that compare result)

Yeah the Problem with the overriding of "AutomatonManager.cs" i had in mind too, nice that you changed  it so quickly.
That way i can post another Expansion i made separately^^

And thank you for the explanations.
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on January 19, 2021, 11:52:11 AM
FeatureAutoFish.cs line 59 :

FishingSystem.ClientPullFish();
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Doggfite on January 20, 2021, 09:25:31 AM
Doesn't appear to be up to date with the game, any plans to update?
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on January 21, 2021, 07:58:35 PM
Fixed it until the author gives some news...
https://drive.google.com/file/d/15fIN4vRUznhO5mJR2SuxFt5-Q0nnTv7v/view?usp=sharing
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on January 25, 2021, 10:31:45 PM
I made some changes to be able to have more than 1 fishing rod on the hotbar.
https://drive.google.com/file/d/15fIN4vRUznhO5mJR2SuxFt5-Q0nnTv7v/view?usp=sharing
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: bratgrrl21 on December 21, 2021, 06:36:34 PM
It seems like this may need an update. Cryofall was unable to start with this mod active.
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on December 22, 2021, 10:44:46 PM
Did you try my file over your post? I am using it in R31...
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on December 27, 2021, 07:58:46 PM
I did a small update to work with Hardcore Desert Double bait fishing rod
https://drive.google.com/file/d/1G1lRRV2iz284o7IEX2VgaWAN1Uj2wcSB/view?usp=sharing
Title: Re: [Client] Automaton Mod Expansion - Auto Fishing
Post by: Mars on December 30, 2021, 03:13:33 PM
R32 version 0.1.5
https://drive.google.com/file/d/1xexbZvKGaZ4AkbIfBy9mVyuLyLeK_-_-/view?usp=sharing

Removed the automaton error "auto fishing already added"

Minimum default pole durability to 5%

Auto fishing will look if there is a water tile under your mouse with IsFishingAllowed to true, instead of spamming "Can't fish here" if you are near water with the mouse over the ground

Fishing pole durability check will happen also while fishing to avoid breaking the pole, the fishing system is removing durability to the pole 1.5 seconds after the last catch, not sure why