Author Topic: Vehicles lost because of garage bug!  (Read 864 times)

0 Members and 2 Guests are viewing this topic.

Offline UltraSmooth

  • *
  • Posts: 47
  • Country: us
  • Respect: +0/-8
  • Buster
    • View Profile
Vehicles lost because of garage bug!
« on: February 01, 2024, 09:26:16 pm »
This is critical bug or many players will lost their car and they might not even have proof.

I just bought sultan today and store it in garage of my one house. Upon my surprise, I lost wayfarer that I had bought few days back and it was stored in another house garage.

I am attaching screenshots, you can see that it is showing 1 car for each garage but I can't access the 1st garage as it says "No vehicle stored in garage" something like that

See in below image, it says one car.


Now see this, it says 1 in each garage, plus my logs can be checked as well.

Offline Mike

  • Server Owner
  • *
  • Posts: 3682
  • Country: gb
  • Respect: +413/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Vehicles lost because of garage bug!
« Reply #1 on: February 02, 2024, 01:11:10 pm »
Did you try re-logging?
View trailers here.


Offline UltraSmooth

  • *
  • Posts: 47
  • Country: us
  • Respect: +0/-8
  • Buster
    • View Profile
Re: Vehicles lost because of garage bug!
« Reply #2 on: February 02, 2024, 03:44:08 pm »
Yes I tried relogging. I bought another new car but it didn't occurred on this one. But still to date I got 3 vehicles in total which is shown just like the screenshot but when I try to access the first wayfarer, it says "Vehicle does not exists" something like that.

Offline Mike

  • Server Owner
  • *
  • Posts: 3682
  • Country: gb
  • Respect: +413/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Vehicles lost because of garage bug!
« Reply #3 on: February 03, 2024, 01:51:12 pm »
It would be mightly helpful to know your in-game name to look at your account data....
View trailers here.


Offline Mike

  • Server Owner
  • *
  • Posts: 3682
  • Country: gb
  • Respect: +413/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Vehicles lost because of garage bug!
« Reply #4 on: February 03, 2024, 02:11:41 pm »
Ok after some brief testing (I joined the server as you), it looks like the left garage at one of your properties is bugged. Everything stored in the database looks fine. I copied your account/property/vehicle onto my dev server and the garage was empty, as expected.

I'm wondering if the vehicle was somehow removed from your garage but the server didn't mark the garage as empty after this.
Did you sell/remove/move the vehicle that was in garage #1 at your Mulholland property?

I will give the server a restart to see if it fixes it. If it does, the issue seems to be caused when a vehicle is removed. I'll then be able to focus testing on that.
View trailers here.


Offline UltraSmooth

  • *
  • Posts: 47
  • Country: us
  • Respect: +0/-8
  • Buster
    • View Profile
Re: Vehicles lost because of garage bug!
« Reply #5 on: February 03, 2024, 04:13:53 pm »
Thanks alot!

So for context, I never sold or moved my vehicle from one garage to other (I don't know how to move vehicle from one garage to other btw xD).

So I went to that dealership that is in the middle of the LV, Select Sultan. I first incidentally selected the first Garage (Mulholland property) but then I selected the second garage.
Now above is the definite scenario I remember, I think but not 100 percent sure that I did saw popup to which I pressed "ESC" on my keyboard when I selected the first garage to which I then selected the second garage and the sultan was stored in second garage.

Offline Mike

  • Server Owner
  • *
  • Posts: 3682
  • Country: gb
  • Respect: +413/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Vehicles lost because of garage bug!
« Reply #6 on: February 03, 2024, 05:26:36 pm »
Ok so after a restart everything looks ok:


I'll look into the cause. Thanks.
View trailers here.


Offline UltraSmooth

  • *
  • Posts: 47
  • Country: us
  • Respect: +0/-8
  • Buster
    • View Profile
Re: Vehicles lost because of garage bug!
« Reply #7 on: February 03, 2024, 05:41:26 pm »
Welcome

Offline Mike

  • Server Owner
  • *
  • Posts: 3682
  • Country: gb
  • Respect: +413/-71
  • Gender: Male
    • View Profile
  • MCNR name: Mike
  • Discord name: mp2
Re: Vehicles lost because of garage bug!
« Reply #8 on: February 03, 2024, 07:32:27 pm »
So properties have an ID in the database, but when they are loaded into the server they get a 'local index' ID on the server.

For example, properties in the database might be ID 1, 2, 5, 9 but in-game those will be in index 0, 1, 2, 3. When replacing vehicles, I was using the local IDs to delete vehicles from the database, but should have been using the database IDs.

I don't know if that's what caused this issue though. But it was _an_ issue that's fixed nonetheless. I will leave this issue open for a while in case it happens again.
View trailers here.


Offline DimitRizz

  • *
  • Posts: 351
  • Country: bg
  • Respect: +6/-52
    • View Profile
Re: Vehicles lost because of garage bug!
« Reply #9 on: April 22, 2024, 06:36:44 am »
Moved to Fix Pending, but unlocked.