Item Rank

Results 1 to 9 of 9
  1. #1
    Sorcerer Supreme loveme is offline
    Member +Rank
    Sep 2011 Join Date
    JanganLocation
    498Posts

    Item Rank

    hello

    item rank .php I want to hide all the tablets, but how?

    the basic code
    PHP Code:
    $query mssql_query("select top 100 it.OptLevel, ch.CharName16, obj.AssocFileIcon128, obj.Country
        from _Items as it
        LEFT JOIN [dbo].[_Inventory] as inv ON it.ID64 = inv.ItemID
        LEFT JOIN [dbo].[_Char] as ch ON inv.CharID = ch.CharID
        LEFT JOIN [dbo].[_RefObjCommon] as obj ON it.RefItemID = obj.ID
        where ch.CharName16 is not NULL
        ORDER BY it.OptLevel DESC"
    ); 


  2. #2
    Elite Member Royalblade is offline
    Member +Rank
    Jan 2013 Join Date
    167Posts

    Re: Item Rank

    hmm dont know if 3 is the right number.. been some times i touched those things... but try this

    Code:
    select top 100 it.OptLevel, ch.CharName16, obj.AssocFileIcon128, obj.Country 
        from _Items as it 
        LEFT JOIN [dbo].[_Inventory] as inv ON it.ID64 = inv.ItemID 
        LEFT JOIN [dbo].[_Char] as ch ON inv.CharID = ch.CharID 
        LEFT JOIN [dbo].[_RefObjCommon] as obj ON it.RefItemID = obj.ID 
        where ch.CharName16 is not NULL AND obj.TypeID1 = 3
        ORDER BY it.OptLevel DESC
    Keep in mind, this should only show you items now...equipable items. At least for Chinese chars, you might have to look up the type for euros. However, u get the idea ^^

  3. #3
    Sorcerer Supreme loveme is offline
    Member +Rank
    Sep 2011 Join Date
    JanganLocation
    498Posts

    Re: Item Rank

    again ? all tablet have ?

  4. #4
    Elite Member Royalblade is offline
    Member +Rank
    Jan 2013 Join Date
    167Posts

    Re: Item Rank

    Code:
    select top 100 it.OptLevel, ch.CharName16, obj.AssocFileIcon128, obj.Country      from _Items as it      INNER JOIN [dbo].[_Inventory] as inv ON it.ID64 = inv.ItemID      INNER JOIN [dbo].[_Char] as ch ON inv.CharID = ch.CharID      INNER JOIN [dbo].[_RefObjCommon] as obj ON it.RefItemID = obj.ID      where ch.CharName16 is not NULL AND obj.TypeID1 = 3     ORDER BY it.OptLevel DESC
    I just tried it out with inner joins... it works perfectly. dont know what your doing wrong

  5. #5
    Sorcerer Supreme loveme is offline
    Member +Rank
    Sep 2011 Join Date
    JanganLocation
    498Posts

    Re: Item Rank

    ok thx

  6. #6
    Sorcerer Supreme loveme is offline
    Member +Rank
    Sep 2011 Join Date
    JanganLocation
    498Posts

    Re: Item Rank

    How can I hide the GM?

  7. #7
    SilkRoad vSro Service MaDenGo is offline
    Grand MasterRank
    Aug 2012 Join Date
    vSro CommunityLocation
    512Posts

    Re: Item Rank

    could you release to us that item rank file/php/script ?

  8. #8
    Sorcerer Supreme loveme is offline
    Member +Rank
    Sep 2011 Join Date
    JanganLocation
    498Posts

    Re: Item Rank

    .php How can I hide the GM

  9. #9
    Elite Member Royalblade is offline
    Member +Rank
    Jan 2013 Join Date
    167Posts

    Re: Item Rank

    Code:
    select top 100 it.OptLevel, ch.CharName16, obj.AssocFileIcon128, obj.Country     
    from _Items as it      
    INNER JOIN [dbo].[_Inventory] as inv ON it.ID64 = inv.ItemID      
    INNER JOIN [dbo].[_Char] as ch ON inv.CharID = ch.CharID      
    INNER JOIN [dbo].[_RefObjCommon] as obj ON it.RefItemID = obj.ID      
    where ch.CharName16 is not NULL AND obj.TypeID1 = 3 AND ch.Charname16 NOT LIKE '_GM_%'
    ORDER BY it.OptLevel DESC
    Underscore = "can be anything, but only 1 character"
    % sign = "can be anything, multiple characters"

    just try it out and itll work.



Advertisement