player:target_NPC not working? :S
Re: player:target_NPC not working? :S
I'm not sure of this but do you have "Click to move" enabled in the game settings?
- 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: player:target_NPC not working? :S
yes, CTM is always activated
ID dont work too (see in my last post)

Re: player:target_NPC not working? :S
have you tried with any other NPC?
or maybe even a different character?
or maybe even a different character?
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: player:target_NPC not working? :S
not yet, lisa. i tried it also with "sturobold"(teleport npc)... german client...same problem
what i dont understand is...he target Monsters normally all the way(targetting etc), but now cant FIND NPC anymore.
what command use the bot to target Merchants and NPC? maybe i can try it manual from commandline.
because if im in front of NPC and press "target next friend"(strg+tab). he target the NPC.
what i dont understand is...he target Monsters normally all the way(targetting etc), but now cant FIND NPC anymore.
what command use the bot to target Merchants and NPC? maybe i can try it manual from commandline.
because if im in front of NPC and press "target next friend"(strg+tab). he target the NPC.
Re: player:target_NPC not working? :S
Code: Select all
player:target_NPC(_npcname)
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: player:target_NPC not working? :S
The bot doesn't use "target next friend" key. It changes an address in memory then attacks (which is the same as clicking).hamstaaa wrote:because if im in front of NPC and press "target next friend"(strg+tab). he target the NPC.
The command line function is
Code: Select all
player:target_NPC("Fadiya Royil")
You can take a furthur step back and try the function that finds the npc.
Code: Select all
npc = player:findNearestNameOrId("Fadiya Royil") if npc then table.print(npc) end
- 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: player:target_NPC not working? :S
rock, can i run the second code as a ingamemacro? with /RoMscript or so?
i watching something confuses me...
it look like he already target the NPC(because of the green circle under the NPC) but the NPC is NOT in my "target" so i can't see the name of the NPC right next to my name on the top of RoM window.
normally when a npc is not anymore targetted(ESC, click on ground) the green circle unter NPC disappears,or? *confused*
hope u understand what i mean
i watching something confuses me...
it look like he already target the NPC(because of the green circle under the NPC) but the NPC is NOT in my "target" so i can't see the name of the NPC right next to my name on the top of RoM window.
normally when a npc is not anymore targetted(ESC, click on ground) the green circle unter NPC disappears,or? *confused*
hope u understand what i mean

Last edited by hamstaaa on Sun Jul 03, 2011 10:30 am, edited 1 time in total.
Re: player:target_NPC not working? :S
They are both rombot commandline functions. Just run this first to get to the commandline.
Code: Select all
rom/bot path:commandline
- 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: player:target_NPC not working? :S
tried both commands
Code: Select all
RomBot command line
Type in 'q' (without quotes) to quit.
Command> npc = player:findNearestNameOrId("Fadiya Royil") if npc then table.print(npc) end
Command> player:target_NPC("Fadiya Royil")
Wir versuchen den NPC Fadiya Royil zu finden:
Wir können den NPC Fadiya Royil nicht finden!
Command> npc = player:findNearestNameOrId("118307") if npc then table.print(npc) end
Command> npc = player:findNearestNameOrId(118307) if npc then table.print(npc) end
Re: player:target_NPC not working? :S
dudes....i think there is something wrong with my main-char
or the new zones in RoM
i tried the mrc_optimized script with my character an LOOOL
i try now with main char in another zone
time for the truth^^
EDIT: funny funny the mrc_optimized works well (also target npc to handle quest) but if i stop and open commandline...
WTF?!?!?! Dudes i'm speechless -.- i dont know what to do
what can be the failure if the MRC script runs without probs?
btw MM.exe eat 50% of my CPU power on commandline idle state is that normal too? xD

i tried the mrc_optimized script with my character an LOOOL

Code: Select all
Drücke MACRO: RoMScript ausführen "AcceptQuest()".
Wir versuchen den NPC Jenna Miller zu finden:
Der NPC 'Jenna Miller' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenste
r.
Drücke MACRO: RoMScript ausführen "CompleteQuest()".
Wir versuchen den NPC Jenna Miller zu finden:
Der NPC 'Jenna Miller' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenste
r.
Drücke MACRO: RoMScript ausführen "AcceptQuest()".
Wir versuchen den NPC Jenna Miller zu finden:
Der NPC 'Jenna Miller' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenste
r.
i try now with main char in another zone

