iLPdev / iLPdev/discMapper

Speedwalking with no wait or delay

未关闭
#129 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Lua
星标
8
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

Describe the bug
Per help automation in discworld, speedwalking is only legal if you send all direction commands at once, not delayed as you walk. Since that is policy, I disable the speedwalk_delay and speedwalk_wait. When you do this, the mapper only tracks where you are for 2-4 squares before it stops tracking. If you then don't update the location through a look or map me, new rooms get created in the wrong location. It's more annoying than a killing bug, but part of the point of a visible map is to watch where you are on the map.

To Reproduce
Set speedwalk_delay to 0.
Set speedwalk_wait to false.

Speedwalk to a room 6 or more rooms away.

Expected behavior
Map should continue to track your location throughout your walk.

Screenshots
If applicable, add screenshots or an animated .gif to help explain the problem.

Environment (please complete the following information):

  • discMapper Version: 0.5 beta
  • Mudlet Version: 4.10.1
  • OS: Windows 10

Additional context
I suspect the problem is that the move queue doesn't get all the directions when sent out that fast.
What I think might be done to fix the problem, is set a variable / flag to true, and follow the speedwalk path through the gmcp.room.info event generated by Mudlet whenever gmcp.room.info is sent. Discworld sends that whenver a new room is entered, you look, or you glance. I'd be happy to help with this, and other stuff in the mapper.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先跟踪 speedwalk_delay=0 和 speedwalk_wait=false 路径的 speedwalk 处理和移动队列。检查 gmcp.room.info 事件如何报告行走期间的房间变化,然后通过行走六个或更多房间来验证 mapper 是否继续跟踪位置,且不会在错误的位置创建房间。

由索引模型根据 Issue 内容生成。

评估

技术栈
lua
领域
game-dev
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。