Common Issues and FAQ
Common Issues
Performing a Fresh Install
When troubleshooting errors, the initial step is to perform a fresh installation, as it resolves approximately 95% of the issues reported in support tickets. Carefully follow the guide below to ensure a successful fresh install.
Executing a fresh install is a critical procedure when encountering errors, even if you have just purchased the script and this is your first installation.
Refer to the fresh install guide to access the detailed steps for performing the process.
The UI is not opening
- If the UI fails to open, do a fresh script installation as detailed above.
- If you identify any errors in your F8 or the server console, review the list of common issues below on this page to see if any of them match your situation.
- If the issue persists, it's possible that you may have skipped a step during installation or made a mistake, please double check the install steps.
No such export GetUtils in resource lc_utils
- This error may occur when
lc_utils
has not been initialized. Please check in your server console for errors in thelc_utils
file. - If
lc_utils
has been properly loaded without errors, this issue might be due to incorrect resource loading order in yourserver.cfg
. Ensure thatlc_utils
is loaded before any of its dependencies.
I cannot start any job or my truck is not spawning
- Check if you have any anticheat or blacklist blocking the vehicles to spawn.
- Check if you correctly configured your keys and fuel script in the
lc_utils
script config.
The players are loosing their factories
- It happens when the owner doesn't have enough stock in his dealership.
- You can precisely configure it or even disable it in the config. Search for
Config.clear_business
in your config.
I have to hotwire/lockpick the vehicles
- Your keys script has not been configured correctly. You can do that in the
lc_utils
script config. - If you dont have your key script pre-built there, it's necessary to set the config to "other" and configure the export in the
lc_utils/custom_scripts/client/keys.lua
file.
Error parsing script / Failed to load script
- Your server artifacts are likely outdated. Update your server to version 5181 or above.
- This error occurs when uploading the script with Filezilla. You must use something like WinSCP.
You lack the required entitlement to use <resource>
- Try restarting your server and make sure your server key is correct. If you bought the resource on the wrong account, you can transfer it to another account on keymaster.
Failed to verify protected resource
- Files were possibly corrupted during transfer. Ensure hidden files are copied; the .fxap file in a protected resource must be included. Some FTP programs skip these files.
- This error occurs when uploading the script with Filezilla. You must use something like WinSCP.
FAQ
Is it possible to add more factories?
- Absolutely! You possess the creative freedom to add any factories.
- Simply replicate the existing factories configured as an example to create more.
Are the vehicles produced in the factory real vehicles?
- While stored in the factory, the car acts as an item.
- When withdrawing the vehicle from the factory stock, it is sent directly to your garage, just like if you had purchased it from a dealership.
- You can also configure to disable this automatic transfer, allowing you to withdraw the vehicle as an item instead.
How to fill my factory stock?
- The factory stock wont grow automatically. You must buy the farms you want to have, and when they have enough stock you'll be able to transfer the stock from the farm to your factory. After transferring the stock, you'll be able to see them in your stock page.
Why my production line isn't producing items?
- The production line is a very complex part of the script and you must pay attention when setting it up. Here are some tips to help you understand what is going on.
- First, the production line take some time to produce items. Check if it is active and wait the required time.
- After that time script will read your production line and will show what happened. You can click in the "View Line" button to open your flowchart in a "view mode".
- If you properly linked all the machines, all the links will be in the blue color. Otherwise, read the chart description (in the bottom of the flowchart page) to see what each color means.
- You must check if your factory has enough stock to fill the machines input and if the machines has enough output to fill the subsequent machine input.
- For example, if your machine produces 1x Cola Fluid, but the next machine requires 2x Cola Fluid you may have issues. Upgrade the first machine or link another into it to double the production.
- In the production line list you can click in the 3 dots button then "See History". Here the script will indicate what may get wrong.
- Here is an example of how your Coca-Cola production line must look like:
How to change the notification?
- In
lc_utils/custom_scripts/client/notification.lua
file you can find the default script notification, replace the existing notification with yours.
How to customize the UI?
- The UI's source code is unencrypted, allowing easy access to HTML, JS, and CSS files for customization. Proficiency in programming is necessary to make changes effectively.