jaenster Posted April 7, 2006 Share Posted April 7, 2006 expandcollapse popup#include <GuiConstants.au3> ;d2dropcalu by jaenster , formule found on the internet. $Rmf = _D2MFCalu(200) ; Return mf ;msgbox(0,"mf","Your unqine mf :"&$Rmf[0]&@lf&"Your Sets mf :"&$Rmf[1]&@lf&"Your Rare mf :"&$Rmf[2]) GUICreate("Diablo II dropcalu",220,100) $CaluB = GUICtrlCreateButton("-- Calulate --",10,30,200,20) $CaluI = GUICtrlCreateInput("200",10,10,200,20) $CaluL = GUICtrlCreateLabel("Unqine"&@lf&"Sets"&@lf&"Rare",10,50,200,60) guisetstate() while 1 $msg = GUIGetMsg() if $msg = $GUI_EVENT_CLOSE Then Exit endif if $msg = $CaluB Then $mf = guictrlread($CaluI) $return = _D2MFCalu($mf) GUICtrlSetData($CaluL,"Unqine: "&$return[0]&@lf&"Sets: "&$return[1]&@lf&"Rare: "&$return[1]) endif wend ;=============================================================================== ; ; Function Name: _D2MFCalu() ; Description: This funcion calulate's your real mf for diablo II ; Parameter(s): $Mf all mf what you have ; Requirement(s): AutoIT 3.11 ; Return Value(s): On Success: [0] = unqine mf ; [1] = Sets mf ; [2] = Rare mf ; On Failure: returns -1 and @error set to 1 ; Author(s): jaenster ; ;=============================================================================== func _D2MFCalu($mf) If $mf < 0 Then SetError(1) Return -1 endif dim $Uniqe[2] ,$Sets[2], $Rare[2] , $rtmf[3]; make arrays $Sets[0] = 500; Set val in arry $Sets[1] = 400; Set val in arry ;500 400 $Rare[0] = 600; Set val in arry $Rare[1] = 500; Set val in arry ;600 500 $Uniqe[0] = 250; Set val in arry $Uniqe[1] = 150; Set val in arry ;250 150 $Rtmf[0] = 110 + $Uniqe[0]*($MF-110)/($MF+$Uniqe[1]); Calu Unqine mf $Rtmf[1] =110 + $Sets[0]*($MF-110)/($MF+$Sets[1]); Calu Sets Mf $Rtmf[2] = 110 + $Rare[0]*($MF-110)/($MF+$Rare[1]); Calu Rare mf ; Rtmf = return mf SetError(0) return $rtmf endfunc Thanks for looking in this post - jaenster -jaenster Link to comment Share on other sites More sharing options...
{NL}--Xantios--- Posted April 7, 2006 Share Posted April 7, 2006 you and youre diablo diablo junk Link to comment Share on other sites More sharing options...
=sinister= Posted April 8, 2006 Share Posted April 8, 2006 Hey, I used to play diablo and my friend started to play so im going to start playing again, but I have 1 question. Whats MF? Haven't played in 2 years.... Link to comment Share on other sites More sharing options...
cdkid Posted April 8, 2006 Share Posted April 8, 2006 (edited) MF = Magic Find % if it's between 250% and 600% you'll have a high chance of getting unique/rare/set items, anything over 600% and you start getting less chance of unique/set/rare items. About 500 is ideal, and not hard to get ~cdkid Edited April 8, 2006 by cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
Markus Posted April 8, 2006 Share Posted April 8, 2006 Nice script, some months ago i could have used that for my endless numbers of mephi runs But i wonder why you show negative numbers for mf<110, if i'm right that script should show the +findchance in percent for uniques,set and rares. So 0mf should be the basic value for the +chance on the items? 0mf = 0 on every item? "It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output Link to comment Share on other sites More sharing options...
jaenster Posted April 9, 2006 Author Share Posted April 9, 2006 Nice script, some months ago i could have used that for my endless numbers of mephi runs But i wonder why you show negative numbers for mf<110, if i'm right that script should show the +findchance in percent for uniques,set and rares. So 0mf should be the basic value for the +chance on the items? 0mf = 0 on every item?You get negatief numbers ?Lol i dont have so low Mf , so i never tryed Cool that pll like this script -jaenster Link to comment Share on other sites More sharing options...
Diarazad Posted May 11, 2006 Share Posted May 11, 2006 the effects of magic find on uniques is greatly reduced, and the effects on sets and rares significantly reduced. This reduction only comes into play above 110%.This formula DOESN'T work for mf lower than 110%. Jeanster i think u would like to modify your script so it run properly with any magic find value. Add something like this:If $mf < 110 then $Rtfm[0] = $mf $Rtfm[1] = $mf $Rtfm[2] = $mf SetError(0) Return $Rtfm EndIf GL I have been walking shadow ways to land where Terror rules... Link to comment Share on other sites More sharing options...
Gladry Posted May 15, 2006 Share Posted May 15, 2006 (edited) IT would be faaaar more impressive (and even begin usefullness) if it logged into a Diablo II account, found items on the character and then added the MF % up by itself, Otherwise it is simply an exercise for Excel spreadsheet. Edited May 15, 2006 by Gladry Link to comment Share on other sites More sharing options...
jaenster Posted May 16, 2006 Author Share Posted May 16, 2006 Yeah , maby ^^ .. Anywhy ty all.. and lower then 110 mf is crap -jaenster Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now