Original post · 1y ago#1
[img]/public/images/logo.png[/img]
[URL='https://highleaks.com/threads/lb-tablet-unlocked-all-working.32215/']LB Tablet Here[/URL]
[URL='https://drive.google.com/file/d/1q7ibZEXemyxc40_AT4rIGeI6zPeD2zTM/view']Patch to properly close the tablet with ESC Here[/URL]
Just drag the patch into the file
Here's what I did for those who know a little bit of coding.
Thank you [USER=98072]@dawnduskyy[/USER] for explaining the problem to me correctly.
[URL='https://highleaks.com/threads/lb-tablet-unlocked-all-working.32215/']LB Tablet Here[/URL]
[URL='https://drive.google.com/file/d/1q7ibZEXemyxc40_AT4rIGeI6zPeD2zTM/view']Patch to properly close the tablet with ESC Here[/URL]
Just drag the patch into the file
Here's what I did for those who know a little bit of coding.
Thank you [USER=98072]@dawnduskyy[/USER] for explaining the problem to me correctly.
In client/client.lua, the function that opens/closes the tablet (export ToggleOpen) calculates the target state incorrectly:
if nil == A0_2 then
L3_2 = TabletOpen
end
L3_2 = not L3_2 or L3_2
L3_2 = true == L3_2
L3_2 = not L3_2 or L3_2 is always true (logical identity: ¬X ∨ X = true).
Result: L3_2 (the desired state) is always true ⇒ the function believes that we want to open the tablet.
Then, further on, there is a safeguard.
if L3_2 == TabletOpen then
debugprint("ToggleOpen: already open/closed")
return
end
If the tablet is already open and we try to close it, as L3_2 is still true, we fall into “already open†and the function exits without executing SetNuiFocus(false,false), SendReactMessage("setVisibility", false), etc. → hence “the tablet does not closeâ€ÂÂ.
We replace this calculation with the correct logic:
if A0_2 (parameter) is nil → we toggle (not TabletOpen)
otherwise → we use exactly the passed value (A0_2)
- if nil == A0_2 then
- L3_2 = TabletOpen
- end
- L3_2 = not L3_2 or L3_2
+ if nil == A0_2 then
+ L3_2 = not TabletOpen
+else
+ L3_2 = A0_2
+ end
L3_2 = true == L3_2
15 replies
I Done the APIs and Discord Webhook but the photo saving but not showing the Albums Can you help that ?
Yes, I can help you, but it's a very broad request, lol. Be more specific;
The album for jobs or not (police, ambulance)?
What capture are you talking about, selfies, captures, etc.?
I need all the details....
Can we talk in Discord ?
What your Id ?
The photo Saving in the Fivemanages but not showing in the Albums app
[LIST=1]
[*]Custom Wallpaper Bug:
When setting a custom wallpaper, it correctly appears in the settings preview, but it does not display on the tablet’s actual home screen. Instead, the background either remains blank or shows the default wallpaper, making it seem like the custom wallpaper hasn't been applied.
[*]Camera Photo Visibility Issue:
Photos taken directly with the tablet’s camera are saved correctly in Fivemenage, but they do not appear in the Photos app or any albums. Instead of showing the image, a black screen is displayed where the photo should be.
However, photos imported from the LB-Phone show up without any issues, which suggests the problem only affects pictures taken with the tablet itself.
[/LIST]
Please let me know if you need screenshots or logs to help reproduce the issue.
Reminder can you fix it i would really appreciate it
let me try and see if its any good even