You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Thursday, February 14th 2013, 2:04am

Command for opening dialogue with all NPCs

Now before i get the link your attack and then use macro /script UseAction(1) where 1 is where the attack skill is....

I have noticed this doesnt seem to work on all NPCs, like the new NPC for aquarius pet. I Tried this and it doesnt work. Is it just that i am missing something, do i ahve to have any DIYCE commands? Is it that they removed this ability, or it only works on some npcs?

Love some help and if there is a new command, i would like to know it. Been digging through the pet talk to addon code, housekeeper addon code with no luck.

2

Thursday, February 14th 2013, 2:45am

Did you try /script UseSkill(1,1)

3

Thursday, February 14th 2013, 2:53am

Quoted from "Southern;588883"

Did you try /script UseSkill(1,1)


I thought was for once you had it open. Really what i want it for is the new romance elemental pets require you to click on them and talk to them every 2 hours (for the most bang for your buck) about 25 times to upgrade them. Which to say the least is lame. It is like the Zodiak pets, but no one has any info on them so i wanna get it done so i can post what they do.

What i wanna do is write a macro that will let me after 2 hours talk to the pet and get the reward, shouldnt take too many lines of code so even the ingame macro should be enough.

Problem is i have the target part done right, so the macro will wait the 2 hours and then it will target, but the attack function wont open the dialogue to get the package.

Edit to add, they dont pop up a dialogue box like the other pets, the only trigger is a message in the chat window, and you get a normal npc dialogue box when you hover over with your mouse.

4

Thursday, February 14th 2013, 2:58am

If you put the pet on Focus, and then use:

/script TargetUnit("focus1");
/wait 1
/script useSkill(1,1)
*whatever else*

that should work. I just tested it with my housekeeper and it worked fine. UseSkill(1,1) is the Attack Skill on your General tab.

5

Thursday, February 14th 2013, 3:02am

You can't actually use macro's to wait that long....the longest /wait command you can use is 60 seconds, so if you are using /wait 7200 for 2 hours or so, it's only waiting 60 seconds and then trying to target it.

Best you can do is

Source code

1
2
3
4
/wait 60
/wait 60
/wait 60
/wait 60


etc etc but you'll run out of characters.
Cammo (82 M/82 W/82 R) 116,147 unbuffed Matk :D (95k pa - r/m)
Livia (82 P/77 K/75 S) wisdom O.o wtf is that...
~~ retired - Thanks to gameforge for that. ~~

6

Thursday, February 14th 2013, 3:05am

Quoted from "Southern;588889"

If you put the pet on Focus, and then use:

/script TargetUnit("focus1");
/wait 1
/script useSkill(1,1)
*whatever else*

that should work. I just tested it with my housekeeper and it worked fine. UseSkill(1,1) is the Attack Skill on your General tab.


Can you try it with the npc on the Varanas bridge with the zodiac pet? cause i been testing on that NPC, and it isnt working. I am thinking that NPC works similar to this pet

As for the macro length, i guess ill have to find something else to do the timing but still hoping to find out how to get this part of it working.

npc norah kalesy

7

Thursday, February 14th 2013, 3:18am

Quoted from "Dkjester;588891"

Can you try it with the npc on the Varanas bridge with the zodiac pet? cause i been testing on that NPC, and it isnt working. I am thinking that NPC works similar to this pet

As for the macro length, i guess ill have to find something else to do the timing but still hoping to find out how to get this part of it working.

npc norah kalesy


OK, I tried it with Norah Kalesy and it worked fine. Just had to put her on Focus and run the macro, and it opened up her menu.

8

Thursday, February 14th 2013, 3:19am

do you have DIYCE, etc or any other addons like that? or is that a DIYCE command? I havent updated mine in forever, hadnt needed till now

9

Thursday, February 14th 2013, 3:20am

I tried it on the actual PET as well. While he doesn't have a menu to open, he did GRRRR! at me. :)

10

Thursday, February 14th 2013, 3:21am

Quoted from "Dkjester;588895"

do you have DIYCE, etc or any other addons like that? or is that a DIYCE command? I havent updated mine in forever, hadnt needed till now


Nope, no Diyce. This is strictly an ingame macro anyway, Diyce shouldn't have anything to do with it (unless you're trying to code this in the actual .LUA? that's a different matter entirely).

11

Thursday, February 14th 2013, 3:24am

hrm i must have something wierd with my computer or set up, cause it isnt working. gonna check a few things. Any idea you think why it wouldnt work for me?

12

Thursday, February 14th 2013, 3:30am

Ahhh HAH!!! click to move being turned off seems to nullify it, working now thanks a bunch guys!