Jump to content

Fierelier

Members
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Fierelier

  1. @DiSaMe Glad to hear someone this prolific use hardware like that. That the, I presume, Gen 3 Intel GPU was able to run MTA is surprising to me. I might just have to try again.
  2. And in not-TLDR? An application can be written in universal code that should be secure on paper, regardless of OS. If it comes to an insecure scenario despite secure code, that's the OS' fault. But that should be no reason to artificially make the application incompatible. I very much doubt MTA is at risk of triggering OS-specific security holes.
  3. I asked to be deleted and it hasn't happened. Since I'm depressed, unmotivated and bored, I will use this opportunity to bitch and moan about MTA Team's, in my opinion, bad decision. This is to help prevent a psychotic (?) episode (please feel pity for me!! (please feel pity for me!!)). First up, I hate the computer/tech industry. Everyone is made to upgrade, so they can forget about what was possible using better software. If you think I'm stupid, you never went down this rabbit hole (you're uneducated) or you don't care to (you're stupid). I'm writing this on a 2004 laptop with a low wattage CPU clocked at 1.2ghz (although as of MTA 1.2 or 1.3, it can not play anymore due to the added Shader Model 2 requirement (?)). You can STILL have an acceptable experience, even on hardware this age, it's just getting harder to do so, and there needs to be resistance. Why on earth would you require Windows 10? Every iteration of Windows is the worst thing that has happened yet, again and again. Each uses a little more RAM, adds new requirements, and so on. Windows purely exists to raise the bar of entry, to what is considered a good computer. I will not use Windows 10. Many people make the point "barely anyone uses this hardware anymore". Okay, would you have upgraded if there was no need to? Some software gave you that "need" to upgrade, it was probably Windows, a web browser (Chrome, Firefox) or an app based on a web browser (Discord, Teams). You wouldn't be saying this if there wasn't people like that, ruining optimization. My 2010 laptop I play MTA on will soon not be able to do so anymore. I don't want to use Windows 10 because it sucks, I don't want to buy a new laptop because it won't have the qualities I desire, I can't use Linux because the GPU (Intel HD) driver on it has insufficient capabilities for some DirectX 9 apps (as of now). With the discontinuation of XP I gave you the benefit of doubt, but not with this. Don't make CEF mandatory. Don't allow code of newer and newer MSVC versions. Don't make breaking changes just for the sake of bolstering the anti cheat. In my fantasy, MTA could be compiled without anti cheat, making it fully open source. Then it could potentially be ported to compile with mingw instead, to re-acquire XP support. But that's a pipe dream. Don't drink the Kool-Aid.
  4. Because you certainly can't host malicious files on GitHub or on the Community Resources page. Your support for luac makes it harder to detect malicious scripts as well! But wait, in that case, it's suddenly the user's responsibility. Huh! Since this is not up for discussion, stick your fancy rules you-know-where and remove my account. Merry Christmas.
  5. Why force creators to use certain services, which could just as well have viruses too? I think it's a little patronizing towards users and unethical for creators. Users get a false sense of security, and I'm forced to use the services you tell me to, despite having my own space to host at. I don't feel like contributing anything else as-is.
  6. @Vinyard The site is my own, and the certificates are self-signed. Nothing sus about it, just not signed by an official party. Arguably, certificate authorities do not make HTTPS much more secure because of how easy it is to make a valid cert. Please just re-instate the links, thank you.
  7. I've ported the single player's paths to MTA, using the useful documentation here: https://gta.fandom.com/wiki/Paths_(GTA_SA) I was planning to use this to implement traffic but I got busy and burnt out with other projects. There was an application I made to generate this list, it's kinda shoddy, but I will dig it up and upload its source soon. This list maintains the game's regular 750x750 zones, the zones are once more divided into car and foot paths. Here is an example resource that draws the path points inworld, that also contains the JSON: pathdebug.zip - It shows you how the nodes connect, for the most part. - It also shows you how you could make selective lists to loop, look at refreshNearbyNodes(). Preview Image If you're making something out of this, please keep optimization in mind. Not everyone has an Atomripper 99999X. It's really easy to make this slow. An idea for optimization: Try to make the code progressively do things, not EVERYTHING has to get done in one frame. Measure how much time you've used with getTickCount, and if it's too much, continue whatever you're doing on the next frame. I've used this technique to make peds walk on the footpaths in another resource, and it worked great. This project is licensed under MIT. But I would much prefer you make something open source out of this. Enjoy!
  8. Hello forums. This is a collection of smaller open source resources I've been working on. They're licensed under MIT. A git-page of all my resources is here: https://git.lumen.sh/Fierelier/mta-resources [insanity] - Project Insanity This is a collection of resources focused on making the gameplay more nuts. It makes the gameplay faster paced, more similar to a first person shooter. Most resources can be used separately, some depend on another. [vehicles] Resources that affect vehicles. [misc] Miscellaneous resources. Download
  9. Fierelier

    ERROR

    Is the client script added in meta.xml, like this? <script src="client.lua" type="client"/>
  10. This most likely on purpose, for security reasons, so servers can't make evil scripts that go through your local servers and grab data that may be private.
  11. You probably need to install libncursesw5: sudo apt install libncursesw5
  12. Hello forums! As you probably know, 1.5.8 and up do not work with XP. Is this just because of the security concerns of including old CEF? If yes, wouldn't it be possible to just build newer versions without CEF at all? A lot of servers don't actually need it.
  13. @The_GTA Thank you! I have actually used your tool a few years ago, and it was great. Your tool is unique, because it can still port between different engine revisions, which is not something I'm looking to do with this tool. And no worries, not looking to distribute any Rockstar owned files in the tool itself, the videos I post are just demonstrations.
  14. Thank you, @Tut! I have now implemented the ability to register collisions archives, using engineGetCOLsFromLibrary by thisdp! Here is the accompanying commit. Not every collision works yet, which could be an issue on my part.
  15. I have just used KawaNoII's useful quaternion functions to implement this, see the git commit. The rotations work now! I assume the collision archives end with .col? I will look into it, thank you.
  16. Hello, I'd like to show off a project I've been working on: SA2MTA. It's a script that allows you to convert San Andreas map mods (or the vanilla map, if you really wanted to), to an MTA resource. Here's the map of SanVice running inside of MTA: Right now it's pretty basic, and not all properties are adapted yet. Some issues I know how to resolve, but with some other problems I will need your help. If you're experienced with how GTA San Andreas works, and you think you can help me with the things below, preferably from the "Things I need help with" section, I'd be thankful. Your work will be credited by me. If you want to help me, you can post below, but I would really prefer you add me on Discord: FierBot i5#3550 By helping out, you agree that any help or work you provide falls under the MIT license of this software (see below). To-do Sorted by importance. Things I need help with: - Place collisions (where are the positions of collisions defined within the game files?) - DONE? Thanks to @Tut! - Extract DFF and TXD files from IMG archives from within the script (need commandline utility) Things I think I have figured out: - Convert quaternion rotations to euler - DONE! - Implement LODs - On-the-fly model and texture loading, to overload streaming memory less License Copyright 2021 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Download, view git
  17. Hey, I'm wondering if the files linked in this forum can be made available? aru.mtasa.com is unfortunately unreachable due to HSTS, but I am interested in getting the development resources for aru's GTA IV ScriptHook. I know this is a bit off-topic, but I can not find these files anywhere else and they seem to be hosted on your servers. Any help would be greatly appreciated. Thank you.
  18. Fierelier

    is Possible?

    Yes, definitely! There is different ways of doing that. You can raise weapon damage by using setWeaponProperty or lower the player's health by using setPedStat. If you need more control (applying more damage for headshots, etc), you could also use onClientPlayerDamage and apply extra damage by using setElementHealth. If you are going with the onClientPlayerDamage route, always check if the source is the local player. Damage in MTA is applied if the client is hit on their screen (by default).
  19. I don't think I can pull off what I want with findRotation3D (unless I'm missing something). I'm looking for a way to get a relative offset for an object, so I can, for example, make an object roll forward/backward/left/right correctly.
  20. Go into the meta.xml of the mod-resource and add: <download_priority_group>-1</download_priority_group> You can see an example here. There you can also find more info about download_priority_group. Hope this helped!
  21. Hello forums! I've been working on a project of mine, and I'm in need of a function which is similar to getPositionFromElementOffset (scroll down to examples). I can't wrap my head around matrices at all, and I would love to have a similar function, but with rotations instead (getting a rotation offset from an element). Would someone be able to help me out? I'd be very thankful!
  22. veh = getPedOccipiedVehicle(localPlayer) Ya misspelled something: it's getPedOccupiedVehicle. Make sure you use /debugscript 3 when testing your scripts. It often helps you find mistakes like this. Also use client instead of source in the server-side code, as the sent player can be manipulated. You should also calculate the val on the server side, not client side. The client can just manipulate the number to be whatever. Never trust the client. Ever. With all the proposed changes I gave you, you can also make the script fully server-side. This is untested, but should work (server-side): local payMultiplier = 2 function payPlayers() for _,player in ipairs(getElementsByType("player")) do local veh = getPedOccupiedVehicle(player) if veh then givePlayerMoney(player,tonumber(getElementSpeed(veh,"km/h")*payMultiplier)) end end setTimer(payPlayers,1000,0) I put payMultiplier one level up, you don't need to re-define it every time the function is called. If it doesn't work, let me know. EDIT: Consider using math.round instead of tonumber!
×
×
  • Create New...