| Author |
Topic:
Need dying calculations - Can anyone help?
[Locked] |
|
|
Date Posted:
1/1/00 12:00am
Subject:
Need dying calculations - Can anyone help?
|
|
I've added a DyeBot to the TinkerBot script. I'd like to tell the user their chance of success before the trade is completed, but i don't know how the diffuculty is calculated. Does anyone have any info on this?
I would just hook the 'Crafting chance of success' dialog box, but there are 2 problems with that. 1, AC's built-in hotkey used to toggle the crafting chance option doesn't work. It shows the option turning off and on, but doesn't actually toggle use of the window. And 2, ACTool's variable _craftchancesuccess doesn't seem to work.
I'd prefer to just calculate the math in the script anyway, as that all the tinkerbot calculations are done that way...
|
|
|
Date Posted:
1/1/00 12:00am
Subject:
Need dying calculations - Can anyone help?
|
http://www.thejackcat.com/AC/Shopping/Crafts/Dyes.htm
<<Dyeing has a Cooking Skill Check of 230.>>
http://www.code-poets.org/tinkering.html
I'm relatively sure that it uses the same check function as tinkering...do a few tests to see if it's the same as if you were doing a 230 diff tink, but I think it's the same.
-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
|
yaroz_vn
Posts: 1,225
Registered: 2002-6-30 20:08:11
|
Date Posted:
1/1/00 12:00am
Subject:
Need dying calculations - Can anyone help?
|
Hmmm.. interesting. I may have to drop a couple key skills, to pick up the trade skills, on my tinker mule (meleeD, missileD (which I plan on dropping as soon as I can find a replacement for the cov stuff he's wearing)).
-----signature-----
Proud member of The Knights of Fortune
Mr Adventure - Lil' Pew - Da Noob - Qar
Yaroz - Yanno
http://www.fortunesway.com
|
|
|
Date Posted:
1/1/00 12:00am
Subject:
Need dying calculations - Can anyone help?
|
|
I pinned it down:
Chance of success = ( 1 - ( 1 / ( 1 + EXP( 0.03 * ( CookingSkill - 230 ) ) ) ) ) * 100
|
|
|
Date Posted:
1/1/00 12:00am
Subject:
Need dying calculations - Can anyone help?
|
Yeah that's the formula I was talking about
-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
|