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.

C# GetDistance (GameObject) && FarmAction

Featured Replies

Hello everyone.

 

I want to make a GetDistance on my nearest object like in the tools :

 

Nearest GameObject informations:

Name: Vietérule (Entry: 2041 )
IsBlacklisted = False
CreatedBy = 0
DisplayId = 677
FlagsInt = 0
Flags = 0
Position = 4333,47 ; 3002,03 ; 124,227 ; "None"
Name = Vietérule
GetDistance = 108,2044 --> I want this one ^^

For me I use :

wManager.Wow.ObjectManager.ObjectManager.Me.IsGoodInteractDistance;

But for an object, i don't know how it's working.

Something like :

var distance = wManager.Wow.ObjectManager.WoWObject.GetDistance(ObjectID);

If someone know that ^^" (I'm beginner in C#) And the other question is : Which class can i use for use gathering ? I want By the distance active gathering the plant with this the nearest ID.

If u have the answers, i will love u forever !

Salmo ^^

 

  • Author

Someone know how to resolv this problem ?

Line :

ObjectManager.GetWoWGameObjectByEntry(neantineId).First().Entry)

Error on compliation pluggin :

image.png.c76ef32074f48a6d8b4615382d47c67d.png

My usings :

using System;
using System.ComponentModel;
using System.IO;
using robotManager;
using robotManager.Helpful;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using wManager.Events;
using wManager.Plugin;
using wManager.Wow;
using wManager.Wow.Bot.States;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Enums;
using wManager.Wow.Forms;
using wManager.Wow.Forms.ProfileMaker;

 

  • Author

Thank for this code, but when i want to put this code in pluggin, he don"t find :

o.Entry

or .Where, .position .GetDistance ...

Do u know how to implement this method in pluggins ?

 

 

  • Author

Ok i'm fucking idiot, I was trying to apply the Get: for the attribut on my method ...

Better way to use it on the object ...

Thanks for help !

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.