Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avant Gardens (AG) mechs not dropping turrets #46

Closed
MickVermeulen opened this issue Dec 6, 2021 · 0 comments
Closed

Avant Gardens (AG) mechs not dropping turrets #46

MickVermeulen opened this issue Dec 6, 2021 · 0 comments
Labels
S-fixed An issue that has a solution

Comments

@MickVermeulen
Copy link
Contributor

If mechs are not dropping turrets, this means that your CDServer.sqlite (see https://github.com/DarkflameUniverse/DarkflameServer#resources, under "Client database"), is not properly set up. Some entities in DLU have scripts attached to them that make them perform certain behaviour, an example of this is the AG mech and it dropping a quick build when it's smashed.

To pinpoint this issue, make sure CDServer.sqlite is in your build/res folder and connect to it using your SQLite browser. Run the following SQL statement:

SELECT * FROM ScriptComponent WHERE id = 1075;

If the output looks like this:

1075|ScriptComponent_1075_script_name__removed|

Your CDServer.sqlite is not properly set up. To fix this issue, keep the SQLite browser open and run all the SQL statements from the files in this folder: /migrations/cdserver. To verify this worked, run this command again:

SELECT * FROM ScriptComponent WHERE id = 1075;

The output should now look like:

1075|scripts\02_server\Enemy\VE\L_VE_MECH.lua|

Your CDServer.sqlite is now setup correctly! Restart DLU and happy exploring!

@MickVermeulen MickVermeulen added bug Something isn't working S-fixed An issue that has a solution and removed bug Something isn't working labels Dec 6, 2021
@MickVermeulen MickVermeulen pinned this issue Dec 6, 2021
@Jettford Jettford unpinned this issue Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-fixed An issue that has a solution
Projects
None yet
Development

No branches or pull requests

1 participant