myonlake
Members-
Posts
2,312 -
Joined
-
Days Won
40
Everything posted by myonlake
-
And Mantis is still full of issues that are waiting to be resolved. So no, it's not finished, not at all.
-
You understood me wrong. I said MTA should keep continuing on this San Andreas and not go for GTA:V since it makes no sense to leave this mod unfinished. It would be more understandable if this mod was completely optimized, completely reworked and actually finished and has even more features than it currently has. Then, yes, maybe. But that's far away.
-
I am not a maths teacher, so might be better if you take a look at an existing feature and just change that to fit your needs. I created a dxDrawCircle function a long time ago, you can find it here: https://wiki.multitheftauto.com/wiki/DxDrawCircle
-
That's images rendered in 3D and animated with interpolation. That's all. And obviously basic maths to get the circles going on and all that.
-
There's enough work in MTA left that starting a totally new project would make no sense. Besides, there are many custom multiplayer mod projects going on right now on GTA:V. Just search and you'll find at least a ten of them. No need to competing.
-
Real server's IP: 167.114.119.145:22003 Fake server's IP: 99.192.16.156:22003 Same server name, of which the higher playerbase server is original.
-
Highest: 24,362 players - 2015 Feb Sat 7th 17:30
-
Paradise itself is a full gamemode. Alert systems and new logins sound bad already.
-
What systems? Paradise is a free gamemode. The only things you would need in it is police jail and that's it. Besides, I even released a version for that on my GitHub, including two other massive roleplay gamemodes, of which one is new and currently under development. Do not buy stuff that you can get for free.
-
You can't. That code has nothing to do with end-user scripting. That's MTA core code and has nothing to do with this.
-
Well, if you are going to use different salt / hashing technique now than what you did before, no, you have to ask all users to change their password somehow. Just saying, if you have access to the source code you used to make the passwords, you should be able to use the same mechanism in your new script - otherwise it's no use to change the system.
-
I don't understand. This function is the only thing that you can use, excluding custom scripts. I compared stored in the database password is not encrypted password encrypt all possible hashami, and none of them was the same as in the database. Maybe you are not using the same hashing technique / you are using a different salt?
-
I don't understand. This function is the only thing that you can use, excluding custom scripts.
-
I would probably start with this: https://wiki.multitheftauto.com/wiki/Hash.
-
The point is you cannot add an invulnerable vault around your stuff. You can only add a layer of tinted glass on it. And there are people who know how to melt it.
-
Doesn't matter. Client always has the key. You can send the key to the client from the server instead of keeping it in the client. Err, unfortunately any somewhat new to the business knows how packet loggers and hex editor works. Besides, it is always stored in the memory, which can be logged and read. This is how it works, this is how people get your compiled and "secured" scripts, because they do what the application does. It just makes the job 5 minutes more difficult, nothing else. You cannot avoid this. You can just make it a step harder, nothing else. This is why I just tend to keep the assets there without any protection, because I know if someone wanted it it is there on a plate already. Which is also why I spend less time making those assets. Keeping it simple, yo.
-
Doesn't matter. Client always has the key.
-
What do you mean? you can buy VPS for 2€ Should I choose less RAM? As I said in an earlier reply in this topic, you should buy multiple VPS, such as 10, if you want to have load balancing. You should therefore also buy 10 IPv4 addresses. This way you get cheap DDoS protection with fair enough server setup, which you can upgrade anytime you want, in which order you want. The cheaper the VPS is, with OK setup, is better than having one super cool VPS. You do not need 100 GB of memory, you need only the amount of your OS and the packages required on top of it. Your load balancing servers only need 1-2 GB of RAM, and probably 5 GB of memory maximum. Their CPU power does not have to go through the roof either. For the main VPS you need to install MTA server, and your MTA resources, which could be at 10 GB maximum (if we count in the OS and required packages) - and you probably have a lot of spare memory after that too, so you can install Steam game servers, like Team Fortress 2 if you wish. And besides memory can always be thrown in whenever you want. If 10 GB is not enough, just throw another 10 GB. CPU power can also be improved if you need it, so, more cores means more flexibility but also strength in a way or another. If you have multiple servers than just one, tuck in a little bit better CPU so you can run the other one on a different core. I suppose MTA does this at the moment, that it uses a different core (if any) for every individual server you are running on your machine, not sure, I guess it depends on the machine itself as well. And before you do any RAM size selection, look at how big your player base can at maximum be. You do not necessarily want your server to be 4096 players, because it makes no sense. Maybe you can just limit it to 100, and those who want to play have to wait for a slot to open. Not a big deal, most games do that anyway and makes it easier to manage as of administrative side. If you will only have 100 players at maximum, you probably need 6 GB. If you want, you can be sure and tuck in 8 GB, but start small. If you only have <50 players online, 4 GB is enough. As for your 10 IPv4s, just set up your DNS configuration so, that you have all those IPs in A-records over there, which means the client will always be routed to a different machine of yours, which means load balancing in this case. And this obviously works. If one machine is down, it does not affect much anyone, maybe a couple players, but that only requires a quick reconnect and they are back playing. Better than losing everybody and never going up again, right BUT. This is only a thing you should consider if you want to go for cheap, very well DDoS protected setup that works. If you don't want a DDoS protected setup that works, then just go on with your current setup. That setup seems good, though yet a little bit expensive, maybe drop the 100 GB to something else such as 10 GB and RAM can just be 8 GB unless you run multiple servers, just put it on 10 GB. Not sure if they actually have less than 100 GB HDDs available, lol, but try it, if it is up for the money.
-
Bad selection. I can get 10 VPS for 20 euros and have load balancing with it by default. You should look at something small, and not something big.
-
Keep in mind the hashtag technique only works for indexed tables. If you use key based tables you have to use a custom counter, which is based on a pairs for loop iterator.
-
And for DDoS protection go for your own VPS network to balance the load.
-
Please post your code so we can have a look at it. And if any errors, write them up here as well.
-
Hey, Welcome to Multi Theft Auto, I hope you enjoy your stay here. In order to learn to script in Lua scripting language, I suggest you take some time to find the following topic useful for yourself. It contains links to tutorials and information regarding the use of the language in practice. This is essential in order to learn the basics of Lua and then work on your Multi Theft Auto related scripts. » Lua tutorials, manuals After you have familiarized yourself with Lua and know how to deploy basic code with it, you may move on to Multi Theft Auto specific scripting. Up-to-date Multi Theft Auto scripting information, details and help can be found on the Multi Theft Auto Wiki site. Get yourself familiarized with the scripting features Multi Theft Auto offers you by reading articles of which links you can find on the right side of the Wiki front page under the Scripting heading: » Server Manual » Introduction to scripting » Introduction to scripting the GUI » Debugging Tutorial » Introduction to resources » meta.xml » ACL You might also find the Tutorials board useful. These are tutorials, manuals and help topics written by community members. If Wiki seems a little bit too hardcore for you at the moment, checking this board should get you started easily. Feel free to also use our available chatting channels to ask questions and get help in general. These can be found at the IRC Channel Wiki article. Make sure to search for an answer on your preferred search engine first, and through the forum search feature. This way you can find solutions faster and will keep our channels clean of already answered questions! If you have code which you can post on your topic, that would make it easier for helpers to get a solution for you faster. Keep in mind that we are a public forum and we can only fix your code if you are willing to post it on your topic. This way we give you help and eventually a solution, and if someone else is facing the same issue later they can find a solution to the problem from your topic. I hope this got you started up!
-
x = ( screenWidth - targetWidth ) / 2 y = ( screenHeight - targetHeight ) / 2 There you have it.
-
Server configuration. Depends which OS you are running, you should be able to execute a command line command, or if you have remote desktop on Windows you can perform this via the Control Panel.