#Cw Crafring- Blue Prints Command Error
1 messages · Page 1 of 1 (latest)
You using qbox?
qb-core
Turn on debug on config. Check server logs
I tried and it gave the same error
give blueprint gives error
processing on sql
do you have a bluperint named "combatp" in you config?
yes
you sure about that?
I fixed it. Should I restart the server? Should I restart the script? Is that enough?
you need to restart the script for it to work if you changed it in the config yes
It's erroring because you are inputting a blueprint that does not exist
Do I need to add combatp blue print as an item?
I've been having this problem for a long time and I couldn't solve it
whatever you are typing into the command needs to be THE EXACT SAME in your Config.Blueprints in the Config.
same now. Do I need to add items.lua?
no
Now everything is as you said and it is not working. I'm using Ps inv, could it be related to that?
No. If you are getting the exact same error, that says it's eroring on line 173 in server.lua then whatever you are inputting to the command is either
- Not getting through correctly
- Not being inputted correclty
The line it's erroring on is looking up your blueprint and if it has a label.
Then how can we solve this problem? I really need help.
I am not a psychic. I don't know what you have done wrong
double check your config. Restart server. Add some prints and make sure the input is correct
Can you understand the lines of the errors it gives here if I send them to you as images?
I just told you exactly what they mean and what the error is
right here ^
There was another small problem, this problem has been fixed.
I can't interact with blueprints dudes
You spawned a blueprint item with /additem didn't you?
yes
That is why
It only shows options if you have a blueprint item that the npc teaches
I made an add blueprint for one of the blueprints that said "default illegal" and it doesn't work if I don't have it on me.
That's how it's supposed to work. If you do not have a blueprint with a value that corresponds to that NPC then it will not show up
So you have a blueprint item on you that has the "CombatP" value?
There is no item but it is recorded on the data
I don't have any blueprint items on me right now and there are no blueprints defined in the data.
For now, this error is not coming, but you cannot interact with illegal and legal NPCs.
I told you twice:
To interact with them you need a blueprint item with a value tied to a blueprint that they teach