Jump to content


Photo

ZoneTimer: How to change position?

ZoneTimerpositionzonetimerplugincommand

Best Answer Arcon , 27 August 2013 - 10:53 AM

zt setpos <x> <y>

 

For example:

 

zt setpos 1200 600
Go to the full post


    15 replies to this topic

    #1 Xeye

    Xeye

      Advanced Member

    • Members
    • PipPipPip
    • 38 posts

      Posted 27 August 2013 - 10:39 AM

      Hello,

       

      I'm trying to change the position of the ZoneTimer in-game (or by editing a file like other plugins) but i couldn't find the command/file and tried already few cmd like:

       

       

      zt x,y
      ZoneTimer x,y
      zt pos x,y
      zt pos x,(y)
      zt help 
       etc...

       

       

      but it doesn't work.

       

      I checked the windower folder and all i found is ZoneTimer.dll

       

      Is there a way to change the position?

       

      Thank you. /bow

       

      PS: sorry for any typo/grammar but english isn't my first lang.  ^_^

       

       



      #2 Arcon

      Arcon

        Advanced Member

      • Windower Staff
      • 1189 posts
      • LocationMunich, Germany

      Posted 27 August 2013 - 10:53 AM   Best Answer

      zt setpos <x> <y>
      

       

      For example:

       

      zt setpos 1200 600
      

      • Xeye likes this

      #3 Xeye

      Xeye

        Advanced Member

      • Members
      • PipPipPip
      • 38 posts

        Posted 27 August 2013 - 11:28 AM

        Thank you, Arcon.

         

        === Edit: ===

         

        The plugin doesn't save my new pos and whenever i re-log i have to put the new pos again.

         

        Is it bug or i have to enter a cmd to save the new pos?



        #4 SimpleDude

        SimpleDude

          Newbie

        • Members
        • Pip
        • 2 posts

          Posted 18 September 2013 - 07:15 PM

          One more question - is there a way to resize the Text and change the color of the Text for Zone Timer?



          #5 Arcon

          Arcon

            Advanced Member

          • Windower Staff
          • 1189 posts
          • LocationMunich, Germany

          Posted 18 September 2013 - 08:32 PM

          These are all valid commands (should be easy to figure it out from here):

          setpos
          setposx
          setposy
          setfont
          setfontname
          setfontsize
          setbold
          setitalic
          setcolor
          setcolorr
          setcolorred
          setcolorg
          setcolorgreen
          setcolorb
          setcolorblue
          setcolora
          setcoloralpha
          setbgcolor
          setbgcolorr
          setbgcolorred
          setbgcolorg
          setbgcolorgreen
          setbgcolorb
          setbgcolorblue
          setbgcolora
          setbgcoloralpha


          #6 rovian

          rovian

            Newbie

          • Members
          • Pip
          • 8 posts

            Posted 17 July 2014 - 10:04 AM

            Hi, how do I save my settings after I change the position of the time? It resets itself every time I log, thanks.



            #7 Arcon

            Arcon

              Advanced Member

            • Windower Staff
            • 1189 posts
            • LocationMunich, Germany

            Posted 17 July 2014 - 11:54 AM

            You can't, you have to set it in the init.txt file.

             

            A solution would be to use the ZoneTimer addon instead of the plugin. The addon version can be dragged around the screen and it saves the position automatically.



            #8 rovian

            rovian

              Newbie

            • Members
            • Pip
            • 8 posts

              Posted 18 July 2014 - 03:15 PM

              Thanks Arcon, one more question, how to re-position the addon version cause zt setpos <x><y> does not work on it, I can set it on the settings XML file but it's kinda pain to re-log every time to see the perfect spot on the screen.



              #9 Arcon

              Arcon

                Advanced Member

              • Windower Staff
              • 1189 posts
              • LocationMunich, Germany

              Posted 18 July 2014 - 03:35 PM

              [..] The addon version can be dragged around the screen and it saves the position automatically.

               

              But for the record, you don't have to relog. You can just reload it by typing //lua r zonetimer.



              #10 rovian

              rovian

                Newbie

              • Members
              • Pip
              • 8 posts

                Posted 18 July 2014 - 05:45 PM

                Dragging by using the mouse you mean? I tried, it won't move ^^;, I just tried the //lua r zonetimer method and it worked just fine, btw how do I set per character settings?

                 

                Thanks for the time. :)



                #11 Arcon

                Arcon

                  Advanced Member

                • Windower Staff
                • 1189 posts
                • LocationMunich, Germany

                Posted 19 July 2014 - 02:56 AM

                It should move, I just tried myself, worked fine.

                 

                But as for per-character settings, add a <Charname> tag after the </global> tag and override any global settings you want in there.



                #12 rovian

                rovian

                  Newbie

                • Members
                • Pip
                • 8 posts

                  Posted 19 July 2014 - 10:52 AM

                  I tried many times, it just won't move like for example how FFXIDB map moves :(, btw my monitor is 2560x1440 and I'm not using full screen mode in windower but windowed, and now when I try to set it for my other character it's giving me a "mismatched tag ending of my character name" in FFXI chat-log, I'm probably doing something wrong, but here's what I wrote inside the settings file.

                   

                  <settings>
                  <global>
                          <bg>
                              <alpha>255</alpha>
                              <blue>0</blue>
                              <green>0</green>
                              <red>0</red>
                              <visible>true</visible>
                          </bg>
                          <flags>
                              <bold>false</bold>
                              <bottom>false</bottom>
                              <draggable>true</draggable>
                              <italic>false</italic>
                              <right>false</right>
                          </flags>
                          <padding>0</padding>
                          <pos>
                              <x>1603</x>
                              <y>0</y>
                          </pos>
                          <text>
                              <alpha>255</alpha>
                              <blue>255</blue>
                              <font>Arial</font>
                              <fonts>
                              </fonts>
                              <green>255</green>
                              <red>255</red>
                              <size>12</size>
                          </text>
                  </global>
                  <Mule>
                          <pos>
                              <x>1403</x>
                              <y>0</y>
                  </settings>
                   
                   
                   
                   
                  Didn't actually type <Mule>, but it's a demonstration of my mule name,
                   
                  I want my main to be located at:
                              <x>1603</x>
                              <y>0</y>
                   

                  My mule:

                              <x>1403</x>
                              <y>0</y>


                  #13 Arcon

                  Arcon

                    Advanced Member

                  • Windower Staff
                  • 1189 posts
                  • LocationMunich, Germany

                  Posted 19 July 2014 - 11:15 AM

                  You need to close tags as you open them. Just like how you closed <x> with </x> and <y> with </y> you need to close <pos> with </pos> and <Mule> with </Mule>.



                  #14 rovian

                  rovian

                    Newbie

                  • Members
                  • Pip
                  • 8 posts

                    Posted 19 July 2014 - 11:26 AM

                    I did exactly as you said, and still getting this message when I reload the addon with "lua r zonetimer"

                    zonetimer Error: XML error, line 34: Mismatched tag ending: </Mule>

                     

                    And then when I reopen the .XML, all the settings are reset to:

                            <pos>

                                <x>400</x>
                                <y>0</y>
                     
                    Could you please edit my .XML settings post so that I can copy/paste the whole thing into my .XML file, I'm sure it would work then, lol.
                     
                    Tysm. ^^


                    #15 Arcon

                    Arcon

                      Advanced Member

                    • Windower Staff
                    • 1189 posts
                    • LocationMunich, Germany

                    Posted 19 July 2014 - 01:20 PM

                    <settings>
                        <global>
                            <bg>
                                <alpha>255</alpha>
                                <blue>0</blue>
                                <green>0</green>
                                <red>0</red>
                                <visible>true</visible>
                            </bg>
                            <flags>
                                <bold>false</bold>
                                <bottom>false</bottom>
                                <draggable>true</draggable>
                                <italic>false</italic>
                                <right>false</right>
                            </flags>
                            <padding>0</padding>
                            <pos>
                                <x>1603</x>
                                <y>0</y>
                            </pos>
                            <text>
                                <alpha>255</alpha>
                                <blue>255</blue>
                                <font>Arial</font>
                                <fonts>
                                </fonts>
                                <green>255</green>
                                <red>255</red>
                                <size>12</size>
                            </text>
                        </global>
                        <Mule>
                            <pos>
                                <x>1403</x>
                                <y>0</y>
                            </pos>
                        </Mule>
                    </settings>


                    #16 rovian

                    rovian

                      Newbie

                    • Members
                    • Pip
                    • 8 posts

                      Posted 19 July 2014 - 05:54 PM

                      <settings>
                          <global>
                              <bg>
                                  <alpha>255</alpha>
                                  <blue>0</blue>
                                  <green>0</green>
                                  <red>0</red>
                                  <visible>true</visible>
                              </bg>
                              <flags>
                                  <bold>false</bold>
                                  <bottom>false</bottom>
                                  <draggable>true</draggable>
                                  <italic>false</italic>
                                  <right>false</right>
                              </flags>
                              <padding>0</padding>
                              <pos>
                                  <x>1603</x>
                                  <y>0</y>
                              </pos>
                              <text>
                                  <alpha>255</alpha>
                                  <blue>255</blue>
                                  <font>Arial</font>
                                  <fonts>
                                  </fonts>
                                  <green>255</green>
                                  <red>255</red>
                                  <size>12</size>
                              </text>
                          </global>
                          <Mule>
                              <pos>
                                  <x>1403</x>
                                  <y>0</y>
                              </pos>
                          </Mule>
                      </settings>

                       

                       

                      Finally! tysm man. :)







                      Also tagged with one or more of these keywords: ZoneTimer, position, zone, timer, plugin, command

                      1 user(s) are reading this topic

                      0 members, 1 guests, 0 anonymous users