Skip to content

Hardened script for MySQL strict mode#1

Open
MelchnerRoman wants to merge 1 commit into
Infinity-Core:mainfrom
MelchnerRoman:main
Open

Hardened script for MySQL strict mode#1
MelchnerRoman wants to merge 1 commit into
Infinity-Core:mainfrom
MelchnerRoman:main

Conversation

@MelchnerRoman

Copy link
Copy Markdown

improved error handling, and updated notification texts

  • Ensured all numeric values (cash, price, quantity, XP) are safely converted and defaulted to 0 to prevent nil/NULL errors with strict mode enabled.
  • Improved server-side event handlers to be robust against missing or malformed data.
  • Updated notification and error messages for clarity and corrected typos in both client and server scripts.
  • Minor code clean-up for consistency.

 improved error handling, and updated notification texts

- Ensured all numeric values (cash, price, quantity, XP) are safely converted and defaulted to 0 to prevent nil/NULL errors with strict mode enabled.
- Improved server-side event handlers to be robust against missing or malformed data.
- Updated notification and error messages for clarity and corrected typos in both client and server scripts.
- Minor code clean-up for consistency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant