Perfect Timed Job [Guild+Job]

Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
  1. #16
    Account Upgraded | Title Enabled! SL1MSH4DY is offline
    MemberRank
    Dec 2011 Join Date
    USALocation
    418Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Warning to all this breaks Forgotten World and Fortress War Dungeon. Everytime you try to go to these instances you get DC.

  2. #17
    Developer sladlejrhfpq is offline
    MemberRank
    Oct 2011 Join Date
    671Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Quote Originally Posted by SL1MSH4DY View Post
    Warning to all this breaks Forgotten World and Fortress War Dungeon. Everytime you try to go to these instances you get DC.
    I dont think it would cause anything like this, he just added this:
    PHP Code:
                if (@JobID or @JobID 2)
                
    BEGIN
                    
    return -1
                END
                
    ELSE 
    to the original SP. It mean if the JobID=1 or 2, it won't add new line to the table _TimedJob. 1=Guild Penalty, 2=Job Penalty.

  3. #18
    Account Upgraded | Title Enabled! SL1MSH4DY is offline
    MemberRank
    Dec 2011 Join Date
    USALocation
    418Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Then explain after running the original addtimedjob stored procedure it fixed the dc at FGW.
    Posted via Mobile Device

  4. #19
    #Yummi.sql Caipi is offline
    MemberRank
    Sep 2011 Join Date
    GermanyLocation
    403Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Quote Originally Posted by sladlejrhfpq View Post
    I dont think it would cause anything like this, he just added this:
    PHP Code:
                if (@JobID or @JobID 2)
                
    BEGIN
                    
    return -1
                END
                
    ELSE 
    to the original SP. It mean if the JobID=1 or 2, it won't add new line to the table _TimedJob. 1=Guild Penalty, 2=Job Penalty.
    FGW registers a penalty too - prolly it's the same ID but with different parameters - so theoretically to avoid those problems add more information to the IF clause which are specific for Guild and Job penalties

  5. #20
    Account Upgraded | Title Enabled! SL1MSH4DY is offline
    MemberRank
    Dec 2011 Join Date
    USALocation
    418Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Ok guys listen up if you want to keep your 3 day guild penalty and remove the job penalty run this query. I did some testing and after running this the guild penalty is still there, but the job penalty is gone and Forgotten World is not broken. So FGW and Guild JobID must both = 1 and causes FGW to break when you try to run Jangan's query.

    Code:
    USE [SRO_VT_SHARD]
    GO
    /******By Jangan ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    
    ALTER   procedure [dbo].[_AddTimedJob]
    @CharID            int,
    @Category        tinyint,
    @JobID            int,
    @TimeToKeep    int,
    @Data1            int,
    @Data2            int,
    --##begin due to develop composite item
    @Data3            int,
    @Data4            int,
    @Data5            int,
    @Data6            int,
    @Data7            int,
    @Data8            int,
    @Serial64        bigint,
    @JID            int
    --##end due to develop composite item
    as
        if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
                    return -1
                if (@TimeToKeep <= 0)
                    return -2
                declare @NewJobID int
                set @NewJobID = 0
    
                --##JobID 1 = Guild // JobID 2 = Thief/Hunter/Trader
                --##If you want to only have one not both, then just modify the line below!
                if (@JobID = 2)
                BEGIN
                    return -1
                END
                ELSE
                BEGIN
                --##begin due to develop composite item
                insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,Data2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64,JID)
                values(@CharID, @Category, @JobID, @TimeToKeep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @Serial64, @JID)
                END
                --##end due to develop composite item
                set @NewJobID = @@identity
                if (@@error <> 0 or @@rowcount = 0)
                    
                    return -3
         return @NewJobID
    Last edited by SL1MSH4DY; 24-04-12 at 12:01 AM.

  6. #21
    Novice macihun93 is offline
    MemberRank
    Apr 2012 Join Date
    3Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Nice, thanks :)

  7. #22
    Account Upgraded | Title Enabled! SupremeSRO is offline
    MemberRank
    Apr 2012 Join Date
    326Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    yes this broken the forgotten world :-/ any solution?

  8. #23
    Member nemo20122 is offline
    MemberRank
    Aug 2012 Join Date
    66Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    all query good but when any one leave guild jop get dc when open agine register normal and not wait 0min any one know how solve dc after leave

  9. #24
    Proficient Member Blackdiana is offline
    MemberRank
    Mar 2012 Join Date
    181Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Use eva tools from Chernobyl, this program make penalty delete... all penalty delete

  10. #25
    Member nemo20122 is offline
    MemberRank
    Aug 2012 Join Date
    66Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    can you upload it to me and how to used it thx

  11. #26
    Apprentice na9er is offline
    MemberRank
    Oct 2012 Join Date
    10Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Quote Originally Posted by Blackdiana View Post
    Use eva tools from Chernobyl, this program make penalty delete... all penalty delete
    r u sure cuz i used Evangelion_1.0.5 and cant make penalty go.
    is there any way to make no guild penalty without breaking FGW!

  12. #27
    Apprentice na9er is offline
    MemberRank
    Oct 2012 Join Date
    10Posts

    Re: [TuT+Release] Perfect Timed Job [Guild+Job]

    Quote Originally Posted by Caipi View Post
    FGW registers a penalty too - prolly it's the same ID but with different parameters - so theoretically to avoid those problems add more information to the IF clause which are specific for Guild and Job penalties
    +1 ya when i add @Category = 2 guild/job works with FGW
    PHP Code:
     if (@JobID and @Category or @JobID 2)
                
    BEGIN
                    
    return -1
                END
                
    ELSE
                
    BEGIN 

  13. #28
    Apprentice nerobow012 is offline
    MemberRank
    Aug 2012 Join Date
    18Posts

    Re: Perfect Timed Job [Guild+Job]

    Hope Work Finally Found it thx ,, xS

  14. #29
    Apprentice sonzenbi is offline
    MemberRank
    Mar 2017 Join Date
    6Posts

    Re: Perfect Timed Job [Guild+Job]

    How to change time out job to 7 day like before ?



Page 2 of 2 FirstFirst 12

Advertisement