-
Posts
524 -
Joined
-
Last visited
-
Days Won
2
Everything posted by botder
-
It didn't require any updates so far. Adding websockets to MTA natively would remove the node.js relay server requirement.
-
The require function is disabled in MTA. Every script in your meta.xml shares the same global table _G, you don't have to import any scripts. If you define a global function in one script, it will be available in the other script - but you can't call functions directly on client/server from server/client respectively, you would have to use events.
-
If you can't replicate something from an .ASI plugin then please report the missing functionality to offer an implementation for scripters. Also, the .asi plugins probably won't play along with the Anti-Cheat due to anti-memory tampering measures.
-
Untick "Enable Device Selection Dialog" in video tab of settings
-
You have to disable function inline'ing for Game SA and Multiplayer SA in Release config due to a compiler bug. You can find the setting under Project settings > C/C++ > Optimization > Inline Function Expansion, set it to Disabled (/Ob0) (https://msdn.microsoft.com/en-us/library/47238hez.aspx) and recompile.
-
You know that I did Pull Request testing recently and I am planing to do more? There were 30 open pull requests in this month. The problem with PRs was that nobody felt responsible for testing and merging or maybe had no time to do so. https://web.archive.org/web/20180112232210/https://github.com/multitheftauto/mtasa-blue
-
You could try to use Boot Camp to run an installation of Windows or any other way. https://wiki.multitheftauto.com/wiki/MacOS
-
This particular function, which you copied from GitHub, is already given to you through the MTA functions. I gave you the link to the wiki and a little example function call how to do it, where did you get stuck? I mean, you only have to call the function hash with the first parameter being the algorithm as a string, in your case it should be "sha1", and the second parameter the to-be-hashed string. In your code you did sha1(password), replace it with hash("sha1", password). Work done and you don't have to include any third-party code to your resource.
-
https://wiki.multitheftauto.com/wiki/Hash Use hash("sha1", "input")
-
You can only create server-side modules. https://github.com/multitheftauto/multitheftauto-modules
-
https://wiki.multitheftauto.com/wiki/Compiling_MTASA You don't have to copy anything from your Nightly installation. Running win-install-data.bat should download the most recent net.dll and netc.dll for your development purposes.
-
A resource-pointer doesn't exist on clientside - you can't send "resources" to clientside. You can send resource root elements to clientside, but these will only work if the corresponding resource is running.
-
https://github.com/Necktrox/mta-discord-bot/blob/master/src/library/packets/TextCommandPacket.js#L14
-
You need a newer release of node.js, otherwise it won't work, because the code doesn't work with node.js from 2014. https://nodejs.org/en/download/releases/
-
2014.06.05, Version 0.10.29 (Stable) You need a newer release.
-
You can tell me your node version by typing "node -v" on the command line. Anyway, your error code doesn't specify the source of the error. You either have an error in your config.json or no config.json file at all.
-
You need a newer release of Node.js
-
You have to base64 encode the binary file data before you put the content through teaEncode. Look at the second code example: https://wiki.multitheftauto.com/wiki/TeaEncode#Example
-
Related: https://bugs.multitheftauto.com/view.php?id=4591