HOME     LOGIN     CREATE ACCOUNT     SSW HELP CENTER  

RPS Sector Finder...

Secret Society Wars  »  SSW Discussion

  • Posted By: xthesaintx  homeworld | blog | gallery | player profile

    RPS Sector Finder...
    wrote a little php script to find possible sectors for RPS

    http://xthesaintx.zxq.net/test3.php

    still needs a bit of work to get duplicates out of output, but works ok.

    Input the total, first known number, 2nd known
  • Posted By: crashnburn11  homeworld | blog | gallery | player profile

    If you didn't know, Nardo has a pretty awesome greasemonkey script that does this:
    SSW RPS Assistant
  • Posted By: xthesaintx  homeworld | blog | gallery | player profile

    I didnt know, would of saved me a few min writing up that script
  • Posted By: Fubushi  homeworld | blog | gallery | player profile

    Yep, Nardo's script works like a charm.

    He could optimize it by removing no-longer valid combinations after visiting sectors, though.

    Simplified example:

    Let the sum of two primes be 16.
    This would give us the solutions 3+13 and 5+11

    We'd mark 3,5,11 and 13 on the sector map.

    Now we reach sector 3 and do not find anything, which means that we do not need to look at 13.
  • Posted By: Juggle  homeworld | blog | gallery | player profile

    I thought Nardo's script already did that. I could swear I've seen sectors loose their red even when I haven't found pieces yet just because I checked some other sector....
  • Posted By: nardo  homeworld | blog | gallery | player profile

    The script does already do that.
  • Posted By: Fubushi  homeworld | blog | gallery | player profile

    Aaahhh... Sorry, then! Just didn't notice and am too lazy to read the source...