LUA for auto using a hotkey/skill after parsing chat

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

LUA for auto using a hotkey/skill after parsing chat

#1 Post by silinky »

hy guys!
i play the game for a long time now, and have using the bot successfully :)

however i do have a question: i want my bot to run with a healer after him, and heal him when necessary.

so i made a macro of each of the fighters, to automatically send a help message to the party chat, for example:

"healerchar heal"

and i would like a simple addon, that parses that message, and if the character is healerchar, then he should either press the hotkey assigned to his heal spell, or somehow do the useaction to use an action button, or just use the spell with the UseSkill(1,1); function.

i would be very grateful if someone would write an addon that does that, bc i am very noob in LUA, or if its too long, just to tell me how should i do that.

i think it would be useful for others too, that use the bot+dualboxing a priest to heal.

thx for reading i hope some1 can help :oops:

EDIT i know i can use an autoheal addon for thet, but that doesnt work anymore, and i do want priests to cast other spells as well, depending on the situation :)
S3v3n11
Posts: 91
Joined: Thu Jul 09, 2009 7:37 am

Re: LUA for auto using a hotkey/skill after parsing chat

#2 Post by S3v3n11 »

Not sure if it still works but you can check:

http://rom.curseforge.com/addons/multib/
User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: LUA for auto using a hotkey/skill after parsing chat

#3 Post by silinky »

thank you for the answer, i tried that, and it should do exactly what i want, but it doesnt work now :( i tried to repair it, but got lost in all the code :oops:
and it does way too much i don't even use. i would have loved a simple addon, that parses text, recognises if the message is meant for that char, and if it is meant, then execute the sent command.

still, if smone knows what should be done with the nkmultib addon to be fixed, its perfect also.
like for example changing the function that uses the useAction command wit one that uses keybinding, to simulate a bress of a button, or use a skill defined exactly in the chat command, like "Flame", or the UseSkill form, with the numbers of the slot and tab (1,1) = normal attack.
User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: LUA for auto using a hotkey/skill after parsing chat

#4 Post by silinky »

nvm, i learned some lua and wrote myself a fully featured multiboxing addon, that works with the bot :D
S3v3n11
Posts: 91
Joined: Thu Jul 09, 2009 7:37 am

Re: LUA for auto using a hotkey/skill after parsing chat

#5 Post by S3v3n11 »

Care to share it with the group?
User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: LUA for auto using a hotkey/skill after parsing chat

#6 Post by silinky »

i am thinking about posting it on rom.curse.com, as multiboxing is allowed by ToS.
needs a GUI though lol it looks awful yet. but works like a charm.

i am afraid to make it public though in fear of they nerfing this one as well as nkMultiB :(
Post Reply