Plus Auto Notice(Sample + Source)

Page 20 of 25 FirstFirst ... 101213141516171819202122232425 LastLast
Results 286 to 300 of 372
  1. #286
    Member longway is offline
    MemberRank
    Sep 2012 Join Date
    Alexandria, EgyLocation
    76Posts

    Re: Plus Auto Notice(Sample + Source)

    i have problem into Procedures he don't save any thing when i do PLUS ? can help

  2. #287
    Proficient Member elitebi is offline
    MemberRank
    Feb 2012 Join Date
    196Posts

    Re: Plus Auto Notice(Sample + Source)

    anyone found a fix for the notice showing +1 +2 +3 even though "if(@strDesc_separado >= 10) is used in the proc.
    I checked PlusNotice table and the informations are written correctly, it only store the pluses more or equal than 10 but it will still notice the lower pluses. So it basicaly send notice to _LogItemPlus table but shouldn't it only send notice of PlusNotice table only?

  3. #288
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Plus Auto Notice(Sample + Source)

    what version are you using?

  4. #289

    Re: Plus Auto Notice(Sample + Source)

    Can you make video explanation?

  5. #290
    Valued Member mazazekoo is offline
    MemberRank
    Apr 2012 Join Date
    132Posts

    Re: Plus Auto Notice(Sample + Source)

    i done added the plus notice but little problem that release on notice even on +1,2,3, etc
    how i can change it to only write notice on +7,8 etc

    Also notice only write weapons/shield status nothing about set / accessory :(
    my producer operation here
    PHP Code:
        if (@Operation 35)   
       
    begin   
        insert _LogCashItem 
    (RefItemIDCharIDCntEventTimeSerial64)   
        
    values(@ItemRefID, @CharID, @dwDataGetDate(), @ItemSerial)   
       
    end 
       
    if (@Operation 90 OR @Operation 160)   
       
    begin   
       set 
    @len_desc1 CHARINDEX (']',@strDesc)  
      if(@
    len_desc1 9)   
         
    begin 
         set 
    @strDesc SUBSTRING(@strDesc,0,9
         
    set @strDesc_separado SUBSTRING(@strDesc81
        
    end 
       
    else if(@len_desc1 10
            
    begin 
            set 
    @strDesc SUBSTRING(@strDesc,0,10
            
    set @strDesc_separado SUBSTRING(@strDesc82
            
    end 
            
    if(@strDesc_separado >= 8
            
    begin 
            
    --set @strDesc_separado = @len_desc1 
          insert _LogItemPlus
    (CharIDSerial64PlusDataLidovalues(@CharID, @ItemSerial, @strDesc_separadoGetDate(), '0')   
        
    end  
       end
       
    if(@Operation 90)
       
    begin
        
    declare @iname varchar(129)
        declare @
    iid int
        
    declare @cname varchar(64)
        
    select @iid RefItemID from SRO_VT_SHARD.dbo._Items where Serial64 = @ItemSerial
        select 
    @iname Name from SRO_VT_SHARD.dbo._ItemName where CodeName128 in(select CodeName128 from SRO_VT_SHARD.dbo._RefObjCommon where id = @iid)  
        
    select @cname CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID
        insert PlusNotice
    (SentMessage)values(0,@cname ' has succeeded in augmenting  [ ' + @iname ' ] to Plus (' CAST(@strDesc_separado AS NVARCHAR) + ')')
      
    end 

  6. #291
    SilkRoad loveme is offline
    MemberRank
    Sep 2011 Join Date
    JanganLocation
    498Posts

    Re: Plus Auto Notice(Sample + Source)

    I want to onward +8 , +1 if it is taking notice
    Last edited by loveme; 13-09-13 at 08:23 AM.

  7. #292
    LEARNING PX2000 is offline
    MemberRank
    May 2009 Join Date
    Cagayan de Oro,Location
    417Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by mazazekoo View Post
    i done added the plus notice but little problem that release on notice even on +1,2,3, etc
    how i can change it to only write notice on +7,8 etc

    Also notice only write weapons/shield status nothing about set / accessory :(
    my producer operation here

    PHP Code:
        if (@Operation 35)   
       
    begin   
        insert _LogCashItem 
    (RefItemIDCharIDCntEventTimeSerial64)   
        
    values(@ItemRefID, @CharID, @dwDataGetDate(), @ItemSerial)   
       
    end 
       
    if (@Operation 90 OR @Operation 160)   
       
    begin   
       set 
    @len_desc1 CHARINDEX (']',@strDesc)  
      if(@
    len_desc1 9)   
         
    begin 
         set 
    @strDesc SUBSTRING(@strDesc,0,9
         
    set @strDesc_separado SUBSTRING(@strDesc81
        
    end 
       
    else if(@len_desc1 10
            
    begin 
            set 
    @strDesc SUBSTRING(@strDesc,0,10
            
    set @strDesc_separado SUBSTRING(@strDesc82
            
    end 
            
    if(@strDesc_separado >= 8
            
    begin 
            
    --set @strDesc_separado = @len_desc1 
          insert _LogItemPlus
    (CharIDSerial64PlusDataLidovalues(@CharID, @ItemSerial, @strDesc_separadoGetDate(), '0')   
        
    end  
       end
       
    if(@Operation 90)
       
    begin
        
    declare @iname varchar(129)
        declare @
    iid int
        
    declare @cname varchar(64)
        declare @
    optlevel int
        select 
    @iid RefItemID from SRO_VT_SHARD.dbo._Items where Serial64 = @ItemSerial
        select 
    @iname Name from SRO_VT_SHARD.dbo._ItemName where CodeName128 in(select CodeName128 from SRO_VT_SHARD.dbo._RefObjCommon where id = @iid)  
        
    select @cname CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID
        
        set 
    @optlevel = @strDesc_separado

        
    if (@optlevel >= 8)
           
    begin
                 insert PlusNotice
    (SentMessage)values(0,@cname ' has succeeded in augmenting  [ ' + @iname ' ] to Plus (' + @optlevel ')')
           
    end
      end 
    I hope this will work!!

  8. #293

    Re: Plus Auto Notice(Sample + Source)

    Please
    The work of a special video explanation

  9. #294
    Valued Member mazazekoo is offline
    MemberRank
    Apr 2012 Join Date
    132Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by PX2000 View Post
    I hope this will work!!
    Not working :(

  10. #295
    Member herolord46 is offline
    MemberRank
    Aug 2012 Join Date
    90Posts

    Re: Plus Auto Notice(Sample + Source)

    how to make this special notice?only logged players show this notice
    sro-2013-09-14-21-a

  11. #296
    Valued Member SuperHer0 is offline
    MemberRank
    Nov 2011 Join Date
    128Posts

    Re: Plus Auto Notice(Sample + Source)

    guy's any one know how to change port of login in this program ?

  12. #297
    Member herolord46 is offline
    MemberRank
    Aug 2012 Join Date
    90Posts

    Re: Plus Auto Notice(Sample + Source)

    any one help +1 +2+ 3 problem ?

  13. #298
    Member herolord46 is offline
    MemberRank
    Aug 2012 Join Date
    90Posts

    Re: Plus Auto Notice(Sample + Source)

    this query only show +8 and more's:D thanks all
    Code:
    USE [SRO_VT_LOG]
    GO
    /****** Object:  StoredProcedure [dbo].[_AddLogItem]    Script Date: 09/15/2013 20:20:09 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER  procedure [dbo].[_AddLogItem]  
      @CharID  int,   
      @ItemRefID int,   
      @ItemSerial bigint,   
      @dwData int,   
      @TargetStorage tinyint,   
      @Operation tinyint,   
      @Slot_From tinyint,   
      @Slot_To tinyint,   
      @EventPos varchar(64),   
      @strDesc varchar(128), 
      @Gold        bigint        -- #ifdef EXTEND_GOLD_TYPE »ðÀÔ    
      as   
       declare @len_pos int   
       declare @len_desc int  
       declare @strDesc_separado varchar(128)  
       declare  @len_desc1 int 
       set @len_pos = len(@EventPos)   
       set @len_desc = len(@strDesc)   
       if (@len_pos > 0 and @len_desc > 0)   
       begin   
                insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, EventPos, strDesc, Serial64, Gold)    -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼ 
                values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @EventPos, @strDesc, @ItemSerial, @Gold)        -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼ 
       end   
       else if (@len_pos > 0 and @len_desc = 0)   
       begin   
                insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, EventPos, Serial64, Gold)            -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼ 
                values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @EventPos, @ItemSerial, @Gold)                -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼  
       end   
       else if (@len_pos = 0 and @len_desc > 0)   
       begin   
                insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, strDesc, Serial64, Gold)            -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼ 
                values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @strDesc, @ItemSerial, @Gold)                    -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼  
       end   
       else if (@len_pos = 0 and @len_desc = 0)   
       begin   
                insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, Serial64, Gold)                        -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼ 
                values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @ItemSerial, @Gold)                            -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼ 
       end   
       -- À¯·á ¾ÆÀÌÅÛ ±¸ÀÔÀ̸é!   
       -- #define LOG_ITEMEVENT_BUY_CASHITEM  (BYTE)35   
       if (@Operation = 35)   
       begin   
        insert _LogCashItem (RefItemID, CharID, Cnt, EventTime, Serial64)   
        values(@ItemRefID, @CharID, @dwData, GetDate(), @ItemSerial)   
       end 
       if (@Operation = 90 OR @Operation = 160)   
       begin   
       set @len_desc1 = CHARINDEX (']',@strDesc)  
      if(@len_desc1 = 9)   
         begin 
         set @strDesc = SUBSTRING(@strDesc,0,9) 
         set @strDesc_separado = SUBSTRING(@strDesc, 8, 1) 
        end 
       else if(@len_desc1 = 10) 
            begin 
            set @strDesc = SUBSTRING(@strDesc,0,10) 
            set @strDesc_separado = SUBSTRING(@strDesc, 8, 2) 
            end 
            if(@strDesc_separado >= 8) 
            begin 
            --set @strDesc_separado = @len_desc1 
          insert _LogItemPlus(CharID, Serial64, Plus, Data, Lido) values(@CharID, @ItemSerial, @strDesc_separado, GetDate(), '0')   
        end  
       end 
       if(@Operation = 90)
       begin
        declare @iname varchar(129)
    	declare @iid int
    	declare @cname varchar(64)
    	select @iid = RefItemID from SRO_VT_SHARD.dbo._Items where Serial64 = @ItemSerial
    	select @iname = Name from SRO_VT_SHARD.dbo._ItemName where CodeName128 in
    	(select CodeName128 from SRO_VT_SHARD.dbo._RefObjCommon where id = @iid) 
    	select @cname = CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID
    	if(@strDesc_separado >= 8)
    	insert PlusNotice(Sent, Message)values(0,'[' +@cname + '] has increased [' + @iname + '] to [Lvl ' + CAST(@strDesc_separado AS NVARCHAR) + ']')
     end
    sro-2013-09-15-20-a

  14. #299
    Member herolord46 is offline
    MemberRank
    Aug 2012 Join Date
    90Posts

    Re: Plus Auto Notice(Sample + Source)

    any one maked armor's and accesories ?

  15. #300
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Plus Auto Notice(Sample + Source)

    Quote Originally Posted by SuperHer0 View Post
    guy's any one know how to change port of login in this program ?
    for what version?



Advertisement