Why does the error come up? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    qwerty.56's Avatar Member
    Reputation
    3
    Join Date
    Apr 2017
    Posts
    17
    Thanks G/R
    3/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why does the error come up?

    If you put your left hand on a satin thing or your hand will remain empty
    then immediately catch errors from this line
    PHP Code:
    Hud.Game.Items.FirstOrDefault(item => item.Location == ItemLocation.LeftHand
    how to fix?

    Why does the error come up?
  2. #2
    qwerty.56's Avatar Member
    Reputation
    3
    Join Date
    Apr 2017
    Posts
    17
    Thanks G/R
    3/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or how else to get a percentage of the buff?

    PHP Code:
    if(Hud.Game.Me.Powers.BuffIsActive(Hud.Sno.SnoPowers.KarleisPoint.Sno)){
    if(
    Hud.Game.Items.FirstOrDefault(item => item.Location == ItemLocation.LeftHand).Perfections.FirstOrDefault(=> p.Attribute.Index == 1288).Modifier == Hud.Sno.SnoPowers.KarleisPoint.Sno){
    BuffCur=Hud.Game.Items.FirstOrDefault(item => item.Location == ItemLocation.LeftHand).Perfections.FirstOrDefault(=> p.Attribute.Index == 1288).Cur;
    }


    decided so

    PHP Code:
    var items Hud.Game.Items.FirstOrDefault(item => item.Location == ItemLocation.LeftHand);        
    if(
    itemsl.Perfections.Any(=> p.Attribute.Index == 1288)){
    if(
    items.Perfections.FirstOrDefault(=> p.Attribute.Index == 1288).Modifier== Hud.Sno.SnoPowers.KarleisPoint.Sno){
    BuffCur items.Perfections.FirstOrDefault(=> p.Attribute.Index == 1288).Cur;}} 
    Last edited by qwerty.56; 01-07-2018 at 01:57 PM.

Similar Threads

  1. Why does opening the void storage create such a tremendous lag?
    By crunk001 in forum World of Warcraft General
    Replies: 4
    Last Post: 11-03-2015, 09:12 PM
  2. Why does it seem like all gold sellers have the same exact stock of gold?
    By JohnMind101 in forum World of Warcraft General
    Replies: 5
    Last Post: 04-01-2015, 04:57 AM
  3. Trying to start a server, but coming up with an error. Please help! :)
    By Dead243 in forum World of Warcraft General
    Replies: 0
    Last Post: 08-20-2008, 07:08 PM
  4. Why is the graphics/coding all ****ed up?
    By Tanax in forum Suggestions
    Replies: 1
    Last Post: 07-10-2008, 06:08 AM
  5. Botting: Where does the most danger come from?
    By MrRobot in forum World of Warcraft General
    Replies: 10
    Last Post: 05-31-2008, 12:31 PM
All times are GMT -5. The time now is 10:23 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search