Can't get the compass to update, what did I mess up?

Post Reply
Jarrin
Posts: 20
Joined: Sat Nov 21, 2009 10:14 pm

Can't get the compass to update, what did I mess up?

Post by Jarrin »

I started to play Materia Magica and have ported in the Achea Fancy GUI because I like the compass and gauges. I've got the gauges updating properly, but I can't seem to get a trigger to fire on the visible exits line.

I started with a filter chain 'compass' that uses a substring to match
Code: [show] | [select all] lua
Visible Exits: 
That filter leads into the secondary filter 'exit filter chain' using RegEx
Code: [show] | [select all] lua
^Visible Exits: (.*)$
which sets the direction values to 0 just like in the Achaea version

then it feeds into the next filter 'direction filter' which should capture the viable directions from the Visible Exits line using RegEx:
Code: [show] | [select all] lua
[\s]?(\w+)[\s]
I used [\s] for a space, because one always follows Visible Exits:
Directions show as N E S W Ne Se Nw Sw U D if they are available. (\w+) should capture those correct?
Then I have triggers for each direction to set the direction to 1 and showWindow("direction")

Here is a screenshot of the mud output:

Image

What am I doing wrong?

User avatar
Rakon
Posts: 350
Joined: Tue Feb 16, 2010 7:41 pm
Contact:

Re: Can't get the compass to update, what did I mess up?

Post by Rakon »

Screenshot is not working.

Jarrin
Posts: 20
Joined: Sat Nov 21, 2009 10:14 pm

Re: Can't get the compass to update, what did I mess up?

Post by Jarrin »

let me try the image again

Image

if it fails this time here is a link to photobucket

http://i45.photobucket.com/albums/f85/p ... nt0/MM.png

Post Reply