Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSSSurf Fix


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This plugin prevents surf bug.
What's surf bug? When player sliding or surfing and instantly unintentionally stops.
This plugin is very useful for bhop, jump and surf servers.
Good to know:
If you have high ping, you may experience small 'stucks' or 'stuttering' movement.
Frequency of this depends on amount of your fps. More fps means more surf bugs.


Changelog:
Code:

version 1.3
    fix: trace height from 0.5 to 0.01 - Player get speed that he had before teleport onto slope.
            Since after teleport for one frame he have 0 speed, its detected as surf bug and fixed.
version 1.4
    fix: surf bug not detected on ramps with trigger_push on them.
            Because trigger_push changes velocity even if player not move visually.
version 1.5
    optimization: first check if speed is 0.0 and then if player is on slope.
            Because second check is expensive since it uses trace_hull.
version 1.6
    rename: from 'surffix' to 'Surf Fix'       
    optimization: removed expensive calculations like vector_length
version 1.8
    Now surf bug detected during one frame with CmdStart and CmdEnd.
    Previously using only CmdStart was allow 1 frame of player speed=0 (im not sure if its true, but by theory should be)


Attached Files
File Type: sma Get Plugin or Get Source (surffix.sma - 4.3 KB)

Przeczytaj cały wpis

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...