πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Debug & Test

BIT-ClothingShop v.2 includes debugging and testing features to help you configure and verify the script.

Debug Mode

Enable debug mode to see garment names in the F8 console and automatically copy them to your clipboard.

--True to debug mode
Config.debugMode = true

In debug mode you can see the name of the garment in the customer's log (F8). In addition, the name will be automatically copied to the clipboard.

Test Mode

Test mode allows you to generate a limited number of clothing images for quick testing purposes.

--Activate if you want to perform tests on image capture with small amounts of clothing 
Config.testMode = true
--Number of images to be taken for each category in test mode
Config.testModeAmount = 100

With test mode activated, only the number of images you specify will be generated.

How to Use

  1. Enable Debug Mode:

    • Set Config.debugMode = true in config.lua
    • Open F8 console while in a clothing store
    • Garment names will appear in the console
    • Names are automatically copied to clipboard for easy reference
  2. Enable Test Mode:

    • Set Config.testMode = true in config.lua
    • Set the desired number of test images per category
    • Run the /updateclothes command
    • Wait for the test batch to complete (much faster than full generation)
  3. Disable for Production:

    • Set both to false before running full image generation
    • This ensures all clothing items are captured
    • Debug output will be disabled for better performance

Benefits of Test Mode

  • Quick Testing: Generate only a small subset of images
  • Configuration Verification: Ensure camera positions are correct
  • Performance Testing: Check system performance before full generation
  • Faster Iterations: Make adjustments without waiting for full generation

Use test mode when setting up camera positions or testing new clothing packs before generating the full catalog.