It's probably something to do with your prompt, that it isn't matching when you enter a room.
I've tried with prompt off and also with the %c at the end and still can't get it to auto-update properly. Other then auto updating it works perfectly though.
I have fixed my issue. Not sure if it was the correct way or not yet, but the Exit line for me was '[ EXIT' instead of '[EXIT' so the trigger never ticked. I just added the space in the trigger to get it to work.
I still haven't been able to get the script to auto update. I am not sure what I am doing wrong on it. I have even created a new char thinking it was some setting I set years ago and followed the stuff on earlier pages It might help. the 'conw' command manually still seems to work though.
using look in a room
look
The Grand City of Aylor - Southern Entrance (G)
TRACE: Matched trigger "^\{coords\}(?<zone>\d+)\,(?<x>\d+)\,(?<y>\d+)$"
At this point in the road, The Great Andolor Highway has begun to slim
as the large paving stones slowly mix with, and turn into, a form of
cobblestone path. It's quite amazing the amount of work and detail that
went into this simple shift in road. To the north, the cobblestone
continues into the vast and wondrous city of Aylor. To the south, the
large expanse of the great world lies before you, beckoning you towards
excitement and adventure.
TRACE: Executing Plugin GMCP_handler script "OnPluginTelnetSubnegotiation"
TRACE: Executing Plugin Aardwolf_Group_Monitor script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Health_Bars script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_GMCP_Mapper script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Group_Monitor script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Health_Bars script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Chat_Capture_Miniwindow script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Ascii_Mapper script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_BigMap_Graphical script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Prompt_Fixer script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Statmon script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Chat_Capture_Miniwindow script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Ascii_Mapper script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Group_Monitor script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Health_Bars script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_GMCP_Mapper script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Chat_Capture_Miniwindow script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_BigMap_Graphical script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Prompt_Fixer script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Statmon script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_BigMap_Graphical script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Prompt_Fixer script "OnPluginBroadcast"
TRACE: Executing Plugin Aardwolf_Statmon script "OnPluginBroadcast"
[ Exits: north south up down ]
A beat-up rat in nasty-looking rags wears a bandana and has a peg for a leg.
A large vine with thick, dripping thorns edges closer...
A large mass of eyes and tentacles stands guard at the entrance.
[160/160hp 150/150mn 500/500mv 0qt 900tnl] >
TRACE: Trace off
using conw - this works
TRACE: Trace on
TRACE: Matched alias "^conw$"
TRACE: Executing alias script "send_consider"
TRACE: Executing Plugin Aardwolf_GMCP_Mapper script "OnPluginSent"
TRACE: Executing Plugin Aardwolf_GMCP_Mapper script "OnPluginSent"
echo nhm
TRACE: Matched trigger "You would be completely annihilated by *!"
TRACE: Executing trigger script "adapt_consider"
TRACE: Matched trigger "You would be completely annihilated by *!"
TRACE: Executing trigger script "adapt_consider"
TRACE: Matched trigger "You would be completely annihilated by *!"
TRACE: Executing trigger script "adapt_consider"
[160/160hp 150/150mn 500/500mv 0qt 900tnl] >
TRACE: Matched trigger "^nhm$"
TRACE: Executing trigger script "Show_Window"
[160/160hp 150/150mn 500/500mv 0qt 900tnl] >
TRACE: Trace off
The "send to back" thing can only ever work with other plugins written to make use of my Z-Order features. This plugin was written long before that. But I have instructions for adding Z-ordering to any miniwindow plugin:
Thanks. It was hiding behind a window. Was kind of surprised that using the send to back option on the window covering it didn't make it so that the consider window came to the front.
Although now it's not auto updating. So far the only thing I have tried is turning off my prompt, but haven't had time to go through all of the troubleshooting tips on page 2 yet.
If you know a quick fix for that I would gladly take it. I will try to go through all the stuff on page 2 if not.
Amended on Sun 11 Mar 2012 01:49 AM (UTC) by Fiendish
Message
Quote:
my sincere apologies for all the questions.
There is no need to apologize for anything. Your questions have been very polite and to the point, so they are not at all painful to answer.
Quote: but is this about the script prefix '\' ?
because when i look in my settings which i haven't changed, its on '\\'
No. The issue is as follows...
Look at this page about Strings in Lua: http://www.lua.org/pil/2.4.html
Note the table of escape sequences in strings after the part that says "Strings in Lua can contain the following C-like escape sequences:"
In Lua 5.1, ANYthing can be escaped (preceded by "\") and if it is not in the table shown then the "\" is just ignored. In LuaJIT 2 (and Lua 5.2, upon which it is currently based) which is the Lua interpreter packaged with the Aardwolf MUSHclient Package, that is not the case. Escaping something not in that table is considered invalid because it means you don't really know what your string is doing and you've probably made a mistake.
Now I don't know if Xaroth's proposed solution is actually correct, because I haven't studied this particular script, but it will at least resolve the described code ambiguity. There are two ways to resolve the ambiguity presented by "\-" in the quoted code lines. The correct solution is one of either "\-" or "-". I can't say which, but Xaroth has indicated that "\-" gave satisfactory results.
my sincere apologies for all the questions. but as my knowledge will become saturated some day, the questions will disappear :P
completely stared myself over a few things when i was into this too long the other day.
when used the ctrl+f i found it :P
but is this about the script prefix '\' ?
because when i look in my settings which i haven't changed, its on '\\\'
the thing is, when i open the file, i don't see line numbers.
and i sure don't see the sPat anywhere..
i'm trying to figure out what went wrong, but any help in between would be appreciated.
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.