Jump to content

LOTRO Bot: AutoXP & Travel bot


Chika95
 Share

Recommended Posts

  • 1 month later...

I tried this script, but it doesn't work for me. I have the german version of lotro, but even with language changes in the script it did not work.

I tried only the travel function, I set the locBindings correct, but there is always an error message that it cannot receive locations, but location logging works, anything is set correctly.

I think I rewrite the whole script.

And if i start the script I get : ERROR: SetupAutoXpBot(): undefined function.

SetupAutoXpBot()

The setupAutoxpBot() Function is missing in the script. You could continue, but I dont know if this is important.

And as a hint: you can loot only with keyboard, you do not need this with mouse.

Link to comment
Share on other sites

I tried this script, but it doesn't work for me. I have the german version of lotro, but even with language changes in the script it did not work.

I tried only the travel function, I set the locBindings correct, but there is always an error message that it cannot receive locations, but location logging works, anything is set correctly.

I think I rewrite the whole script.

And if i start the script I get : ERROR: SetupAutoXpBot(): undefined function.

SetupAutoXpBot()

The setupAutoxpBot() Function is missing in the script. You could continue, but I dont know if this is important.

And as a hint: you can loot only with keyboard, you do not need this with mouse.

update:

now the Location error is fixed, but now the Patrol/travel function dont work, I always run in a little circle.

Link to comment
Share on other sites

Awsome work man! You have really put much effort into this.

I'm not playing LotrO but I am interested in game-bots/hacks etc. overall and this is an excellent peice of work!

If I could I would +rep you but you cannot do that in these forums :)

Link to comment
Share on other sites

Meum, your problem is the localized version.

In German the /pos message is:

Ihr befindet Euch hier: r1 lx990 ly969 ox133.11 oy33.46 oz419.88 h19.7

As you can see, there are alot of "h" inside :)

Now check this out:

Func GetPositionData()
[..]
    $PosOfH = StringInStr($LastLine, "h")
[..]

    If $PosOfH = 0 Then
;If there is no H then you are facing due north, set heading to 0 and return     <--- ATTENTION
        $Heading = 0
    Else
        $Heading = StringTrimLeft($LastLine, $PosOfH)
    EndIf
EndFunc;==>GetPositionData

In German there will never be no "H" in the $Lastline... and also the PosOfH will not work correct.

Edited by Siffy
Link to comment
Share on other sites

Meum, your problem is the localized version.

In German the /pos message is:

Ihr befindet Euch hier: r1 lx990 ly969 ox133.11 oy33.46 oz419.88 h19.7

As you can see, there are alot of "h" inside :)

Now check this out:

Func GetPositionData()
[..]
    $PosOfH = StringInStr($LastLine, "h")
[..]

    If $PosOfH = 0 Then
;If there is no H then you are facing due north, set heading to 0 and return     <--- ATTENTION
        $Heading = 0
    Else
        $Heading = StringTrimLeft($LastLine, $PosOfH)
    EndIf
EndFunc;==>GetPositionData

In German there will never be no "H" in the $Lastline... and also the PosOfH will not work correct.

Thank you Siffy, you just made my day
Link to comment
Share on other sites

  • 3 weeks later...

Meum, your problem is the localized version.

In German the /pos message is:

Ihr befindet Euch hier: r1 lx990 ly969 ox133.11 oy33.46 oz419.88 h19.7

As you can see, there are alot of "h" inside wink.gif

Now check this out:

Func GetPositionData()
[..]
    $PosOfH = StringInStr($LastLine, "h")
[..]

    If $PosOfH = 0 Then
;If there is no H then you are facing due north, set heading to 0 and return     <--- ATTENTION
        $Heading = 0
    Else
        $Heading = StringTrimLeft($LastLine, $PosOfH)
    EndIf
EndFunc;==>GetPositionData

In German there will never be no "H" in the $Lastline... and also the PosOfH will not work correct.

so what do i have to change???

ne0.ka1n

Edited by parad0x
Link to comment
Share on other sites

  • 4 weeks later...
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...