Hard to tell by reading the code, but seems quiet the overkill as most of it is already done by the API
you can simply make WalkingEvent and webWalkEvent and set all of these settings you need
https://osbot.org/api/org/osbot/rs07/event/WalkingEvent.html
For WebwalkEvent you can even create a PathPreference profile to determine what telewports to use etc.
https://osbot.org/api/org/osbot/rs07/event/WebWalkEvent.html