Skip to content

[BUG] Bot editor: marker count limit not properly handled #404

@liback

Description

@liback

Describe the bug
The bot editor has a limit of 300 markers:

  • It is possible to add more than 300 markers, but it appears the ones over 300 gets removed on botcmd save with no feedback for the user (only way to notice is some areas of the map missing markers when revisiting the bot route file).
  • If adding more than 300 markers it is not possible to remove the markers above 300 (the previously added ones can be removed though).
  • Related question is if the 300 marker limit could be increased for big maps?

To Reproduce
Steps to reproduce the behavior:

  • Set k_fb_options 2
  • Connect to server
  • /botcmd enable
  • /botcmd addmarker (do this 301 times :p)
  • Walk up to the 301st marker
  • /botcmd savemarker and then /botcmd removemarker (nothing happens)

Expected behavior
Should probably have some info text when trying to add the 301st marker saying limit reached.

Screenshots
N/A

Environment(please complete the following information):

  • MVDSV Version: 1.20
  • KTX Version: 1.46

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions