Skocz do zawartości
  • 1

crashowanie


Poter2003

Pytanie

Rekomendowane odpowiedzi

  • 0

Powiedz, jaki masz silnik, na jaką wersję, oraz powiedz jakie pluginy masz na serwerze.

38 minut temu, Wielebny napisał:

To są klienty z "exploitami". Temu nie zapobiegniesz raczej, no chyba że spróbujesz z blazingpack'iem.

co?

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-161759
Udostępnij na innych stronach

  • 0
5 godzin temu, Poter2003 napisał:

PAPERSPIGOT 1.7.10

 

Na tak starą wersję silnika nie znajdziesz już pełnego kompletu łatek uniemożliwiającego crashowanie serwera. Warto rozważyć przejście na nowe, niezabugowane wersje.

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-161821
Udostępnij na innych stronach

  • 0
Dnia 27.12.2017 o 23:38, bopke napisał:

Na tak starą wersję silnika nie znajdziesz już pełnego kompletu łatek uniemożliwiającego crashowanie serwera. Warto rozważyć przejście na nowe, niezabugowane wersje.

głupota, stereotyp i pomówienie.
1.8 nawet znajdziesz anty-crasherki i łatki, choć myślę że nie używają aż tak prostych crasherów, na które są łatki. Zaopatrz się w anti-crash'e, lub też w anti-cheata(niektóre posiadają takową funkcje)

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162387
Udostępnij na innych stronach

  • 0
15 godzin temu, keebe napisał:

głupota, stereotyp i pomówienie.
1.8 nawet znajdziesz anty-crasherki i łatki, choć myślę że nie używają aż tak prostych crasherów, na które są łatki. Zaopatrz się w anti-crash'e, lub też w anti-cheata(niektóre posiadają takową funkcje)

Napiszsz jakie anty crashe i anty cheaty

 

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162469
Udostępnij na innych stronach

  • 0

Ani blazingpack, ani jakiś antybot nie pomoże, mam takie 'exploity' więc wiem jak je poprawnie zfixować, od 3 dni mam nową antycrasherke, blokuje wszystkie exploity  i do tego ma małego antybota, jak chcesz kupić to zapraszam pw.

 

Lub oczywiście przejdź na najnowszą wersję, tam cały czas są fixowane nowe exploity itd.

23 godziny temu, keebe napisał:

głupota, stereotyp i pomówienie.
1.8 nawet znajdziesz anty-crasherki i łatki, choć myślę że nie używają aż tak prostych crasherów, na które są łatki. Zaopatrz się w anti-crash'e, lub też w anti-cheata(niektóre posiadają takową funkcje)

Jedyny dobry fix w pluginie to chyba Xayanixa (lub mój (XD)), no a silniki podobno Otek sprzedaje, anticheat nic nie da, nocheatplus jedynie dobrze skonfigurowany może wyrzucać za jakiś spam pakietów, ale najczęściej są to nbt-exploity

 

Dnia 27.12.2017 o 17:32, Wielebny napisał:

To są klienty z "exploitami". Temu nie zapobiegniesz raczej, no chyba że spróbujesz z blazingpack'iem.

BlazingPack do ominięcia, jedna osoba ma w proxy 5 klas i już obejście na mc4u, craftcore itd. a dodanie tam małego exploita to kilka minut.

Edytowane przez yooniks
Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162502
Udostępnij na innych stronach

  • 0
