Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • Latest update broke authentication for all products


    Matenia
    • Version: All Product: WRobot General Type: Bug Status: Fixed

    Can you please add a property somewhere for the short wRobot auth key? All authentication features currently use this, but since you changed the string to include (1/10 sessions) now, it's broken unfortunately.




    User Feedback

    Recommended Comments

    Greetigns,

     

    I'm getting the same issue.

    Since the update from today, Wrobot is closing at start, just showing na alert saying that I'm using from a diferent buy order IP as soon as I start to run.

    This is happening with all profiles/plugins.

    Share this comment


    Link to comment
    Share on other sites
    1 minute ago, fbarboza said:

    Greetigns,

     

    I'm getting the same issue.

    Since the update from today, Wrobot is closing at start, just showing na alert saying that I'm using from a diferent buy order IP as soon as I start to run.

    This is happening with all profiles/plugins.

    hello, can you share your log file please

    Share this comment


    Link to comment
    Share on other sites
    9 minutes ago, Droidz said:

    hello, can you share your log file please

    It closes before I could copy the log.

    Share this comment


    Link to comment
    Share on other sites

    fbarboza, update your fightclass/plugin/profile.
    This is not an issue with wRobot, the wRobot update broke third party software This is just a request for droidz to add something more stable.
    And the log file is in your Logs folder, you don't need to copy it...

    Share this comment


    Link to comment
    Share on other sites

    Code to extract key before:

    var authKey = robotManager.Helpful.Others.StringBetween(authManager.LoginServer.GetSubcriptionInfoThread(), robotManager.Translate.Get(""License Key"") + "": "", ""...  - "" + robotManager.Translate.Get(""Subscription time expire""));

    Code to extract key after I fixed it for the update:

    CompilerResults result = RunCode.Compile(RunCode.CodeType.CSharp,
                @"
                    public class AuthMainClass
                    {
                        public static void Main()
                        {   
                            System.Text.RegularExpressions.Match matcher = System.Text.RegularExpressions.Regex.Match(authManager.LoginServer.GetSubcriptionInfoThread(), ""(Key: )(.*)(\\.\\.\\.)(.*)"");
                            if (matcher.Success) 
                            {
                                robotManager.Helpful.Var.SetVar(""wRobotAuthKey"", matcher.Groups[2].Value);
                            } 
                            else
                            {
                                robotManager.Helpful.Var.SetVar(""wRobotAuthKey"", ""TRIAL"");
                            }
                            
                        }
                    }
                ");
            RunCode.InvokeStaticMethod(result, "AuthMainClass", "Main");
            Logging.WriteError(RunCode.ErrorsToString(result));
            this.wRobotAuthKey = Var.GetVar<string>("wRobotAuthKey");

     

    Share this comment


    Link to comment
    Share on other sites
    8 minutes ago, Matenia said:

    Code to extract key before:

    var authKey = robotManager.Helpful.Others.StringBetween(authManager.LoginServer.GetSubcriptionInfoThread(), robotManager.Translate.Get(""License Key"") + "": "", ""...  - "" + robotManager.Translate.Get(""Subscription time expire""));

    Code to extract key after I fixed it for the update:

    CompilerResults result = RunCode.Compile(RunCode.CodeType.CSharp,
                @"
                    public class AuthMainClass
                    {
                        public static void Main()
                        {   
                            System.Text.RegularExpressions.Match matcher = System.Text.RegularExpressions.Regex.Match(authManager.LoginServer.GetSubcriptionInfoThread(), ""(Key: )(.*)(\\.\\.\\.)(.*)"");
                            if (matcher.Success) 
                            {
                                robotManager.Helpful.Var.SetVar(""wRobotAuthKey"", matcher.Groups[2].Value);
                            } 
                            else
                            {
                                robotManager.Helpful.Var.SetVar(""wRobotAuthKey"", ""TRIAL"");
                            }
                            
                        }
                    }
                ");
            RunCode.InvokeStaticMethod(result, "AuthMainClass", "Main");
            Logging.WriteError(RunCode.ErrorsToString(result));
            this.wRobotAuthKey = Var.GetVar<string>("wRobotAuthKey");

     

    So, do I need to wait every profile/plugin get na update to the new wrobot version?

    Share this comment


    Link to comment
    Share on other sites

    Every single one that uses custom authentication and gets the wRobot key that way. All of my products have been updated already.

    Share this comment


    Link to comment
    Share on other sites
    8 minutes ago, Matenia said:

    Every single one that uses custom authentication and gets the wRobot key that way. All of my products have been updated already.

    I think that this is going to be a problem since one of the plugins that I use are not updated since January.
    I'm a software developer and it's not good pratice you create a new application version that brokes compatibility, at least the user should be warned that this could happen.
    Is it possible to downgrate the wrobot version?

     

    Share this comment


    Link to comment
    Share on other sites
    15 minutes ago, Matenia said:

    Every single one that uses custom authentication and gets the wRobot key that way. All of my products have been updated already.

    It seens I'm using your Frostmage Fight Class. 😁

    But says that your last update was in january 28. Did you already fixed?

    Share this comment


    Link to comment
    Share on other sites
    7 minutes ago, fbarboza said:

    It seens I'm using your Frostmage Fight Class. 😁

    But says that your last update was in january 28. Did you already fixed?

    Yeap. It's fixed!

    Share this comment


    Link to comment
    Share on other sites

    I didn't break compatibility and I didn't know Droidz was going to (he likely didn't know himself). We're developing third party binaries that are loaded through the C# API itself. This isn't a simple API change as you'd get it when distributing open source libs to a bunch of users.

    Discord has all the necessary info, including telling you not to update wRobot until I (or other creators) give the approval. It took me a total of 1:30h after the update to fix all binaries AND announce the update. Not a big deal.

    Also forum threads are NOT updated. It's considered bad manners between creators to push their own files into the forum's spotlight.

    Share this comment


    Link to comment
    Share on other sites
    1 hour ago, Matenia said:

    I didn't break compatibility and I didn't know Droidz was going to (he likely didn't know himself). We're developing third party binaries that are loaded through the C# API itself. This isn't a simple API change as you'd get it when distributing open source libs to a bunch of users.

    Discord has all the necessary info, including telling you not to update wRobot until I (or other creators) give the approval. It took me a total of 1:30h after the update to fix all binaries AND announce the update. Not a big deal.

    Also forum threads are NOT updated. It's considered bad manners between creators to push their own files into the forum's spotlight.

    I'm sorry for the miss understood.

    What I want to mean is that IF the Wrobot is going to recieve a big update that could break compatibility between the plug-ins, it should warn the users that this could happen, then they could decide if they should update or wait the plugin developers update their codes.

    But, thank you for your quickly update.

    Regards,

    Fabio

    Share this comment


    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...