Menu

#916 Delete command not working, claims you are in DM mode

2.x
closed
nobody
server (385)
Other (Please Specify in Description)
5
2022-10-29
2022-05-04
Rick Tanner
No

Encountered this issue with latest build (2022-May-4) build of the GKTv2 Client and server (server running on Ubuntu 20.04.4 LTS.)

Here is what I did:

Enter the game, enable DM mode, leave DM mode, leave the game with that character via Bed to Reality. In the character selection screen, select another character. Enter the game. Use the delete command. You get the message, "Can't quit when in DM mode"

Exit the client (GTKv2 in this case), relaunch client, connect to the server, pick a character, enter the game, try the delete command. Still get the message, "Can't quit when in DM mode"

At no time is the character in DM mode.

Discussion

  • Kevin Zheng

    Kevin Zheng - 2022-05-04
    • labels: --> server
    • status: open --> analyzed
     
  • Kevin Zheng

    Kevin Zheng - 2022-05-04

    The DM check was added in ca8ec2392 (SVN r12308). It seems to me that the flag it checks should be FLAG_WIZ instead of FLAG_WAS_WIZ.

     
  • Nicolas Weeger

    Nicolas Weeger - 2022-05-05
    • status: analyzed --> patched
     
  • Nicolas Weeger

    Nicolas Weeger - 2022-05-05

    Should be fixed in ff1b22956, thanks :)

     
  • Rick Tanner

    Rick Tanner - 2022-05-06

    With the current code base after your change (ff1b22956) works.

    Here's what the server log shows for using the delete command. Is the BUG event something that needs more attention?

    22/05/06 00:10:28 [II] -- testk quits the game.
    22/05/06 00:10:28 [EE] remove_friendly_object called with empty friendly list, remove
    22/05/06 00:10:28 [EE] BUG: process_events(): Object without map or inventory is on active list: testk (136062)

     
  • Nicolas Weeger

    Nicolas Weeger - 2022-10-29
    • status: patched --> closed
    • Server: --> Other (Please Specify in Description)
     

Log in to post a comment.