예제 #1
0
            public override void Pulse()
            {
                while (!StyxWoW.Me.Combat && !StyxWoW.Me.Dead && !StyxWoW.Me.IsInInstance && !StyxWoW.Me.IsFlying && !StyxWoW.Me.IsFalling && StyxWoW.Me.IsAlive)
                {
                    if (useSewingHelp || useSkinningHelp || useGuildw || useMail || useMilling || useInking || useProspecting || useEternals || useDisenchant || useAutosmelt || useDarkmoon || useGuilddeposit || useFortune || usePapervend || useInkvend)
                    {
                        ObjectManager.Update();
                    }

                    if (useDefault)
                    {
                        DefaultSettings();
                    }

                    Guildwithdraw gw = new Guildwithdraw();
                    Form3         dw = new Form3();
                    Pulsesettingsload();

                    if (useGuildw)
                    {
                        gw.PulsesettingsLoad2();
                        Guildwith.Guildwithspell();
                    }
                    if (useMail)
                    {
                        Mail.Mailspell();
                    }
                    if (useMilling)
                    {
                        Milling.milling();
                    }
                    if (useInking)
                    {
                        Inking.Inkingspell();
                    }
                    if (useSewingHelp)
                    {
                        Sewing.SewingDo();
                    }
                    if (useSkinningHelp)
                    {
                        Skinning.SkinningDo();
                    }
                    if (useProspecting)
                    {
                        Prospecting.Prospectingspell();
                    }
                    if (useDisenchant)
                    {
                        Disenchant.Disenchantspell();
                    }
                    if (useAutosmelt)
                    {
                        Autosmelt.UseNearestAnvil();
                        Autosmelt.Autosmeltspell();
                    }
                    if (useDarkmoon)
                    {
                        Darkmoon.Darkmoonspell();
                    }
                    if (useFortune)
                    {
                        Fortunespell.useFortunespell();
                    }

                    if (useGuilddeposit)
                    {
                        dw.PulseLoadsettings3();
                        Guilddeposit.Guilddepositspell();
                    }
                }
            }
예제 #2
0
            public override void Pulse()
            {
                while (!StyxWoW.Me.Combat && !StyxWoW.Me.Dead && !StyxWoW.Me.IsInInstance && !StyxWoW.Me.IsFlying && !StyxWoW.Me.IsFalling && StyxWoW.Me.IsAlive)
                {
                    if (useSewingHelp || useSkinningHelp || useGuildw || useMail || useMilling || useInking || useProspecting || useEternals || useDisenchant || useAutosmelt || useDarkmoon || useGuilddeposit || useFortune || usePapervend || useInkvend)
                    {
                        ObjectManager.Update();
                    }

                    if (useDefault)
                    {
                        DefaultSettings();
                    }

                    Guildwithdraw gw = new Guildwithdraw();
                    Form3         dw = new Form3();
                    Pulsesettingsload();

                    while (Me.Location != Finish && useGuildw || useGuilddeposit)
                    {
                        Logging.Write("Moving To Start Point");
                        Navigator.MoveTo(Finish);
                        if (Me.Location.Distance(Finish) < 10)
                        {
                            break;
                        }
                    }

                    if (useGuildw)
                    {
                        gw.PulsesettingsLoad2();
                        Guildwith.Guildwithspell();
                    }

                    if (useMail)
                    {
                        Mail.Mailspell();
                    }
                    if (useMilling)
                    {
                        Milling.milling();
                    }
                    if (useInking)
                    {
                        Inking.Inkingspell();
                    }
                    if (useSewingHelp)
                    {
                        Sewing.SewingDo();
                    }
                    if (useSkinningHelp)
                    {
                        Skinning.SkinningDo();
                    }
                    if (useProspecting)
                    {
                        Prospecting.Prospectingspell();
                    }
                    if (useDisenchant)
                    {
                        Disenchant.Disenchantspell();
                    }
                    if (useAutosmelt)
                    {
                        Autosmelt.UseNearestAnvil();
                        Autosmelt.Autosmeltspell();
                    }
                    if (usePapervend)
                    {
                        DarkVendors.PaperVendors();
                    }
                    if (useInkvend)
                    {
                        DarkVendors.Inkvendor();
                    }
                    if (useDarkmoon)
                    {
                        Darkmoon.Darkmoonspell();
                    }
                    if (useFortune)
                    {
                        Fortunespell.useFortunespell();
                    }

                    while (Me.Location != Finish && useGuildw || useGuilddeposit)
                    {
                        if (Me.Location.Distance(Finish) > 5)
                        {
                            Navigator.MoveTo(Finish);
                            Logging.Write("Moving To Finish Point");
                            if (Me.Location.Distance(Finish) < 10)
                            {
                                break;
                            }
                        }
                    }
                    if (useGuilddeposit)
                    {
                        dw.PulseLoadsettings3();
                        Guilddeposit.Guilddepositspell();
                    }
                }
            }