URI: 
       Make idlerpg more idle. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit c60db4c063df405daf8df1b924654a3f0e665c48
   DIR parent 1bce85e1640ca96a7948f7321416b2309757047b
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sat, 31 Jan 2026 05:54:39 +0100
       
       Make idlerpg more idle.
       
       Diffstat:
         M modules/idlerpg/idlerpg-channel-se… |      11 ++++++-----
       
       1 file changed, 6 insertions(+), 5 deletions(-)
       ---
   DIR diff --git a/modules/idlerpg/idlerpg-channel-service.py b/modules/idlerpg/idlerpg-channel-service.py
       @@ -293,7 +293,7 @@ def main(args):
            while annna_alive(annnabase):
                # Game ticks every 5 seconds.
                try:
       -            (rfds, wfds, sfds) = select.select([inotifyfd], [], [], 5)
       +            (rfds, wfds, sfds) = select.select([inotifyfd], [], [], 60)
                except select.error as err:
                    if err.args[0] == errno.EINTR:
                        continue
       @@ -313,15 +313,16 @@ def main(args):
                            say(chaninpath, "%s levelled down to level %s." % (hacker, newlevel))
                        hackers[hacker][5] = newlevel
        
       -            if random.randint(1, 65535) > 65500 and len(hackers) > 1:
       +            randint = random.randint(1, 65535)
       +            if randint > 65500 and len(hackers) > 1:
                        (attacker, defender) = random.sample(list(hackers.keys()), 2)
                        attack(hackers, attacker, defender)
       -            elif random.randint(1, 65535) < 30 and len(hackers) > 1:
       +            elif randint < 30 and len(hackers) > 1:
                        questhackers = random.sample(list(hackers.keys()), random.randint(1, len(hackers)))
                        go_on_quest(hackers, questhackers)
       -            elif random.randint(1, 65535) < 5 and len(hackers) > 1:
       +            elif randint < 5 and len(hackers) > 1:
                        hand_of_rms(hackers, random.choice(list(hackers.keys())))
       -            elif random.randint(1, 65535) < 10 and len(hackers) > 1:
       +            elif randint < 10 and len(hackers) > 1:
                        calamity(hackers, random.choice(list(hackers.keys())))
        
                    writeout_dictfile("%s/hackers.txt" % (basepath), hackers)