Jump to content

Jusonex

Retired Staff
  • Posts

    507
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Jusonex

  1. Instead of having per server extensions, we'd like to integrate new features for all of our users. So, please submit your code extensions as pull requests on GitHub and if the quality is good enough, we'll be happy to merge it.
  2. Can you provide the resource that allows us to reproduce the problem?
  3. Jusonex

    Server Error

    Some dependencies might be missing. Could you take and post a screenshot of the whole folder? (+ one of C:\Program Files (x86)\MTA San Andreas 1.5\server\). Apart from that have you already tried reinstalling MTA?
  4. Jusonex

    Unban request

    You have a chance of getting unbanned if you send @ccw a (source code) copy of your cheat via PM.
  5. Jusonex

    Server requirments

    Depends on the script, but most likely the answer is 'yes'. Since you can upgrade the VPS at OVH without additional costs, you could even give the smaller VPS SSD 2 a try and upgrade later if necessary.
  6. Filtering out bad function calls doesn't fix the problem, but only the symptoms. Instead, you shouldn't add the onClient(Pre)Render event handler before element is not set.
  7. This question heavily depends on your ISP and cannot be answered in general. If you're talking about mobile data in terms of smartphone plans, the answer is most likely 'no' since mobile IPs are shared in most cases and you can't do port forwarding. However, some ISPs offer pure data plans via LTE/4G for regions with poor availability of wired connections that have a true non-shared IP. It's still a dynamic IP though, so it changes at least once a day and therefore is not really suitable for hosting (also high latency is a problem). Instead, I'd suggest you take a look at our hosters section: https://www.multitheftauto.com/hosters
  8. While I agree with everything Dutchman101 said, I'd like to add a few aspects from the technical point of view. The requirements that need to be fulfilled by the language are very strict, to mention some: Embeddable into other languages (especially C++) Sandboxed (no unsafe functions e.g. such that can invoke system commands) Well-known, stable and mature enough When thinking a bit about these requirements, there are only a handful of languages left that fulfill all of them. So let's take a closer look at the suggested languages: Java: Embedding works (even if it's not designed for that), but not sandboxed Python: Designed almost equally for embedding and running standalone, but no official/stable sandbox support (available solutions are rather experimental) C#: Microsoft's official implementation is not embeddable. Mono is, but isn't sandboxed either Javascript (V8): Meant to be embedded, sandboxed and well-known ==> fulfills requirements So, as you can see, only Javascript is an imaginable solution, even if it's a huge code base and takes much more time to compile (we're talking about a factor of >50-100x compared to Lua). That's basically the reason why Lua is loved in embedding contexts. Also, in my opinion Lua is actually a pretty good language: It's very easy to learn, it's one of the most flexible languages I know (considering metatables) and easy to embed (even though the C Interface is a bit old-school).
  9. Delete /root/multitheftauto_linux_x64-1.5.4/x64/linux-libs (sidenote: you should not run the MTA server as root).
  10. Yes, it's very similar. You can download resources (roughly equals plugins) for example from https://community.multitheftauto.com/. To start resources, you have to either type 'start <resource-name>' (without <>) into the server console or add an entry at the bottom of server/mods/deathmatch/mtaserver.conf. Learning how to script is strongly recommended though to be able to customize your server. Lua (the scripting language we use) is much easier than Bukkit's Java as well and a good start is our wiki page: https://wiki.multitheftauto.com/wiki/Main_Page
  11. Jusonex

    CEF using MDBootstrap

    Are you using createBrowser or guiCreateBrowser? Could you also provide a resource that allows me to reproduce the issue? It's most likely not related to MdBootstrap, so changing the library will probably not fix it.
  12. This is caused by missing dependencies. In most cases, it's related to libmysql.dll not being placed correctly. Could you take a few screenshots of the server folder and its subfolders to ensure everything is at its place?
  13. Do you mean your server stops once you close the SSH console (e.g. putty)? If so, you'd have to use either screen (https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/) or deploy a systemd service (https://wiki.archlinux.org/index.php/systemd).
  14. NEVER insert your server ip in the <serverip> field, if you don't know what you're doing. Instead, keep the default 'auto'.
  15. Jusonex

    Ping Server(s)

    There is no "ping" function in MTA. An ugly hack would be to use fetchRemote to measure the time till a web server (running on server #2/3) answers. Also, a problem is that you would have to manually sync both database servers then. Instead, using MySQL's built in replication stuff (https://dev.mysql.com/doc/refman/5.7/en/replication.html) would be much better in combination with always load balancing queries. Generally speaking, it's very unlikely that the database servers reaches its limits with MTA. The game server is much more prone to that.
  16. Jusonex

    CEF problems?

    @kikos500 Please update to the latest nightly and try logging in on FFS Race (if you don't have an account check if "Wrong password" shows up after entering incorrect credentials).
  17. Jusonex

    CEF problems?

    Which version are you on? (press F8 and enter ver)
  18. Jusonex

    CEF problems?

    You can stop the upload. We probably found the problem and fixed it. Please update to the latest nightly (via auto-updater).
  19. Jusonex

    CEF problems?

    Could you zip all files in C:\Program Files (x86)\MTA San Andreas 1.5\MTA\ and upload them too (you can skip cgui, config, dumps and logs to keep it small though)?
  20. Jusonex

    CEF problems?

    What's the 'Last modified' date of C:\Program Files (x86)\MTA San Andreas 1.5\MTA\CEF\ceflauncher_DLL.dll? Also, could you upload this file to https://upload.mtasa.com/
  21. Our SSL certificate expired and we weren't fast enough to renew it. In the meantime, you could use http://213.239.211.214/ (not encrypted)
  22. It's fantastic that you started documenting the code. But let me state a few things before you invest too much time: Generally, code snippets in documentation are very good. However, adding the full code of a function will cause inconsistencies between code and documentation sooner or later. Furthermore, it's not necessary to add the path to the documentation as it can be found using Visual Studio's "search in all projects" feature. Consequently, I'd prefer inline documentation (comment blocks in the code) over manually-written wiki documentation. An online documentation can be generated with the help of Doxygen later. Another adavantage of using inline documentation is that you don't have to look the documentation up in the wiki while browsing the code (there's some inline documentation already btw: https://github.com/multitheftauto/mtasa-blue/blob/master/Client/core/Graphics/CRenderItemManager.cpp#L414-L421). In general however, I think documenting the idea behind certain source parts is much more important than documenting single functions, because knowing what each function does doesn't necessarily make you able to implement your feature - as only the sequence of multiple functions does the trick in many cases (single functions in C++ often do less compared to Lua - so the general workflow differs). For example when you're working with the CAdditionVertexManager you documented, you won't be able to use the methods at all without having knowledge about how vertices are handled by the renderer. If you know that, you're already able to deduce the description from the function name. And now, I'm very sorry to confirm your critisism about wasting time: Effectively, we're only a handful of active developers and it's not arguable that documenting the existing code is a very time-consuming task. In consequence, it only makes sense for us to start documenting extensively, if the resulting benefit is big enough. In my opinion, it isn't as the number of additional developers we'd address is very small, because experienced C++-developers don't need "single-function-documentation" that much.
  23. No, 100 000€ is the correct amount. If you don't want to pay this small fee, you're welcome to read this page: https://wiki.multitheftauto.com/wiki/How_you_can_help
×
×
  • Create New...