البقاء مسجل دائمآ
الإعلانات
22-07-2014 03:49 PM
Hero Query Guild
كود PHP:
USE [SRO_VT_SHARD]
GO
/******By Jangan and Wismo ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER   procedure 
[dbo].[_AddTimedJob]
@
CharID            int,
@
Category        tinyint,
@
JobID            int,
@
TimeToKeep    int,
@
Data1            int,
@
Data2            int,
--
##begin due to develop composite item
@Data3            int,
@
Data4            int,
@
Data5            int,
@
Data6            int,
@
Data7            int,
@
Data8            int,
@
Serial64        bigint,
@
JID            int
--##end due to develop composite item
as
    if (
not exists (select CharID from _Char with (nolockwhere CharID = @CharID))
                return -
1
            
if (@TimeToKeep <= 0)
                return -
2
            
declare @NewJobID int
            set 
@NewJobID 0

            
--##JobID 1 = Guild // JobID 2 = Thief/Hunter/Trader
            
--##If you want to only have one not both, then just modify the line below!
            
if (@JobID or @JobID 2)
            
BEGIN
                insert into _TimedJob
(CharID,Category,JobID,TimeToKeep,Data1,Data2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64,JID)
                
values(@CharID, @Category, @JobID1, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @Serial64, @JID)
            
END
            
ELSE
            
BEGIN
                
--##begin due to develop composite item
                
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,Data2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64,JID)
                
values(@CharID, @Category, @JobID, @TimeToKeep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @Serial64, @JID)
            
END
                
--##end due to develop composite item
            
set @NewJobID = @@identity
            
if (@@error <> or @@rowcount 0)
                
                return -
3
     
return @NewJobID 
2 من textuisystem زى ما rux قال
تخلى ال IP .tk مثلا من موقع اسمة ,tk
22-07-2014 03:47 PM
ruxana رقم 1 : من ملف اسمة textuisystem اعمل Find لل title name الي انت عايزو

رقم 2: USE [SRO_VT_SHARD]
GO
/******By Jangan ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER procedure [dbo].[_AddTimedJob]
@CharID int,
@Category tinyint,
@JobID int,
@TimeToKeep int,
@Data1 int,
@Data2 int,
--##begin due to develop composite item
@Data3 int,
@Data4 int,
@Data5 int,
@Data6 int,
@Data7 int,
@Data8 int,
@Serial64 bigint,
@JID int
--##end due to develop composite item
as
if (not exists (select CharID from _Char with (nolock) where CharID = @CharID))
return -1
if (@TimeToKeep <= 0)
return -2
declare @NewJobID int
set @NewJobID = 0

--##JobID 1 = Guild // JobID 2 = Thief/Hunter/Trader
--##If you want to only have one not both, then just modify the line below!
if (@JobID = 1 or @JobID = 2)
BEGIN
return -1
END
ELSE
BEGIN
--##begin due to develop composite item
insert into _TimedJob(CharID,Category,JobID,TimeToKeep,Data1,D ata2,Data3,Data4,Data5,Data6,Data7,Data8,Serial64, JID)
values(@CharID, @Category, @JobID, @TimeToKeep, @Data1, @Data2, @Data3, @Data4, @Data5, @Data6, @Data7, @Data8, @Serial64, @JID)
END
--##end due to develop composite item
set @NewJobID = @@identity
if (@@error <> 0 or @@rowcount = 0)

return -3
return @NewJobID
22-07-2014 03:26 PM
totixp
3 مشكلات

1-ازاى اعرف title name اللى عندى فى الجيم
2- ازاى اخلى واحد يطلع من guild يدخل فى guild تانى فى نفس وقت خروجه
3- ازاى اخلى الموقع مش بip السيرفر

وشكرا منتظر الاجابه

ضوابط المشاركة
تستطيع إضافة مواضيع جديدة
تستطيع الرد على المواضيع
تستطيع إرفاق ملفات
تستطيع تعديل مشاركاتك

BB code متاحة
كود [IMG] متاحة
كود HTML معطلة


الساعة الآن 10:30 AM.