Script question

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Script question

#1 Post by Cherian »

Hey all,
I hope this is the correct place to post my question.
I'm new to scripting, botting, and all of this.

I found this next lines, but i have no idea how to execute them. Can someone help me on my way? I have to install micromacro to be able to start? Everything can be done withing a macro? (i tried to copy the lines in a macro but nothing worked) Is it normal when i target some npc that /cast Attack isnt working also?

/script TargetUnit("focus1")
/cast Attack
/script OnClick_QuestListButton(3,1)
/script CompleteQuest()
/script OnClick_QuestListButton(1,1)
/script AcceptQuest()
/script ChoiceOption(1)
/script TargetNearestEnemy()
/run CastSpellByName("Shot")"

thanks in advance
Cherian
kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: Script question

#2 Post by kenzu38 »

This is a macro which you set up in game. I think this one's for the Taz daily quest.

Anyway, I suggest you try searching the forum a bit more for other working Taz scripts first which aren't complicated for you.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Script question

#3 Post by lisa »

my guess is that you just haven't made the NPC focus before starting the macro, also since there is no wait between each acton you would need very good ping and a good PC to do it fast enough.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Re: Script question

#4 Post by Cherian »

Yes i made the npc focus before starting. But i'm wondering if i'm missing something. I only have the normal rom client, nothing else external installed atm. I pasted this lines in a macro. Then i focus the npc. But nothing happens. The /cast attack should open the npc menu right? but it doesnt do anything. The only thing that the macro does for me is targetting the npc (/script TargetUnit("focus1"))
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Script question

#5 Post by rock5 »

I'm not into macros but maybe attack is a slash command itself.

Code: Select all

/Attack
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Re: Script question

#6 Post by Cherian »

Nope /attack is not working for me either. I did some testing and the only part that isnt working for me is to talk to the npc. I can target him. But then it gets stuck. If i click manually on him, and keep pressing the macro.. it works. Anyone else got any idea? I aksed some friends to try /attack or /cast attack on npc but nothing happened for them either.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Script question

#7 Post by rock5 »

In that case it's probably what Lisa said.
lisa wrote:also since there is no wait between each acton you would need very good ping and a good PC to do it fast enough.
Try adding some waits.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Re: Script question

#8 Post by Cherian »

Yes, but i even made macro's only to test :
/cast Attack
and
/Attack

and they both did nothing even i spam them...

so this is were i get stuck =/
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Script question

#9 Post by rock5 »

Looks like cast might be disabled when used like that. It works from micromacro

Code: Select all

SlashCommand("/cast Attack")
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Script question

#10 Post by lisa »

Code: Select all

/run CastSpellByName("Attack")
and

Code: Select all

/cast Attack
They both work fine BUT MUST be in a macro where you push a button to make it happen, you can;t just type it in to chat.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Re: Script question

#11 Post by Cherian »

I really don't know what i'm missing.. I did all what you said but it simply doesnt open the npc menu. All it does is lift my weapon up like as you get in combat...
You both are running micromacro or something when you try? Or should i install some userfunctions? I dont have any of that that could be the problem? :s
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Script question

#12 Post by rock5 »

You're right Lisa, in a macro "/cast Attack" works.

Cherian, I don't know why it doesn't work for you. Addons have nothing to do with it. You do play on an English client right?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Re: Script question

#13 Post by Cherian »

Yes rock5, i play on a english client. I asked some people i know and for them the /cast Attack doesnt work either. I'm really lost.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Script question

#14 Post by rock5 »

Maybe they've totally disabled it on that server.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Cherian
Posts: 7
Joined: Sat Jul 13, 2013 6:57 pm

Re: Script question

#15 Post by Cherian »

So if they indeed disabled it... what are my options? I can do the same macro with the micromacro program somehow? If yes i'll have to do some readings :)
kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: Script question

#16 Post by kenzu38 »

Yes, you can very much do all that with the bot.

Like I said in my earlier post, it's a good idea to search the forum for other Taz scripts, then when you have problem running that script, post another thread and someone will help you out.
Post Reply