esx_trunk icon indicating copy to clipboard operation
esx_trunk copied to clipboard

Trunks Randomly Wiping

Open Janicki92 opened this issue 5 years ago • 13 comments

Players are sporadically reporting that their trunks are erasing every so often. I didn't believe them until it happened to me. I literally deposited an item into a trunk, backed out of the menu and re-accessed it a moment later to find the trunk empty.

Janicki92 avatar Dec 20 '19 17:12 Janicki92

I'm pretty sure I responded to your issue in the ESX UHU discord.

schwim0341 avatar Dec 20 '19 18:12 schwim0341

Sorry to bother you schwim, appreciate all the work you do firstly.

Our server is experiencing the same issue with trunks being sporadically wiped. We have traced it down to the car being set owned 0 or 1 when a car is touched by the owner or not the owner. This also wipes or not wipes the trunk.

Any input would be greatly appreciated.

siralexlaw avatar Jan 06 '20 21:01 siralexlaw

We have traced it down to the car being set owned 0 or 1 when a car is touched by the owner or not the owner. This also wipes or not wipes the trunk.

I'll need you to explain this part a little more. Are you saying that a trunk is deleted if someone other than the owner enters that vehicle? Tries to access the trunk? Does anything to the car? Are there any errors that are printed either to server terminal or F8 when this occurs?

schwim0341 avatar Jan 07 '20 15:01 schwim0341

I have this problem, i can't find any solution

sertacdncl avatar Mar 06 '20 02:03 sertacdncl

Did Some One Find A Fix?

AxisGe0 avatar Oct 10 '20 09:10 AxisGe0

Not that has been shared.

schwim0341 avatar Oct 10 '20 14:10 schwim0341

Not that has been shared.

There Should Be An Fix For It Cuz if it doesnt ill have to switch to disc u should know u made this plugin didnt u?

Ge0Axis avatar Oct 10 '20 14:10 Ge0Axis

I can't fix something I can't duplicate.

schwim0341 avatar Oct 10 '20 14:10 schwim0341

IMG_20201012_233010 This is the error i have been getting when the trunk gets wiped I hope u can help me

Ge0Axis avatar Oct 12 '20 18:10 Ge0Axis

With the absurd amount of errors you have above and below that, I'd probably be worrying about the server as a whole before just the trunk. You literally have a 2 second query for the user in inventory. Of course scripts are going to break as they don't expect delays that large.

schwim0341 avatar Oct 12 '20 20:10 schwim0341

With the absurd amount of errors you have above and below that, I'd probably be worrying about the server as a whole before just the trunk. You literally have a 2 second query for the user in inventory. Of course scripts are going to break as they don't expect delays that large.

These started to come when i updated my mysql-async

And im pretty sure that these are coming bcuz i have 1.3million rows in my user_inventory

Ge0Axis avatar Oct 13 '20 02:10 Ge0Axis

With the absurd amount of errors you have above and below that, I'd probably be worrying about the server as a whole before just the trunk. You literally have a 2 second query for the user in inventory. Of course scripts are going to break as they don't expect delays that large.

These started to come when i updated my mysql-async

And im pretty sure that these are coming bcuz i have 1.3million rows in my user_inventory

An optimized database with the right indexes can handle easily 1.3 million rows. Change back to your previous mysql-async version to start with and maybe try optimizing the db a bit more.

kommatias avatar Dec 02 '20 19:12 kommatias

An optimized database with the right indexes can handle easily 1.3 million rows.

It would require a sweeping assumption of the resources available to his mysql server to be able to put a number on the amount of rows his particular hosting environment could handle.

schwim0341 avatar Dec 02 '20 23:12 schwim0341