Quantcast
VGInterface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Maps, coordinates & compasses

Category: Maps, coordinates & compassesWaypoint
Interface Information
Download
How do I install this? (FAQ)
Name: Waypoint   Popular!
Author:
Date: 08-01-2015 09:34 AM
Size: 27.46 Kb
Version: 1.5
Rate File: 5 out of 5 with 7 votes  
Pictures
Click to enlarge 

Views: 0
Size: 520.33 Kb
Dimensions: 595 x 408
 
Click to enlarge 

Views: 0
Size: 461.35 Kb
Dimensions: 597 x 408
 
Click to enlarge 

Views: 0
Size: 429.22 Kb
Dimensions: 624 x 414
 
Description
Waypoint 1.5
by Lunarwater

about:

Waypoint is a simple addon to assist in targeting your character in the right direction instead of having to look at the map a ton. It is more of a proof of concept until we get better lua support for location tracking, but is still in a usable state.

KNOWN ISSUES:
  • I'll be the first to warn you that it uses /loc, and therefore you will incur some chattab spam. I would recommend you create a new chat tab vs using general chat so you don't have to see the output of /loc. If this is a problem for you please do not use at this time. I am hoping one day Turbine will release an API method for getting location & direction info and then this will go away.
  • /loc data is different Inside dungeons. Initial
  • My lotro characters is only level 16, so I have not tried this in other regions. If you encounter problems in another region you can assist me by recording /loc values, along with ;loc for that same location and posting below.
  • Attempting to navigate coordinates between regions will not work as expected. They use different coordinate systems, and will result in the arrow pointing in wrong direction. Try to stick to navigating coordinates within the same zone for now.

CHANGELOG:

Version 1.5 :
  • Bug fix submitted regarding improper listing of east and west for french and german versions of the game. (thanks Venogorn!)

Version 1.4:
  • Fixed waypoint to properly determine location with recent changes to game
  • While I'm not sure if it will help, I make the Waypoint work indoors.

Version 1.3 :
  • Changed chat channel parser for changes in RoI Update 6
  • Fixed but when user was facing due north, coordinates would not get parsed. (thanks Garan)
  • Remove extranious output to chat channel by plugin
  • Added plugin manager icon and description

Version 1.2 :
  • changes necessary for it to work in German and French LoTRO client
  • changes necessary for it to work better with LoTRO Compendium
  • small tweak to LPC plugin configuration file that was incorrect

Version 1.1 :
  • Made it so you can click on things that are behind the transparent portions of waypoint.
  • Calculate # of meters vs generic units for distance
  • Save position of waypoint so it remembers where you last placed it on screen.
  • Adding LPC file

Version 1.0 : initial release

INSTALL:
  1. Delete any older Waypoint install from your Plugins folder
    (i.e. C:\Documents and Settings\Lunarwater\My Documents\The Lord of the Rings Online\Plugins\Waypoint)
  2. Copy the entire Waypoint folder into your LOTRO plugins folder
    (i.e. C:\Documents and Settings\Lunarwater\My Documents\The Lord of the Rings Online\Plugins\Waypoint)
  3. Start LOTRO. Once in game type: /plugins load Waypoint

USAGE:

/way help : shows Waypoint help
/way show : shows Waypoint
/way hide : hides Waypoint
/way target <coordinate> : target a coordinate for waypoint
(i.e. /way target 21.4S 45W)


Once a target is set, an arrow will appear on your screen. You will need to click the middle of arrow for it to know where u are at and what direction you are facing. The arrow will then point in a direction like a compass. Simply rotate your character and move in that direction. Periodically you can click arrow again to check your distance from target & check that you are still headed in correct direction.

