الموقع العربي الاول للعبة Silkroad Online

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم المواضيع المكررة و المخالفة (https://silkroad4arab.com/vb/forumdisplay.php?f=58)
-   -   بخصوص Trada (https://silkroad4arab.com/vb/showthread.php?t=597019)

Dev.Sawy 14-01-2016 04:46 PM

بخصوص Trada
 
انا عندي عايز اطور من التريدا شوية بمعني عايز اخليها تجيب جولد ومثلا Globa وهكذا^^

Dev.Sawy 15-01-2016 09:24 AM

رد: بخصوص Trada
 
UP

Dev.Sawy 15-01-2016 11:50 PM

رد: بخصوص Trada
 
UP Again

Gemey 16-01-2016 01:14 AM

رد: بخصوص 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 

غير بقى اللى انتا عايزه

Dev.Sawy 16-01-2016 01:47 AM

رد: بخصوص Trada
 
ارجو التوضويح !

Gemey 16-01-2016 01:48 AM

رد: بخصوص Trada
 
كود PHP:

 @charnameJob,ITEM_ETC_ARENA_COIN,20,

غير دى للريورد اللى انتا عايزه

Dev.Sawy 23-01-2016 12:09 AM

رد: بخصوص Trada
 
عملتها في السيرفر عندي ويارتني ما عملتتها ^^
جابتلي بجاات الدنيا والدين والله العظيم
اول بج : البلاير يطلعو التريدا ولما يوصلو المدينة يوقعوها ويلمو 4 قطع بس ويسلموها ويعملو ريسترت يجلهم الريورد وكذا
تاني بج : البلاير لما يوصلو التريدا المدينة بيفتحو hunter ويجبوة البارتي ويوقع التريدا ويلمو 4 قطع والريورد يجي للاتنين بعد الريسترت

ارجو الرد في اسرع وقت !

awful1337 23-01-2016 08:48 AM

رد: بخصوص Trada
 
اقتباس:

DECLARE @NewQuot FLOAT -- @ SRO_VT_SHARD
DECLARE @NewPrice INT
DECLARE @NewStack INT
DECLARE @NewSellPrice INT
SET @NewQuot = 650 -- Doubles the profit % trough "2.0" (e.g. 2.6 is also possible)
SET @NewPrice = 60000 -- Goods Price @ the Shop
SET @NewStack = 100000 -- Increases/Decreases the maximum Stack, Default = 40
SET @NewSellPrice = 10000000 -- Goods Price if you sell them directly again - without trading.

-- Profit %

UPDATE [dbo].[_ItemQuotation]
SET BaseQuot = BaseQuot*@NewQuot
WHERE RefItemID BETWEEN 2147 AND 2158

UPDATE [dbo].[_ItemQuotation]
SET Quot_LB = Quot_LB*@NewQuot
WHERE RefItemID BETWEEN 2147 AND 2158

UPDATE [dbo].[_ItemQuotation]
SET Quot_UB = Quot_UB*@NewQuot
WHERE RefItemID BETWEEN 2147 AND 2158

UPDATE [dbo].[_ItemQuotation]
SET BaseQuot = BaseQuot*@NewQuot
WHERE RefItemID BETWEEN 10394 AND 10401

UPDATE [dbo].[_ItemQuotation]
SET Quot_LB = Quot_LB*@NewQuot
WHERE RefItemID BETWEEN 10394 AND 10401

UPDATE [dbo].[_ItemQuotation]
SET Quot_UB = Quot_UB*@NewQuot
WHERE RefItemID BETWEEN 10394 AND 10401

UPDATE [dbo].[_ItemQuotation]
SET BaseQuot = BaseQuot*@NewQuot
WHERE RefItemID BETWEEN 24671 AND 24672

UPDATE [dbo].[_ItemQuotation]
SET Quot_LB = Quot_LB*@NewQuot
WHERE RefItemID BETWEEN 24671 AND 24672

UPDATE [dbo].[_ItemQuotation]
SET Quot_UB = Quot_UB*@NewQuot
WHERE RefItemID BETWEEN 24671 AND 24672

-- Price / SellPrice

UPDATE [dbo].[_RefObjCommon]
SET Price = @NewPrice
WHERE ID BETWEEN 2147 AND 2158

UPDATE [dbo].[_RefObjCommon]
SET SellPrice = @NewSellPrice
WHERE ID BETWEEN 2147 AND 2158
جرب ده


الساعة الآن 01:48 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.