LeeS
Imperator
@alknicteos
This error message was not related to any of the code you posted in your message. There is no Update command anywhere within the code you posted on message # 718
However, the error messages are quite correct. There is no Column called "Amount" in any of the game's tables, especially none in table ModifierArguments. "Amount" is an argument value for column "Name". It is the "Value" column which needs to be changed in an Update, but only where the "Name" argument matches to "Amount" and the "ModifierId" argument matches to the correct modifier as well. Using an Update to change data in a row while only matching the "Where" conditions to a ModifierId is likely to fail with interesting results pretty much all the time.
Code:
[1870812.551] [Gameplay] ERROR: no such column: Amount
[1870812.551] [Gameplay]: In Query - UPDATE ModifierArguments SET "Amount" = ? WHERE "ModifierId" = ?;
However, the error messages are quite correct. There is no Column called "Amount" in any of the game's tables, especially none in table ModifierArguments. "Amount" is an argument value for column "Name". It is the "Value" column which needs to be changed in an Update, but only where the "Name" argument matches to "Amount" and the "ModifierId" argument matches to the correct modifier as well. Using an Update to change data in a row while only matching the "Where" conditions to a ModifierId is likely to fail with interesting results pretty much all the time.