Ko-Cuce
 

Geri git   Ko-Cuce > Yardım > Prosedürler & Kodlar Yardım

Prosedürler & Kodlar Yardım Prosedürler & Kodlarla ilgili sorunlarınızı sorabileceğiniz bölüm


100 GB Reseller 30 YTL!
DUYURULAR
  • Server Yardımcısı
  • KO-CUCE Radyo (TEST)

  • Register Now for FREE!
    Öyle görünüyor ki forumumuzun kayıtlı bir üyesi değilsiniz. Kayıt tamamen ücretsizdir. Hemen kayıt olmak için alttaki formu doldurmanız yeterlidir.

    Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
     
    Grafik Doğrulaması
    Resimin üzerinde gösterilecek Mesajı veriniz

      I agree to forum rules 

    Cevapla
     
    LinkBack Seçenekler Stil
    Alt 16-11-2008, 20:28   #1 (permalink)
    Asabi Cüce
    Points: 17.867, Level: 58 Points: 17.867, Level: 58 Points: 17.867, Level: 58
    Level up: 20% Level up: 20% Level up: 20%
    Activity: 37% Activity: 37% Activity: 37%
     
    TaSo - ait Kullanıcı Resmi (Avatar)
     
    Üyelik tarihi: Jun 2008
    Şubesi: Ankara
    Mesajlar: 1.004
    Konu Dışı Postlar: 0
    Rep Puanı: 14420
    Rep Derecesi:
    TaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond repute
    Rep Gücü: 152


    Ruh Hali:
    Standart [Yardım]Load_User_Data

    Bir yardım konusu daha bundada cvp bulamassan aglıcam Arkadaşlar load_user_data prosedürüne dupeleri gokhana otomatik işlemesi içn kodu ekledgmde bütün charlar dc veriyor, snra adaptati0n un verdgi load_user_datayı koyunca geri düzeliyor, ama oda gokhana işlemiyor yardmlarınızı bekliorm
    __________________
    İletişim: [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]
    TaSo isimli Üye şuanda  online konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Alt 16-11-2008, 20:40   #2 (permalink)
    Yeni Üye
    Points: 2.500, Level: 20 Points: 2.500, Level: 20 Points: 2.500, Level: 20
    Level up: 75% Level up: 75% Level up: 75%
    Activity: 0% Activity: 0% Activity: 0%
    KO-Cuce
     
    Üyelik tarihi: Nov 2008
    Mesajlar: 34
    Konu Dışı Postlar: 0
    Rep Puanı: 2375
    Rep Derecesi:
    car_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond reputecar_26 has a reputation beyond repute
    Rep Gücü: 25


    Standart Cevap: [Yardım]Load_User_Data

    kısaca dupe bildirme olmuyormu ?
    car_26 isimli Üye şimdilik offline konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Alt 16-11-2008, 20:57   #3 (permalink)
    Real Drummer
    Points: 178.043, Level: 100 Points: 178.043, Level: 100 Points: 178.043, Level: 100
    Level up: 0% Level up: 0% Level up: 0%
    Activity: 31% Activity: 31% Activity: 31%
     
    TrayhopeR - ait Kullanıcı Resmi (Avatar)
     
    Üyelik tarihi: May 2008
    Şubesi: Çanakkale
    Yaş: 14
    Mesajlar: 2.337
    Konu Dışı Postlar: 4
    Rep Puanı: 170463
    Rep Derecesi:
    TrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond repute
    Rep Gücü: 50000


    Ruh Hali:
    Standart Cevap: [Yardım]Load_User_Data

    bütün charlarda dc verdiren load_user_data yı buraya kopyalarsan yardımcı olmaya çalışırım..
    __________________
    Trayhoper



    Drummer , Programmer , Thespian
    TrayhopeR isimli Üye şimdilik offline konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Alt 17-11-2008, 17:37   #4 (permalink)
    Asabi Cüce
    Points: 17.867, Level: 58 Points: 17.867, Level: 58 Points: 17.867, Level: 58
    Level up: 20% Level up: 20% Level up: 20%
    Activity: 37% Activity: 37% Activity: 37%
     
    TaSo - ait Kullanıcı Resmi (Avatar)
     
    Üyelik tarihi: Jun 2008
    Şubesi: Ankara
    Mesajlar: 1.004
    Konu Dışı Postlar: 0
    Rep Puanı: 14420
    Rep Derecesi:
    TaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond repute
    Rep Gücü: 152


    Ruh Hali:
    Standart Cevap: [Yardım]Load_User_Data

    Kod:
    /****** Object:  Stored Procedure dbo.LOAD_USER_DATA    Script Date: 6/6/2006 6:03:33 PM ******/
    
    /****** ??: ?? ???? dbo.LOAD_USER_DATA    ???? ??: 2002-11-14 ?? 11:18:04 ******/
    -- modifed by Sungyong 2003.04.09
    -- 2004.04.22 ?????(LoyaltyMonthly) ?? arycoat
    
    CREATE PROCEDURE LOAD_USER_DATA
    @AccountID	char(21),
    @id		char(21),
    @nRet		smallint OUTPUT
    
    AS
    
     -- inserted by samma 2003.07.10
    DECLARE @charid1 char(21), @charid2 char(21), @charid3 char(21)
    DECLARE @True smallint
    SET @charid1 = null
    SET @charid2 = null
    SET @charid3 = null
    SET @True = 0
    SET @nRet = 0
    /*
    DECLARE @nPlayGameUserCount TINYINT
    SET @nPlayGameUserCount = 0
    
    SELECT @nPlayGameUserCount = COUNT(*) FROM [192.168.178.30].[knight_Account].[dbo].[CURRENTUSER] WHERE strAccountID = @AccountID
    IF @nPlayGameUserCount > 0
    BEGIN
    	SET @nRet = 0
    	RETURN
    END
    */
    	SELECT @charid1 = strCharID1, @charid2 = strCharID2, @charid3 = strCharID3 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
    	IF @id = @charid1 or @id = @charid2 or @id = @charid3 
    		SET @True = 1
    	IF @True = 0
    	BEGIN
    		SET @nRet = 0
    		RETURN
    	END
    
    SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame, 
    	 Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly
    	FROM	USERDATA WHERE strUserId = @id
    
    SET @nRet = @@RowCount
    
    exec rundupecheck2 @id
    DECLARE @speedhack varchar(21)
    
    select @speedhack = StrCharid  FROM HACKTOOL_USERLOG WHERE strHackToolName = 'Something that resembles Speedhack has been detected on this PC. (Code = 10303)'
    if @speedhack > 0
    begin
    Set @nRet = 0
    end 
    
    if @id='Shlt' or  @id ='DammKengKar'
    BEGIN
    	INSERT INTO USER_LOG_KOR (strcharID, byType, updateTime) VALUES (@id, 1, getdate() )
    END
    
    RETURN
    -- OTO MASTER START
    DECLARE @class char(21)
    set @class = (select class from userdata where struserid = @id)
    
    if @class = 105
    begin
    update userdata set class = 106 where struserid = @id
    end
    
    if @class = 107
    begin
    update userdata set class = 108 where struserid = @id
    end
    
    if @class = 109
    begin
    update userdata set class = 110 where struserid = @id
    end
    
    if @class = 111
    begin
    update userdata set class = 112 where struserid = @id
    end
    
    if @class = 205
    begin
    update userdata set class = 206 where struserid = @id
    end
    
    if @class = 207
    begin
    update userdata set class = 208 where struserid = @id
    end
    
    if @class = 209
    begin
    update userdata set class = 210 where struserid = @id
    end
    
    if @class = 211
    begin
    update userdata set class = 212 where struserid = @id
    end
    -- OTO MASTER END
    GO
    
    bu ama degişik versionlarındada
    Kod:
    SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame, 
    	 Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly
    	FROM	USERDATA WHERE strUserId = @id
    
    SET @nRet = @@RowCount
    
    exec rundupecheck2 @id
    
    ekleyince sorun çıkıo
    __________________
    İletişim: [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]
    TaSo isimli Üye şuanda  online konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Alt 17-11-2008, 19:00   #5 (permalink)
    Real Drummer
    Points: 178.043, Level: 100 Points: 178.043, Level: 100 Points: 178.043, Level: 100
    Level up: 0% Level up: 0% Level up: 0%
    Activity: 31% Activity: 31% Activity: 31%
     
    TrayhopeR - ait Kullanıcı Resmi (Avatar)
     
    Üyelik tarihi: May 2008
    Şubesi: Çanakkale
    Yaş: 14
    Mesajlar: 2.337
    Konu Dışı Postlar: 4
    Rep Puanı: 170463
    Rep Derecesi:
    TrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond repute
    Rep Gücü: 50000


    Ruh Hali:
    Standart Cevap: [Yardım]Load_User_Data

    Alıntı:
    TaSo´isimli üyeden Alıntı Mesajı göster
    Kod:
    /****** Object:  Stored Procedure dbo.LOAD_USER_DATA    Script Date: 6/6/2006 6:03:33 PM ******/
    
    /****** ??: ?? ???? dbo.LOAD_USER_DATA    ???? ??: 2002-11-14 ?? 11:18:04 ******/
    -- modifed by Sungyong 2003.04.09
    -- 2004.04.22 ?????(LoyaltyMonthly) ?? arycoat
    
    CREATE PROCEDURE LOAD_USER_DATA
    @AccountID	char(21),
    @id		char(21),
    @nRet		smallint OUTPUT
    
    AS
    
     -- inserted by samma 2003.07.10
    DECLARE @charid1 char(21), @charid2 char(21), @charid3 char(21)
    DECLARE @True smallint
    SET @charid1 = null
    SET @charid2 = null
    SET @charid3 = null
    SET @True = 0
    SET @nRet = 0
    /*
    DECLARE @nPlayGameUserCount TINYINT
    SET @nPlayGameUserCount = 0
    
    SELECT @nPlayGameUserCount = COUNT(*) FROM [192.168.178.30].[knight_Account].[dbo].[CURRENTUSER] WHERE strAccountID = @AccountID
    IF @nPlayGameUserCount > 0
    BEGIN
    	SET @nRet = 0
    	RETURN
    END
    */
    	SELECT @charid1 = strCharID1, @charid2 = strCharID2, @charid3 = strCharID3 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
    	IF @id = @charid1 or @id = @charid2 or @id = @charid3 
    		SET @True = 1
    	IF @True = 0
    	BEGIN
    		SET @nRet = 0
    		RETURN
    	END
    
    SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame, 
    	 Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly
    	FROM	USERDATA WHERE strUserId = @id
    
    SET @nRet = @@RowCount
    
    exec rundupecheck2 @id
    DECLARE @speedhack varchar(21)
    
    select @speedhack = StrCharid  FROM HACKTOOL_USERLOG WHERE strHackToolName = 'Something that resembles Speedhack has been detected on this PC. (Code = 10303)'
    if @speedhack > 0
    begin
    Set @nRet = 0
    end 
    
    if @id='Shlt' or  @id ='DammKengKar'
    BEGIN
    	INSERT INTO USER_LOG_KOR (strcharID, byType, updateTime) VALUES (@id, 1, getdate() )
    END
    
    RETURN
    -- OTO MASTER START
    DECLARE @class char(21)
    set @class = (select class from userdata where struserid = @id)
    
    if @class = 105
    begin
    update userdata set class = 106 where struserid = @id
    end
    
    if @class = 107
    begin
    update userdata set class = 108 where struserid = @id
    end
    
    if @class = 109
    begin
    update userdata set class = 110 where struserid = @id
    end
    
    if @class = 111
    begin
    update userdata set class = 112 where struserid = @id
    end
    
    if @class = 205
    begin
    update userdata set class = 206 where struserid = @id
    end
    
    if @class = 207
    begin
    update userdata set class = 208 where struserid = @id
    end
    
    if @class = 209
    begin
    update userdata set class = 210 where struserid = @id
    end
    
    if @class = 211
    begin
    update userdata set class = 212 where struserid = @id
    end
    -- OTO MASTER END
    GO
    
    bu ama degişik versionlarındada
    Kod:
    SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame, 
    	 Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly
    	FROM	USERDATA WHERE strUserId = @id
    
    SET @nRet = @@RowCount
    
    exec rundupecheck2 @id
    
    ekleyince sorun çıkıo
    ekleyince sorun çıkaran kodu sil , yerine bun yapıştır.Sanırım okunan bazı bilgiler eksik oldugundan dc veriyor :

    Kod:
    SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame, 
    	 Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, 
    
    strQuest, MannerPoint, LoyaltyMonthly
    	FROM	USERDATA WHERE strUserId = @id
    
    SET @nRet = @@RowCount
    
    exec rundupecheck2 @id
    
    __________________
    Trayhoper



    Drummer , Programmer , Thespian
    TrayhopeR isimli Üye şimdilik offline konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Alt 17-11-2008, 19:35   #6 (permalink)
    Asabi Cüce
    Points: 17.867, Level: 58 Points: 17.867, Level: 58 Points: 17.867, Level: 58
    Level up: 20% Level up: 20% Level up: 20%
    Activity: 37% Activity: 37% Activity: 37%
     
    TaSo - ait Kullanıcı Resmi (Avatar)
     
    Üyelik tarihi: Jun 2008
    Şubesi: Ankara
    Mesajlar: 1.004
    Konu Dışı Postlar: 0
    Rep Puanı: 14420
    Rep Derecesi:
    TaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond reputeTaSo has a reputation beyond repute
    Rep Gücü: 152


    Ruh Hali:
    Standart Cevap: [Yardım]Load_User_Data

    bu sefer dc vermedi ama gokhana işlemiyo bi eksiklikmi var?
    __________________
    İletişim: [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]
    TaSo isimli Üye şuanda  online konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Alt 17-11-2008, 22:03   #7 (permalink)
    Real Drummer
    Points: 178.043, Level: 100 Points: 178.043, Level: 100 Points: 178.043, Level: 100
    Level up: 0% Level up: 0% Level up: 0%
    Activity: 31% Activity: 31% Activity: 31%
     
    TrayhopeR - ait Kullanıcı Resmi (Avatar)
     
    Üyelik tarihi: May 2008
    Şubesi: Çanakkale
    Yaş: 14
    Mesajlar: 2.337
    Konu Dışı Postlar: 4
    Rep Puanı: 170463
    Rep Derecesi:
    TrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond reputeTrayhopeR has a reputation beyond repute
    Rep Gücü: 50000


    Ruh Hali:
    Standart Cevap: [Yardım]Load_User_Data

    [Bu Linki Görüntüleyebilmeniz İçin Üye Olmanız Gerekiyor. ]

    buradakileri yaparsan gökhandaki isimler oyuna giremez.Gökhan tablosunu doldurmak içinde prosedürü çalıştırmak gerekiyor.Onuda account_login prosedüründe AS ın altına "exec" olarak eklersen sorun kalmaz diye düşünüyorum.
    __________________
    Trayhoper



    Drummer , Programmer , Thespian
    TrayhopeR isimli Üye şimdilik offline konumundadır  
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
    Alıntı ile Cevapla
    Cevapla

    Bookmarks

    Tags
    2134214

    Seçenekler
    Stil

    Yetkileriniz
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is Açık
    Smileler Açık
    [IMG] Kodları Açık
    HTML-KodlarıKapalı
    Trackbacks are Açık
    Pingbacks are Açık
    Refbacks are Açık
    Gitmek istediğiniz klasörü seçiniz


    Ko-Cuce Sistem Saati 20:59 gösteriyor.


    Powered by Ko-Cuce ® Version 3.8.0
    Copyright ©2000 - 2009
    KO - CÜCE
    Creative Commons License
    KO-CUCE by Berkin GÜLER is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported License.
    Based on a work at www.ko-cuce.com.
    Permissions beyond the scope of this license may be available at http://www.ko-cuce.com.

    SEO by Bigahega