EDIT: funny funny the mrc_optimized works well (also target npc to handle quest) but if i stop and open commandline...
Code: Select all
RomBot command line
Type in 'q' (without quotes) to quit.
Command> player:target_NPC("Jenna Miller")
Wir versuchen den NPC Jenna Miller zu finden:
Wir können den NPC Jenna Miller nicht finden!

btw MM.exe eat 50% of my CPU power on commandline idle state is that normal too? xD
Re: player:target_NPC not working? :S
No it's not. If you are not currently running any commands then the cpu should be about 0.hamstaaa wrote:btw MM.exe eat 50% of my CPU power on commandline idle state is that normal too? xD
- 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: player:target_NPC not working? :S
do you have any idea, rock?
Unfortunately I have no idea what I can do yet
why nothing works for me?
its all since i want to bot in the new zones
Unfortunately I have no idea what I can do yet

why nothing works for me?

ok all is fine now (CPU)No it's not. If you are not currently running any commands then the cpu should be about 0.
Re: player:target_NPC not working? :S
what did you type in MM to run millers?
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: player:target_NPC not working? :S
same as always...what did you type in MM to run millers?
NAMEOFMYTOON/bot path:mrc_optimized
but lisa there is no difference the path: thing and choose the WP from list.
Re: player:target_NPC not working? :S
nameofyourtoon/bot ??
should be rom folder name/bot
I don't see how doing
could possibly work, it should error out saying no such file or directory.
That aside was it the same character you did millers and the new zone?
should be rom folder name/bot
Code: Select all
rom/bot
Code: Select all
NAMEOFMYTOON/bot
That aside was it the same character you did millers and the new zone?
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: player:target_NPC not working? :S
I guess I should clarify as much

...
little overview
:
character on MRC_Optimized -- no errors
Main on MRC_Optimized -- no errors (!)
Main on Miller ranch next to Jenna Miller (direct after the MRC test) with commandline and player:target_NPC -- NOT WORKING
thats too strange for me and i dont know how to handle it

my Directory-construction is like the following...and trust me it workes fine all the days
I don't see how doing
Code:
NAMEOFMYTOON/bot
could possibly work, it should error out saying no such file or directory.

Code: Select all
MM/scripts/BOTTOONNAME1(or /rom folder ;))/bot
MM/scripts/BOTTOONNAME2/bot
MM/scripts/BOTTOONNAME3/bot
That aside was it the same character you did millers and the new zone?
little overview

character on MRC_Optimized -- no errors
Main on MRC_Optimized -- no errors (!)
Main on Miller ranch next to Jenna Miller (direct after the MRC test) with commandline and player:target_NPC -- NOT WORKING

thats too strange for me and i dont know how to handle it

Re: player:target_NPC not working? :S
Technically speaking the millers egg scrips uses "Sys114930_name" to get the npc name. Maybe try printing it out.
Or even better, use it in the target command.
Now that, theoretically, is exactly what the egg script does.
Code: Select all
print(RoMScript("TEXT('Sys114930_name')"))
Code: Select all
player:target_NPC(RoMScript("TEXT('Sys114930_name')"))
- 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: player:target_NPC not working? :S
tried it with right ID but... cant findplayer:target_NPC(RoMScript("TEXT('Sys114930_name')"))

...

Re: player:target_NPC not working? :S
What do you mean "with right ID"? That is the right ID for Jenna Miller.hamstaaa wrote:tried it with right ID but... cant find
- 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: player:target_NPC not working? :S
yes but i dont test it only on Jenna Miller because i want to bot in the new zones....so i also try other ID's with your CommandWhat do you mean "with right ID"? That is the right ID for Jenna Miller.
Code: Select all
player:target_NPC(RoMScript("TEXT('Sys114930_name')"))
I only mean that the ID's are not my error

Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests