Jump to content
  • 0

Problema PING/LAG!!!


xLex

Question

Salutare, am o problema cu serverul meu, pe orice host l-as pune pingul sare pana la 1000 si imi daca toti playerii afara si nu stiu de ce, cand il deschid pe windows nu are nimic numai pe host, am multe masini si obiecte dar folosesc ultima versiune de streamer a lui Incognito. Ma poate ajuta cineva? 

aici aveti o poza cu pingul

http://postimg.org/image/ds73rtg3p/

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
  • 0
Exemplu:
Neoptimizata:
CMD:test(playerid)
{
    SendClientMessage(playerid, COLOR_YELLOW, "Hello!");
    //--------------------------------------------------
    return 1;
}
Optimizata:
CMD:test(playerid) return SendClientMessage(playerid, COLOR_YELLOW, "Hello!"), 1;

Si multe alte exemple....

 

350x20_FFFFFF_FFFFFF_000000_000000.png

Link to comment
Share on other sites

  • 0
1 oră în urmă, Voller. a spus:

Exemplu:
Neoptimizata:
CMD:test(playerid)
{
    SendClientMessage(playerid, COLOR_YELLOW, "Hello!");
    //--------------------------------------------------
    return 1;
}
Optimizata:
CMD:test(playerid) return SendClientMessage(playerid, COLOR_YELLOW, "Hello!"), 1;

Si multe alte exemple....

 

OFF:Si cu ce e optimizata? Doar ai restrans niste linii...

OPTIMIZARE: Foloseste procesor de comenzi in loc de functia strcmp, foloseste iteratii, sscanf , mysql , metode de optimizare cum e switch sau altele, fa string-uri mici, cam de cat ai nevoie, si mai sunt si altele...

  • Upvote 1
Link to comment
Share on other sites

  • 0
1 hour ago, WiDuAlK said:

OFF:Si cu ce e optimizata? Doar ai restrans niste linii...

OPTIMIZARE: Foloseste procesor de comenzi in loc de functia strcmp, foloseste iteratii, sscanf , mysql , metode de optimizare cum e switch sau altele, fa string-uri mici, cam de cat ai nevoie, si mai sunt si altele...

Doar am dat un exemplu.... stiu xD dar n-am stat sa dau atatea exemple. Este si asta o metoda.

350x20_FFFFFF_FFFFFF_000000_000000.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.