You can also make a shortcut to periodically do a /loc if you wish to hit
a key to update the waypoint. (i.e. /shortcut <slot #> /loc )

License:

http://www.apache.org/licenses/LICENSE-2.0
Archive List (Old Versions)
File Name
Version
Size
Author
Date
1.4
27.41 Kb
lunarwtr
10-16-2012 07:47 PM
1.3
27.26 Kb
lunarwtr
03-14-2012 08:00 PM
1.2
25.83 Kb
lunarwtr
01-05-2012 09:32 PM
1.1
25.39 Kb
lunarwtr
12-30-2011 01:07 PM
1.0
23.08 Kb
lunarwtr
11-05-2011 05:09 PM
File Statistics
User Rating:
5 out of 5 with 7 votes
Downloads: 82008
Views: 106317
Favorites: 62
Uploaded By:
 
Last Modified: 08-07-2015 06:38 PM by lunarwtr    

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 08-25-2018, 01:54 PM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
Quote:
Well, I don't know why it's failing. Maybe Garan or Lunarwater can weigh in on the topic.

But I have a brute-force fix that should solve the problem, whatever the cause.

At line 42, find the following code

Code:
function tonum(val) 
    if locale ~= 'en' then
        return tonumber((string.gsub(val,"%.",",")))
    else
        return tonumber(val);
    end
end
and replace it with the following code

Code:
function tonum(val) 
    return tonumber(val) or tonumber((string.gsub(val,"%.",","))) or tonumber((string.gsub(val,",",".")));
end
WOW madness it works again
Thank you very much for this solution
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-25-2018, 01:01 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 136
File comments: 180
Uploads: 12
Well, I don't know why it's failing. Maybe Garan or Lunarwater can weigh in on the topic.

But I have a brute-force fix that should solve the problem, whatever the cause.

At line 42, find the following code

Code:
function tonum(val) 
    if locale ~= 'en' then
        return tonumber((string.gsub(val,"%.",",")))
    else
        return tonumber(val);
    end
end
and replace it with the following code

Code:
function tonum(val) 
    return tonumber(val) or tonumber((string.gsub(val,"%.",","))) or tonumber((string.gsub(val,",",".")));
end

Last edited by Thurallor : 08-25-2018 at 01:16 PM.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-25-2018, 12:40 PM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
I already had that. Have LOTRO completely reinstalled. Without plugins, then only the Plugin WayPoint installed, and it made no difference.
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-25-2018, 12:36 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 136
File comments: 180
Uploads: 12
Still a mystery. My current best guess is that another plugin is redefining the tonumber() function, although I didn't think that was possible unless they share the same script state ("Waypoint").

Can you please try removing everything else from the Plugins/ folder, leaving only the lunarwtr/ folder? Then login and try again.

Last edited by Thurallor : 08-25-2018 at 12:37 PM.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-25-2018, 03:18 AM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
I like to help. Have made the changes.

Code:
/way target 25.1S 48.8W
Output:
Code:
locale = de
Failed to convert: '48.8'
... ings Online \ Plugins \ Lunarwater \ Waypoint \ Waypoint.lua: 322: attempt to perform arithmetic on local 'x' (a nil value)

Last edited by Thaliruth : 08-25-2018 at 03:19 AM.
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-24-2018, 01:49 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 136
File comments: 180
Uploads: 12
I am curious. If you are interested in helping to debug this, please add the code in green, at line 315:

Code:
    ...
    if y ~= nil and x ~= nil then
        if (tonum(x) == nil) then
            Turbine.Shell.WriteLine("locale = " .. tostring(locale));
            Turbine.Shell.WriteLine("Failed to convert: '" .. tostring(x) .. "'");
        end
        x = tonum(x);
        ...
Then post the resulting chat window output here.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-24-2018, 01:13 PM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
Quote:
It is a mystery. Do you have a "Plugins/Turbine" folder? If so, try removing that. Depending on what's in it, that folder can change the behavior of all plugins.
I deleted that folder, yes, but WayPoint still does not work on the German client. At least not with me.

Have already tried everything imaginable, unfortunately it always comes to the same mistake.
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-24-2018, 10:59 AM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 136
File comments: 180
Uploads: 12
It is a mystery. Do you have a "Plugins/Turbine" folder? If so, try removing that. Depending on what's in it, that folder can change the behavior of all plugins.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-24-2018, 07:29 AM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
I give up!
Other players seem to be okay too.
Have Lotro completely reinstalled. then I installed Way Point. Is the only plugin, type in / way target coordinates and it will not work.

If necessary, I play with the English client.
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-24-2018, 03:46 AM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
That's mysterious when it works for you. As I said in the English client, it works with me too. But not in the German client, after Update22 it was still, then a few patches later not more.

I'll ask in the clan and in the world chat, if anyone has the problem.

Did you test with the German client?

Last edited by Thaliruth : 08-24-2018 at 03:54 AM.
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-23-2018, 07:09 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 85
File comments: 256
Uploads: 7
Quote:
When I enter /way target 35.2N 39.8O I get the same message

Code:
[08/23 09:11:40 PM] ...ings Online\Plugins\Lunarwater\Waypoint\Waypoint.lua:318: attempt to perform arithmetic on local 'x' (a nil value)
The command /loc does not exist in the German client. Here is only /pos or /position
Output: r1 lx1428 ly366 ox88.93 oy123.22 oz452.67 h222.2

I'm not in any instance, I'm in Grimbold's Camp
I deleted WaypointSettings.plugindata, but it does not work

Just in Mordor: Udun, it had last worked, just as in Thalland. But now it is no longer possible.

Even if I delete the folders PluginData and Plugin Complete. And reinstall Way Point Install Manuel or Plugin Compendium, it does not work anymore.

If I set the client from German to English it works wonderfully.
Thank you for confirming.

I've done some testing myself and was not able to reproduce this issue.

Are you using Windows, Mac, or Linux? I'm testing with Windows Standard version of game client.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-23-2018, 02:18 PM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
When I enter /way target 35.2N 39.8O I get the same message

Code:
[08/23 09:11:40 PM] ...ings Online\Plugins\Lunarwater\Waypoint\Waypoint.lua:318: attempt to perform arithmetic on local 'x' (a nil value)
The command /loc does not exist in the German client. Here is only /pos or /position
Output: r1 lx1428 ly366 ox88.93 oy123.22 oz452.67 h222.2

I'm not in any instance, I'm in Grimbold's Camp
I deleted WaypointSettings.plugindata, but it does not work

Just in Mordor: Udun, it had last worked, just as in Thalland. But now it is no longer possible.

Even if I delete the folders PluginData and Plugin Complete. And reinstall Way Point Install Manuel or Plugin Compendium, it does not work anymore.

If I set the client from German to English it works wonderfully.

Last edited by Thaliruth : 08-23-2018 at 04:12 PM.
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-23-2018, 01:20 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 85
File comments: 256
Uploads: 7
Quote:
I load the plugin normally, then I enter /way target 35.2N 39.8W and get the error as feedback. If I then enter this with the English client, this works strangely.

But let's see if it works after Official Release of u23 on Normal Server.
I contact you!
can you try

/way target 35.2N 39.8O

instead of

/way target 35.2N 39.8W

also..

What is the output when you do a /loc or ;loc in chat for your new updated client.

Are you logged into a character that is either in an instance or area that you've never used waypoint before? If so can you try going to a place that it has worked and try it.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-23-2018, 01:13 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 136
File comments: 180
Uploads: 12
I would try deleting the Settings file:
Documents\The Lord of the Rings Online\PluginData\account\AllServers\WaypointSettings.plugindata
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-23-2018, 12:25 PM  
Thaliruth
The Wary
 
Thaliruth's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
Bullroarer is offline, but I've tried it on the live server, because the plugin is unfortunately no longer synonymous. Get the same error. Reinstallation did not bring anything
Thaliruth is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 09:39 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui