Get Honor Point by Killing Jobbers.

Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Get Honor Point by Killing Jobbers.

    Yeah my bad sorry, it should be this:

    Code:
    /* Check if Camp exist */
    DECLARE @CampID INT
    SELECT @CampID = CampID FROM [SRO_VT_SHARD].[dbo].[_TrainingCampMember] WHERE CharID = @KillerCharID AND MemberClass = 0
    IF  (@CampID <> 0)
    BEGIN
        -- Set graduate
        UPDATE [SRO_VT_SHARD].[dbo].[_TrainingCamp] SET GraduateCount = GraduateCount + 1 WHERE ID = @CampID
        -- Add honor point
        UPDATE [SRO_VT_SHARD].[dbo].[_TrainingCampMember] SET HonorPoint = HonorPoint + (your formula here) WHERE CharID = @KillerCharID
    END
    "WHERE ID = @CampID", my mistake on that one :)
    Last edited by Witchy Moo; 30-05-15 at 01:57 AM.

  2. #17
    kaju BadFist is offline
    MemberRank
    Nov 2011 Join Date
    833Posts

    Re: Get Honor Point by Killing Jobbers.

    Quote Originally Posted by RenePunik View Post
    So, what i have to do? I got it worked but it server need to be restarted to see real kills points. any idea?
    one of my dev was make on website to see how nanny point have each player

  3. #18
    Enthusiast zizoelnigm is offline
    MemberRank
    Sep 2012 Join Date
    36Posts

    Re: Get Honor Point by Killing Jobbers.


  4. #19
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: Get Honor Point by Killing Jobbers.

    Quote Originally Posted by zizoelnigm View Post
    This won't help, His thread won't work on anyway. because all his lines are wrong.

  5. #20
    Valued Member MikroTekken is offline
    MemberRank
    Aug 2014 Join Date
    145Posts

    Re: Get Honor Point by Killing Jobbers.

    but i show you it work for me :D

    - - - Updated - - -

    Quote Originally Posted by Witchy Moo View Post
    you did pretty nice mods fulfilling your needs though, no need to change anything if they already works.

    The _AddLogChar thingy is completely different thing, I just tried to add an example for you to record kill activities, which you can use for the honor thingy you wanna make, or other stuff.

    For example you can update the kill count to automatically to your honor table everytime a char got killed, like:

    Code:
    /* Check if Camp exist */
    DECLARE @CampID INT
    SELECT @CampID = CampID FROM [SRO_VT_SHARD].[dbo].[_TrainingCampMember] WHERE CharID = @KillerCharID AND MemberClass = 0
    IF  (@CampID <> 0)
    BEGIN
        -- Set graduate
        UPDATE [SRO_VT_SHARD].[dbo].[_TrainingCamp] SET GraduateCount = GraduateCount + 1 WHERE CampID = @CampID
        -- Add honor point
        UPDATE [SRO_VT_SHARD].[dbo].[_TrainingCampMember] SET HonorPoint = HonorPoint + (your formula here) WHERE CharID = @KillerCharID
    END
    the formula should be some value you want, say, how much honor value a person will get when they kill in job mode. And that sequence should be called by _AddLogChar, inside the Event 20 sequence :)

    something like that... ish..
    but he mean want to update honor every time in game not in tab in tab so easy but in game it need add update honor in SMC like every 1 minute

  6. #21
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: Get Honor Point by Killing Jobbers.

    @Witchy Moo, Honor rank page didn't update... even If i killed a thief 50 times.. It update only in one way, when i restart my server.

  7. #22
    Don't touch my Nutella! Witchy Moo is offline
    MemberRank
    Aug 2013 Join Date
    SingaporeLocation
    208Posts

    Re: Get Honor Point by Killing Jobbers.

    isn't honor rank page updated by '[_TRAINING_CAMP_UPDATEHONORRANK]' procedure? which the last time i remember is placed on [_Schedule] table or SMC schedule and not real time?

  8. #23
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: Get Honor Point by Killing Jobbers.

    Quote Originally Posted by Witchy Moo View Post
    isn't honor rank page updated by '[_TRAINING_CAMP_UPDATEHONORRANK]' procedure? which the last time i remember is placed on [_Schedule] table or SMC schedule and not real time?
    I made it to update every one hour, btw it wasn't updated also.

  9. #24
    Valued Member hexcode is offline
    MemberRank
    Jul 2008 Join Date
    144Posts

    Re: Get Honor Point by Killing Jobbers.

    Quote Originally Posted by RenePunik View Post
    I made it to update every one hour, btw it wasn't updated also.
    Any update about updating honor points without server restart? Scheduled execution of _TRAINING_CAMP_UPDATEHONORRANK do not update the points.Any new fresh ideas?

    Regards



Page 2 of 2 FirstFirst 12

Advertisement