-
erekosex
- Posts: 9
- Joined: Tue Apr 27, 2010 8:06 am
#1
Post
by erekosex » Wed May 05, 2010 8:11 am
Hi,
I have a problems with target_NPC, i want to use this function, to test, in Logar whith NPC "Dell"
Code: Select all
<waypoints>
player:target_NPC("Dell");
player:rest(2);
</waypoints>
In the log, i read "We didn't found NPC Dell"
Th bot turn
Can you help me please ? sorry my english is pretty bad
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#2
Post
by rock5 » Wed May 05, 2010 10:41 am
It should work if you are standing next to Dell, unless you are mounted. If you are mounted you wont turn so you wont find the npc.
- 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.”
-
erekosex
- Posts: 9
- Joined: Tue Apr 27, 2010 8:06 am
#3
Post
by erekosex » Wed May 05, 2010 12:10 pm
thk for your response
i'am not mounted and my character turn and he didn't find Dell
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#4
Post
by rock5 » Thu May 06, 2010 2:26 am
Maybe it has something to do with the key mapped to target npcs?
Does it target any of the other npcs as it turns? I mean just target them, not open a dialog.
- 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.”
-
erekosex
- Posts: 9
- Joined: Tue Apr 27, 2010 8:06 am
#5
Post
by erekosex » Thu May 06, 2010 4:37 am
My Character not target any of the other npcs as it turns.
It turns, truns ...
My script :
Code: Select all
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-636" z="-5984"> player:target_NPC("Dell");
player:rest(2);
</waypoint>
</waypoints>
Can be that anything is missing?
-
erekosex
- Posts: 9
- Joined: Tue Apr 27, 2010 8:06 am
#7
Post
by erekosex » Thu May 06, 2010 4:06 pm
Here is the file
-
Attachments
-
- log.txt
- (3.34 KiB) Downloaded 114 times
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#8
Post
by Administrator » Thu May 06, 2010 4:12 pm
And you made absolutely sure that you set J to your TARGET_NEAREST_FRIEND hotkey? Attach a copy of your profile, settings.xml, and bindings.txt.
You can find bindings.txt in My Documents/Runes of Magic/bindings.txt. If you could, also specify the full path for it (right click the file, go to properties; copy and paste it from there). It should look like this: C:\Documents and Settings\<User name>\My Documents\Runes of Magic
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#10
Post
by Administrator » Fri May 07, 2010 1:55 pm
Ok, I found it. In your bindings.txt, I see this:
Basically meaning that you have not set your hotkey in-game to J, but have the bot set to use J for the bot (and due to your language, it's unable to find bindings.txt).
You have a few options here:
- Use settings.xml to set your ROMDATA_PATH:
Code: Select all
<option name="ROMDATA_PATH" value="C:/Whatever/Documents/Runes of Magic/" />
- Try setting the TARGET_FRIEND hotkey in settings.xml to use CTRL+TAB
Code: Select all
<hotkey description="TARGET_FRIEND" key="VK_TAB" modifier="VK_CONTROL" />
- Change your hotkey in-game to use J instead of CTRL+TAB
-
erekosex
- Posts: 9
- Joined: Tue Apr 27, 2010 8:06 am
#11
Post
by erekosex » Fri May 07, 2010 2:58 pm
Yes, it's but , i put int Settings.xml and configure key=J ingame
Code: Select all
<hotkey description="TARGET_FRIEND" key="J" modifier="" />
because i have a error with
Code: Select all
<hotkey description="TARGET_FRIEND" key="VK_TAB" modifier="VK_CONTROL" />
errror : Due to technical reasons, we don't supprot modifiers like CTRL/ALT/SHIFT for hotkeys at the moment. Please change your hotkey (and ingame key) CTRL-TAB fot hotkey TARGET_FRIEND
Thank very much
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#12
Post
by Administrator » Fri May 07, 2010 8:02 pm
If you set it in-game, it's not showing in your bindings.txt.
Just open it up (but make sure the game is closed first), and change this line:
To:
Save it and then start the game client.
-
erekosex
- Posts: 9
- Joined: Tue Apr 27, 2010 8:06 am
#13
Post
by erekosex » Sat May 08, 2010 2:41 am
It's ok for me thanks a lot
Who is online
Users browsing this forum: Bing [Bot] and 0 guests