Leaderboard IDs

Results 1 to 8 of 8
  1. #1
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Leaderboard IDs

    Hello,

    I have question , i try make add more leaderboard , and i have question

    how does it work "Id's" here :

    Code:
    /*
        -- Leaderboard IDs:
        -- SOFTCORE:
        -- 00 - XP
        -- 01 - TimePlayed
        -- 02 - KilledZombies
        -- 03 - KilledSurvivors
        -- 04 - KilledBandits
        -- 05 - Reputation DESC - heroes
        -- 06 - Reputation ASC - bandits
        -- HARDCORE:
        -- 50 - XP
        -- 51 - TimePlayed
        -- 52 - KilledZombies
        -- 53 - KilledSurvivors
        -- 54 - KilledBandits
        -- 55 - Reputation DESC - heroes
        -- 56 - Reputation ASC - bandits
        */

    Where can we find them? How does a person get enlightened? because I can not understand

    - - - Updated - - -

    Ohhhh

    Code:
    leaderboard_requestTableID = boardSelect + boardType*50;
    Why * 50 lol kkkk

    - - - Updated - - -

    Ok so

    Exemple : My Fla Tab 'TabIdSelected3" is numero 2 (beceause i have 0,1,2 ... basic ) so in client 2*50 = 100

    My news LeardersIDs : 100 , 101 , 102 ...

    Code:
        end else if(@in_TableID = 100) begin
                select @in_StartPos=Pos from Leaderboard00_7 where CharID=@in_CharID
                select @TotalRows=COUNT(*) from Leaderboard00_7


  2. #2
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: Leaderboard IDs

    Change 50 to 10 !!!
    And work with Viewes and no Tables and Procedures.

  3. #3
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: Leaderboard IDs

    Quote Originally Posted by LukasCCB View Post
    Change 50 to 10 !!!
    Yep thanks! it has fix errors that I had, and it's much simpler

    Quote Originally Posted by LukasCCB View Post
    And work with Viewes and no Tables and Procedures.
    what did it mean with "Viewes" ? for now i use only Sql request

  4. #4
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: Leaderboard IDs


  5. #5
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: Leaderboard IDs

    wut

    I guess it does not work like a query, some kind of virtual table?

    - - - Updated - - -

    can I see some in action? I never use this

  6. #6
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: Leaderboard IDs

    Views works as both a Procedure and Tables at the same time.Instead of having to do an Update / Insert / Delete in a Procedure to save already existing unused data to Tables, the Views take this data and do a real-time "return / show debug" so it is easier because it does not need save information that may change soon.

    sorry eng.

  7. #7
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: Leaderboard IDs

    I'm going to look into that, but I think I'm staying on a normal table I'm more qualifying for that lol

    I have question , Do you keep the same 'XP' column or have you added more for Day / 7Days / 30days?

  8. #8
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    Re: Leaderboard IDs

    Quote Originally Posted by Oosmar02 View Post
    I'm going to look into that, but I think I'm staying on a normal table I'm more qualifying for that lol

    I have question , Do you keep the same 'XP' column or have you added more for Day / 7Days / 30days?
    Is a query, you can run 2 or 4 tables same query.
    Not work with tables for save data, get data from Accounts and Chars in realtime





Advertisement