Script question
Script question
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
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
Re: Script question
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.
Anyway, I suggest you try searching the forum a bit more for other working Taz scripts first which aren't complicated for you.
Re: Script question
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Script question
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"))
Re: Script question
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
Re: Script question
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.
Re: Script question
In that case it's probably what Lisa said.
Try adding some waits.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.
- 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
Re: Script question
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 =/
/cast Attack
and
/Attack
and they both did nothing even i spam them...
so this is were i get stuck =/
Re: Script question
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
Re: Script question
Code: Select all
/run CastSpellByName("Attack")Code: Select all
/cast AttackRemember 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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Script question
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
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
Re: Script question
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?
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
Re: Script question
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.
Re: Script question
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
Re: Script question
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 
Re: Script question
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.
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.