Jump to content

RekZ

Members
  • Posts

    339
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by RekZ

  1. 6 hours ago, IIYAMA said:

    There is not really a non expensive way except for the debughook, which is CPU expensive to use. From my perspective, the more complex you make this threshold mechanism, the faster your server will be downed.

     

    For sensitive events attached to for example a database, you want to have some kind of firewall, for example: 

    checkPassiveTimer (utility with clean-up)

     

    Thanks, I will do some test using checkPassiveTimer, It would be nice in the future, the same event that controls the repeated execution of events could also tell you which event is being indiscriminately executed. This could help (in my opinion) make older resources lighter or let you know what event are the modders trying to exploit.

    • Like 1
  2. 1 hour ago, edith said:

    use onPlayerTriggerInvalidEvent

    Is this a joke? Haha, you didn't read my post... I'm asking for a way to figure out which trigger is causing me problems, I don't want to control invalid triggers..

    • Confused 1
  3. Hello, I wanted to know if there is any way to see the name of the event that is causing me problems. In older scripts like Slothbot, it's very difficult to know which event is being continuously executed, there are many of them.

    function processPlayerTriggerEventThreshold()
        kickPlayer(source, "Event spam")
    end
    addEventHandler("onPlayerTriggerEventThreshold", root, processPlayerTriggerEventThreshold)
  4. Hi, I need help to code that sends a photo to a Discord using his webhook, but I can't get it to work.
    I'm using the 'takePlayerScreenShot' and 'onPlayerScreenShot'
    I've made several attempts with the code, but none of them have work...

    I can't really find any useful information that works.

  5. I like your resource and its potential, but the fact that i cant group the model types into folders to keep it more organized... it makes me anxious have weapons, vehicles, skins and etc... all in the same folder jajaja

    Maybe you could add it in the future if you are interested in improving it

    Great job

    • Thanks 1
  6. I think I'm 1 year late, I had never noticed this post. Honestly, it seems you put a lot effort in the application, it looks very cool, I hope you get more impact and reach more people

    • Like 1
  7. 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.

  8. 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
  9. 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.

  10. 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

  11. 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.

  12. 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

  13. 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
  14. 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
  15. 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.

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

    Maybe i can edit the flags using ?

    setWeaponProperty

     

  17. 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.

  18. 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

  19. 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

  20. 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

×
×
  • Create New...