Jump to content

Dretax

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by Dretax

  1. Dretax

    MTA Crash

    Seems like the latest client is crashing frequently.
  2. Alright, the walking thing got me confused, can finally run now. Thanks, all anims work correct without replacement.
  3. Welp, I am indeed confused a bit. On a normal server pressing W causes to walk for 1 second, then triggers the spring animation without even pressing space. Is that the normal behaviour? I wonder what's causing me the problem.
  4. Definetely not controlstate. If it was i wouldnt be able to run without weapons. Yes i will test it in the morning on an empty srv.
  5. Yes but see it stops after a few seconds and I don't know why. It wouldn't allow me to run with the m4 after that. Just to clarify, placing an m4 in my hand - > try running -> doesnt work start running -> place m4 in hand -> works for a few seconds -> doesnt work after that
  6. Na-na-na. Everything happened as it happened with your small code. What we have sorted here is my character cannot keep on running with a weapon in his hand. Thats why we started talking about pedstat 23 or walkstyles that could allow running with a weapon. So how are you running with a weapon? Because i definetely cannot.
  7. You don't get It. >.< It is fine as it is currently! I recorded this that i keep pressing space but my character doesnt run with a weapon! When i start running without a weapon, equip one, it runs for a few seconds, then stops, and starts walking again, even though i keep pressing space!
  8. Alright, well my code exactly does that. Tried yours. Here is what's happenin: I keep pressing space, but it just turns back how it was, not allowing me to run with the weapon.
  9. Will test in a couple of mins.
  10. Its a point that you have the animation. Sprinting is required inorder to make it work. Yes. Same as loading a simple animation but have the running effect too.
  11. "It IS RELATED. It is a solution that could solve the issue.The running animation cannot be used hence It requires the player's skill to be 1000 to run with an M4.I used setPedAnimation to obviously allow the players to run with a weapon, but only then the running animation won't trigger.This is something I thought could be the easiest way to resolve the issue."
  12. Please see: https://github.com/multitheftauto/mtasa-blue/issues/354#issuecomment-417794002
  13. I have linked this issue on the MTA repo.
  14. Ahha. Welp, the question is if the stats itself are restricted within GTA, or is restricted by MTA only. If the last is true, then an MTA C module could handle It probably.
  15. Well those are the animation names that are inside the muscle.ifp weren't you needing those? I will test what you have told me though soon, and I will see if i can research anything.
  16. Welp changing the skin is no good. I need It universal. >.<
  17. So just simply replace the contained animations inside it, and It will allow the usage?
  18. muscular.ifp? You mean the default GTA animation? I will try setting the stats in a couple of minutes to see what happens
  19. I have been loading new animations into the game without any problems so far, and handling them nicely. Everything seems to be working out well sofar but one thing. Here you can see the player running with the M4. Now the normal SetPedWalkingStyle doesn't allow that (0), so back in the days I change the player's SetPedWalkingStyle to 128 to allow him running with a weapon. But this sort of animation doesn't seem to be making It available nor for 0 or 128. I even tried going through almost all of the SetPedWalkingStyle IDs without luck. Any ideas what did I miss when ONLY the actual running with M4 doesn't work?
  20. I know that the thread is old but here is the solution. I have no idea why the sh*tty MTA API doesn't support 2a bcrypts since Its not a big deal, but here is the trick. https://github.com/mabako/mta_bcrypt local PasswordQuery = dbQuery( MYSQL, "SELECT `data`, `user_id` FROM `xf_user_authenticate` WHERE `user_id` = (SELECT `user_id` FROM `xf_user` WHERE `username` = '??') LIMIT 1", user) local PasswordQueryResult, lines1 = dbPoll ( PasswordQuery, -1 ) if lines1 ~= 1 then return end local userwebid = tonumber(PasswordQueryResult[1]["user_id"]) local passwordblob = PasswordQueryResult[1]["data"] local passwordblobreplace = string.gsub(passwordblob, '"', "", 2) local bcrypthash = string.match(passwordblobreplace , '"([^"]*)"') local match = bcrypt_checkpw(password, bcrypthash)
  21. Report: https://bugs.mtasa.com/view.php?id=9756 Thought I would bring the issue on forums to talk about this, since many players are annoyed by the "small lags", but I can't determine the problem. I also have: <donkey_work_interval>400</donkey_work_interval> set to that, read that the 1000 is recommended, but the default is 100. No information about that config setting either.
  22. The maxvelocity would return a different value, for setVehicleHandling(jarmu, "maxVelocity", 93.5) max speed i could get is 68 mp/h, which means that your method wouldn't work.
  23. Get Vehicle's Maxspeed handing in Miles / Hour
×
×
  • Create New...