When I am playing RoM i know which char I play.
But my bot doesn´t
Is there a way, to get the char name with the bot functions?
how to get my own character name
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: how to get my own character name
Why would you need that?
Anyways, player.Name contains the name of the player.
Anyways, player.Name contains the name of the player.
Re: how to get my own character name
I founded it very helpfull for daily quests. When my bot goes through all 8 chars it usually crashes or not but if it does i know where it was going. Then i can continue faster than going through all chars to see who has done all dailies.
Re: how to get my own character name
I am botting with three bots, all using the same script.Administrator wrote:Why would you need that?
Anyways, player.Name contains the name of the player.
When triggered they all run to the mailbox and send their stuff by the postbox ... but, they are sending it to on of the three chars currently botting.
And sending a mail to the char himself results in an error, when using Rocks UMM addon, and stoping the script.
Even when playing and sending a mail to yourself you are told, that you can´t send mail to your self. Doesn´t matter, but while botting it stops with error.
With your hint I can check who I am, and not send mail if I am the receiver.
Re: how to get my own character name
Try this in your code
printf(" "..player.Name.. " ==> " ..dailyQuestCount.."\n");
with player.name you should be able to code something . ( select the player in a loop to be not an activ mailbox sender )
printf(" "..player.Name.. " ==> " ..dailyQuestCount.."\n");
with player.name you should be able to code something . ( select the player in a loop to be not an activ mailbox sender )
Who is online
Users browsing this forum: No registered users and 0 guests