VaultNetwork.net Vault Network Boards
Author Topic: Need dying calculations - Can anyone help? [Locked]
Shein_Tao
Posts: 17
Registered:
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...
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
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  4 stars
Posts: 1,225
Registered: 2002-6-30 20:08:11
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
Shein_Tao
Posts: 17
Registered:
I pinned it down:


Chance of success = ( 1 - ( 1 / ( 1 + EXP( 0.03 * ( CookingSkill - 230 ) ) ) ) ) * 100
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
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

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.