Jump to content
  • LoadProfile and slow loading of profile steps


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

    Hello. 

    I dont know is this a bug or not. Each time one profile is loaded from another profile using the "LoadProfile" action =>  the profile steps are loading more and more and more slowly. I just got tired of killing the bot process to load profile steps faster. Is it possible to fix that? 

    Thanks in advance.



    User Feedback

    Recommended Comments

    Yes, had this with my old Questingprofiles too. Even the "Loader" Profiles will get slower and slower, each time you restart them. Atleast i noticed this in the WOTLK client. @Droidz You can reproduce this when you take a larger profile and restart this. You should notice this after the second restart. Tbh, i have this since i started with wrobot, but i was told that this is already known but can´t be changed.

    Link to comment
    Share on other sites

    You get problem with encrypted profile? I can't reproduce problem, I tested with several profiles that size is bigger that 1 MB (2 MB for one) . You have try without plugins?

    Link to comment
    Share on other sites

    Not Encrypted. It´s a 1-80 Loadprofile. The profile itself has 397 KB, so it isn´t about the size, more about the number of If  Statements inside. I can toss you an example File when you want.

    Link to comment
    Share on other sites

    I fixed it in new update, now the bot compiles all the steps at start (in one time) and the calls from the cache. For that this works, must be no error in the C # codes used in profile "steps" (a lot of profiles have bad code, you have an error log when profile is loaded if error and the steps codes are compiled 1 by 1 as before)

    Link to comment
    Share on other sites

    On 4/21/2021 at 5:16 PM, Droidz said:

    I fixed it in new update, now the bot compiles all the steps at start (in one time) and the calls from the cache. For that this works, must be no error in the C # codes used in profile "steps" (a lot of profiles have bad code, you have an error log when profile is loaded if error and the steps codes are compiled 1 by 1 as before)


    Thanks a lot. But now before loading steps the error appears (doesn't seem to affect the work of the bot):

    [E] 14:23:18 - Compilator Error (steps cache) : q:\WRobot_gatherer1\Data\temp\3dkmob2h.0.cs(778,51) : error CS1002: ; expected q:\WRobot_gatherer1\Data\temp\3dkmob2h.0.cs(3407,2) : error CS1026: ) expected

    Link to comment
    Share on other sites

    On 4/24/2021 at 3:51 PM, Droidz said:

    you have probably error on one of your steps, in this case bot use old method to run steps (you will get again slow problem)


    How can I find a problematic 'step' if I have hundreds and thousands of them in the one profile? Now I have a major headache because of this errors...

    [E] 15:00:57 - Compilator Error (steps cache) : q:\WRobot_gatherer1\Data\temp\agsvn3p3.0.cs(1111,12) : error CS0411: The type arguments for method 'robotManager.Helpful.Var.GetVar(string)' cannot be inferred from the usage. Try specifying the type arguments explicitly. q:\WRobot_gatherer1\Data\temp\agsvn3p3.0.cs(1115,12) : error CS0411: The type arguments for method 'robotManager.Helpful.Var.GetVar(string)' cannot be inferred from the usage. Try specifying the type arguments explicitly.

    Link to comment
    Share on other sites

    How can I find error like this? When I have about 1000+ steps in profile?

    [E] 11:13:17 - Compilator Error (steps cache) :
    q:\WRobot\Data\temp\l1r0zg2v.0.cs(3488,2) : error CS1026: ) expected

    Link to comment
    Share on other sites

    On 4/30/2021 at 4:30 PM, Pudge said:

    How can I find error like this? When I have about 1000+ steps in profile?

    [E] 11:13:17 - Compilator Error (steps cache) :
    q:\WRobot\Data\temp\l1r0zg2v.0.cs(3488,2) : error CS1026: ) expected

    the temp file is a middle state will be delete quickly , i try to save it after created and before it gone, but failed....

    Link to comment
    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...