auto invite last group and destroying group not working

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
newton666
Posts: 81
Joined: Fri Oct 22, 2010 3:16 pm

auto invite last group and destroying group not working

#1 Post by newton666 »

hi, im trying to make a way point that when im runing rombot with 4 alts at the same time they can all leave at the seem time so i can reset instances and reinvite back to group.
This is what ive got so far but id dosn't seem work when i place it in a way point .

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="1641" z="-4931" y="752">player:rest(4);</waypoint>
<!-- # 2 --><waypoint x="1662" z="-5005" y="760">sendMacro("ILG destroy"); yrest(1000); sendMacro('SetInstanceLevel("normal")'); </waypoint>
<!-- # 3 --><waypoint x="1660" z="-5027" y="760">sendMacro("ILG inv"); yrest(1000);</waypoint>

</waypoints>
ps all bots have auto accept and the "/ILG inv or /ILG destroy" macro works when i test it in game.
User avatar
Administrator
Site Admin
Posts: 5344
Joined: Sat Jan 05, 2008 4:21 pm

Re: auto invite last group and destroying group not working

#2 Post by Administrator »

I can only assume that the /ILG commands are registered by an addon, and that they do not work as macro commands by themselves. You should open up the addon in a text editor and find the functions that those slash commands refer to and call those directly, instead.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: auto invite last group and destroying group not working

#3 Post by rock5 »

You know, that's probably an unnecessary limitation. I had a similar issue when trying to use "/split" and "/merge". Why don't we add a function for doing slash commands?
  • 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
Administrator
Site Admin
Posts: 5344
Joined: Sat Jan 05, 2008 4:21 pm

Re: auto invite last group and destroying group not working

#4 Post by Administrator »

I suppose we could, but, how would it work? Don't slash commands only work through normal chat? This isn't too much of a problem, but we need to make sure it doesn't cause the chat to stay open.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: auto invite last group and destroying group not working

#5 Post by rock5 »

Slash commands work in macros too.

I did a quick test by adding a third argument to RoMScript to include the "script" prefix in the command or not, but it didn't work. I'm assuming the command macro text would have to be different.

Come to think of it you would probably have to send only the slash command. I guess a slash command wouldn't return data. That would make it a fairly simple function. Just writeToMacro and execute.
  • 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
newton666
Posts: 81
Joined: Fri Oct 22, 2010 3:16 pm

Re: auto invite last group and destroying group not working

#6 Post by newton666 »

Slash commands work in macros too.

I did a quick test by adding a third argument to RoMScript to include the "script" prefix in the command or not, but it didn't work. I'm assuming the command macro text would have to be different.

Come to think of it you would probably have to send only the slash command. I guess a slash command wouldn't return data. That would make it a fairly simple function. Just writeToMacro and execute.
im a newbie at all this and not sure what u guys mean by "simple function"

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="1641" z="-4931" y="752">player:rest(4);</waypoint>
<!-- # 2 --><waypoint x="1662" z="-5005" y="760">sendMacro("ILG destroy"); yrest(1000); sendMacro('SetInstanceLevel("normal")'); </waypoint>
<!-- # 3 --><waypoint x="1660" z="-5027" y="760">sendMacro("ILG inv"); yrest(1000);</waypoint>

</waypoints>
  
 
what would i need to change or add to make this to work?
And thx all in replying to my post.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: auto invite last group and destroying group not working

#7 Post by rock5 »

Update to the latest revision and use

Code: Select all

SlashCommand("ILG destroy"); 
  • 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
newton666
Posts: 81
Joined: Fri Oct 22, 2010 3:16 pm

Re: auto invite last group and destroying group not working

#8 Post by newton666 »

is this what you mean ?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="1641" z="-4931" y="752">player:rest(4);</waypoint>
<!-- # 2 --><waypoint x="1662" z="-5005" y="760">SlashCommand("ILG destroy");yrest(1000); sendMacro('SetInstanceLevel("normal")'); </waypoint>
<!-- # 3 --><waypoint x="1660" z="-5027" y="760">SlashCommand("ILG inv"); yrest(1000);</waypoint>

</waypoints
because it still not working
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: auto invite last group and destroying group not working

#9 Post by rock5 »

newton666 wrote:because it still not working
And how does it not work? What happens? A little bit more information please.
  • 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: auto invite last group and destroying group not working

#10 Post by lisa »

Tested function doing this

Code: Select all

 SlashCommand("script Logout()") 
and it logged out character, so the function itself works fine.

What is the exact command you want to use in game, remember it has to be exact, even doing a small character instead of capital will make it not work.
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
newton666
Posts: 81
Joined: Fri Oct 22, 2010 3:16 pm

Re: auto invite last group and destroying group not working

#11 Post by newton666 »

ok thx all got it to work :)
Post Reply