Characters who warped to an invalid playfield are completely inaccessible #315

Closed
opened 2023-11-22 22:13:27 +01:00 by abc · 2 comments
abc commented 2023-11-22 22:13:27 +01:00 (Migrated from github.com)

Describe the bug
If you use the /tp command to teleport to an invalid playfield, the command executes, but the game crashes, because the playfield does not exist. Any time you connect to the character from that point on, the game will always crash.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new character.
  2. Use the tp command to go to an invalid playfield, e.g. /tp 1337 1 1
  3. The game will crash, and the character will be inaccessible.

Expected behavior
There should be some graceful handling of wrong warps, e.g. if a character ends up in an invalid playfield, they should be warped into the grid as a zone of last resort.

**Describe the bug** If you use the /tp command to teleport to an invalid playfield, the command executes, but the game crashes, because the playfield does not exist. Any time you connect to the character from that point on, the game will always crash. **To Reproduce** Steps to reproduce the behavior: 1. Create a new character. 2. Use the tp command to go to an invalid playfield, e.g. `/tp 1337 1 1` 3. The game will crash, and the character will be inaccessible. **Expected behavior** There should be some graceful handling of wrong warps, e.g. if a character ends up in an invalid playfield, they should be warped into the grid as a zone of last resort.
abc commented 2023-11-26 13:07:50 +01:00 (Migrated from github.com)

Fixed by 752b11e915

Fixed by https://github.com/project-rubika/engines/commit/752b11e915fdf9d0a294c09eacf920d4ecd1b503
abc commented 2023-12-05 00:48:01 +01:00 (Migrated from github.com)

Confirmed fixed.

Confirmed fixed.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: prk/issues#315
No description provided.