Jump to content

Recommended Posts

Does it write "confirm" and other states to log and WoW console?

If you think it clicks too fast simply add string

System.Threading.Thread.Sleep(100); // or another value if 100 is not enough

in the BattlefieldStatusHandler method, before string 

Lua.LuaDoString("PVPReadyDialogEnterBattleButton:Click()");

 

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-37367
Share on other sites

Alex007, what you mean the "same situation"?

1) With wrotation you cant join random BG even manually? or bot cant accept BG when it ready?

2) with battlegrounder bot rejoins queue?

3) Does plugin print something to log/console?

Maybe your log could clarify the situation

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-37412
Share on other sites

 

ivanra:

1) with Wrotation bot (with AutoBG plugin) can accept BG when it ready.

2) withbattlegrounder  bot join only for first battleground.

3) in chat plugin print: 

[AutoBG] Status 1:none CTF3

[ AutoBG ] Status 2 :  Южнобережье против мельницы Таррен

in log:

22:52:12 - [BG] Battleground Finish
[D] 22:52:20 - [Info] Continent change, CataclysmCTF to Troll Raid
[D] 22:52:21 - [Blacklist] Added, 15 uniques Npcs, 13 Blackspots and 1 Npcs types (Training dummy ignored = True).

next time:

[ AutoBG ] Status 1 : confirm CTF3

[ AutoBG ] Status 1 : none CTF3

and nothing and 15 minutes waiting)

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-37546
Share on other sites

17 minutes ago, Artud said:

It still doesn't work for me, even with the plugin. 

So, AcceptBattlefieldPort is disabled on your server. You have to patch wManager.dll:

  • open wManager.Wow.Helpers.Battleground.AcceptBattlefieldPortAll() method
  • find and comment string with Battleground.AcceptBattlefieldPort
  • compile

After this bot will 100% accept BG with my plugin

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-37938
Share on other sites

Ok. Because all want know, i'll write it here. 

  1. check AcceptBattlefieldPort is disabled on your server. Open developement tools and run C# code 
    Battleground.JointBattleGroundQueue(32); // this is random BG
    Thread.Sleep(1000);
    Battleground.AcceptBattlefieldPortAll();

    This starts BG queue, and should accept BG when it ready. If it works, you need no any modifications. If not accepts, LUA function AcceptBattlefieldPort is disabled on your server or works unstable. So, go to step 2

  2. download and install dnSpy

  3. in dnSpy open wManager.dll and find method AcceptBattlefieldPortAll  s1.PNG.1ef25ea2a1e2f3b3714438162426828f.PNG    

  4. right click and run menu item "Edit Method (C#)". You will see obfuscated code, but no problem. Find string with Battleground.AcceptBattlefieldPort and comment it  s2.PNG.00d15863ab0915ab8180d2e6d19f8f2c.PNG   

  5. compile and save.

Voila, now your battlegrounder will accept BG with Battlegrounder helper plugin, because it uses alternative method.

Dont update your robot, or do this steps after every update

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-37956
Share on other sites

4 hours ago, headcrab said:

Ok. Because all want know, i'll write it here. 

  1. check AcceptBattlefieldPort is disabled on your server. Open developement tools and run C# code 
    
    Battleground.JointBattleGroundQueue(32); // this is random BG
    Thread.Sleep(1000);
    Battleground.AcceptBattlefieldPortAll();

    This starts BG queue, and should accept BG when it ready. If it works, you need no any modifications. If not accepts, LUA function AcceptBattlefieldPort is disabled on your server or works unstable. So, go to step 2

  2. download and install dnSpy

  3. in dnSpy open wManager.dll and find method AcceptBattlefieldPortAll  s1.PNG.1ef25ea2a1e2f3b3714438162426828f.PNG    

  4. right click and run menu item "Edit Method (C#)". You will see obfuscated code, but no problem. Find string with Battleground.AcceptBattlefieldPort and comment it  s2.PNG.00d15863ab0915ab8180d2e6d19f8f2c.PNG   

  5. compile and save.

Voila, now your battlegrounder will accept BG with Battlegrounder helper plugin, because it uses alternative method.

Dont update your robot, or do this steps after every update

The problem is resolved!! Gr8 job, thank you!;)

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-37970
Share on other sites

  • 1 month later...
On 18/01/2018 at 7:12 AM, headcrab said:

Ok. Because all want know, i'll write it here. 

  1. check AcceptBattlefieldPort is disabled on your server. Open developement tools and run C# code 
    
    Battleground.JointBattleGroundQueue(32); // this is random BG
    Thread.Sleep(1000);
    Battleground.AcceptBattlefieldPortAll();

    This starts BG queue, and should accept BG when it ready. If it works, you need no any modifications. If not accepts, LUA function AcceptBattlefieldPort is disabled on your server or works unstable. So, go to step 2

  2. download and install dnSpy

  3. in dnSpy open wManager.dll and find method AcceptBattlefieldPortAll  s1.PNG.1ef25ea2a1e2f3b3714438162426828f.PNG    

  4. right click and run menu item "Edit Method (C#)". You will see obfuscated code, but no problem. Find string with Battleground.AcceptBattlefieldPort and comment it  s2.PNG.00d15863ab0915ab8180d2e6d19f8f2c.PNG   

  5. compile and save.

Voila, now your battlegrounder will accept BG with Battlegrounder helper plugin, because it uses alternative method.

Dont update your robot, or do this steps after every update

Sorry to be a pain, and forgive me total amateurishness at this, but how do I do this?

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-40796
Share on other sites

  • 3 weeks later...
43 minutes ago, manny80 said:

i dont became it to run. He dont join the q. And then he have desartour. Help me pls 

You have to comment string Battleground.AcceptBattlefieldPort with slashes ( //). Only possible for 7.1.5 bot, because new versions protected and not copmilable (but can be patched)

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-41968
Share on other sites

You mean the line 10 from my screenshot? 

 

i have do this, and now is so, q pops up but he dont join. but it is now possible to accept manual. i have try the plugin  Battlegrounder helper plugin

but when i enable it and start the bot he crash all

 

ps: is for 7.1.5 priv server ( firestorm)

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-41974
Share on other sites

6 hours ago, manny80 said:

i have try the plugin  Battlegrounder helper plugin but when i enable it and start the bot he crash all

Use version 2.1.0 (download it from changelog). 2.2.0 contains some unsafe code, i'll remove it. 2.1.0 will work fine with patched robot

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-41997
Share on other sites

  • 1 month later...

If someone can try this plugin and tell me if he works: Disable AcceptBattlefieldPort.cs

using System.Threading;
using robotManager.Products;
using wManager.Wow.Helpers;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        while (Products.IsStarted)
        {
            if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
                Lua.LuaDoString("AcceptBattlefieldPort=function(i,a) PVPReadyDialogEnterBattleButton:Click() end");
            Thread.Sleep(1000 * 30);
        }
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
    }
}

 

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-43496
Share on other sites

  • 1 month later...
  • 3 weeks later...

After Update from priv server, to wow version 7.3.5 (26365) i have the same problems.... he dont join the q for battlefield ( BG) 

the other thing are, it is not possible to edit the file with Dnspy.

what can i do , anyone can help me ? wrobot i just use for bg at priv server but it dont work 

... 

Link to comment
https://wrobot.eu/forums/topic/2811-bg-join/?page=3#findComment-45076
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...