Page 3 of 3

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 8:54 am
by rock5
The new revision is a major upgrade. Try it. Maybe I'll, I mean, you'll get lucky and it'll be fixed. :)

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 9:14 am
by hamstaaa
I WILL try ;) thx rock

I report here if (not)fixed :)

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 10:45 am
by hamstaaa
nothing changed :( :cry:

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 11:07 am
by lisa
what is the mob name and map it is in, coords would be nice too. I'll have a look at it.

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 7:30 pm
by hamstaaa
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

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 7:39 pm
by rock5
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.

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 7:44 pm
by hamstaaa
i will go on testing and hope the error is gone :)

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 8:24 pm
by hamstaaa
BTW why is the skills_local.xml gone since last svn update?^^ was very helpfull for me

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 9:15 pm
by rock5
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.

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 9:53 pm
by hamstaaa
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^^

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 10:05 pm
by lisa
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 =)

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 10:28 pm
by hamstaaa
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" ? :?

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 11:01 pm
by rock5
hamstaaa wrote:can i put in hotkey="MACRO" für every skill in my profile?
Yes.

Re: player:target_NPC not working? :S

Posted: Tue Jul 05, 2011 11:03 pm
by hamstaaa
nice one!

i'll try it :)