Jump to content

ciclano

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by ciclano

  1. It's not race. A friend who had a large server in the range of 300-400 players told me that he had the same problems with fading map parts. I left a look at the grid part of the scripts and there is nothing that excludes part of maps, pickups or markers. I believe the problem is in my MTA server, I will now update it to the latest version to see if the problem is solved. But if not, I have no idea what it might be: /
  2. Several, it is random, they are not specific.
  3. It happens to all users, objects disappear, they are deleted. Besides, it doesn't just happen with maps, markers, pickups and others happen the same thing. Get out of nowhere! Yes, if that happened only with maps, there would be no problems. The point is that even markers are disappearing.
  4. No, they do disappear. Today, for example, I was talking to a friend on a map when I turned the mouse to the side and he disappeared. These are things that happen out of nowhere and only come back if I restart
  5. I believe that this is not the problem as there are simple maps that are missing parts. Besides, it's not just the maps, they are markers, pickups and others that disappear too. It is as if they are invisible because they continue to work if I pass where they were, they just disappear.
  6. Hello, I need help. My server is disappearing things for no apparent reason, markers, pickups, parts of maps and other things for no reason disappear. I restart and go back, but they disappear again in the future. Does anyone know what this can be?
  7. ciclano

    [HELP] Voice

    Hello, I'm having problems with my voice ;/. Unfortunately for some time it started to get really bad, the voices are breaking too much do not come out clean. How to find out the cause of this?
  8. Can external connections from my server to the mta server give players time out? My players at some point take time out from the server for no reason, my dedicated is online and without problems, I can execute commands on the MTA console but for players who are in it is time out as if the server had gone down. I took a look at the logs and the only reason I found this was the protection of the dedicated bar ips.
  9. ciclano

    Lag issues

    How can I know what exactly is causing the high CPU usage? Regarding the commands, I have logs of everything that is typed. I took a look at them and there's nothing weird Apparently the MTA is not using all the cores I have.
  10. ciclano

    Lag issues

    Apparently the higher the Logic Thread CPU the longer the delay, but I'm not sure. https://prnt.sc/vi5u61 I don't know if this is normal, but the MTA processes on my VPS are many.
  11. ciclano

    Lag issues

    Thank you very much for the tips, I managed to solve the problem of this script. But the delay on the server still continued, it is not something that always happens but when it happens it lasts several minutes. Is there any way I can find out what is causing this or if it can be my vps? There is nothing high about IPB https://prnt.sc/vi5h1s https://prnt.sc/vi5jwn
  12. ciclano

    Lag issues

    This now to request the groups, I put a general delay. If one player opens the other, he will only be able to open it 8 seconds later. I removed the functions of loading groups when a player logs in. And I removed elementData by saving everything in tables. But still the use is a little high, the problem is that the use is not constant but when I have many players online between 250-300 it gets to use 70% of the IPB and falls, but it keeps going up all the time. Another problem that may be causing lag (https://prnt.sc/vi3p2s) whenever a group is modified all players on the server have their table on the "client-side" updated. These executions for everyone only happen when an ADMIN creates or modifies a group. Another doubt, I see this high usage in the performancebrowser but only in the server-side tab, it means that the problem comes from there or that it is going there
  13. ciclano

    Lag issues

    Because the server has 200 online, it had 300 executions EDIT: It is worth remembering that the 300 executions include not only requesting the groups but also changes in the members and the group in general. I will go for a while to perform these executions, for example, if a player pressed a button to load the groups, the others must wait 5 seconds to load the groups. This should already help, but I believe the problem will remain. In addition to this requestGroups function, I have other functions that perform executions when a player is removed from a group, or the group is updated as is: https://prnt.sc/vi3fw6 https://prnt.sc/vi3g76 https://prnt.sc/vi3gb1 https://prnt.sc/vi3gr0 I believe that at this point there is no problem, but what would be your opinion. Could it cause any instability?
  14. ciclano

    Lag issues

    In a period of 5 minutes he had several executions of the function of picking up the groups. Really what is causing me problems is the way these groups are managed. The big question is how can I re-do this, the function that was most performed is the "requestGroups" ( https://prnt.sc/vi33zp ), it basically sends a request to the server by the groups and it returns with the list of groups ( https://prnt.sc/vi34cz ) that are loaded as soon as the script is started. In addition, it also updates the player's groups ( https://prnt.sc/vi34ra ), sending the groups he is part of to the client and saving the groups he is part of on the server. I save both on the client and on the server because I need to pull information through other scripts using "exports", and I pull on both the client and the server. If I add only on the server and try to pull this information with exports on a client, I can't get this information. I've already made several changes to make it as light as possible, as groups only load if the player presses F5 and several others in order to make the script lighter. But I don't know what I can do other than that, since I need to save this data anyway.
  15. ciclano

    Lag issues

    Is there a way for me to pull just that script which is causing more lag? I believe that the big problem is not this sending of data, because it is not always that they are using the script.
  16. ciclano

    Lag issues

    Already, but how would I do to pull the group information from the client, if they are saved only on the server. Does the amount of data sent to the client have any difference in the use of the script?
  17. ciclano

    Lag issues

    I do it like this, the big question is that it is a group system so whenever someone leaves a group, they log into the server and etc. the server needs to update the group data. So, in addition, he saves the groups in a table, so whenever someone logs in he performs the function of saving the list of groups in the table. At the end of the day he needs to do this but it ends up causing self-use in IPB since the server has a lot of players, every time someone updates a group and someone enters the server. The issue of sending groups to the client-side is necessary since I use shared functions to pull information from the player, if he is a member of the group, if he is a leader. So Before I set an elementData, "player.groups" so I could pull the player's group information by both client-side and server-side. But for tables I have to send to the client and pro server, so they are trigger running at all times, both on the server and on the client. I could use elementData, but it would also continue to lag.
  18. ciclano

    Lag issues

    I am studying about, but there is little wiki. Also, is there no other solution for me to save this data without running triggerServerEvent and triggerClientEvent at all times? Edit: Something that works on both client-side and server-side
  19. ciclano

    Lag issues

    The voice problem was solved, it was one of the problems that was causing this delay on my server. Now there is only one script, and the same I believe that there are not many ways to solve it. I will explain how it works, it is a group system it saves information about groups and their players in a table. The problem is that I have many players and many groups, which ends up causing the execution of "triggerClientEvent" and "triggerServerEvent" at all times, these executions are most often sending data from the group to some table. Is there another way to do this? I see that scripts that save data in tables using a lot in the performancebrowser, most of the time when the script is sending a data to the table the use in performance / ipb is very high, I use tables to save data because it is better than "elementData "but apparently the performance values are similar to when I used elementData.
  20. ciclano

    Lag issues

    The problem is that if I disable the voices of all players, they will become active. Which ends up causing a general problem If it is the voice, what solution for that?Is there a function in the performancebrowser that I can be sure is the problem?
  21. ciclano

    Lag issues

    Currently I have been suffering with lag problems, delay to open panels, voice cutting. The only things that are used a lot in the performancebrowser is the voice, which is constantly and a group script that I use but it is a matter of seconds and back to normal. Is voice causing this problem of voice locking and the delay to open panels, send messages and others? netstat:
  22. ciclano

    Processor

    I am not having any problems right now, but I am sending you to see if there is anything abnormal even if it is not lagging at the moment. Earlier today I reached 200 and unfortunately it lagged but I was unable to execute the command, the players were delayed to open the panel and others heard the voices of the players crashing. Is there any way to talk to you besides the forum so that you can help me with this problem, if necessary I can pay. https://imgur.com/a/XxHZksm
  23. ciclano

    Processor

    I have 16 colors, 10 ram and 5GBPs of network. The resources of my VPS are not even half of what is available. The big question is that I get these lag problems as it takes time for the chat to go up, it takes time to open panels when I get 190 online or more. I keep an eye on the performancebrowser and the ipb but nothing unusual appears, the maximum is some scripts reaching 30% -40% but it is a quick thing, quickly return to 5%. I have no solutions to find out what is really lagging my server
×
×
  • Create New...