Parse map models and validate them #13

Merged
Quaternions merged 2 commits from parse-map-models into master 2024-04-24 06:28:08 +00:00
Collaborator

The enhancements:

  • Added map validation that checks for some common errors that maps have
  • /take: Does map validation but will still take the map even if there are problems
  • /take: Improved the help text and added links to the maptest places
  • /submit: Does map validation and will not let you submit if there are problems
  • /submissions: Now shows the map's display name and creator
  • Added an ESLint config and tidied some things up
  • Updated some of the packages
The enhancements: - Added map validation that checks for some common errors that maps have - /take: Does map validation but will still take the map even if there are problems - /take: Improved the help text and added links to the maptest places - /submit: Does map validation and will not let you submit if there are problems - /submissions: Now shows the map's display name and creator - Added an ESLint config and tidied some things up - Updated some of the packages
fiveman1 added 1 commit 2024-04-24 05:18:31 +00:00
Member

THIS IS AWESOME

THIS IS AWESOME
Quaternions reviewed 2024-04-24 05:57:37 +00:00
common.js Outdated
@ -89,0 +166,4 @@
errors.push(`The root part of your model is a \`${root.ClassName}\`, it needs to be a \`Model\` instead.`);
}
else {
if ((game === "bhop" || game === "surf") && !root.Name.startsWith(game + "_")) {
Owner

This is not modular!

This is not modular!
Quaternions marked this conversation as resolved
fiveman1 added 1 commit 2024-04-24 06:23:34 +00:00
Quaternions merged commit 3a167cf686 into master 2024-04-24 06:28:08 +00:00
Quaternions deleted branch parse-map-models 2024-04-24 06:28:08 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: StrafesNET/maptest-bot#13
No description provided.