adrian alvarez
Member
- Joined
- Mar 7, 2017
- Messages
- 46
- Solutions
- 1
- Reaction score
- 6
I'm not trying to make a queryThe query being executed is malformed, if you share it we can take a look
Yours,
every single character when they log in AND out?I'm not trying to make a query
when a player disconnects and connects that appears on the console
The reason for getting this error when logging-in, is because a script executing anI'm not trying to make a query
when a player disconnects and connects that appears on the console
UPDATE statement as the character does so.Looks like type is empty in the query. Either in the sources when the player logs out or any new code you made for logout.
type =
\0001 that you can see in the syntax error. You just have to cast the value to an integer when creating the query (it's probably an uint8 now).uint8_t and int8_t variables (single byte 'number') are typed to uint32_t or uint16_t to tell compiler that they are numbers, not char (single byte 'letter').
The reason for getting this error when logging-in, is because a script executing anUPDATEstatement as the character does so.
Have you recently made changes to anything related to login/logout creature events?
Yours,