Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old October 2, 2019, 05:11   #1
schatz
Rookie
 
Join Date: Jun 2014
Posts: 20
schatz is on a distinguished road
Equipment optimiser for frogcomposband characters

TLDR version

https://optimiser.riverwaterhill.com is a website that takes in a HTML character dump from frogcomposband and tries to figure out what combination of equipment your character should wear given a set of constraints set by you.

-----------------------------

Still interested? keep reading.

After uploading a HTML character dump, you can start defining constraints. There are currently 4 kinds of constraints:
  1. Item inclusions - equipment slot and associated equipment that must be included in the solution. For instance, you can define that the Jewel of Judgement must be included because you like its utility of clairvoyance and recall.
  2. Item exclusions - items matching a certain name to be excluded from consideration. For instance, monk characters should not be wearing heavy armour so you can specify 'Metal Brigandine', 'Bar Chain Mail' and the like to be excluded.
  3. Slot constraints - number and type of slots available for a character. For instance, weapon == 0 but left_arm == 1 for an unarmed, shield-carrying monk. Or ring == 6 for a monster character like Beholder.
  4. Attribute constraints - what attributes you would like the solution of equipment set to provide. For instance, you can specify that you would like to have at least speed 20, melee damage of +10 or above, telepathy, etc. from the equipment set. That is specified as Sp >= 20, Melee_Dmg >= 10, ~Tele >= 1.

Once you are done specifying the constraints, click on the 'Save' button and you will be presented with a listing of the constraints as well as a solution, if any. If the solution is not satisfactory, you can continue to add/remove/update the set of constraints. Sometimes the system will not be able to provide a solution and it will say "Status: infeasible". This happens when the available set of equipment is really not able to achieve the given set of constraints or when you have accidentally added contradicting constraints, e.g. St >= 4 and St <= 3.

See the attached screen capture for my monk character as an example.

This website is a work in progress so feel free to give feedback, comments, report bugs.
Attached Thumbnails
Click image for larger version

Name:	optimiser-monk.jpg
Views:	110
Size:	98.0 KB
ID:	1754  

Last edited by schatz; October 2, 2019 at 05:18.
schatz is offline   Reply With Quote
Old October 2, 2019, 16:57   #2
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 11
werecobalt is on a distinguished road
Hi Schatz!

I talked about if there is an automatic gear shuffling tool the other day on angband.live and today I see this! This is really cool.

But I have problem registering. It doesn't send confirmation mail to my mailbox. I checked the spambox and it was empty too. I use yahoo mail.
werecobalt is offline   Reply With Quote
Old October 2, 2019, 17:22   #3
schatz
Rookie
 
Join Date: Jun 2014
Posts: 20
schatz is on a distinguished road
Quote:
Originally Posted by werecobalt View Post
But I have problem registering. It doesn't send confirmation mail to my mailbox. I checked the spambox and it was empty too. I use yahoo mail.
Sent you a private message with the contents of the email. The yahoo mail servers are blocking the mailgun server I was using for this app. Let me know if you did not receive the private message.
schatz is offline   Reply With Quote
Old October 2, 2019, 17:30   #4
CyclopsSlayer
Swordsman
 
Join Date: Feb 2009
Posts: 321
CyclopsSlayer is on a distinguished road
Just a heads up, the email says to click the link, but it sends an incomplete URL Easy enough to fix, just preface with an http, but...

://optimiser.riverwaterhill.com/accounts/activate/...
CyclopsSlayer is offline   Reply With Quote
Old October 2, 2019, 17:46   #5
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 11
werecobalt is on a distinguished road
Thanks Schatz, and CyclopsSlayer! I register successfully.
werecobalt is offline   Reply With Quote
Old October 2, 2019, 17:50   #6
schatz
Rookie
 
Join Date: Jun 2014
Posts: 20
schatz is on a distinguished road
Quote:
Originally Posted by CyclopsSlayer View Post
Just a heads up, the email says to click the link, but it sends an incomplete URL Easy enough to fix, just preface with an http, but...

://optimiser.riverwaterhill.com/accounts/activate/...
Thanks for the bug report. Pushing a fix now.
schatz is offline   Reply With Quote
Old October 2, 2019, 18:21   #7
ShadowTechnology
Scout
 
Join Date: Jan 2009
Posts: 44
ShadowTechnology is on a distinguished road
Very cool. I plan to try it.
Question: In your example there appears to be one (and only one?) solution. This is probably where you want to end up, but how do you start? If you have a Home full of stuff and start with minimal attribute constrains, you may get a million combinations (literally) that meet your requirements. How is this reported? Later, as you are approaching "the best" kit, you may get a more reasonable number of solutions that meet you requirements (e.g. 3 solutions, or 10). Will it present all of these for the player of choose from?
Or possibly it attempts to do that for you, and presents it's estimate of the one best solution from among those that meet your minimal requirements?
ShadowTechnology is offline   Reply With Quote
Old October 2, 2019, 18:35   #8
schatz
Rookie
 
Join Date: Jun 2014
Posts: 20
schatz is on a distinguished road
Quote:
Originally Posted by ShadowTechnology View Post
Or possibly it attempts to do that for you, and presents it's estimate of the one best solution from among those that meet your minimal requirements?
Yes, that's what it does. It looks at all possible combinations that meet the minimal requirements. For each of these combinations, it naively does a sum of the attribute pluses and minuses of each equipment set and the equipment set with the highest sum is selected and presented as the solution.

That's usually not optimal at the start since the solution will favor equipment that gives the highest pluses and minuses, e.g. Rings of Archery, which might not be what you want. So you start adding more item exclusions and attribute constraints. For instance it was giving me too much stealth previously so I ended up specifying Sl <= 8 or increase other requirements like Sp until it gives you something that looks more reasonable.
schatz is offline   Reply With Quote
Old October 3, 2019, 06:35   #9
schatz
Rookie
 
Join Date: Jun 2014
Posts: 20
schatz is on a distinguished road
Switching away from mailgun to AWS SES to send emails in order to resolve issues with sending email to yahoo.com email addresses.

Now waiting for AWS to respond to my request to move my account out from their sandbox. Meanwhile new account registration and password resets will not work. Will update here when the transition completes successfully.
schatz is offline   Reply With Quote
Old October 3, 2019, 15:39   #10
schatz
Rookie
 
Join Date: Jun 2014
Posts: 20
schatz is on a distinguished road
Completed transition to new mail sending service. Account registration and reset account password email should work now.
schatz is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
frogcomposband frogcomposband: Angband needs an 80x24 'curses' scre poschengbandplayer Variants 2 August 19, 2019 16:13
FrogComposband 7.0.peppermint Sideways Variants 148 June 6, 2018 20:37
FrogComposband 7.0.strawberry Sideways Variants 40 April 18, 2018 08:27
v4 - a few characters CliffStamp AAR 47 June 28, 2012 02:18
[3.3.x] Cannot suicide characters PowerWyrm Vanilla 1 November 1, 2011 17:34


All times are GMT +1. The time now is 17:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.