Arran
Arran
Hmm, I wonder if the MySQL version running on the server being outdated could be causing the problem with the updated version of MTA. What MySQL version do you have...
I know why this couldn't be reproduced as I just tried the same code in a script and it worked fine, but when done through runcode it fails. This is...
This could be why: srun utf8.byte("😁", 1, 2) Command results: 55357 [number], 56833 [number] Whereas that executed in a script file: local a, b = utf8.byte("😁", 1, 2) outputChatBox("utf8-byte: "..tostring(a).."...
Thanks for that code botder, it works for hack fixing this bug.
Although that function seems to have stopped most of the errors I just got another: Incorrect string value: '\xF0\x9F\x8D\x95 D...' And I checked the script and the string already went...
> @ArranTuna Could you pitch in on this? I know it's been 5 and half years since you've written this, and I don't know if you had written the underlying...
Fixed in https://github.com/multitheftauto/mtasa-resources/commit/e4b73cb55fa6fd23a6fb6e0831507500d4794690
This is probably fixed now.
There's no way this is a reproduce-able bug, I host a busy server on some of the newest versions and have never had this problem, the only time something like...
if isElement(blip3.blip2) then if blip3.blip2 then This code is bad, so I don't trust any of the other code to be good, especially when the author hasn't described the changes...