localcards

There are 21 replies in this Thread which was already clicked 2,790 times. The last Post () by Chris230291.

  • No I mean the option I link to above that makes OSCAM treat a network reader as if it was local.

    It says I need to enter each CAID that I want to treat/fake as local on that reader.

    I wonder if there is a magic CAID value that means all CAIDs?

  • Maybe the wiki and I don't make it clear...


    There is the option to fake a proxy reader as a local card. It works.

    I take a slow reader, fake it as real card, and OSCAM chooses this reader before others because I set prefer local cards.

    But for it to work you must enter each CAID that you want to treat as local. I want a way to make all CAID seem local.

  • I am not trying to do anything like that. I want to use this setting to prefer some servers over others.

    I don't want to use loadbalancing because Its buggy.

    So many fast fake ecms on free servers, I want to use them as an absolute last resort by pretending other reliable servers are local.

    • Official Post

    prefer some servers over others.

    In oscam.conf > [global] > preferlocalcards = 2


    I don't want to use loadbalancing because Its buggy.

    loadbalancing is for real local cards, not remote readers.

    So many fast fake ecms on free servers, I want to use them as an absolute last resort by pretending other reliable servers are local.

    Don`t bother, you are tweaking values that are for real cards. Once a server sets something, its in stone, you cannot change or improve it.

    The best setting for a remote reader is basic, with nothing added:

    Code
    [reader]
    label = XXXXXX
    protocol = cccam
    device = hostname,port
    user  = user
    password = password
    group = 1
  • I think I am being misunderstood still.


    Server 1 < slow, very reliable, not many packages

    Server 2 < fast , lots of fake ecms, more packages


    If I set the option localcards on Server 1 with a CAID, even though its slower, OSCAM is preferring this server and using it over the fast one because of preferlocalcards = 2. It works perfectly and is doing exactly what I want.


    What I am asking is if there is a value I can enter that means all CAIDs, instead of listing every CAID manually.

    • Official Post

    I think I am being misunderstood still.

    I understand what you want to do, try to filter the crap from the servers used.


    Its done with oscam.services.


    Enter the caid/provid/srvid details for the card you want to block in oscam.services.

    Code

    Code
    [block]
    caid    = 1810
    provid  = #add provid
    srvid   = #add srvid

    Add the services = !block value on the reader you want to block in oscam.server


    All of this is a lot of work to polish a turd.

  • No I don't want that. That takes manual input on my part.

    I have scripts that get trials/free/stolen/hacked/shared servers.

    I just dump them into NCAM and let NCAM handle removing dead servers.

    All handled by cron.

    I don't want to have to mess with anything, just set my pay servers as local and use the scraped servers when my pay server doesn't have the package.


    I was hoping for some kind of CAID wildcard value that meant "all". Looks like I need to add them all manually then.

    • Official Post

    Seems to me you don't understand what I am trying to do still

    just set my pay servers as local and use the scraped servers when my pay server doesn't have the package.

    What i do understand is all the values in the oscam wiki you are referring to is for real cards, not a remote server/pay server.

  • "Use this reader (for defined CAIDs only) as "local" in LB/reader selection. It will be handle as a local reader per LB and preferlocalcards settings. In this way, we can consider a network reader as local, like we had a cardreader."


    Like I said the option does as advertised. I can take a slow server, add the CAID for the package I am trying to open, enable prefer local cards and sure enough it treats that server as a local card. I just wanted to avoid having to do this


    Code
    [reader]
    label                         = Server_1
    protocol                      = cccam_mcs
    device                        = server,1337
    user                          = chris
    password                      = sirhc
    inactivitytimeout             = 30
    localcards                    = 0B0F:000000;0B00:000000;0B01:000000;0B02:000000;0B1C:000000;0BAA:000000;0D0F:000000;0D00:000000;0D02:000000;0D03:000000;0D05:000000;0D22:000000;0D95:000000;0D96:000000;0D97:000000;0D98:000000;0100:000000;0500:000000;0604:000000;0648:000000;0650:000000;0664:000000;09AC:000000;09B6:000000;09C1:000000;09C4:000000;09C7:000000;09CD:000000;0907:000000;0919:000000;0926:000000;093B:000000;0931:000000;096C:000000;0960:000000;0961:000000;0963:000000;098C:000000;4ABF:000000;4AE0:000000;4AE1:000000;183D:000000;183E:000000;186A:000000;0603:000000;0604:000000;0652:000000;0668:000000;1702:000000;1722:000000;1801:000000;1802:000000;1803:000000;1804:000000;1805:000000;1810:000000;1815:000000;1816:000000;1830:000000;1831:000000;1833:000000;1834:000000;1838:000000;1843:000000;1860:000000;1861:000000;1862:000000;1863:000000;1880:000000;1882:000000;1884:000000;5501:000000;5502:000000;5504:000000;5581:000000;090D:000000;090F:000000;091F:000000;093E:000000;098E:000000
    group                         = 1
    audisabled                    = 1
  • No no I don't expect this to make any servers more stable.

    I want to always use particular servers first (paid ones and shares from friends) regardless of ecm times.

    If these reliable servers fail or don't have the package, then try the shit ones as a last resort.


    I just wanted to avoid this


    Code
    localcards                    = 0B0F:000000;0B00:000000;0B01:000000;0B02:000000;0B1C:000000;0BAA:000000;0D0F:000000;0D00:000000;0D02:000000;0D03:000000;0D05:000000;0D22:000000;0D95:000000;0D96:000000;0D97:000000;0D98:000000;0100:000000;0500:000000;0604:000000;0648:000000;0650:000000;0664:000000;09AC:000000;09B6:000000;09C1:000000;09C4:000000;09C7:000000;09CD:000000;0907:000000;0919:000000;0926:000000;093B:000000;0931:000000;096C:000000;0960:000000;0961:000000;0963:000000;098C:000000;4ABF:000000;4AE0:000000;4AE1:000000;183D:000000;183E:000000;186A:000000;0603:000000;0604:000000;0652:000000;0668:000000;1702:000000;1722:000000;1801:000000;1802:000000;1803:000000;1804:000000;1805:000000;1810:000000;1815:000000;1816:000000;1830:000000;1831:000000;1833:000000;1834:000000;1838:000000;1843:000000;1860:000000;1861:000000;1862:000000;1863:000000;1880:000000;1882:000000;1884:000000;5501:000000;5502:000000;5504:000000;5581:000000;090D:000000;090F:000000;091F:000000;093E:000000;098E:000000


    As far as I know that's all CAIDs ( I did a regex match here https://trac.streamboard.tv/oscam/wiki/CardsList).

  • Fallback is enabled by default in the NCAM that I am using.

    Perhaps I should play with individual times to try and optimise it.

    However, the solution I described above appears to be working for me so I probably wont bother just yet.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!