Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • i keep getting UInt32 itemId


    Smokie
    • Product: WRobot General Type: Bug Status: Unconfirmed

     

    i keep getthing this error with my fightclass. any help would be nice. - wManager.Wow.Helpers.ItemsManager.GetItemCountById(UInt32 itemId)

        private void Foodtwo()
        {
            if (ObjectManager.Me.Level < 12)
            {
                
    
                if (ConjureFood.IsSpellUsable && ConjureFood.KnownSpell && ObjectManager.Me.ManaPercentage >= 60 && ObjectManager.Me.Level < 12 && ItemsManager.GetItemCountById(5349) <= 10)
                {
                    ConjureFood.Launch();
                    Usefuls.WaitIsCasting();
                    return;
                }
    
                if (ObjectManager.Me.Level <= 12 && ItemsManager.HasItemById(5349) && ItemsManager.GetItemCountById(5349) == 10 && !(wManager.wManagerSetting.CurrentSetting.FoodName == "Conjured Muffin"))
                {
                    wManager.wManagerSetting.CurrentSetting.FoodName = "Conjured Muffin";
                    Thread.Sleep(10);
                    Logging.Write("{Food Settings} Conjured Muffin has been set! ");
                    return;
    
                }
            }
            
        }
        private void Waterone()
        {
            if (ObjectManager.Me.Level < 12)
            {
                if (ConjureWater.IsSpellUsable && ConjureWater.KnownSpell && ObjectManager.Me.ManaPercentage >= 60 && ItemsManager.GetItemCountById(5350) <= 10 && ObjectManager.Me.Level < 12)
                {
                    ConjureWater.Launch();
                    Usefuls.WaitIsCasting();
                    return;
                }
    
                if (ItemsManager.HasItemById(5350) && ObjectManager.Me.Level < 12 && ItemsManager.GetItemCountById(5350) == 10 && !(wManager.wManagerSetting.CurrentSetting.DrinkName == "Conjured Water"))
                {
                    wManager.wManagerSetting.CurrentSetting.FoodName = "Conjured Water";
                    Thread.Sleep(10);
                    Logging.Write("{Drink Settings} Conjured Water has been set! ");
                    return;
    
                }
            }
        }

     




    User Feedback

    Recommended Comments

    Just now, Droidz said:

    Hello, your code seem good, someone close your fightclass thread (bot stopped?)

    I downloaded a program off the web that contained a a lot of malware so I am completely resetting my computer. That may be the problem.  All my settings are messed up

    Share this comment


    Link to comment
    Share on other sites

    try to reinstall required software (read file readme.txt in wrobot folder), but I don't think that it is the problem

    Share this comment


    Link to comment
    Share on other sites

    I know. But my computer feels off if you know what that means. I’ve been needed a full disk clear with a while. I’ll be back to making stuff in a few hours. Would you be able to check you’re DMs and answer a question?

    Share this comment


    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...