how do I safely move pointwatch below the chat log
I am used to it being down there
I have noted that this version does not show remainder
but just current and target amount
was - 13000/15000(2000) now - 13000/15000
Posted 16 January 2015 - 03:39 AM
how do I safely move pointwatch below the chat log
I am used to it being down there
I have noted that this version does not show remainder
but just current and target amount
was - 13000/15000(2000) now - 13000/15000
Posted 16 January 2015 - 04:01 AM
don't feel alone, I am use to it being down there also, and asked how to change it and was told in the xml file but I do not know where that is
Posted 16 January 2015 - 05:48 AM
click on it and drag it under the chat...
Posted 16 January 2015 - 07:59 AM
Either drag/drop, or adjust it in the XML file. Somewhere in the file should be an entry for <x> and <y>, those are the coordinates (in pixels) that you need to adjust. You can also use negative coordinates to position them from the bottom/right side of your screen.
Posted 17 January 2015 - 01:30 PM
There's a flag in the settings.xml file that might be needed for the -x and -y to work.
<text_box_settings> <flags> <bottom>true/false</bottom> <right>true/false</right> </flags> </text_box_settings>
Set to true for negative values to start the position count from the bottom or the right respectively. If those fields aren't listed, just add them in. They can be listed under <global> or <character_name> as with most windower addon settings files.
You can add the remainder values yourself to the <strings> field.
<strings> <default>xp.current..'/'..xp.tnl..'('..xp.tnl-xp.current..')'</default> </strings>
That would look like 55999/56000(1) when pointswatch is loaded.
As a general note to anyone interested. The .. is the lua concatenate operator (basically connects the left item and the right item together) and the ' is XML for ' (single quote aka apostrophe). Any literal strings have to be enclosed in single quotes (double quotes might work with this version of pointswatch.) All of the xp.foo and cp.bar are values supplied by pointwatch as listed in the Readme. Since they're all numeric values you can use math operators on them to display the results (xp.tnl - xp.current = remaining).
That translates to lua code something like this:
value .. 'string' .. value .. 'string' .. value operator value .. 'string' xp.current .. '/' .. xp.tnl .. '(' .. xp.tnl - xp.current .. ')'
If you're interested in doing more I recommend doing a search for "lua for beginners" or such. A quick primer would go a long ways in using windower addons more effectively.
Posted 18 January 2015 - 08:37 AM
There's no need to actually use the ' entity in XML unless you need an apostrophe inside of a single quoted attribute value. This is perfectly legal XML:
<strings> <default>xp.current..'/'..xp.tnl..'('..xp.tnl-xp.current..')'</default> </strings>
The settings exporter may replace all apostrophes with the entity, because it's simply easier to always do that than it is to write a special case for the few places where it's needed.
Posted 10 February 2017 - 08:47 AM
click on it and drag it under the chat...
O M G!
0 members, 1 guests, 0 anonymous users