[RE-RELEASE] esx_eden garage

garage
esx

#316

right ok that may explain it thanks il see what i can do


#317

i reinstalled owned_vehicles

and it fixed the duplication bug so thanks, but the state doesn’t update when i restart the server :c


#318

Hey, got a big error when trying to store the car. Can someone help me?


#319

Look for your database; Garage go to forriermecano and Check If everything is right installed


#320

in your database … owned_vehicles … there is the column fourriermecano missing. install the .sql and it should work

//Edit it isnt the .sql file. look at the readme on github.
you have to ALTER your Database with this:

ALTER TABLE `owned_vehicles` ADD INDEX `vehsowned` (`owner`);
ALTER TABLE `owned_vehicles` ADD `fourrieremecano` BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE `owned_vehicles` ADD `vehiclename` varchar(50) NOT NULL DEFAULT 'voiture';

#321

Hello!
Having problem with the script
By that i mean that the markers are not spawning and i cant see garages on map


#322

Weird issue. When I put my vehicles in a public garage all the other vehicles go to the impound. I have to pay to get my vehicles out every time UNLESS I restart the server. Any ideals?


#323

I don’t know why when i taken out the car, the garage still claim it in garage, any solution?


#324

how can i add more room capacity in the garage?
it said that the garage stock/room is full.
thank you


#326

Ripe, ever figure out where to insert this code? thanks


#329

Did this work Heady?


#330

this issue wasnt on my server ^^


#333

not sure why it linked that lol, but the 8 lines of code for the police and mechanic garages

exports.ft_libs:DisableArea(“esx_eden_garage_area_police_mecanodeletepoint”)
exports.ft_libs:DisableArea(“esx_eden_garage_area_police_mecanospawnpoint”)
exports.ft_libs:DisableArea(“esx_eden_garage_area_Bennys_mecanodeletepoint”)
exports.ft_libs:DisableArea(“esx_eden_garage_area_Bennys_mecanospawnpoint”)


#336

make sure you install ft_libs and start it in your server.cfg


#337

Any luck on fixing the impossible to enter cars? :confused:


#339

Hi, i have problem because this eden garage has the ability to bug cars by changing the license plate
I am buying bmx
I take a local car
I change the license plate of a local car and I can have it in the garage
Do you have any ideas how to fix it?


#340

I am using the ‘esx_jb_edem_garage’ mod and every time I try to put a car away I get this MASSIVE error!

[ERROR] [MySQL] [esx_eden_garage1] An error happens on MySQL for query "[object Object]": ER_BAD_FIELD_ERROR: Unknown column 'id' in 'where clause'
Error: (node:2360) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
    at process.<anonymous> (internal/process/promises.js:27:25)
    at <anonymous>
    at Query.db.query [as _callback] (mysql-async.js:4973:13)
    at Query.Sequence.end (mysql-async.js:280:24)
    at Query.ErrorPacket (mysql-async.js:2122:8)
    at Protocol._parsePacket (mysql-async.js:5941:23)
    at Parser.write (mysql-async.js:6198:12)
    at Protocol.write (mysql-async.js:5701:16)
    at Socket.<anonymous> (mysql-async.js:693:28)
    at emitOne (events.js:116:13)
Error: (node:2360) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a 
promise which was not handled with .catch(). (rejection id: 3)
Error: (node:2360) UnhandledPromiseRejectionWarning: Error: ER_BAD_FIELD_ERROR: Unknown column 'id' in 'where clause'
    at Query.Sequence._packetToError (mysql-async.js:244:14)
    at Query.ErrorPacket (mysql-async.js:2109:18)
    at Protocol._parsePacket (mysql-async.js:5941:23)
    at Parser.write (mysql-async.js:6198:12)
    at Protocol.write (mysql-async.js:5701:16)
    at Socket.<anonymous> (mysql-async.js:693:28)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    --------------------
    at Pool.query (mysql-async.js:4728:23)
    at Promise (mysql-async.js:4970:12)
    at new Promise (<anonymous>)
    at execute (mysql-async.js:4967:26)
    at Object.global.exports [as callback] (mysql-async.js:4985:5)
    at citizen:/scripting/v8/main.js:87:41
Error: (node:2360) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a 
promise which was not handled with .catch(). (rejection id: 4)

Can anyone help me?


#341

OK, weird problem here…
When I buy a car from the vehicle-shop, in my DB (column vehicle) I have number-plate in following format: “plate”:"GFG 196"
In this case I can sell my car without any problems.

AFTER I visit eden2 garage, store and retrieve my car, it changes to following format: “plate”:"GFG 196 "
(Notice the space after the last digit and before the commas)
In this case I can’t sell my car anymore…

How to fix that?
Thanks in advance for any help provided!


#342

Turbo, the script doesn’t handle less than 8 characters properly(as you’ve found). Add a trim function to the plate checks to strip whitespace from the plate and you’ll be fine.

I’m on the phone or I’d share the function I use.


#343

OK, I surely can wait until you have access to your computer.
Thank you for your help!