الموضوع: بخصوص Trada
عرض مشاركة واحدة
قديم 16-01-2016, 01:14 AM   #4

Gemey
عضو جديد





• الانـتـسـاب » Dec 2015
• رقـم العـضـويـة » 128643
• المشـــاركـات » 47
• الـدولـة »
• الـهـوايـة »
• اسـم الـسـيـرفـر » No Server
• الـجـنـس » Male
• نقـاط التقييم » 10
Gemey صـاعـد

Gemey غير متواجد حالياً



افتراضي رد: بخصوص Trada



بص
كود PHP:
USE [SRO_VT_SHARDLOG]
GO
/****** Object:  StoredProcedure [dbo].[_Job_Reward_By_Tyr]    Script Date: 10/27/2014 6:26:23 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


Create   procedure 
[dbo].[_Job_Reward_By_Tyr
@
CharID        int,
@
EventID        tinyint
as
DECLARE @
CharnameJob varchar(268) = (Select CharName16 From SRO_VT_SHARD.dbo._Char where CharID = @CharID)
DECLARE @
Char_ReqLevel int = (Select CurLevel from SRO_VT_SHARD.dbo._char where CharID = @CharID)
-- 
Begin Hunter Reward
if @EventID '6' begin
Declare @CosID int = (select ID from SRO_VT_SHARD.dbo._CharCOS where OwnerCharID = @CharID)
----------------------------------------------------------
Begin Delete pet if he loggout.    
    
Delete from SRO_VT_SHARD.dbo._InvCOS where COSID = @CosID
    Delete from SRO_VT_SHARD
.dbo._CharCOS  where 
    OwnerCharID 
= @CharID and RefCharID between '2187' and '2189'
    
or OwnerCharID = @CharID and RefCharID between '3915' and '3917'
    
or OwnerCharID = @CharID and RefCharID between '3912' and '3914'
    
or OwnerCharID = @CharID and RefCharID between '2184' and '2186'
    
or OwnerCharID = @CharID and RefCharID between '23250' and '23257'
    
or OwnerCharID = @CharID and RefCharID between '23258' and '23265'
    
or OwnerCharID = @CharID and RefCharID between '23905' and '23912'
if exists (Select from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID
and Contribution >= '2099235' and JobType '3' and @Char_ReqLevel >= '95' )
begin 
     exec SRO_VT_SHARD
.dbo._ADD_ITEM_EXTERN @charnameJob,ITEM_ETC_ARENA_COIN,20,
     Update SRO_VT_SHARD
.dbo._CharTrijob set Contribution '1' where CharID = @CharID
         end 
-- orig 3484407
if exists (Select from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID
and Contribution >= '2928581' and JobType '1' and @Char_ReqLevel >= '95')
begin 
     exec SRO_VT_SHARD
.dbo._ADD_ITEM_EXTERN @charnameJob,ITEM_ETC_ARENA_COIN,22,
     Update SRO_VT_SHARD
.dbo._CharTrijob set Contribution '1' where CharID = @CharID
         end
if exists (Select from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID
and Contribution >= '2928581' and JobType '2' and @Char_ReqLevel >= '95'begin
     exec SRO_VT_SHARD
.dbo._ADD_ITEM_EXTERN @charnameJob,ITEM_ETC_ARENA_COIN,25,
     Update SRO_VT_SHARD
.dbo._CharTrijob set Contribution '1' where CharID = @CharID
     
         end
         end 
Addlogchar
كود PHP:
-- Trade Gold Coins Anti Cheat
    
if @EventID '6' and exists (Select from SRO_VT_SHARD.dbo._CharTrijob where CharID = @CharID  and Contribution >= '2099235' )
    
begin Exec [dbo].[_Job_Reward_By_Tyr]  @charid , @eventid  
    end 
غير بقى اللى انتا عايزه




رد مع اقتباس