Perfect Timed Job [Guild+Job]

Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

    ! Perfect Timed Job [Guild+Job]

    This is the perfect wait time remover!

    How it works:
    *) When you click leave/disband guild or timed job, it will kick you from the game, because AQ player updater will return a warning.


    Why its better than others out there?
    *) Alot of methods were to either delete the timed job AFTER it gets added, which is a horrible idea because it will return "Brutal Query (100)" ERROR, and you want to minimize the amount of errors you get to bare minimum!


    -- Run the query!
    PHP 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 (nolockwhere 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 or @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 <> or @@rowcount 0)
                    
                    return -
    3
         
    return @NewJobID 


  2. #2
    Enthusiast alger is offline
    MemberRank
    Jan 2009 Join Date
    43Posts

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

    fully understand how it works... :D

    thank u

  3. #3
    Member Y@$$ER LOTFY is offline
    MemberRank
    Sep 2009 Join Date
    99Posts

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

    Thanks Jangan,
    Works Perfectly......

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

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

    Nice release Jangan!
    Posted via Mobile Device

  5. #5
    Valued Member Wismo is offline
    MemberRank
    Oct 2011 Join Date
    103Posts

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

    What does it change? :)

    It removes the 3 day waiting time for the Guild and kicks the player?

    I dont understand.

  6. #6
    Account Upgraded | Title Enabled! kitez is offline
    MemberRank
    Aug 2010 Join Date
    549Posts

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

    nice release....

  7. #7
    Member Jenzo is offline
    MemberRank
    Oct 2011 Join Date
    51Posts

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

    Jangan Really i need your Help plz Dude look at this :



    Can u Help me or give me Link have any Guide how i can make Register Page For my Server thx alot...

  8. #8
    Valued Member asuradoll is offline
    MemberRank
    Nov 2007 Join Date
    140Posts

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

    Thank you Jangan,

  9. #9
    Apprentice Chibishu is offline
    MemberRank
    Jan 2012 Join Date
    13Posts

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

    Working for me, but i'm getting DC as soon as I leave the job/guild

    edit : also, after leaving a job, then joining it again, if you use the same alias it appears as "already in use"
    Last edited by Chibishu; 31-01-12 at 12:31 AM.

  10. #10
    Valued Member Wismo is offline
    MemberRank
    Oct 2011 Join Date
    103Posts

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

    Quote Originally Posted by Jangan View Post
    [COLOR=Navy]
    How it works:
    *) When you click leave/disband guild or timed job, it will kick you from the game, because AQ player updater will return a warning.
    This is the reason.

  11. #11
    ✗ ¤ Kira ¤ ✗ Kira is offline
    MemberRank
    Nov 2011 Join Date
    ✗¤EGYPT¤✗Location
    578Posts

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

    thanks bro

  12. #12
    Enthusiast foranyone is offline
    MemberRank
    Jan 2007 Join Date
    35Posts

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

    thanks

  13. #13
    Apprentice carefully is offline
    MemberRank
    Nov 2011 Join Date
    19Posts

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

    Very Nice ThanK You

  14. #14
    Member >>LiNkS<< is offline
    MemberRank
    Apr 2007 Join Date
    Alex NorthLocation
    96Posts

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

    @Jangan bro how chan i change back to normal state after i use that query?

    Eidt: Nvm i fix it already ;)
    Last edited by >>LiNkS<<; 16-02-12 at 03:29 PM.

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

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

    Sorry to bump but can this be edited so it won't kick them right away and instead they wait 6 hours?
    Posted via Mobile Device



Page 1 of 2 12 LastLast

Advertisement