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

Relogging back into game

dewrain85

New Member
Joined
Sep 9, 2014
Messages
16
Reaction score
0
Is their a way where we can set up a plugin so if we get dc'd from botting, it will relog into the game automatically after like a few minutes.
And it will stay idle in character select screen. I'm still waiting 3+ hours to log back in.
 
You can login into server (but i`m not 100% sure that it still work after 1.2 update, recheck it today).
Somethink like this:
Code:
if (gameState == GameState.ServerSelect)
{
    var myWorld = getWorlds().Find(w => w.name == "Kyprosa");
  if (myWorld != null && !myWorld.EnterGameServer())
        return;
  while (gameState != GameState.CharacterSelect)
        Thread.Sleep(500);
  if (myWorld.getCharacters().Count == 0)
    return;
  if (!myWorld.getCharacters()[0].EnterGame())
    return;
  while (gameState != GameState.Ingame)
    Thread.Sleep(500);
  Log("Enter game success!!");
}


Also you can try to use https://www.thebuddyforum.com/archebuddy-forum/archebuddy-plugins/178356-plugin-simple-anti-afk.html



If you will test auto enter the server - please write feedback is it work (if no i will fix it)
 
stupid question here, How do I know when the plugin is worked? when it shows a green triangle?or when it shows a square red? I am sorry I haven't get a chance to try the bot because of the queue. I tried once and my character could not move, but can did skills or chat
 
stupid question here, How do I know when the plugin is worked? when it shows a green triangle?or when it shows a square red? I am sorry I haven't get a chance to try the bot because of the queue. I tried once and my character could not move, but can did skills or chat
press "green" to start" press red to stop.. so if you see "RED" that means its running..
 
Dont work for me but maybe doing something wrong , i compile it in Plugins editor and save it .

7:05:47: x:\Juegos\Plugins\Auto.cs(9,1) : error CS0116: A namespace cannot directly contain members such as fields or methods
7:05:47: x:\Juegos\Plugins\Auto.cs(18,32) : error CS1001: Identifier expected
7:05:47: x:\Juegos\Plugins\Auto.cs(23,1) : error CS1022: Type or namespace definition, or end-of-file expected
 
tried this, but didnt work when my client closes (conection lost) the puglin deactive.

please help to fix this, i rly need it to not get on queue again after afk time


Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace RelogNamespace{
    public class RelogClass : Core
    {                    
      
      
        public void PluginRun()
        {
           
                if (gameState == GameState.ServerSelect)
{
    var myWorld = getWorlds().Find(w => w.name == "Kyprosa");
  if (myWorld != null && !myWorld.EnterGameServer())
        return;
  while (gameState != GameState.CharacterSelect)
        Thread.Sleep(500);
  if (myWorld.getCharacters().Count == 0)
    return;
  if (!myWorld.getCharacters()[0].EnterGame())
    return;
  while (gameState != GameState.Ingame)
    Thread.Sleep(500);
  Log("Enter game success!!");
}
            }
        }
}
 
tried this, but didnt work when my client closes (conection lost) the puglin deactive.
When you client closes, or connection lost, you cant do nothing. The only way, you can do - wait, while our Account Manager be able to restart game clients
 
Finally i recheck EnterGameWorld function, and its work.
Dont forget change game world name and specify character number
So all that you need to reenter game world - make plugin with code like:
Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace RelogNamespace
{
    public class RelogClass : Core
    {                    
        public void PluginRun()
        {
			while (true)
			{
				if (gameState == GameState.ServerSelect)
				{
					//Find our game world
					var myWorld = getWorlds().Find(w => w.name == "Orchidna");
					if (myWorld == null || (myWorld != null && !myWorld.EnterGameServer()))
					{
						Log("Invalid game world name or error while we try to enter game server!");
						return;
					}
					//Wait while we enter game world
					while (gameState != GameState.CharacterSelect)
						Thread.Sleep(500);
					//Get our character (in this example first character from all that you have on this game world
					var chararcters = myWorld.getCharacters();
					if (chararcters.Count == 0 || (chararcters.Count > 0 && !chararcters[0].EnterGame()))
					{
						Log("No characters on this world or error while we try to enter game!");
						return;
					}
				}
				Thread.Sleep(1000);
			}
			
		}
	}
}
 
Back
Top