iLPdev / iLPdev/discMapper

Speedwalking with no wait or delay

Offen
#129 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Lua
Sterne
8
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die Verarbeitung von speedwalk und die Bewegungswarteschlange für den Pfad speedwalk_delay=0 und speedwalk_wait=false nachzuverfolgen. Untersuche, wie gmcp.room.info-Ereignisse Raumänderungen während eines Laufs melden, und verifiziere anschließend mit einem Lauf durch sechs oder mehr Räume, dass der Mapper den Standort weiterhin verfolgt, ohne Räume an der falschen Stelle zu erstellen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
game-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.