What's new

Lilibeth

Gold Elite
Joined
Jul 4, 2021
Messages
186
Reaction score
42,646
Points
316
✌️ Hello VAG Forum Family✌️

Buy and sell used vehicles

1630339746587.png

🎥

✔️VirusTotal:
 

tryy

Bronze Elite
Joined
Aug 24, 2021
Messages
12
Reaction score
36
Points
176
Salut merci beaucoup pour ce jolie script très intéréssant !
Petite question : Il est possible de pouvoir mettre en vente le véhicule seulement dans une zone prédéfini ?
 

pepo32323

Silver Elite
Joined
Jun 4, 2021
Messages
29
Reaction score
25
Points
166
Wheres the SQL file man... Without the sql this doesnt work properly
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
Wheres the SQL file man... Without the sql this doesnt work properly
What sql bro. DELETE FROM `owned_vehicles` WHERE ['@plate'] = plate.
The function is simple and no more stuffs are needed as sql. I haven't run it and I don't share an experience
But this is what I found as the logic
 

pepo32323

Silver Elite
Joined
Jun 4, 2021
Messages
29
Reaction score
25
Points
166
What sql bro. DELETE FROM `owned_vehicles` WHERE ['@plate'] = plate.
The function is simple and no more stuffs are needed as sql. I haven't run it and I don't share an experience
But this is what I found as the logic
The vehicles dont save upon server restart. The script works fine just something is missing i think is the sql. If you can make some sort of sql i dont have the knowlege for this i will probably fk up somewhere at the start
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
The vehicles dont save upon server restart. The script works fine just something is missing i think is the sql. If you can make some sort of sql i dont have the knowlege for this i will probably fk up somewhere at the start
Any errors or something
 

pepo32323

Silver Elite
Joined
Jun 4, 2021
Messages
29
Reaction score
25
Points
166
Any errors or something
No i mean it works fine no errors but when the server restarts the vehicle is not in the place i placed it for sale. It just dissapears seems like it doesnt save the vehicle anywhere. The readme file says there is some sort of SQL file but its not included in the link
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
Yeah man. I got the sql errrors.
[ script:mysql-async] [MariaDB:10.5.12-MariaDB-1build1] [ERROR] [advanced_vehicles] An error happens for query "SELECT km, vehicle_handling, nitroAmount, nitroRecharges FROM `advanced_vehicles` WHERE vehicle = ? AND user_id = ? AND plate = ? : ["ardent","63a94028be12a05eae6452f53695f9f67b961b26","93PNF378"]": ER_NO_SUCH_TABLE: Table 'alen.advanced_vehicles' doesn't exist
[ script:mysql-async] [MariaDB:10.5.12-MariaDB-1build1] [ERROR] [advanced_vehicles] An error happens for query "INSERT INTO `advanced_vehicles` (user_id,vehicle,plate) VALUES (?,?,?) : ["63a94028be12a05eae6452f53695f9f67b961b26","ardent","93PNF378"]": ER_NO_SUCH_TABLE: Table 'alen.advanced_vehicles' doesn't exist
[ script:mysql-async] [MariaDB:10.5.12-MariaDB-1build1] [ERROR] [advanced_vehicles] An error happens for query "SELECT km, vehicle_handling, nitroAmount, nitroRecharges FROM `advanced_vehicles` WHERE vehicle = ? AND user_id = ? AND plate = ? : ["ardent","63a94028be12a05eae6452f53695f9f67b961b26","93PNF378"]": ER_NO_SUCH_TABLE: Table 'alen.advanced_vehicles' doesn't exist
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
Needs adding some more stuff into the script.
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
Yeah man. I got the sql errrors.
[ script:mysql-async] [MariaDB:10.5.12-MariaDB-1build1] [ERROR] [advanced_vehicles] An error happens for query "SELECT km, vehicle_handling, nitroAmount, nitroRecharges FROM `advanced_vehicles` WHERE vehicle = ? AND user_id = ? AND plate = ? : ["ardent","63a94028be12a05eae6452f53695f9f67b961b26","93PNF378"]": ER_NO_SUCH_TABLE: Table 'alen.advanced_vehicles' doesn't exist
[ script:mysql-async] [MariaDB:10.5.12-MariaDB-1build1] [ERROR] [advanced_vehicles] An error happens for query "INSERT INTO `advanced_vehicles` (user_id,vehicle,plate) VALUES (?,?,?) : ["63a94028be12a05eae6452f53695f9f67b961b26","ardent","93PNF378"]": ER_NO_SUCH_TABLE: Table 'alen.advanced_vehicles' doesn't exist
[ script:mysql-async] [MariaDB:10.5.12-MariaDB-1build1] [ERROR] [advanced_vehicles] An error happens for query "SELECT km, vehicle_handling, nitroAmount, nitroRecharges FROM `advanced_vehicles` WHERE vehicle = ? AND user_id = ? AND plate = ? : ["ardent","63a94028be12a05eae6452f53695f9f67b961b26","93PNF378"]": ER_NO_SUCH_TABLE: Table 'alen.advanced_vehicles' doesn't exist
Actually this was from an another script. Sorry for that.
 

ALEN TL

ALEN TL#5009
Gold Elite
Joined
Sep 18, 2021
Messages
387
Solutions
1
Reaction score
5,524
Points
321
Age
18
Location
KOCHI
One of the problems is that I use t1ger_cardealer
So
There is an extra model column in the owned vehicles
so the query will be like
INSERT INTO `owned_vehicles` ('owner', 'vehicle', 'plate', model) WHERE
and the rest stuff
 
Top