Spoiler


    final Map<String, Long> switchavg;
    final Map<String, Long> hitsavg;
    final Map<String, Integer> switchcount;
    final Map<String, Integer> hitscount;
    final Map<String, Long> switchlast;
    final Map<String, Long> hitslast;
    
    public PacketsListener() {
        this.switchavg = new HashMap<String, Long>();
        this.hitsavg = new HashMap<String, Long>();
        this.switchcount = new HashMap<String, Integer>();
        this.hitscount = new HashMap<String, Integer>();
        this.switchlast = new HashMap<String, Long>();
        this.hitslast = new HashMap<String, Long>();
    }
    
    @EventHandler
    public void onItemHeld(final PlayerItemHeldEvent e) {
        final String name = e.getPlayer().getName();
        Long avg = this.switchavg.get(name);
        Long last = this.switchlast.get(name);
        Integer i = this.switchcount.get(name);
        if (i == null) {
            i = 0;
        }
        if (avg == null) {
            avg = 0L;
        }
        if (last == null) {
            last = 0L;
        }
        if (i > 200) {
            if (avg != null && avg / 200L < 50000L) {
                Player p = e.getPlayer();
                p.kickPlayer("Idz do lekarza"));
                return;
            }
            this.switchcount.remove(name);
            this.switchavg.remove(name);
        }
        else {
            if (last != 0L) {
                this.switchavg.put(name, avg + (System.nanoTime() - last));
            }
            this.switchcount.put(name, i + 1);
            this.switchlast.put(name, System.nanoTime());
        }
    }
    
    @EventHandler
    public void onAnimation(final PlayerAnimationEvent e) {
        final String name = e.getPlayer().getName();
        Long avg = this.hitsavg.get(name);
        Long last = this.hitslast.get(name);
        Integer i = this.hitscount.get(name);
        if (i == null) {
            i = 0;
        }
        if (avg == null) {
            avg = 0L;
        }
        if (last == null) {
            last = 0L;
        }
        if (i > 200) {
            if (avg != null && avg / 200L < 50000L) {
                Player p = e.getPlayer();
                p.kickPlayer("Idz do lekarza"));
                return;
            }
            this.hitscount.remove(name);
            this.hitsavg.remove(name);
        }
        else {
            if (last != 0L) {
                this.hitsavg.put(name, avg + (System.nanoTime() - last));
            }
            this.hitscount.put(name, i + 1);
            this.hitslast.put(name, System.nanoTime());
        }
    }
    
    public void handleQuit(final String name) {
        this.switchavg.remove(name);
        this.switchcount.remove(name);
        this.switchlast.remove(name);
        this.hitsavg.remove(name);
        this.hitscount.remove(name);
        this.hitslast.remove(name);
    }
    
    @EventHandler
    public void onQuit(final PlayerQuitEvent e) {
        this.handleQuit(e.getPlayer().getName());
    }
}

Ten kod pomoże ci z nebulami śmiesznymi i innymi clientami. ( Nie blokuje xproxy itp. ) 

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162570
Udostępnij na innych stronach

  • 0
14 godzin temu, SKsteiner napisał:
  Ukryj zawartość


    final Map<String, Long> switchavg;
    final Map<String, Long> hitsavg;
    final Map<String, Integer> switchcount;
    final Map<String, Integer> hitscount;
    final Map<String, Long> switchlast;
    final Map<String, Long> hitslast;
    
    public PacketsListener() {
        this.switchavg = new HashMap<String, Long>();
        this.hitsavg = new HashMap<String, Long>();
        this.switchcount = new HashMap<String, Integer>();
        this.hitscount = new HashMap<String, Integer>();
        this.switchlast = new HashMap<String, Long>();
        this.hitslast = new HashMap<String, Long>();
    }
    
    @EventHandler
    public void onItemHeld(final PlayerItemHeldEvent e) {
        final String name = e.getPlayer().getName();
        Long avg = this.switchavg.get(name);
        Long last = this.switchlast.get(name);
        Integer i = this.switchcount.get(name);
        if (i == null) {
            i = 0;
        }
        if (avg == null) {
            avg = 0L;
        }
        if (last == null) {
            last = 0L;
        }
        if (i > 200) {
            if (avg != null && avg / 200L < 50000L) {
                Player p = e.getPlayer();
                p.kickPlayer("Idz do lekarza"));
                return;
            }
            this.switchcount.remove(name);
            this.switchavg.remove(name);
        }
        else {
            if (last != 0L) {
                this.switchavg.put(name, avg + (System.nanoTime() - last));
            }
            this.switchcount.put(name, i + 1);
            this.switchlast.put(name, System.nanoTime());
        }
    }
    
    @EventHandler
    public void onAnimation(final PlayerAnimationEvent e) {
        final String name = e.getPlayer().getName();
        Long avg = this.hitsavg.get(name);
        Long last = this.hitslast.get(name);
        Integer i = this.hitscount.get(name);
        if (i == null) {
            i = 0;
        }
        if (avg == null) {
            avg = 0L;
        }
        if (last == null) {
            last = 0L;
        }
        if (i > 200) {
            if (avg != null && avg / 200L < 50000L) {
                Player p = e.getPlayer();
                p.kickPlayer("Idz do lekarza"));
                return;
            }
            this.hitscount.remove(name);
            this.hitsavg.remove(name);
        }
        else {
            if (last != 0L) {
                this.hitsavg.put(name, avg + (System.nanoTime() - last));
            }
            this.hitscount.put(name, i + 1);
            this.hitslast.put(name, System.nanoTime());
        }
    }
    
    public void handleQuit(final String name) {
        this.switchavg.remove(name);
        this.switchcount.remove(name);
        this.switchlast.remove(name);
        this.hitsavg.remove(name);
        this.hitscount.remove(name);
        this.hitslast.remove(name);
    }
    
    @EventHandler
    public void onQuit(final PlayerQuitEvent e) {
        this.handleQuit(e.getPlayer().getName());
    }
}

Ten kod pomoże ci z nebulami śmiesznymi i innymi clientami. ( Nie blokuje xproxy itp. ) 

kod z xoranticrash, 3 mapy do jednego eventu.. już nie lepiej jakiś ExploitType, lub SwingType, HitsType itd? Ruszcie głową, java nie kończy sie na samych Stringach.

I co ty takim kodem chcesz zablokować? Jakby itemswitch w jakiś magiczny sposób lagowało serwer to na co byłyby te silniki ;/ To tak jakby na craftcorze 10 osob w tym samym czasie po prostu zmieniało sobie z np. miecza na kilof, jak to moze zlagować serwer?

 

    @EventHandler
    public void onAnimation(final PlayerAnimationEvent e) {
        final String name = e.getPlayer().getName();
        Long avg = this.hitsavg.get(name);
        Long last = this.hitslast.get(name);
        Integer i = this.hitscount.get(name);
        if (i == null) {
            i = 0;
        }
        if (avg == null) {
            avg = 0L;
        }
        if (last == null) {
            last = 0L;
        }

brak eventu PlayerJoin i brak jakiegokolwiek dodawania gracza do mapy, więc cały czas będzie wynosiło 0, i jak już takie coś robicie to jest coś takiego jak Map#getOrDefault.

Jedyne co tym zablokujesz to proclienta i conceita.

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162659
Udostępnij na innych stronach

  • 0
Godzinę temu, yooniks napisał:

kod z xoranticrash, 3 mapy do jednego eventu.. już nie lepiej jakiś ExploitType, lub SwingType, HitsType itd? Ruszcie głową, java nie kończy sie na samych Stringach.

I co ty takim kodem chcesz zablokować? Jakby itemswitch w jakiś magiczny sposób lagowało serwer to na co byłyby te silniki ;/ To tak jakby na craftcorze 10 osob w tym samym czasie po prostu zmieniało sobie z np. miecza na kilof, jak to moze zlagować serwer?

 


    @EventHandler
    public void onAnimation(final PlayerAnimationEvent e) {
        final String name = e.getPlayer().getName();
        Long avg = this.hitsavg.get(name);
        Long last = this.hitslast.get(name);
        Integer i = this.hitscount.get(name);
        if (i == null) {
            i = 0;
        }
        if (avg == null) {
            avg = 0L;
        }
        if (last == null) {
            last = 0L;
        }

brak eventu PlayerJoin i brak jakiegokolwiek dodawania gracza do mapy, więc cały czas będzie wynosiło 0, i jak już takie coś robicie to jest coś takiego jak Map#getOrDefault.

Jedyne co tym zablokujesz to proclienta i conceita.

Nebule i to od garkolyma czy jakoś tak też blokuje

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162672
Udostępnij na innych stronach

  • 0
16 godzin temu, SKsteiner napisał:

Nebule i to od garkolyma czy jakoś tak też blokuje

no bo to blokuje armanimation, ale wystarczy z kilku botow wejsc i wysylac caly czas po kilka pakietow, i i tak da sie zlagowac.

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162728
Udostępnij na innych stronach

  • 0
7 godzin temu, yooniks napisał:

no bo to blokuje armanimation, ale wystarczy z kilku botow wejsc i wysylac caly czas po kilka pakietow, i i tak da sie zlagowac.

Jak wyślesz pare małych pakietów botami to nie zlaguje maszyny lepszej niż 1 gb localhost iks de.

A jak wyślesz dużo pakietów to kicknie za pakiety więc ClientSwingArmPacket ClientTabCompletePacket i paroma innymi pakietami z super proxy by programajsterstudio2k18 nie scrashuje.

Ale jak już coś lepszego (xproxy gut proxy) wyśle rekta2 to już może scrashować/zlagować.

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162803
Udostępnij na innych stronach

  • 0
1 minutę temu, SKsteiner napisał:

Jak wyślesz pare małych pakietów botami to nie zlaguje maszyny lepszej niż 1 gb localhost iks de.

A jak wyślesz dużo pakietów to kicknie za pakiety więc ClientSwingArmPacket ClientTabCompletePacket i paroma innymi pakietami z super proxy by programajsterstudio2k18 nie scrashuje.

Ale jak już coś lepszego (xproxy gut proxy) wyśle rekta2 to już może scrashować/zlagować.

wiesz ze xproxy w rekcie2 (nie wiem ktory to byl payload, ale raczej rekt1, wiec windowclick to rekt2) klient wysyla do serwera ClientWindowActionPacket a w nim po prostu itemstack 'Stone'? Wiec co ty chcesz tym zlagować?

Jak wyślesz pare małych pakietów botami to nie zlaguje maszyny lepszej niż 1 gb localhost iks de.

nie sądze aby nbt to były małe pakiety, moge wysłać z 50 botów jednego bardzo dobrego nbt a i tak wywali serwer, na mniej nie testowalem.

Odnośnik do komentarza
https://skript.pl/temat/24113-crashowanie/#findComment-162807
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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