Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Miniwindows ➜ Modified Aardwolf Map Plugin

Modified Aardwolf Map Plugin

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Lentholium   (4 posts)  Bio
Date Sun 13 May 2012 01:08 PM (UTC)
Message
I have been messing around with the Aardwolf Map Miniwindow, adapting it to capture the room descs from the game I play. It works well enough, but leaves a horizontal line right in the middle of part of it. I admit that I don't really know much about it, but I am having a hard time trying to find out which line to modify to remove it.

any help is appreciated.
Top

Posted by Fiendish   USA  (2,535 posts)  Bio   Global Moderator
Date Reply #1 on Sun 13 May 2012 04:07 PM (UTC)
Message
You have to show us what you have so far before we can help fix it. ;)

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Lentholium   (4 posts)  Bio
Date Reply #2 on Mon 14 May 2012 03:44 AM (UTC)
Message
I am using this as the base- http://www.gammon.com.au/forum/?id=8816

it's the aardwolf map v2. The only real modifications I have made are to change the capture text, as follows:

Simply put, i just cant wrap my head around what I need to change.

This is what I get. Note the grey line in the center? I want to either remove it entirely, or shift it down a line.

[IMG]http://i1119.photobucket.com/albums/k626/Lentholium/whatiget.png[/IMG]

<triggers>

  <trigger
   enabled="y"
   match="O----------------------------------------------------------------------O"
   script="map_redirect"
   omit_from_output="y"
   name="map_start"
   sequence="100"
  >
  </trigger>
  
  <trigger
   enabled="n"
   match="*"
   script="map_redirect"
   name="multi_line_map"
   omit_from_output="y"
   sequence="10"
  >
  </trigger>

  <trigger
   enabled="y"
   match="------------------------------------------------------------------------"
   script="map_redirect"
   omit_from_output="n"
   name="map_end"
   sequence="5"
  >
  </trigger>
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 14 May 2012 10:55 AM (UTC)
Message
That line is drawn by the NoteHr function. Better find where it is doing that:

Template:function=NoteHr NoteHr

The documentation for the NoteHr script function is available online. It is also in the MUSHclient help file.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fiendish   USA  (2,535 posts)  Bio   Global Moderator
Date Reply #4 on Mon 14 May 2012 12:09 PM (UTC)

Amended on Mon 14 May 2012 12:12 PM (UTC) by Fiendish

Message
Quote:
That line is drawn by the NoteHr function

Heh, I don't think so.

Lentholium, change the font_height*2 in
   -- title rectangle
   check (WindowRectOp (win, 2, 2, 2, -2, font_height * 2 + 10, title_colour))
   check (WindowRectOp (win, 5, 2, 2, -2, font_height * 2 + 10, 5, 8))
to

font_height*3 instead and you'll have it drop down another text line.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Lentholium   (4 posts)  Bio
Date Reply #5 on Thu 17 May 2012 08:20 AM (UTC)
Message
thank you, that did it!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


19,187 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.