Jump to content
  • 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

    Droidz

    Posted

    hey, what is your current code to extract key?

    Watcher

    Posted

    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.

    Droidz

    Posted

    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

    Watcher

    Posted

    It closes before I could copy the log.

    Watcher

    Posted

    9 minutes ago, Droidz said:

    hello, can you share your log file please

    It closes before I could copy the log.

    Matenia

    Posted

    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...

    Matenia

    Posted

    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");

     

    Watcher

    Posted

    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?

    Matenia

    Posted

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

    Watcher

    Posted

    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?

     

    Watcher

    Posted

    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?

    Watcher

    Posted

    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!

    Matenia

    Posted

    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.

    Watcher

    Posted

    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

    Scotch

    Posted

    oke, its broken, what steps do i need to take to fix the issue? 

     

     

    Matenia

    Posted

    You redownload the products you own if they have been fixed already



    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...