Jump to content

Incama

Members
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Incama

  • Rank
    Rat

Recent Profile Visitors

1,053 profile views
  1. Hey everyone! @TEDERIs released a MTA ASE bytecode reader last year, i made a version of it in Python. It's not the greatest python code but it works and maybe it is useful for someone. I plan to build on it in the future. https://github.com/Incama2/ase2json_py Original library: https://github.com/tederis/ase2json Sample output: [ { "ip": "46.174.49.47", "port": 22099, "playersCount": 15, "maxPlayersCount": 60, "gameName": "", "serverName": "MTA | Corona | Role Play", "modeName": "", "mapName": "", "version": "1.6n", "passworded
  2. Incama

    MTA ASE Parser

    Hi all, great work @TEDERIs. Since i'm not really good at c++ (and as far as i know if you want to use it for example a web API it's not the greatest) i made a version of the code in python. If someone can use it that's great. https://github.com/Incama2/ase2json_py
  3. This is the single best thing that ever happened in the MTA ecosystem. Being able to hire c# devs to do MTA programming. Great job!
  4. it will but you benefit more than you lose.
  5. https://dev.prineside.com/en/gtasa_samp_model_id/ Search for 'wire' and then removeWorldModel them at resourceStart, now you have 100+ free objects IDs. If you want more, you can remove interiors.
  6. Study @TEDERIs terrarian editor, or just go with building blocks, you can make the system perfectly with them. With building blocks it's better, because you don't have to save every interiors dffs (or dff morph data) on the server side for every interior.
  7. I've figured out in the end. Here's the solution: Since you can't pass matrixs with setElementData (just trust me with that) you have to split the matrix into a table and then do the setElementData part. So the scripts now looks like this: setElementData(localPlayer, "bobber:create", true) setElementData(localPlayer, "bobber:pos", {localPlayer.matrix.position.x, localPlayer.matrix.position.y, localPlayer.matrix.position.z, localPlayer.matrix.rotation.x, localPlayer.matrix.rotation.y, localPlayer.matrix.rotation.z}) and then at the onClientElementDataChange side of t
  8. local bobbers = {} local lines = {} function start() setElementData(localPlayer, "bobber:create", true) end function createBobber(player, m) if m then if not bobbers[player] then local m = player.matrix:transformPosition(Vector3(0,math.random(3,10),0)) local z = getWaterLevel(m[1], m[2], m[3]) or -0.55 bobbers[player] = createObject(1974,m[1], m[2], z) setObjectScale(bobbers[player], 2) lines[player] = true end else if isElement(bobbers[player]) then destroyElement(bobbers[player]) bobbers[player] = false lines[player] = false end end end addEventHandler(
  9. Hello everyone! So i'm trying to make a script that places a object in front of the player. Problem is: I have everything client sided and i stream the object with a simple create function and elementDatas (streamin, streamout, elementdatachange), but everytime that it asks for the player's (not localPlayer) position it doesn't take into count the rotation of the player (not localPlayer). For me it places it in the right places, but for other people it shows in way if i would have 0 rotation. I'm using matrixs and transformPosition. Any idea? (i
  10. What does the debugscript says?
  11. Hey guys, can you recommend me any way to import night time vertexs into 3ds max? (i need the night time stuff not the day time, i know that Kams loads that)
  12. No conversion needed, just download SAMP, find the right .img file and extract the models with IMGTools (you can use any other img editor tool). If you're done with that just write a script to load the dff,txd and col. Good luck
  13. I mean you create 2 lines and you put a fading material between the two (you make that material in PhotoShop).
×
×
  • Create New...