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.

Declaration Code

Featured Replies

Hi, how can I make a declaration code in the quest profile?
Like in hb. 

<CustomBehavior File="RunCode" Code="uint Zone;" Type="Definition"/>

<CustomBehavior File="RunCode" Code="Zone = 123;" />

  • Author

thanks, but this is a very uncomfortable way.

better to use

<Script>
public class Declaration
{
  public static uint Zone;
}
</Script>

Is it possible to implement custom "wManager.Wow.Class.QuestAction" in a bot?

like

<QuestsSorted Action="InteractWith" MobId="123" />
<QuestsSorted Action="MoveTo" X="111" Y="111" Z="111" />

 

Use step RunCode with code like:

To interact: 

GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8835.76, 490.084, 109.6157), 123);
// OR
GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(-8835.76, 490.084, 109.6157), 123);

//if you want interact with NPC/GameObject near of your character:
GoToTask.ToPositionAndIntecractWithNpc(ObjectManager.Me.Position, 123);
GoToTask.ToPositionAndIntecractWithGameObject(ObjectManager.Me.Position, 123);

To go to position:

GoToTask.ToPosition(new Vector3(-8835.76, 490.084, 109.6157));

 

 

If you want to be sure that step are completed (this work on interact and goto):

Use step type While with the code:

!GoToTask.ToPosition(new Vector3(-8835.76, 490.084, 109.6157))

Add after step type EndWhile

  • Author

I know, I just gave an example.

I wanted to add pieces of code to separate files and use them in profiles, <Script> is not convenient to use.

+ when using  <Script>, bot often freezes

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.