Jump to content

Outdated Console Command Prediction Dictionary


Philip.
  • Fixed

As stated in the title, the hardcoded word prediction dictionary for commands prefixed with 'c_' in consolescreen.lua seems to be quite outdated at this point. Even though it's a minor thing and the most important stuff is there, I would appreciate if it got some little care as well. Especially now after many new commands were relased.
image.thumb.png.d53de1634084e5eb51a93c006c25d9a3.png

Thanks :)


Steps to Reproduce

Open the game's console screen and just type the prefix - 'c_'. See that just a small number of console commands are being predicted (approximately 26/112).




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
2 hours ago, lakhnish said:

Isn't that what the recently added arrows on the left are for? Does clicking it not reveal more?

 There is special case handling for these commands and must be updated manually.

Changed Status to Fixed

  • Like 2

Share this comment


Link to comment
Share on other sites

30 minutes ago, JesseB_Klei said:

must be updated manually.

In my mod console++ I iterate through the global table and add every function whose name starts with the prefix to the command list; it's not an expensive operation. Alternatively consolecommands.lua could store the functions in a separate table.

  • Thanks 1

Share this comment


Link to comment
Share on other sites

8 minutes ago, Friendly Grass said:

In my mod console++ I iterate through the global table and add every function whose name starts with the prefix to the command list; it's not an expensive operation. Alternatively consolecommands.lua could store the functions in a separate table.

Both of those are equally viable. I would opt for the latter as it is more clean to me but for a quick fix updating the table and working on other pressing things is all the time I have for now.

  • Like 4
  • Thanks 2

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...