Author Topic: Need dying calculations - Can anyone help?
Shein_Tao 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
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...

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
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
Link to this post
yaroz_vn 
Posts: 12,255
Registered: Jun 30, '02
Extended Info (if available)
Real Post Cnt: 12,168
User ID: 693,371
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
Link to this post
Shein_Tao 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Need dying calculations - Can anyone help?
I pinned it down:

Chance of success = ( 1 - ( 1 / ( 1 + EXP( 0.03 * ( CookingSkill - 230 ) ) ) ) ) * 100

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Need dying calculations - Can anyone help?
Yeah that's the formula I was talking about happy

 

-----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
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP