What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Auto Trophy Fishing

is there a way to make the plugin throw and put the fish away in the fishing boat storage then continue fishing?
 
Would I change "namespace Bolge" and "return Bolge" to my own character name?
 
Well it wasn't me who started this thread but I guess its alright to post a working code to Sport fishing in here.
I cleaned up all the errors and changed the skills. As I see it its a problem in the code when we get tension.
I haven't had time to look at it.

Anyway here is a working code:
Code:
using System; 
using System.Windows.Forms; 
using System.Threading; 
using System.Collections.Generic; 
using System.Linq; 
using ArcheBuddy.Bot.Classes; 
namespace Bolge 
{
    public class Fisher: Core 
    {
        protected Dictionary <string, string> actions; 
        public static string GetPluginAuthor (){
            return "Bolge";
        }
        
        public static string GetPluginVersion (){
            return "1.0.0.0";
        }
        
        public static string GetPluginDescription (){
            return "Fishing machine";
        }
        public Fisher () : base (){
            actions = new Dictionary <string, string> (){
                {"Moving to the Left", "Stand Firm Left"},
                {"Moving to the Right", "Stand Firm Right"},
                {"Escape", "Give Slack"},
                {"Move to the Bottom", "Reel In"},
                {"Leap", "Big Reel In"}
            };
        } 
        protected void Wait (){
            while (me.target == null || (me.target.target != null && me.target.target != me) || getBuff (me.target, "Strength Contest") == null){
            // If not selected goal Or goals we can not Target (not our fish) Or this is not a fish
                Thread.Sleep (1000);
            }
        } 
        protected void Stopper (){
            Buff check;
            while (true){
                Wait ();
                check = getBuff (me.target, "Tension");
                if (check != null && isCasting ()){
                    CancelSkill (); // Alas, fishing is not the plow, cancel castes otherwise 
                    try{
                        MoveForward (true);
                        Thread.Sleep (100);
                    } finally {
                        MoveForward (false);
                    }
                    Log ("Cancel");
                    Thread.Sleep (1500);
                }
                Thread.Sleep (100); 
            } 
        }  
        public void PluginRun (){
            Thread stopper = new Thread (Stopper); // Stream that will cancel the cast, cast if that something is not right.
            stopper.Start ();
            while (true){
                Wait ();
                String skill = null;
                // Select the appropriate response to the buffs fish
                foreach (Buff enBuff in me.target.getBuffs ()){
                    if (actions.ContainsKey (enBuff.name)){
                        skill = actions [enBuff.name]; 
                        break; 
                    }
                }
                // Kastuem if there is
                if (! isCasting () && skill != null){
                    if (! isGliding ()){
                        TurnDirectly ();
                    }
                    Log ("Used:" + skill);
                    UseSkill (skill, true);
                }
                Thread.Sleep (100);
            }
        }
    }
}

randomly walk forward and cancel the skill isn't really working man... it's interfering with the fishing too much
 
is Trophy Fishing a good way to earn Gold?

At high proficiency , in the sea, yes. It is NOT worth it in a lake. Better just farm vocation and xp/proficiency to get there faster.

But if you use this to catch them, you might as well bring the fish in for gold ^^
 
EDIT: if people wanna be dicks then they can just fix it themselves removed my code
 
Last edited:
Edit: All you had to do was leave the original PluginAutor in there.
 
Last edited:
made it work by the last update, but its just not not do anything "( EU server)
 
Last edited:
it semy works it keeps canceling skills sometimes which is really anyone. has anyone been able to get this to work?
 
I do not have any account or access to the EU server so can `t fix anything

on Ru servers, the script works perfectly ...

removing this piece of code should help....
//CancelSkill(); // Увы, с рыбалкой сейчас не пашет, отменяем каст иначе
try
{
MoveForward (true);
Thread.Sleep (100);
} finally {
MoveForward (false);
}
Log ("Cancel");
Thread.Sleep (1500);
}
Thread.Sleep (100);
}
}

public void PluginRun ()
{
Or maybe it cant detect right skill in use ?
check Does name is not changed after the update
 
Last edited:
tried that it still cancels skills. here is the code im using now it works but it cancels skills sometimes



using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace kwhalek
{
public class Fisher: Core
{
protected Dictionary <string, string> actions;
public static string GetPluginAuthor (){
return "kwhalek";
}

public static string GetPluginVersion (){
return "1.0.0.0";
}

public static string GetPluginDescription (){
return "Fishing machine";
}
public Fisher () : base (){
actions = new Dictionary <string, string> (){
{"Moving to the Left", "Stand Firm Left"},
{"Moving to the Right", "Stand Firm Right"},
{"Escape", "Give Slack"},
{"Move to the Bottom", "Reel In"},
{"Leap", "Big Reel In"}
};
}
protected void Wait (){
while (me.target == null || (me.target.target != null && me.target.target != me) || getBuff (me.target, "Strength Contest") == null){
// If not selected goal Or goals we can not Target (not our fish) Or this is not a fish
Thread.Sleep (1000);
}
}
protected void Stopper (){
Buff check;
while (true){
Wait ();
check = getBuff (me.target, "Tension");
if (check != null && isCasting ()){
CancelSkill (); // Alas, fishing is not the plow, cancel castes otherwise
try{
MoveForward (false);
Thread.Sleep (100);
} finally {
MoveForward (false);
}
Log ("Cancel");
Thread.Sleep (1500);
}
Thread.Sleep (100);
}
}
public void PluginRun (){
Thread stopper = new Thread (Stopper); // Stream that will cancel the cast, cast if that something is not right.
stopper.Start ();
while (True){
Wait ();
String skill = null;
// Select the appropriate response to the buffs fish
foreach (Buff enBuff in me.target.getBuffs ()){
if (actions.ContainsKey (enBuff.name)){
skill = actions [enBuff.name];
break;
}
}
// Kastuem if there is
if (! isCasting () && skill != null){
if (! isGliding ()){
TurnDirectly ();
}
Log ("Used:" + skill);
UseSkill (skill, true);
}
Thread.Sleep (100);
}
}
}
}
 
Canceling skill isnt that worse. Because the next buff on the fish is faster then the time to cast a full skill. Thats what the script is doing, but pretty bad because of moving.
 
Back
Top