Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LoadProfile and slow loading of profile steps

  • 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

Hi,

Anyone else is getting this problem? I don't think I can do much, the best would be to optimize your profile to avoid loading too much (maybe create loader profile)

Talamin

Elite user

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.

Energia

Elite user

Indeed it's true. When you stop and play big profile like quester many times the bot get's slower and slower. Closing the bot completely and reopen it helps.

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?

Talamin

Elite user

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.

yes if someone can send me a profile that causes this problem (and tell me the context of the character, if possible easy to reproduce) that I try.

Talamin

Elite user

i did so, in Discord and via PN. Now i am out of Options.

Talamin

Elite user

?

I found cause (C# compiler,  more he has compiled code, slower it is) .
For the moment, I don't know if I'll be able to fix it.

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)

Pudge

WRobot user
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

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)

Pudge

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

Pudge

WRobot user

@Droidz I have no idea how to fix this, I'm trying to find error in the one profile for about 2 hours but still got them ........ please help

Pudge

WRobot user
48 minutes ago, Droidz said:

you probably use "Var.GetVar("varname")" instead "Var.GetVar<type>("varname")" ( https://docs.microsoft.com/dotnet/csharp/misc/cs0411 )


Var.GetVar("RND5451") == 2

How could I have missed it! Thank you so much!...

Pudge

WRobot user

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

libai

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.