Jump to content

RekZ

Members
  • Posts

    329
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by RekZ

  1. I would like to know if there is a way to scale the world shaders within the game, without the need to create different versions for different resolutions.

    For example, I have the shader images at a resolution of 512x512, and I would like to reduce the resolution IN-GAME to 128x128. I know that the 'DxCreateTexture' function creates mipmaps for textures, but I'm not sure if that could be used to benefit my case.

  2. 23 hours ago, velosiped33 said:

    Is there any weight limit for my local server resources?

    I have a server with 7700 resources, I hope it helps you as an answer xD

    spacer.png

    • Haha 1
    • Confused 1
  3. 6 hours ago, DiSaMe said:

    I don't understand what you're saying. Do you mean the hacker triggers events on behalf of other players? So it appears as if a different player triggered it? I've seen enough poorly written scripts to expect that to happen. People tend to pass localPlayer as source element to triggerServerEvent and then use the source variable on the server to identify the caller. But like any data passed to triggerServerEvent, the source element can be faked so the hackers do exactly that to make the events appear to originate from other players. The variable client is the correct way to identify the client that triggered the event.

    If it is possible to write a client-side script to do something, then that something can be done by hackers. The anti-cheat is there to keep the hackers from doing it but it cannot in principle solve the problem "once and for all" and shouldn't be relied upon for script security.

    image.png?width=1197&height=676

    the Russians and Brazilians go to the server and kick out the players with that message and I don't have any triggerServerEvent where the player is kicked out... I don't understand how it could be a security flaw in my server that allows a player to come in and kick everyone out just like that. If it's a security issue, it should be with the administration panel, not my server. The problem is that when someone comes to seek help on the forum, all they find is people judging their comments and others downplaying the situation, nothing new.

  4. 4 hours ago, FlorinSzasz said:

    maybe there are some bugs in scripts or they are not compiled also is the cache set the false to the scripts. Also there are maybe no checks when u send data from client to server and there will be some exploits. The Mta AC will do what it can but we also should build our server anti-cheat by scripts i mean some simple hard coded checks on servers-side and that`s it. Only you or your server scripter knows in which way they gamemode is made and what checks can be made.

    I'm sorry, but this problem is not the server owner's or their staff's responsibility. These are issues that cannot be combated in any way. I have literally banned the same person three times because they join the server with fake serials. There are Russians who join and kick everyone on the server just because they can. There are Brazilians who fly across the map, going through all kinds of obstacles. They teleport to players and kill them with aimbot and wallhack. I don't believe all of this is my server's problem because I don't have any aimbot or wallhack systems in place.

    It's a headache to combat an entire community of people who dedicate themselves to ruining other people's game just because they are bored at home

  5. 4 hours ago, , Melvin said:

    You have a problem with the search tool, the solution: First: <Make sure your internet connection is correct and also check your firewall>
    Second: <Reinstall the MTA and after reinstalling right click and then on Troubleshoot option>

    Hi Melvin, thank you for your response. However, I think you should carefully read the post before randomly responding as if you were an NPC jajajaja.

    I'm referring to the payment system that ranks the server in the top 20 of the server search engine.

  6. Is that server search tool still in use? I've been on the waiting list for almost a year (the last time I used it was in September 2022), and it still says I have over 100 servers ahead of mine. I don't know if I'm correct or not, but does so many people use that tool that it has a waiting list longer than an organ transplant? jajaja

  7. 1 hour ago, Spakye said:

    Im afraid it won't work, it says : Note: setCameraFieldOfView does not affect the FOV for the following camera modes: 1) Player aiming 2) Vehicle front bumper camera 3) Fixed camera.

    I hope it will though!

    The M4 FOV is 50, with this function adjust the fov to 50 when the player aim, I can manually adjust the fov to 50 so that it loads faster than the GTA Default FOV, it's a bad implementation but for what I'm looking for it works for me xd

    • Haha 1
  8. 4 hours ago, Spakye said:

    Ah my bad, sorry i dont know then. Maybe with flags as you said but none seems to match what you want ?

     i found something that i think i can use jajaja, thanks for help anyway

    setCameraFieldOfView

     

    • Thanks 1
  9. Sorry @Spakye I didn't explain myself well, i want to edit the zoom of weapon like the M4 or MP5, the handgun and the MP5 have a small zoom comparate to the M4 or the AK.

  10. Hello, i'm looking for some way to fast the weapon zoom when i'm aiming.

    Maybe i can edit the flags using ?

    setWeaponProperty

     

  11. 12 minutes ago, Tut said:

    Good job figuring that one out. Flag 64 won't work with opaque models (objects that aren't transparent), sadly - you'd have to find a different object

    There's an open pull request for editing flags in MTAhttps://github.com/multitheftauto/mtasa-blue/pull/1714

    Uuuh that really hurt me xD i think i will stop my project and wait for that function, i really dont want to change 70 or more IDs 

    Thanks for your time.

  12. Thanks for your respond, for what i can see, the models that give me the problem have this code 2097348 (i will let the info here i dont want to forget it )

    MTA have some way to edit the flags for a object ?

    2097152 - DISABLE_BACKFACE_CULLING

    128 - DONT_RECEIVE_SHADOWS

    64 - NO_ZBUFFER_WRITE

    4 - DRAW_LAST

  13. I am trying to replace the models of the light wires (Photo ID 13451) that are found on the map to give them a utility and in some of those models I find the problem that the texture is inverted

    i try to use setElementDoubleSided, engineSetModelVisibleTime, setObjectProperty and others function but nothing work, i really dont known what special property or configuration have these model to invert the texture >:C

    spacer.png

  14. 5 hours ago, Wananazo said:

    Estoy teniendo un problema que antes no tenia resulta que ahora se muestra el chat y la hud encima del login he revisado el login y anda bien pero esto a que se debe?

    Pues puede ser por varios motivos, si no tiene orden ninguno de ejecucion si iniciaste el hud antes que el login el hud siempre tendra prioridad sobre el login, el login puede estar configurado para que aparezca detras de todas las otras cosas (La variable postgui creo que era).

    Lo que yo te recomendaria (que es lo que suelo hacer yo) si no lo necesitas solo cargues el HUD cuando el usuario este logueado o spawnee asi te evitas problemas como ese

  15. Ese evento que estas usando es para cuando el resource se enciende, tienes que usar un evento que se ejecute cuando el NPC reciba daño te dejo un ejemplo abajo

    function trollgolpeado (loss)
    local health = getElementHealth (source)
    if (getElementModel(source)  == 153 ) and ( health <= 60 ) then
            setElementModel(source, 213)
        end
    end
    addEventHandler ( "onPedDamage", getRootElement(), trollgolpeado )

     

    • Thanks 1
  16. On 04/08/2021 at 02:13, ThanaReal said:

    Aaa thanks, it worked. But when hydra doesnt have target, I am giving error text but hydra has 2 projectiles and 2 ERROR MESSAGES Hahahah

    function onClientProjectileCreation()
    	local projectileType = getProjectileType( source )
    	if projectileType == 20 then -- 20 = Guiding Rocket
    		-- SCRIPT
    	end
    end
    addEventHandler( "onClientProjectileCreation", getRootElement( ),onClientProjectileCreation)

    You can select what proyectile you want to edit 

    https://wiki.multitheftauto.com/wiki/GetProjectileType

    • Like 1
  17. 6 minutes ago, Patrick said:

    Hey!

    No, currently it's not possible. Rich presence had to be removed because of licensing issues.

    It'll probably come back in the future versions of MTA, but I don't know when exactly.

    oh thats bad, thanks i will wait for that update ?

  18. 9 minutes ago, Hydra said:

    Hello, try to use this program: https://github.com/pkfln/mta-discord-rpc

    I See that program but i dont think i cant recommend the players to download a program and execute it.

    I know that many players hardly know what the internet means, so I was looking for a native way to do it on the server, I don't want to force players to do things they don't understand.

  19. No has explicado practicamente nada pero supongo que tu error se debe a que no puedes entrar en la casa xd

    La V tienes que cambiarla por el ACL que quieres que tenga acceso a la casa.

    -- Sustituir 
    isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(playerSource)),aclGetGroup(v))
    
    -- Por lo de abajo
    isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(playerSource)),aclGetGroup("Admin"))

     

  20. On 16/07/2021 at 05:21, alexmiños said:

    entonces tengo que poner el nombre del grupo acl en donde dice aclGroup ? ejemplo 

    group.Admin

    No exactamente, esa variable viene de algun lugar, otra funcion le esta dando valor a la variable que deberia ser el nombre del ACL el cual quieres modificar o estas modificando, y seguramente no sea el valor que debe tener xd  es mas dificil de explicar que de arreglar seguramente, pero cambiando eso que dijiste no lo vas a reparar.

    Supongo que ese resources seleccionas un ACL en una lista y agregar o quitas personas, pienso que no estas recibiendo el nombre del ACL de la lista.

×
×
  • Create New...