• Welcome to AtomicTorch Studio Forums.
 

[Client] Automaton Mod Expansion - Auto Fishing

Started by Feuerteufel, July 24, 2020, 04:22:54 AM

Feuerteufel

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 :)

Mars

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.

Feuerteufel

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.

MGS

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.

Mars


Djekke

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)

Feuerteufel

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.

Mars

FeatureAutoFish.cs line 59 :

FishingSystem.ClientPullFish();

Doggfite

Doesn't appear to be up to date with the game, any plans to update?

Mars

Fixed it until the author gives some news...
https://drive.google.com/file/d/15fIN4vRUznhO5mJR2SuxFt5-Q0nnTv7v/view?usp=sharing

Mars

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

bratgrrl21

It seems like this may need an update. Cryofall was unable to start with this mod active.

Mars

Did you try my file over your post? I am using it in R31...

Mars

I did a small update to work with Hardcore Desert Double bait fishing rod
https://drive.google.com/file/d/1G1lRRV2iz284o7IEX2VgaWAN1Uj2wcSB/view?usp=sharing

Mars

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