-
-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAccountType
crashes on latest nightly
#3406
Comments
still crashing on r22485 |
It crashes only on x64 builds (not sure about Linux). |
I think |
but then why would compiling directly work fine? |
Hmm. I checked on windows x64 Release and it crashes with |
Is there any reason to use |
if its |
|
when function doesnt error then pcall return true + any arguments returned from the function. |
So there is no reason to use |
We can return an empty string or "unknown". |
Or we could focus on fixing |
There is |
It would throw a warning instead of hard error, I dont think |
I dont get why there should be |
🤔 actually, you're right. Appendum coming right up. |
|
+ some refactoring ig |
Describe the bug
When you download nightly version, the
getAccountType
will crash if you dont provide an account as an argument to it.Cloning mta repo and building it manually will properly detect invalid arguments provided to the
getAccountType
function.Steps to reproduce
getAccountType()
- CrashgetAccountType('')
- CrashgetAccountType(false)
- CrashgetAccountType(validAccount)
- Doesn't crashVersion
Server v1.6-release-22470
Additional context
No response
Relevant log output
No response
Security Policy
The text was updated successfully, but these errors were encountered: