From f5fdeb0bcc0e1f3b8c4b091bf9b79ad1958ec532 Mon Sep 17 00:00:00 2001 From: Damian Edkovic Date: Tue, 17 Feb 2026 23:34:55 +0000 Subject: [PATCH] Update Home --- Home.md | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/Home.md b/Home.md index 50e4126..1aa88af 100644 --- a/Home.md +++ b/Home.md @@ -1,32 +1,33 @@ -# OSCam z Zaawansowanym Wykrywaniem Falszywych DCW (AI Fake DCW Detector) +# OSCam with Advanced Fake DCW Detection (AI Fake DCW Detector) -Witaj na wiki! +Welcome to the wiki! -To nieoficjalna wersja **OSCam 2.26.01-11942-802** z autorska modyfikacja: **systemem glosowania i inteligentnego wyboru CW** inspirowanym AI. Glowny cel - eliminacja falszywych/niestabilnych DCW w setupach z wieloma zrodlami (lokalne czytniki, CacheEx, CSP, virtual readers). +This is an unofficial build of **OSCam 2.26.01-11942-802** with a custom modification: an **AI-inspired voting and intelligent CW selection system**. +The main goal is to eliminate fake/unstable DCWs in setups with multiple sources (local readers, CacheEx, CSP, virtual readers). -## Co rozwiazuje ta modyfikacja? +## What problem does this modification solve? -W standardowym OSCam-ie pierwszy otrzymany CW wygrywa - przy falszywych DCW (spam, killer, niestabilny peer) obraz sie zacina lub glitchuje. +In standard OSCam the first received CW wins - with fake DCWs (spam, killer, unstable peer) you get image freezing, glitching or instability. -Tu zamiast tego: -- Zbieramy kilka kandydatow CW -- Kazde zrodlo dostaje **glosy** (z wagami - lokalne czytniki moga miec np. 3x wiecej) -- Wybieramy zwyciezce przez **wiekszosc** lub po timeout (z fallbackiem) -- Efekt: duzo stabilniejszy obraz, mniej zacinania, lepsza odpornosc na ataki +Here we do it differently: +- Collect multiple CW candidates +- Each source gets **votes** (with weights - local readers can have e.g. 3x more) +- Select the winner by **majority** or after timeout (with fallback) +- Result: much more stable picture, less freezing, better resistance to attacks -## Kluczowe funkcje +## Key functions -- `cw_vote_add()` - dodaje i liczy glosy na CW, rozroznia zrodla (lokalne / CacheEx / CSP / virtual) -- `cw_vote_decide()` - decyduje o ostatecznym CW (wiekszosc >50%, timeout + fallback) +- `cw_vote_add()` - adds and counts votes for a CW, distinguishes sources (local / CacheEx / CSP / virtual) +- `cw_vote_decide()` - decides the final CW (majority >50%, timeout + fallback) -## Najwazniejsze opcje konfiguracyjne (w sekcji [global] oscam.conf) +## Most important configuration options (in [global] section of oscam.conf) ```ini -cwvote_enabled = 1 ; 0 = wylacz, 1 = wlacz system glosowania -cwvote_max_candidates = 5 ; max ile roznych CW trzymamy w puli -cwvote_compare_len = 8 ; ile bajtow CW porownujemy (standard 8) -cwvote_local_weight = 3 ; waga lokalnych czytnikow (np. 3x mocniej niz CacheEx) -cwvote_min_votes = 2 ; min glosow potrzebnych do decyzji -cwvote_timeout = 400 ; timeout w ms (dostosuj do swojego setupu) -cwvote_fallback = 1 ; 1 = najlepszy po timeout, 2 = pierwszy w kolejnosci -cwvote_log_enabled = 0 ; 1 = szczegolowe logi (do debugu, potem wylacz) \ No newline at end of file +cwvote_enabled = 1 ; 0 = disabled, 1 = enable voting system +cwvote_max_candidates = 5 ; max number of different CWs kept in the pool +cwvote_compare_len = 8 ; number of bytes used for CW comparison (standard 8) +cwvote_local_weight = 3 ; weight for local readers (e.g. 3x stronger than CacheEx) +cwvote_min_votes = 2 ; minimum votes required before decision +cwvote_timeout = 400 ; timeout in ms (adjust to your setup) +cwvote_fallback = 1 ; 1 = best candidate after timeout, 2 = first in order +cwvote_log_enabled = 0 ; 1 = detailed logging (for debug, then disable) \ No newline at end of file