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

Auto Trophy Fishing

Jafak

New Member
Joined
Sep 18, 2014
Messages
34
Reaction score
1
For Ru servers if anyone can translate it will work on EU y need to change a skills & debuffs on fish
If anyone will give me skill name & fish debufs from EU server i vill change it for y
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> ()
{
{ "Рывок влево", "Отвести удилище влево" },
{ "Рывок вправо", "Отвести удилище вправо" },
{ "Отчаянное сопротивление", "Ослабить леску" },
{ "Рывок на глубину", "Подкрутить катушку" },
{ "Прыжок над водой", "Подсечь" }
};
}

protected void Wait ()
{
while (me.target == null || // Если не выбрана цель
(me.target.target != null && me.target.target != me) || // Или у цели мы не в таргете (не наша рыба)
getBuff (me.target, "Рыбак и море") == null) // Или это вообще не рыба
{
Thread.Sleep (1000);
}
}

protected void Stopper ()
{
Buff check;
while (true)
{
Wait ();
check = getBuff (me.target, "Натяжение лески");
if (check != null && isCasting ())
{
//CancelSkill(); // Увы, с рыбалкой сейчас не пашет, отменяем каст иначе
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); // Поток, который будет отменять каст, если кастуется что-то не то.
stopper.Start ();
while (true)
{
Wait ();
String skill = null;

// Выбираем подходящую реакцию на бафы рыбы
foreach (Buff enBuff in me.target.getBuffs())
{
if (actions.ContainsKey (enBuff.name))
{
skill = actions [enBuff.name];
break;
}
}

// Кастуем, если есть что
if (!isCasting () && skill != null)
{
if (!isGliding ())
{
TurnDirectly ();
}
Log ("Used: " + skill);
UseSkill (skill, true);
}
Thread.Sleep (100);
}
}
}
}
 
Last edited:
I translated it for everyone, wasnt hard. Only took a couple secs.
As for the skills, i can get them for people but there's only a couple that changed. Rest are fine. So it shouldnt be hard for people to find all the skills for NA and EU and replace.

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> ()
{
{"Jerk left", "Lay the rod to the left"}
{"Jerk right", "Lay the rod right"},
{"Fierce resistance", "Loosen the line"},
{"Charge to the depth", "twist coil"}
{"Jump over the water", "hook in"}
};
}

protected void Wait ()
{
while (me.target == null || // If not selected goal
(me.target.target! = null && me.target.target! = me) || // Or goals we can not Target (not our fish)
getBuff (me.target, "Fisherman and the Sea") == null) // Or this is not a fish
{
Thread.Sleep (1000);
}
}

protected void Stopper ()
{
Buff check;
while (true)
{
Wait ();
check = getBuff (me.target, "tension line");
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);
}
}
}
}
 
can i get the working bot for sport fishing for the US version plz
 
This is a botting forum?

What an immature comment! Why comment at all if you don't have anything useful to add?

@Inokichi Yes its a fishing script for the "Sport fishing". iVigor translated it to English.
I don't know if it works since I haven't tested it.
 
What an immature comment! Why comment at all if you don't have anything useful to add?

@Inokichi Yes its a fishing script for the "Sport fishing". iVigor translated it to English.
I don't know if it works since I haven't tested it.

it doesnt work still needs the correct skills
 
I cleaned up the code a little bit and I think you should put "Finally" with capital 'f' (finally) so I changed this too.

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> (){
				{"Jerk left", "Lay the rod to the left"}
				{"Jerk right", "Lay the rod right"},
				{"Fierce resistance", "Loosen the line"},
				{"Charge to the depth", "twist coil"}
				{"Jump over the water", "hook in"}
			};
		} 

		protected void Wait (){
			while (me.target == null || (me.target.target! = null && me.target.target! = me) || getBuff (me.target, "Fisherman and the Sea") == 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 line");
				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);
			}
		}
	}
}
 
getBuff (me.target, "Fisherman and the Sea")
What is that? Fisherman and the Sea?
 
To compile this i need use the Plugin Editor? Copy/Paste and save? Im a noob sorry for this questions

P.D: When i do this get this error :

7:18:46: x:\Juegos\Plugins\Fishing\fish.cs(26,28) : error CS1018: Keyword 'this' or 'base' expected

Can anyone help pls?
 
Last edited:
Yes you will get around 20-30 errors. I have fixed them all and now I need to translate skill names.
I will look in to this when I get home from work.

{"Jerk left", "Lay the rod to the left"}
{"Jerk right", "Lay the rod right"},
{"Fierce resistance", "Loosen the line"},
{"Charge to the depth", "twist coil"}
{"Jump over the water", "hook in"}
"Fisherman and the Sea"
"tension line"
 
Yes you will get around 20-30 errors. I have fixed them all and now I need to translate skill names.
I will look in to this when I get home from work.

{"Jerk left", "Lay the rod to the left"}
{"Jerk right", "Lay the rod right"},
{"Fierce resistance", "Loosen the line"},
{"Charge to the depth", "twist coil"}
{"Jump over the water", "hook in"}
"Fisherman and the Sea"
"tension line"

Thanks for your time mate!
 
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);
            }
        }
    }
}
 
thats awesome biocide. so what does it do and what do you need? do you have to run it to a spot and just hit start?
 
thats awesome biocide. so what does it do and what do you need? do you have to run it to a spot and just hit start?

Chum the school and make a throw.
Start the plugin.

All that this plugin does is matching the fish buffs.
 
Back
Top