Has anyone had much luck with the '|' command?
|
Collapse
X
-
Oh wow. I'm totally loving this. How have I not seen this before?! My first automaton is at 100' and plays *just like me*.You are on something strangeComment
-
Oh cool he just gave up at 200' and said, could not find anything to do. I guess I have to give him some direction or something. Man, this is completely badass!
He made a circuit and realized he had no options. I hurled his ass down a chasm. He died at 300'.
DEBO: WE NEED AN AUTOMATON COMP.You are on something strangeComment
-
I made him invincible and he gets stuck a fair bit. There was something basic he couldn't do (I can't remember what it was -- eat, maybe?)
When left to his own devices he generally died before 300'. So, we at least have that in common.Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.'Comment
-
Neither does it make any attempt to pick up and use consumables. Makes one wonder what a proper Silbot would need to have a theorethical chance at prevailing. One or more build orders including Loremaster would probably bee a good start to circumvent the ID game. An AI routine that attempts to run away to the closest staircase at low HP would be another. Definetly some way to avoid fighting in open spaces and avoid archers.Comment
-
I cheated her some extra xp for majesty, crowd-fighting & whirlwind attack which I thought might be appropriate to her style of play. Hilarious to watch. She died at 400' being bounced between easterling archers. She'd move towards the closest, he'd duck in to a corridor, she'd move towards the other, he'd reappear at the door ....Comment
-
I encourage people to look through automaton.c if they want to see how it works or to modify it. It is pretty much a skeleton at the moment (doing incredibly simple versions of most activities) and is easily extendable.
Of note, it doesn't use any of the Angband borg AI code, though it does use five low level functions from the borg in order to queue the keypresses etc.Comment
-
Wow, not bad. I didn't even know this command existed.
She made it to 300 feet. She died next to a shadow mold from an orc champion she couldn't see. She got stuck previously when a Mewlip made her afraid, but otherwise I didn't intervene. She just kept attacking and getting the message "you are too afraid". She was fearless about trying on armor, and spent a couple of minutes wearing boots of treacherous paths until she found boots of softest tread. Looks like she never picked up any skills, though she spent experience ASAP. Pretty fun bot.
*Edit: I see all these things in the "AI to-do list". For the benefit of forum readers, I'll paste it below from automation.c inside a spoiler tag
[spoiler]
Code:/* * AI to-do list: * * Exploring * - be less completist with levels (don't walk 50 squares to explore one more room...) * - be willing to use up stairs (or chasms/shafts) sometimes * * Stealth * - stay away from nearby unalert monsters * - stay near walls * * Combat * - learn to rest properly (away from archers/molds) * - fight from sensible locations * - deal with 'Afraid' status * - wield new arrows from pack when a quiver is empty * * Experience * - gain abilities * * Darkness * - ignores monsters in darkness (e.g. archers & shadow molds) * - often dies while ignoring shadow molds * * Objects * - can't deal with rings and amulets * - can't deal with non-wieldable items * - never drops items * * Loops * - pillared rooms and archers which run can cause it to walk back and forth * - stuck searching for a secret door to get to the down stairs * * * In general, I wrote most of the basic routine as an AI with no internal state. * I've added state in the form of its internal map and more state should be added * (for example so it can work out if it lost health since last turn, or to set its * own internal mode). */
Last edited by phaethon; October 8, 2014, 20:41.Comment
-
It apparently has been a while since people experimented with the automaton. I discovered it not long after finding out about Sil and got curious about it, so I had a look at the sourc code and made some extensions. It is now placing iself a bit smarter when fighting or fleeing, but there is still a lot of room for improvement. If you are interested in the changes, you can have a look at this git repository.
(I also included some other features which I personally found interesting, so in order to integrate it in your personal branch, you may want to cherry-pick the appropriate commits ... )
For quite some time now, I also had the idea of playing with artificial intelligence in terms of neural networks and deep learning and came up with the project of using Sil as a platform to learn about these things while having fun and creating an AI that learns how to play Sil. The git repo is basically exactly for that, so it may see some more changes in the future. In case this sounds like a thing to you, please feel invited to participate and give me a shout. The more the merrierComment
-
Ah, a roguelike AI, 'belligerent expert system.' That brings us full circle.
Looks like the code is still available.
Comment
-
Besides Rogue, the non-trivial roguelikes I know of with bots that can beat them are Nethack ( https://github.com/krajj7/BotHack ), Angband ( http://www.innovapain.com/borg/ ) and Dungeon Crawl Stone Soup ( https://github.com/elliptic/qw ).My Chiptune music, made in Famitracker: http://soundcloud.com/patashuComment
Comment