Jump to content

Saml1er

Retired Staff
  • Posts

    1,058
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Saml1er

  1. You are passing a nil to the unpack function. Basically, this: local player, veh = unpack(nil) vehicles [ i ] does not contain a table, so you get nil instead when you try accessing it. You need to show us the code where you insert tables into vehicles table.
  2. Saml1er

    cryptocurrency

    You can use javascript in CEF browser, but remember that it's a criminal offense to mine without notice. You have to notify everyone when they join your server.
  3. There's a single animation for shooting with a certain weapon, so you can't get what you want. However, if you create a new animation in 3Ds MAX, where the ped jumps and add shooting animation to it, you can later use a new upcoming function "engineReplaceAnimation" to replace the shooting animation. When you shoot, it will play jump and shoot animation for you. engineReplaceAnimation function is going to be available in upcoming months. You can check engineReplaceAnimation right away if you download this MTA: Also, here's a list of animations that you can replace: https://wiki.multitheftauto.com/wiki/Animations
  4. That's nice. I think you mean partial animations, which are currently not supported, quoting myself from github: Adding partial animations will give animators full freedom, however, you can still achieve what you want, but it will require you to create more animations to play at the appropriate moment. When I add support for them, I'll probably add a new function, like setPedPartialAnimation, or I might simply modify setPedAnimation.
  5. What is the crash message? can you take a screenshot? what exactly happens? You should be able to rejoin your server. Did you start the resource "ifptest"? Yeah, I'm planning to do it, but it's a part of my another project where I rewrite entire animation system to get full control, I can work on other stuff only when my current pull request gets merged.
  6. I think it's better if you start with video tutorials on youtube, like this one. Lua manual is good for people who have already programmed in a language like python, I don't think it's noob friendly.
  7. Hey! You don't need give mediafire link, just link community, that's enough. Also, nice resource.
  8. You will need to get a paid VPS, install and host your server by following this tutorial: https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux If you are having a hard time installing your MTA server on linux, you can also rent a server from: https://www.multitheftauto.com/hosters/
  9. No, it's not possible to keep the server running if you shutdown your computer. You'll need to get a VPS, host your server there.
  10. Thanks. It will be released when we are done testing.
  11. Hello! I've been working with MTA team on implementing the ability to play custom IFP animations in MTA since a couple of months. Today, I want to notify you all that it's done after a lot work, this means you can create your own IFP animations in 3ds Max using Kam's script, play them in MTA:SA (not released yet) using Lua scripting functions. I've created my pull request on github which you can find here. Everything's pretty much done, but there's one problem, the pull request cannot be merged into the master branch because there's a lot of code to go through, this will make fixing bugs very difficult, so we'll need to test everything in every way possible before releasing. MTA used to have a lot of developers back in the days who designed the core of the software that we have today, I appreciate their work, and I'm forever grateful for their contribution. There are still a few developers from the MTA team and other old contributors who spends hours upon hours on making MTA better, and get literally nothing out of MTA for their work, but they still do it . My point is, MTA has potential, and together, we can make it better, not having enough time to test everything out is on the main reason why we still don't have this feature implemented into MTA's main branch, so I'm here to ask the community for help in testing this feature. There are so many gamemodes that can take advantage of this feature. We still have plenty of RP servers here, and they still keep increasing till this day. RP servers have almost everything they need, server developers keep trying their best to push the limits in order to have more realism, I honestly believe this will fix that problem, or at least improve it. Here are two video: What is IFP? IFP is the animation file format for GTA III, SA, and VC. Adding support for this file format will allow us to play any custom animation which are made for GTA:SA and GTA:VC. You can load as many IFP files you wish to, you can have hundreds of thousands of animations. Note: GTA III animations are not supported for now. How you can help: As much as everyone wants to have custom animations in MTA, I would love to see them as well. You can help by testing different IFP files, and report bugs on this thread. Download the new MTA:SA from here: https://ci.appveyor.com/api/buildjobs/67st54i25p8ge8is/artifacts/InstallFiles.zip Right-click on InstallFiles.zip, extract the files to some location on your computer, I usually extract them to my desktop. Download the resources from here: https://drive.google.com/file/d/1TIK0-M3CNFR_1Yjn6pjImrS7184SS8jS/view?usp=sharing Create a folder with name "resources" in InstallFiles\server\mods\deathmatch, and extract resources.zip to InstallFiles\server\mods\deathmatch\resources. Start your MTA:SA server from location: InstallFiles\server\MTA Server.exe, and then start the ifp test resource from console "start ifptest" Now launch MTA from InstallFiles\Multi Theft Auto.exe, join your server. Use keys 1, 2, 3, 4, or 5 to play the custom parkour animation from parkour.ifp in ifptest. How to report bugs? When you are playing custom animations, if something's not working the way it should be, or if MTA crashes then please fill this form and reply to this thread: IFP download link: (put the download link here for IFP, so I can download and test it myself) Description: (Explain what the bug is) Steps To Reproduce: (write the steps on how I can reproduce the bug myself) Example: IFP download link: https://www.website.com/gta4.ifp Description: When I play this animation named "CartWheel," I can't move for a while, and MTA crashes. Steps To Reproduce: 1. Load "gta4.ifp". 2. play animation named "CartWheel" using setPedAnimation. 3. MTA crashes. If you want to submit the bug report by PM on forum then feel free to do so. I've added the resource "ifptest" to show you how to play custom animations. You can check how I did it by checking InstallFiles\server\mods\deathmatch\resources\ifptest\client.lua. About the new Lua functions, quoting myself: "There are three new Lua functions added: // loads IFP with a custom block name ifp engineLoadIFP ( string ifp_file_path, string custom_block_name ) // this will replace an internal GTA animation with custom one, it's a light-weight operation, // don't worry too much about performance. Different peds can have different running, walking, // crouching, shooting, etc. animations all running simultaneously because we are not actually // replacing animation hierarchies, we are merely storing everything in std::map which is in // CClientPed. When an animation triggers, we get the ped by clump, and play the animation // we wish to play. setPedAnimation works a little different than this, but the idea is same. bool engineReplaceAnimation ( ped thePed, string block_name, string anim_name, string custom_block_name, string custom_anim_name ) // This will restore animation replaced using engineReplaceAnimation, if only 1 parameter // is provided which is ped, then it will restore all animations, if block name is also provided, // then it will restore animations of that block only, if animation name is provided as well, // it will restore that specific animation only. bool engineRestoreAnimation ( ped thePed [, string block_name, string anim_name ] ) " To add your own ifp file, just add this to meta.xml: <file src="YourIFPFileNameHere.ifp" /> then in client-side Lua script, you can do: local customIfp = engineLoadIFP ("YourIfpNameHere.ifp", "YourCustomBlockNameHere") setPedAnimation ( localPlayer, "YourCustomBlockNameHere", "YourCustomAnimationNameHere" ) If you have any questions, write them here.
  12. I think you have to use your community.multitheftauto.com account credentials to login to bugs.mtasa.com.
  13. Saml1er

    MTA SA crashs.

    Did your AV detect any malwares?
  14. Good to know. Can you at least mention how you fixed it?
  15. This would defeat the purpose of having Lua in the first place. Imagine if this feature was implemented, any server owner can execute any type of DLL on your client. There's no way for MTA to provide a safe sandbox for executing C++ on client. This question has been asked multiple times here, and the answer has always been the same, no. Perhaps if you try to explain exactly what you are trying to achieve, maybe we can suggest better ways to accomplish it?
  16. Saml1er

    Help me please

    It looks like MTA automatically banned your original serial because the build contained a banned serial. Please click on my profile and send me your serial in private message. You can get your serial from console by pressing F8 and write "serial".
  17. Saml1er

    Help me please

    Oh no, I think you're using my build. I remember getting my account banned while reversing gta_sa.exe.I will take down the link. @ccw I will take down the link. In the meantime, I'll appreciate if you unban people who come with similar issue. @Pe4enka Can you still play using MTA latest build?
  18. Excellent. This is a very nice and clean implementation. I hope many people start using this.
  19. Open command prompt > Write "tracert ccdplanetmta.ru" > Wait for the message "Trace complete" > post the results here.
  20. Do you have bad internet? You can try to find out what's consuming the most bandwidth on your PC in "Resource Monitor". Click on Start > Write "Resource Monitor" > Click Network tab > Look for process that's using the most bandwidth. Whatever the cause is, try to stop it, if you are not sure what exactly it is, then maybe you can post a screenshot here, but if it's your internet then we cannot help you with that.
  21. I think this is the server kicking you for having a high ping, not MTA. They are probably running an automatic ping kicker to keep people with high ping out.
  22. Saml1er

    Can I remove mods?

    I don't think you can control that. It depends on the server, what mods they wish to run on your MTA client. It would be better to contact the server admins.
  23. Yeah, I never said you could run it without GTA:SA. My point is that it's possible to have MTA on steam even if you need GTA:SA for it, but migrating will be some good amount of work.
×
×
  • Create New...