ND-Framework / ND_MDT

MDT for ND Core
https://discord.gg/Z9Mxu72zZ6
GNU General Public License v3.0
13 stars 12 forks source link

SQL query error #1

Closed realCallMeJ closed 8 months ago

realCallMeJ commented 9 months ago

if you run a name search on someone and click on the box for the person that appears, an SQL query error will occur, and the loading icon will be stuck on the name search tab until you search for a new person

the MDT is trying to query the table for ND_Properties, which isn't listed as a dependency

i would assume that 1) anything related to nd_properties shouldn't run since it hasn't been updated for v2 yet or 2) it's supposed to be listed as a dependency

[       script:ND_MDT] SCRIPT ERROR: @ND_MDT/bridge/nd/server.lua:187: ND_MDT was unable to execute a query!
[       script:ND_MDT] Query: SELECT address FROM nd_properties WHERE owner = ?
[       script:ND_MDT] [12]
[       script:ND_MDT] Table 'soaz-nd.nd_properties' doesnt exist
[       script:ND_MDT] > callbackResponse (@ox_lib/imports/callback/server.lua:60)
[       script:ND_MDT] > handler (@ox_lib/imports/callback/server.lua:76)
[       script:ND_MDT] > logError (@oxmysql/dist/build.js:24889)
[       script:ND_MDT] > rawQuery (@oxmysql/dist/build.js:25056)
[       script:ND_MDT] > processTicksAndRejections (node:internal/process/task_queues:96)
Andyyy7666 commented 9 months ago

Yes your assumptions are right, since I created this 2 years ago it was intended to work with ND properties. I should probably rewrite properties asap for this to work with it.

Andyyy7666 commented 8 months ago

Temporarily fixed here https://github.com/ND-Framework/ND_MDT/pull/10