شـريـط الاهـداءات | |
قسم المواضيع المكررة و المخالفة هنا يتم وضع المواضيع المخالفة والمواضيع المكررة |
|
أدوات الموضوع | تقييم الموضوع | انواع عرض الموضوع |
27-03-2014, 02:22 PM | #1 | ||||||||||||
|
عايز مثلا اخلي واحد 400 graduate في الـ academy و كأنه عملهم بنفسه .. اعمل ايه بقي :O |
||||||||||||
|
27-03-2014, 02:25 PM | #2 | ||||||||||||
|
كود:
USE [SRO_VT_SHARD] DECLARE @CharName Varchar (MAX) DECLARE @Graduates INT DECLARE @HonorPoints INT DECLARE @CharID INT DECLARE @CampID INT SET @CharName = '*[YourCharName]' SET @CharID = (Select CharID FROM _Char Where CharName16 = @CharName) SET @CampID = (Select TOP 1 CampID FROM _TrainingCampBuffStatus Where RecipientCharID = @CharID) SET @Graduates = '1234[Number Of Graduates] ' SET @HonorPoints= @Graduates * 39 -------------------- UPDATE [Dbo].[_TrainingCamp] SET GraduateCount = @Graduates WHERE [Dbo].[_TrainingCamp].[ID] = @CampID UPDATE [dbo].[_TrainingCampMember] SET HonorPoint = @HonorPoints WHERE [dbo].[_TrainingCampMember].[CampID]=@CampID |
||||||||||||
|
27-03-2014, 04:16 PM | #3 | ||||||||||||
|
شكرا بس ممكن تقولي اغير ايه و كده و احط ايه بداله عشان مش فاهم SET @Graduates = '1234[Number Of Graduates] ' SET @HonorPoints= @Graduates * 39 و SET @CampID = (Select TOP 1 CampID FROM _TrainingCampBuffStatus Where RecipientCharID = @CharID) |
||||||||||||
|
28-03-2014, 04:07 PM | #4 | ||||||||||||
|
سانيا
|
||||||||||||
|
28-03-2014, 04:08 PM | #5 | ||||||||||||
|
USE [SRO_VT_SHARD] DECLARE @CharName Varchar (MAX) DECLARE @Graduates INT DECLARE @HonorPoints INT DECLARE @CharID INT DECLARE @CampID INT SET @CharName = '*[YourCharName]' SET @CharID = (Select CharID FROM _Char Where CharName16 = @CharName) SET @CampID = (Select TOP 1 CampID FROM _TrainingCampBuffStatus Where RecipientCharID = @CharID) SET @Graduates = '1234[Number Of Graduates] ' SET @HonorPoints= @Graduates * 39 -------------------- UPDATE [Dbo].[_TrainingCamp] SET GraduateCount = @Graduates WHERE [Dbo].[_TrainingCamp].[ID] = @CampID UPDATE [dbo].[_TrainingCampMember] SET HonorPoint = @HonorPoints WHERE [dbo].[_TrainingCampMember].[CampID]=@CampID |
||||||||||||
|
28-03-2014, 04:08 PM | #6 | ||||||||||||
|
كود PHP:
|
||||||||||||
|
28-03-2014, 04:09 PM | #7 | ||||||||||||
|
غير الي بي الاحمر
|
||||||||||||
|
28-03-2014, 04:09 PM | #8 | ||||||||||||
|
##
|
||||||||||||
|
29-03-2014, 02:04 PM | #9 | ||||||||||||
|
ماشي شكرا يا رجاله تم ^_^
|
||||||||||||
|
29-03-2014, 04:55 PM | #10 | ||||||||||||
|
##
|
||||||||||||
|
الكلمات الدليلية |
بدون |
يتصفح الموضوع حالياً : 1 (0 عضو و 1 زائر) | |
|
|