player:target_NPC not working? :S

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: player:target_NPC not working? :S

#41 Post by rock5 » Tue Jul 05, 2011 8:54 am

The new revision is a major upgrade. Try it. Maybe I'll, I mean, you'll get lucky and it'll be fixed. :)
  • 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

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#42 Post by hamstaaa » Tue Jul 05, 2011 9:14 am

I WILL try ;) thx rock

I report here if (not)fixed :)

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#43 Post by hamstaaa » Tue Jul 05, 2011 10:45 am

nothing changed :( :cry:

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: player:target_NPC not working? :S

#44 Post by lisa » Tue Jul 05, 2011 11:07 am

what is the mob name and map it is in, coords would be nice too. I'll have a look at it.
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

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#45 Post by hamstaaa » Tue Jul 05, 2011 7:30 pm

what is the mob name and map it is in, coords would be nice too. I'll have a look at it.
ty lisa, but the code worked on NO npc ;)


BTW dudes i think i solved the problem ;)

i have copied my bot folder that doesn'work and replace my /profiles/mybotname.xml with default.xml

i tested it with 2 MM windows and LOOOOL

micromacro/bot1/bot (old mybotname.xml)

Code: Select all

        RomBot command line
Type in 'q' (without quotes) to quit.
Command> player:target_NPC("Sturobold")
Wir versuchen den NPC Sturobold zu finden:
Wir können den NPC Sturobold nicht finden!
DONT WORK with my old profile :(

micromacro/bot2/bot (default.xml as mybotname.xml)

Code: Select all

        RomBot command line
Type in 'q' (without quotes) to quit.
Command> player:target_NPC("Sturobold")
Wir versuchen den NPC Sturobold zu finden:
Der NPC 'Sturobold' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
WORKS FINE!!!! :)

BTW i stand in front of the same NPC.

could it be that my old profile was to blame? :shock: :shock: :shock: :shock: :shock:

now it seems fine with default.xml as mybotname.xml :lol:



i hope u understand what i have done

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: player:target_NPC not working? :S

#46 Post by rock5 » Tue Jul 05, 2011 7:39 pm

That's great to here. So the problem was your profile.

Now, be very careful as you reconstruct the profile the way you want it. I suggest you copy and paste parts of your old profile to the new profile while continuously testing it. When it fails then you will know which part is the problem.

If you figure out which part was causing the error, let us know because I'm curious to know what code in your profile could have caused such an error.
  • 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

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#47 Post by hamstaaa » Tue Jul 05, 2011 7:44 pm

i will go on testing and hope the error is gone :)

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#48 Post by hamstaaa » Tue Jul 05, 2011 8:24 pm

BTW why is the skills_local.xml gone since last svn update?^^ was very helpfull for me

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: player:target_NPC not working? :S

#49 Post by rock5 » Tue Jul 05, 2011 9:15 pm

hamstaaa wrote:BTW why is the skills_local.xml gone since last svn update?^^ was very helpfull for me
I mentioned it in the changelog. The reason for skills_local.xml was to provide localised names for the skills so you could use hotkey="MACRO" in the profile and it could cast by name. With the skill id included now, the skill name is gotten from memory. So now everyone can use hotkey="MACRO" in thir profiles so there is no need for skills_local.xml.
  • 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

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#50 Post by hamstaaa » Tue Jul 05, 2011 9:53 pm

that i dont understand, rock.

can i put in hotkey="MACRO" für every skill in my profile?

i used skills_local only for translate class skills to german and back^^

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: player:target_NPC not working? :S

#51 Post by lisa » Tue Jul 05, 2011 10:05 pm

hamstaaa wrote:that i dont understand, rock.

can i put in hotkey="MACRO" für every skill in my profile?

i used skills_local only for translate class skills to german and back^^
You could always just keep a copy of the file skills_local somewhere, for translation purposes. The bot just doesn't need it anymore =)
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

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#52 Post by hamstaaa » Tue Jul 05, 2011 10:28 pm

You could always just keep a copy of the file skills_local somewhere, for translation purposes. The bot just doesn't need it anymore =)
got it from last rev. :)

but what ou mean with hotkey="MACRO" ? :?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: player:target_NPC not working? :S

#53 Post by rock5 » Tue Jul 05, 2011 11:01 pm

hamstaaa wrote:can i put in hotkey="MACRO" für every skill in my profile?
Yes.
  • 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

hamstaaa
Posts: 37
Joined: Sat Apr 23, 2011 9:48 pm

Re: player:target_NPC not working? :S

#54 Post by hamstaaa » Tue Jul 05, 2011 11:03 pm

nice one!

i'll try it :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests