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.
 Entire forum ➜ MUSHclient ➜ Plugins ➜ Omit Learning Mapper notes from output

Omit Learning Mapper notes from output

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


Posted by Synchro   (4 posts)  Bio
Date Wed 29 Dec 2021 02:29 AM (UTC)
Message
I'd like to omit the notes created by the Learning Mapper plugin from my output, so i don't see them. For example:

get: from_room: nil (process_new_room)
SET: current_room: 44D8
get: last_direction_moved: nil
get: current_room: 44D8 (process_new_room)
Finished processing new room
SET: last_direction_moved: nil

I still want the mapper to function but I don't want to see those messages in my output. Is there an easy way to hide them?
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 29 Dec 2021 02:49 AM (UTC)
Message

I think I inadvertently left debugging on. Change this line:

https://github.com/nickgammon/plugins/blob/b3560c91112929195eb7303c76d6772b33ee2aaa/Learning_Mapper.lua#L94

From:

to:

That is around line 94 in Learning_Mapper.lua.


- Nick Gammon

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

Posted by Synchro   (4 posts)  Bio
Date Reply #2 on Wed 29 Dec 2021 03:16 AM (UTC)
Message
Wonderful, thanks again!
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.


9,082 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.