Page 2 of 2
Re: Messagemessages
Posted: Thu Sep 17, 2020 4:16 pm
by FourthWorld
I'm not familiar with anything prefab for mobile, but you're welcome to pull anything out of 4W Flight Recorder that may be useful.
For simple logging a frontscript trapping medsageHandled is most of what you need, along with a way to turn it on and off as you already have above (just add a line in each handler for setting the messageMessages to true/false).
Re: Messagemessages
Posted: Thu Sep 17, 2020 4:23 pm
by mwieder
...but do note that you'd benefit from looking at the code for either 4W Flight Recorder and/or the built-in message watcher stack because the functions and mechanism for handling this aren't documented.
Re: Messagemessages
Posted: Thu Sep 17, 2020 5:44 pm
by marksmithhfx
FourthWorld wrote: Thu Sep 17, 2020 4:16 pm
I'm not familiar with anything prefab for mobile, but you're welcome to pull anything out of 4W Flight Recorder that may be useful.
For simple logging a frontscript trapping medsageHandled is most of what you need, along with a way to turn it on and off as you already have above (just add a line in each handler for setting the messageMessages to true/false).
Thanks, I'll add it to the list of "projects todo" once I've finished the current one. Sounds like a useful exercise to try given all of the options and exclusions you are supporting. I did have a look at the code... it looked very well written and easy to follow.
Mark
Re: Messagemessages
Posted: Thu Sep 17, 2020 5:46 pm
by marksmithhfx
mwieder wrote: Thu Sep 17, 2020 4:23 pm
...but do note that you'd benefit from looking at the code for either 4W Flight Recorder and/or the built-in message watcher stack because the functions and mechanism for handling this aren't documented.
Agreed, there was a lot of useful stuff in Richard's stack.
Re: Messagemessages
Posted: Thu Sep 17, 2020 11:47 pm
by mwieder
Understatement follows
Agreed, there was a lot of useful stuff in Richard's stack.