Modified Aardwolf Map Plugin

Posted by Lentholium on Sun 13 May 2012 01:08 PM — 6 posts, 25,803 views.

#0
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.
USA Global Moderator #1
You have to show us what you have so far before we can help fix it. ;)
#2
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>
Australia Forum Administrator #3
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.

USA Global Moderator #4
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.
Amended on Mon 14 May 2012 12:12 PM by Fiendish
#5
thank you, that did it!