Results 1 to 14 of 14
  1. #1
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried

    Cool AQ3D Auto Capture Fish

    This simply auto captures the captured fish once it reaches within the bounds of the goal.

    TUTORIAL
    1) Drag Assembly-CSharp.dll into dnSpy
    2) Go into UIFishing and look for Update()
    3) Change Update() to this
    Code:
    	public void Update()
    	{
    		if (this.miniGameActive)
    		{
    			if (this.IsInGoal()) // The magic nest
    			{
    				this.machine.CollectResource(); // Captures Fish
    				this.Close(); // Closes fishing node and UI
    			}
    
    			this.countdown -= Time.deltaTime;
    			if (this.countdown <= 0f)
    			{
    				this.OnClick(null);
    				return;
    			}
    			this.UpdateTimeFill();
    			this.UpdateMarkerRotation();
    			this.UpdateMarkerColor();
    		}
    	}
    4) Save All
    5) Engage Fishing
    6) Enjoy

    I recommend adding a randomized sleep or a boundaries checker so it's not always instant.

    Enjoy
    Last edited by bennyboo123; 10-21-2024 at 06:11 PM.

  2. #2
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    Added a GUI to toggle it on and off. Located in UIFishing still just in OnGUI()

    <b>Downloadable Files</b> Downloadable Files

  3. The Following 2 Users Say Thank You to bennyboo123 For This Useful Post:

    luis001 (01-13-2025),Nocrew (11-08-2024)

  4. #3
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    Here's another way to capture the fish without having to CollectResource();

    Code:
    if (this.IsInGoal())
    {
    	UIEventListener button = UIEventListener.Get(this.buttonFish.gameObject);
    	if (button.onClick != null) {
    		button.onClick(this.buttonFish.gameObject);
    	}
    }

  5. The Following User Says Thank You to bennyboo123 For This Useful Post:

    Nocrew (11-08-2024)

  6. #4
    Nocrew's Avatar
    Join Date
    Nov 2024
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    1

    help

    Quote Originally Posted by bennyboo123 View Post
    Here's another way to capture the fish without having to CollectResource();

    Code:
    if (this.IsInGoal())
    {
    	UIEventListener button = UIEventListener.Get(this.buttonFish.gameObject);
    	if (button.onClick != null) {
    		button.onClick(this.buttonFish.gameObject);
    	}
    }
    Guy tries it and it's fine, but wouldn't it be interesting for it to identify places to fish and go there automatically?
    Last edited by Nocrew; 11-08-2024 at 11:10 AM. Reason: I managed to make it work

  7. #5
    Nocrew's Avatar
    Join Date
    Nov 2024
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    1

    Question I want to learn

    I'm analyzing and trying to improve but I don't know how to decompile and compile the dll again to apply my logic

  8. #6
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    Quote Originally Posted by Nocrew View Post
    Guy tries it and it's fine, but wouldn't it be interesting for it to identify places to fish and go there automatically?
    That's a lot to add, but you're not wrong. Just a lot of work I'm not willing to put in ATM.

    I'd check out ResourceMachine as that's where they spawn nodes and fishes.

    I assume this is the variable where they store the fish, but that's just a very quick skim through of the code. I recommend someone else go deeper as I just don't have the time to.
    Code:
    private Dictionary<int, GameObject> playerFish;


    - - - Updated - - -

    Quote Originally Posted by Nocrew View Post
    I'm analyzing and trying to improve but I don't know how to decompile and compile the dll again to apply my logic
    Download dnSpy, go to AQ3D folder, find the assembly-csharp.dll, drag it in, then you'll see the code. To save it all, just go to File and save all. Then it's good to go!

  9. #7
    Nocrew's Avatar
    Join Date
    Nov 2024
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    1

    Red face thanks

    Quote Originally Posted by bennyboo123 View Post


    That's a lot to add, but you're not wrong. Just a lot of work I'm not willing to put in ATM.

    I'd check out ResourceMachine as that's where they spawn nodes and fishes.

    I assume this is the variable where they store the fish, but that's just a very quick skim through of the code. I recommend someone else go deeper as I just don't have the time to.
    Code:
    private Dictionary<int, GameObject> playerFish;


    - - - Updated - - -



    Download dnSpy, go to AQ3D folder, find the assembly-csharp.dll, drag it in, then you'll see the code. To save it all, just go to File and save all. Then it's good to go!


    It worked, thank you, it's not the best thing but I can now stop it and start it automatically without needing to click, and it works together with your autofish

  10. The Following User Says Thank You to Nocrew For This Useful Post:

    bennyboo123 (12-02-2024)

  11. #8
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    I decided to mess around to see what I can find out and I managed to identify the fish that is currently spawned for you. So you can ideally filter the type of fish you want.


    Add this into UIFishing (or anywhere you want to identify the type of fish)
    Code:
    public static string fish;
    Add this into SpawnFish function inside ResourceMachine under the if (fish != null) nestle
    Code:
    UIFishing.fishh = fish.name.ToString();
    Should look like this
    Code:
    public partial class ResourceMachine : ClickMachine
    {
    	// Token: 0x06000613 RID: 1555
    	private IEnumerator SpawnFish(int playerID)
    	{
    		GameObject fish = this.playerFish[playerID];
    		if (fish != null)
    		{
    			UIFishing.fishh = fish.name.ToString();
    and now in UIFishing where the automatic code is for the minigame, you can make it so if it's the rarity you want, you can capture or move & refish.


    Fish Types
    Code:
    CommonFish
    UncommonFish
    RareFish
    EpicFish
    LegendaryFish
    Example
    Code:
    if (this.IsInGoal() && fishh == "CommonFish")
    {
    	this.machine.CollectResource();
    	this.Close();
    }
    Last edited by bennyboo123; 12-02-2024 at 09:16 AM.

  12. #9
    lompoi46's Avatar
    Join Date
    May 2019
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    already patch


    Quote Originally Posted by bennyboo123 View Post
    Added a GUI to toggle it on and off. Located in UIFishing still just in OnGUI()


  13. #10
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    Quote Originally Posted by lompoi46 View Post
    already patch
    Working on a private version (that I don't plan on releasing publicly). Soon to have more to fishing, an actual GUI, visuals, and if it gets that far, I'll do something combat related.
    Last edited by bennyboo123; 12-29-2024 at 06:16 PM.

  14. #11
    lompoi46's Avatar
    Join Date
    May 2019
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    hope i can contact u


    Quote Originally Posted by bennyboo123 View Post


    Working on a private version (that I don't plan on releasing publicly). Soon to have more to fishing, an actual GUI, visuals, and if it gets that far, I'll do something combat related.

  15. #12
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    Quote Originally Posted by lompoi46 View Post
    hope i can contact u
    Sent you a message (I think) xd

  16. #13
    DivoRaS99's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by bennyboo123 View Post


    Working on a private version (that I don't plan on releasing publicly). Soon to have more to fishing, an actual GUI, visuals, and if it gets that far, I'll do something combat related.

    im waiting

  17. #14
    bennyboo123's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    128
    Reputation
    20
    Thanks
    715
    My Mood
    Worried
    Quote Originally Posted by DivoRaS99 View Post
    im waiting
    Waiting for what? I'm not releasing what you replied to publicly. I contribute the basic forms of my projects here. I don't contribute my entire projects here.

Similar Threads

  1. AQ3D BOTS
    By RedEagIe in forum Adventure Quest (AQ) 3D Hacks / Cheats / Trainers
    Replies: 6
    Last Post: 05-11-2024, 11:54 PM
  2. [Release] Aq3d Cheat Updated
    By Badaim0G in forum Adventure Quest (AQ) 3D Hacks / Cheats / Trainers
    Replies: 37
    Last Post: 08-14-2023, 08:48 AM
  3. [Preview] AQ3D Hacking
    By IfOnlyYouKnew in forum Adventure Quest (AQ) 3D Hacks / Cheats / Trainers
    Replies: 19
    Last Post: 12-01-2022, 09:10 AM
  4. Thread: [WTS] HEROMART CODE AQW ,AQ3D,DF, ED,MQ ETC
    By Nurseae in forum DragonFable (DF) Hacks / Cheats / Trainers
    Replies: 16
    Last Post: 05-31-2022, 12:04 AM
  5. [Help] Is It Possible To Get Fish Bots And Auto Bots?
    By mystery2k10 in forum Metin 2 Hacks
    Replies: 0
    Last Post: 04-20-2011, 06:12 AM