Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance
- #NoEnv
- Gui, Add, CheckBox, x22 y10 w170 h30 vLowCheck , Filter all low items!
- Gui, Add, CheckBox, x22 y40 w170 h30 vNormalCheck, Filter all normal items!
- Gui, Add, CheckBox, x22 y70 w170 h30 vSuperiorCheck, Filter all superior quality normal items!
- Gui, Add, CheckBox, x22 y100 w170 h30 vMagicCheck , Filter all magic items!
- Gui, Add, CheckBox, x22 y130 w170 h30 vRareCheck , Filter all rare items!
- Gui, Add, CheckBox, x22 y160 w170 h30 vSetCheck , Filter sets! -- Include the ones
- Gui, Add, CheckBox, x22 y190 w170 h30 vUniqueCheck , Filter uniques! -- Include the ones
- Gui, Add, CheckBox, x22 y220 w170 h30 vGemCheck , Filter Gems`, Runes`, Potions!
- Gui, Add, Edit, x242 y10 w270 h30 vLowEdit ,
- Gui, Add, Text, x512 y10 w100 h30 , Low Excludes
- Gui, Add, Edit, x242 y40 w270 h30 vNormalEdit ,
- Gui, Add, Text, x512 y40 w100 h30 , Normal Excludes
- Gui, Add, Edit, x242 y70 w270 h30 vSuperiorEdit, upt,uui,xtp,uar,uh9,xsk,dr8,paf,pab,pac,pae,ugh,uit,7wa,61w,amc,amb,6l7,6hx,7gd,7st,7p7,7wc,7h7,7pa,7s8,7vo,ame,7qr,7hw,wsp,wst,fla
- Gui, Add, Text, x512 y70 w100 h30 , Superior Excludes
- Gui, Add, Edit, x242 y100 w270 h30 vMagicEdit , jew
- Gui, Add, Edit, x242 y130 w270 h30 vRareEdit, jew,amu,rin
- Gui, Add, Edit, x242 y160 w270 h30 vSetEdit, Set Includes
- Gui, Add, Edit, x242 y190 w270 h30 vUniqueEdit, Unique Includes
- Gui, Add, Edit, x242 y220 w270 h30 vGemEdit, rvi,r33,r32,r31,r30,r29,r28,r27,r26,r25,r24,r23,r22,r21,r20,r19,r18,r17,r16,r15,r14,gzv,glw,glg,glr,glb,skl,gly,gpw,gpv,gpb,gpy,gpr,skz,gpg
- Gui, Add, Text, x512 y100 w100 h30 , Magic Excludes
- Gui, Add, Text, x512 y130 w100 h30 , Rare Excludes
- Gui, Add, Text, x512 y160 w100 h30 , Set Includes
- Gui, Add, Text, x512 y190 w100 h30 , Unique Includes
- Gui, Add, Text, x512 y220 w100 h30 , Gem`, Potions`, Runes EXCLUDES
- Gui, Add, Text, x22 y260 w380 h70 , I have a master list of all items included for each quality. When you exclude something it checks against my list and will not write a hide label for that item group under that category. Sets and uniques I include nothing that is your discretion. I have default values set in for my personal excludes. You can find the item codes online by googling Diablo 2 item codes.
- Gui, Add, Button, x522 y340 w100 h30 gInit , Create INI!
- Gui, Add, CheckBox, x400 y250 w170 h30 vMiscCheck , Filter Arrows, Bolts, and Other Misc
- ; Generated using SmartGUI Creator for SciTE
- Gui, Show, w635 h379, Ini Writer by ArrowFarm
- return
- ; ================================================
- ; Mass Data Collection
- ;=================================================
- init:
- Gui, Submit
- Armor = ci0,ci1,ci2,ci3,cap,skp,hlm,fhl,ghm,crn,msk,bhm,qui,lea,hla,stu,rng,scl,chn,brs,spl,plt,fld,gth,ful,aar,ltp,buc,sml,lrg,kit,tow,gts,bsh,spk,lgl,vgl,mgl,tgl,lbt,vbt,mbt,tbt,hbt,lbl,vbl,mbl,tbl,hbl,dr1,dr2,dr3,dr4,dr5,ba1,ba2,ba3,ba4,ba5,pa1,pa2,pa3,pa4,pa5,ne1,ne2,ne3,ne4,ne5,xap,xkp,xlm,xhl,xhm,xrn,xsk,xh9,xui,xea,xla,xtu,xng,xcl,xhn,xrs,xpl,xlt,xld,xth,xul,xar,xtp,xuc,xml,xrg,xit,xow,xts,xsh,xpk,xlg,xvg,xmg,xtg,xlb,xvb,xmb,xtb,xhb,zlb,zvb,zmb,ztb,zhb,dr6,dr7,dr8,dr9,dra,ba6,ba7,ba8,ba9,baa,pa6,pa7,pa8,pa9,paa,ne6,ne7,ne8,ne9,nea,uap,ukp,ulm,uhl,uhm,urn,usk,uh9,uui,uea,ula,utu,ung,ucl,uhn,urs,upl,ult,uld,uth,uul,uar,utp,uuc,uml,urg,uit,uow,uts,ush,upk,ulg,uvg,umg,utg,ulb,uvb,umb,utb,uhb,ulc,uvc,umc,utc,uhc,drb,drc,drd,dre,drf,bab,bac,bad,bae,baf,pab,pac,pad,pae,paf,neb,nec,ned,nee,nef
- Weapons = hax,axe,2ax,mpi,wax,lax,bax,btx,gax,gix,clb,spc,mac,mst,fla,whm,mau,gma,ssd,scm,sbr,flc,crs,bsd,lsd,wsd,2hs,clm,gis,bsw,flb,gsd,dgr,dir,kri,bld,tkf,tax,bkf,bal,jav,pil,ssp,glv,tsp,spr,tri,brn,spt,pik,bar,vou,scy,pax,hal,wsc,sbw,hbw,lbw,cbw,sbb,lbb,swb,lwb,lxb,mxb,hxb,rxb,sst,lst,gst,bst,wst,wnd,ywn,bwn,gwn,scp,gsc,wsp,ktr,wrb,axf,ces,clw,btl,skr,ob1,ob2,ob3,ob4,ob5,am1,am2,am3,am4,am5,9ha,9ax,92a,9mp,9wa,9la,9ba,9bt,9ga,9gi,9cl,9sp,9ma,9mt,9fl,9wh,9m9,9gm,9ss,9sm,9sb,9fc,9cr,9bs,9ls,9wd,92h,9cm,9gs,9b9,9fb,9gd,9dg,9di,9kr,9bl,9tk,9ta,9bk,9b8,9ja,9pi,9s9,9gl,9ts,9sr,9tr,9br,9st,9p9,9b7,9vo,9s8,9pa,9h9,9wc,8sb,8hb,8lb,8cb,8s8,8l8,8sw,8lw,8lx,8mx,8hx,8rx,8ss,8ls,8cs,8bs,8ws,9wn,9yw,9bw,9gw,9sc,9qs,9ws,9ar,9wb,9xf,9cs,9lw,9hw,9qr,ob6,ob7,ob8,ob9,oba,am6,am7,am8,am9,ama,7ha,7ax,72a,7mp,7wa,7la,7ba,7bt,7ga,7gi,7cl,7sp,7ma,7mf,7fl,7wh,7m7,7gm,7ss,7sm,7sb,7fc,7cr,7bs,7ls,7wd,72h,7cm,7gs,7b7,7fb,7gd,7dg,7di,7kr,7bl,7tk,7ta,7bk,7b8,7ja,7pi,7s7,7gl,7ts,7sr,7tr,7br,7st,7p7,7o7,7vo,7s8,7pa,7h7,7wc,6sb,6hb,6lb,6cb,6s7,6l7,6sw,6lw,6lx,6mx,6hx,6rx,6ss,6ls,6cs,6bs,6ws,7wn,7yw,7bw,7gw,7sc,7qs,7ws,7ar,7wb,7xf,7cs,7lw,7hw,7qr,obb,obc,obd,obe,obf,amb,amc,amd,ame,amf
- Potions = gps,ops,gpm,opm,gpl,opl,yps,vps,wms,hp1,mp1,hp2,mp2,hp3,mp3,hp4,mp4,hp5,mp5,rvs,rvl
- Runes = r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23,r24,r25,r26,r27,r28,r29,r30,r31,r32,r33
- ; misc is likes tombs, ears
- Misc = aqv,aqv2,cqv2,cqv,key,gld,ear,ibk,tbk,isc,tsc
- ;Rings and ammy and jewels.
- Jewelry=amu,rin,jew
- Gems = gcv,gcw,gcg,gcr,gcb,skc,gcy,gfv,gfw,gfg,gfr,gfb,skf,gfy,gsv,gsw,gsg,gsr,gsb,sku,gsy,gzv,glw,glg,glr,glb,skl,gly,gpw,gpv,gpb,gpy,gpr,skz,gpg
- ; ================================================
- ; Data Manipulation
- ;==================================================
- ;Get the values.
- Guicontrolget, LowCheckValue,, LowCheck
- GuiControlget, LowEdit2,, LowEdit
- Guicontrolget, NormalCheckValue,, NormalCheck
- GuiControlget, NormalEdit2,, NormalEdit
- Guicontrolget, SuperiorCheckValue,, SuperiorCheck
- GuiControlget, SuperiorEdit2,, SuperiorEdit
- Guicontrolget, MagicCheckValue,, MagicCheck
- GuiControlget, MagicEdit2,, MagicEdit
- Guicontrolget, RareCheckValue,, RareCheck
- GuiControlget, RareEdit2,, RareEdit
- Guicontrolget, SetCheckValue,, SetCheck
- GuiControlget, SetEdit2,, SetEdit
- Guicontrolget, UniqueCheckValue,, UniqueCheck
- GuiControlget, UniqueEdit2,, UniqueEdit
- Guicontrolget, GemCheckValue,, GemCheck
- GuiControlget, GemEdit2,, GemEdit
- Guicontrolget, MiscCheckValue,, MiscCheck
- ;Parse Master list against excludes.
- ;================================================
- ; Low Quality
- ;=================================================
- Haystack := Armor
- ; armor
- Loop, Parse, Armor , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, LowEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- LowQualityTotal .= Haystack
- ;Weapons
- Haystack := Weapons
- Loop, Parse, Weapons , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, LowEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- LowQualityTotal .= "," Haystack
- ;Jewelry was on original list...thought i'd just add
- Haystack := Jewelry
- Loop, Parse, Jewelry , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, LowEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- LowQualityTotal .= "," Haystack
- ;==============================================================
- ; Normal Quality
- ;==============================================================
- Haystack := Armor
- ; armor
- Loop, Parse, Armor , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, NormalEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- NormalQualityTotal .= Haystack
- ;Weapons
- Haystack := Weapons
- Loop, Parse, Weapons , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, NormalEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- NormalQualityTotal .= "," Haystack
- ;========================================================================
- ; Superior Quality
- ;========================================================================
- Haystack := Armor
- ; armor
- Loop, Parse, Armor , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, SuperiorEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- SuperiorQualityTotal .= Haystack
- ;Weapons
- Haystack := Weapons
- Loop, Parse, Weapons , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, SuperiorEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- SuperiorQualityTotal .= "," Haystack
- ;===============================================
- ; Magic Items
- ;==============================================
- Haystack := Armor
- ; armor
- Loop, Parse, Armor , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, MagicEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- MagicQualityTotal .= Haystack
- ;Weapons
- Haystack := Weapons
- Loop, Parse, Weapons , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, MagicEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- MagicQualityTotal .= "," Haystack
- ;Jewelry
- Haystack := Jewelry
- Loop, Parse, Jewelry , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, MagicEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- MagicQualityTotal .= "," Haystack
- ;======================================================================
- ; Rare Items
- ;======================================================================
- Haystack := Armor
- ; armor
- Loop, Parse, Armor , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, RareEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- RareQualityTotal .= Haystack
- ;Weapons
- Haystack := Weapons
- Loop, Parse, Weapons , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, RareEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- RareQualityTotal .= "," Haystack
- ;Jewelry
- Haystack := Jewelry
- Loop, Parse, Jewelry , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, RareEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- RareQualityTotal .= "," Haystack
- ;====================================================================
- ; Gems, Potions, Runes
- ;====================================================================
- Haystack := Runes
- ; Runes
- Loop, Parse, Runes , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, GemEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- GemTotal .= Haystack
- ;Potions
- Haystack := Potions
- Loop, Parse, Potions , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, GemEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- GemTotal .= "," Haystack
- ;Gems
- Haystack := Gems
- Loop, Parse, Gems , `,
- {
- If A_LoopField =
- {
- Break
- }
- TopLoopVar := A_LoopField
- Loop, Parse, GemEdit2, `,
- {
- If A_LoopField =
- {
- Break
- }
- SubLoopVar := A_LoopField
- If (TopLoopVar = SubLoopVar)
- {
- Haystack := RegExReplace(Haystack, SubLoopVar, "")
- While InStr(Haystack, ",,")
- StringReplace, Haystack, Haystack, `,`, , `, , All
- }
- }
- }
- Stringleft, Check, Haystack, 1
- If Check = ,
- stringtrimleft, Haystack, Haystack, 1
- GemTotal .= "," Haystack
- ;=======================================================================
- ; Ini Writer
- ;=======================================================================
- FileAppend,
- (
- [D2Ex]
- BlobType=2
- EnteringFont=7
- MaxPlayers=64
- ServerPort=6112
- PermShowLife=1
- PermShowMana=1
- AutoShowMap=1
- Maphack=1
- Lagometer=1
- HideGold=1
- HideCrap=1
- BuffsEnabled=1
- BCLvl=18
- BOLvl=30
- SMLvl=15
- ;to change hotkeys use virtual keycodes (as decimal value) google them if you have to
- ;to add modifier keys add 256 for alt, 512 for ctrl, 1024 for shift, and/or 2048 for windows key to the virtual keycode of the desired hotkey
- ;ex. Alt(256) + F1(112) = Alt+F1(368)
- CursorLockHKey=368 ;hotkey to toggle cursor lock
- AddFilterkHKey=45 ;hotkey to add an item to filter
- RemoveFilterHKey=46 ;hotkey to remove an item from filter
- HiddenColor=-1 ;-1 to use default color, or use color values below (0-15)
- ; Colors
- ; WHITE = 0
- ; RED = 1
- ; LIGHTGREEN = 2
- ; BLUE = 3
- ; DARKGOLD = 4
- ; GREY = 5
- ; BLACK = 6
- ; GOLD = 7
- ; ORANGE = 8
- ; YELLOW = 9
- ; DARKGREEN = 10
- ; PURPLE = 11
- ; GREEN = 12
- ; WHITE2 = 13
- ; BLACK2 = 14
- ; DARKWHITE = 15
- ;Item quality
- ; WHATEVER = 0
- ; LOW = 1
- ; NORMAL = 2
- ; SUPERIOR = 3
- ; MAGIC = 4
- ; SET = 5
- ; RARE = 6
- ; UNIQUE = 7
- ; CRAFTED = 8
- ; TEMPERED = 9
- ; Usage : Number = item code, quality, color
- ; type hide for the color value to hide an item while you press alt
- ; Item codes :
- ;custom written by INI WRITER from ArrowFarm
- [Item Config]
- ), %A_Workingdir%\D2Ex.ini
- TotalCount = 0
- If LowCheck = 1
- {
- Loop, Parse, LowQualityTotal, `,
- {
- ; if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, low`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If NormalCheck = 1
- {
- Loop, Parse, NormalQualityTotal, `,
- {
- ; if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, normal`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If SuperiorCheck = 1
- {
- Loop, Parse, SuperiorQualityTotal, `,
- {
- ; if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, superior`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If MagicCheck = 1
- {
- Loop, Parse, MagicQualityTotal, `,
- {
- ; if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, magic`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If RareCheck = 1
- {
- Loop, Parse, NormalQualityTotal, `,
- {
- ; if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, rare`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If SetCheck = 1
- {
- Loop, Parse, SetEdit2, `,
- {
- If A_Loopfield = Set Includes
- Break
- ; If A_Loopfield = ""
- ; Break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, set`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If UniqueCheck = 1
- {
- Loop, Parse, UniqueEdit2, `,
- {
- If A_Loopfield = Unique Includes
- Break
- If A_Loopfield = ""
- Break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, unique`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If GemCheck = 1
- {
- Loop, Parse, GemTotal, `,
- {
- ;if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, normal`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- If MiscCheck = 1
- {
- Loop, Parse, Misc, `,
- {
- ;if (A_LoopField="")
- ; break
- TotalCount := totalcount + 1
- FileAppend, %TotalCount%=%A_Loopfield% `, normal`, hide`n, %A_WorkingDir%\D2ex.ini
- FileAppend, %TotalCount%=%A_Loopfield% `, low`, hide`n, %A_WorkingDir%\D2ex.ini
- FileAppend, %TotalCount%=%A_Loopfield% `, magic`, hide`n, %A_WorkingDir%\D2ex.ini
- FileAppend, %TotalCount%=%A_Loopfield% `, rare`, hide`n, %A_WorkingDir%\D2ex.ini
- }
- }
- return
- GuiClose:
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement