Custom GM Command Logs!?

Results 1 to 5 of 5
  1. #1
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

    ! Custom GM Command Logs!?

    Well, idk, this might be helpful, i dont really want to go into too much details since i have no use for it. But PvE Server owners should probably customize this even furthur xD


    My query pretty much just gives me the GM logs of items created! you can customize this even more.


    Open SMC logs and you might understand what i mean :P Sorry if this is too confusing, just wanted to show where people can find the gm logs!
    PHP Code:
    USE [SRO_VT_ACCOUNT]
    GO
    /****** BY Jangan ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE 
    [dbo].[_GetSMLog]
        @
    nCatagory    tinyint,
        @
    szUserID    varchar(128),
        @
    szBeginDate    datetime,
        @
    szEndDate    datetime
    as
        IF 
    LEN(@szUserID) > 0
        BEGIN
            
    IF @nCatagory 
            BEGIN
                select 
    from _SMCLog with (nolock
                
    where dLogDate 
                    between 
    @szBeginDate and @szEndDate  
                    
    and szUserID = @szUserID 
                    
    and szLog like 'DropItem:%%' --## Custom Addon
                    
    order by dLogDate
            END
            
    ELSE
            
    BEGIN
                select 
    from _SMCLog with (nolock
                
    where dLogDate between @szBeginDate and @szEndDate 
                    
    and szUserID = @szUserID and Catagory = @nCatagory and szUserID = @szUserID  
                    
    and szLog like 'DropItem:%%' --## Custom Addon
                    
    order by dLogDate
            END
        END
        
    ELSE
        
    BEGIN
            
    IF @nCatagory 0
            BEGIN
                select 
    from _SMCLog with (nolock
                
    where dLogDate between @szBeginDate and @szEndDate 
                
    and szLog like 'DropItem:%%' --## Custom Addon
                
    order by dLogDate
            END
            
    ELSE
            
    BEGIN
                select 
    from _SMCLog with (nolock
                
    where dLogDate between @szBeginDate and @szEndDate  and Catagory = @nCatagory 
                
    and szLog like 'DropItem:%%' --## Custom Addon
                
    order by dLogDate
            END
        END 


  2. #2
    Apprentice mytzanujrboss is offline
    MemberRank
    Jun 2008 Join Date
    Cluj-Napoca, RoLocation
    15Posts

    Re: [TuT] - Custom GM Command Logs!?

    Thank you for this querry :)

  3. #3
    Proficient Member ferpa125 is offline
    MemberRank
    Nov 2011 Join Date
    BrazilLocation
    162Posts

    Re: [TuT] - Custom GM Command Logs!?

    woooow very usefull, thanks :)

  4. #4
    Member asd234 is offline
    MemberRank
    Jan 2012 Join Date
    55Posts

    Re: [TuT] - Custom GM Command Logs!?

    i dont get it.. can u please go into more details? XD

  5. #5
    Apprentice HusseinAlor is offline
    MemberRank
    May 2012 Join Date
    11Posts

    Re: [TuT] - Custom GM Command Logs!?

    Good Job ، Thanks <3



Advertisement