CyberEngineTweaks icon indicating copy to clipboard operation
CyberEngineTweaks copied to clipboard

Not returning errors for invalid commands

Open surtis opened this issue 1 year ago • 0 comments

Try the following command in the CET console: Game.AddToInventory("Items.SQ031_SamuraiJacket",1) As of the latest CET version for game version 1.6, it results in a no-op, but nothing is output. I would expect an error, such as "Error: Missing item code"

The actual command that would result in an op due to a valid item id code would be Game.AddToInventory("Items.SQ031_Samurai_Jacket", 1)

https://wiki.redmodding.org/wolvenkit/getting-started/creating-a-mod actually has the wrong item code, and troubleshooting this was difficult without an error

surtis avatar Sep 17 '22 04:09 surtis