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.

Impossible to send LUA on MOP server

Featured Replies

Hi,

 

I'm trying to develop some quester profile.for 5.4.8 server (Helios)

It seems any LUA the quester tries to send to the client doesnt work.

 

I tried to send /target Training Dummy  and /cast Steady Shot with the  "UseScriptOn" and "InteractWIthNPC"  quest type, "CastSpellOn" doesnt work either.

https://www.wowhead.com/quest=25139/steady-shot

(I deblacklisted the Training Dummy before)

 

So i bypassed this quest, and i have a problem with the UseItemOn for the quest https://www.wowhead.com/quest=25134/lazy-peons , it just wont use the item form my inventory , in any way.

I even tried with wManager.Wow.Helpers.Lua.RunMacroText("/target Training Dummy"); 

 

Is there a lock on LUA on post-WOTLK clients?

 

Any help is welcome. No log include because, quester just goes to waypoint and does nothing.

Thanks

 

  • Author
34 minutes ago, Droidz said:

Hello, by default WRobot blacklists the dummies. Try to disable this option :

wManager.wManagerSetting.CurrentSetting.BlackListTrainingDummy = false;

 

 

19 hours ago, n0ne said:

(I deblacklisted the Training Dummy before)

Doesnt seem to be the problem, it seems cant even send a "print" lua call to the wow client

Can you target Training Dummy and share here result of "Target info" (in "dev... tools", you can found it tab tools). Same for Lazy Peon.

If you can also share your log and profile (or bugged quests xml code).

On UseScriptOn, you must use Lua code, and not Lua macro, but in any case, maybe they block RunMacroText.

Try to use the Lua code : 

TargetUnit("Training Dummy")

or 

RunMacroText("/target Training Dummy")

I found a sample for your second quest.

https://github.com/droidzfr/WRobot_Packages/blob/fccc740c611b6447361d401c2aa35bb401d6f638/Old paid files/enraged/001053_Horde[01-12]Vanilla(Durotar).xml#L2498

  • Author

Ok ,i made it work.

First quest had an hidden objective (learn steady shot) which is automatically validated on the server, so the pulse wasnt really "pulsing".

I couldnt make "UseItemOn" work for the second quest so i made a UseScriptOn with 

RunMacroText("/use Foreman's Blackjack")

Pretty strange, the UseItemOn is not working , maybe the api call is not good on mop server..

 

Thanks for your time ! @Droidz

 

btw is there an api to control the "Chose Character Screen" , i would like to automatically delete and create my char with the same name at some point.

I need to farm guild xp.

No WRobot doesn't have an API for that.

You must use Lua code, it is not possible to have a value return from Lua (to the bot) when character is not in game, which makes things more complicated. It's poorly documented, you have to read the game's interface code to find the functions to use  https://github.com/tomrus88/BlizzardInterfaceCode/tree/bb430dbf9511eae926219d9548398f58b0012497

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.