Jump to content
Araştır
  • Diğer seçenekler ...
Sonuçları bul ...
Sonuçları bul ...
Admin

Nero

Yönetici
  • İçerik sayısı

    306
  • Katılım

  • Son ziyaret

  • Günün Kazananı

    140
  • Puan

    976,976,463 [ Bağış Yap ]

İletiler : Nero


  1. eğer dosyalarda bir problem yoksa,
     

    select* from magic where enname like '%tower%'

     


    buradan bakıyoruz Type1, Type2 değerlerine,

    benim baktığım da type1 bölümünde 3 yazıyor yani

     

     

     

     

    select* from magic_type3 where inum = 300139

     



    bütün içerenleri listelecek olursak

     

     

     

     

    select* from magic_type3 where inum In(select magicnum from magic where enname like '%tower%')

     



    burada radius ve diğer değerler ile oynamak gerekiyor
    hiç hatırlamıyorum hangisi ne işe yarıyordu seneler oldu

     


  2.  

    Zamanında can sıkıntısına yapmıştım eski bir dil olsa da vb6 olanakları yüksek bir yazılım dili, yabancıların kaynak kodlarını internet üzerinden araştırırsanız aslında vb6 ile yapılabilecek çok şey var. hö

    @ Dawn bu projeyi geliştirmişti diye hatırlıyorum onun güncellediği halini bulamadım

    Veritabanınız ile uyum sağlamayabilir, zamanında ben hangi database üzerine bu projeyi hazırladım hatırlamıyorum.

    Resimler

     

    Spoiler

    HSQsnOwES8qpJOLuM21fbQ.png

    kHUzN2h_ThG9tyH_2CIZiA.png

    W5wuFA6bT4qhwBe3OzwD7w.png

     


    GameServer load içerisinde exit sub var ilk bir kaç tablo yüklendikten sonra diğerleri kullanılmadığı için yüklemiyor. Gözünüzden kaçmasın..

    Gerekli k_warpinfo güncellemesi

     

     

    Spoiler

     

    DROP TABLE K_WARPINFO
    CREATE TABLE [K_WARPINFO] (
    	[sWarpID] [smallint] NOT NULL ,
    	[strWarpName] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
    	[strAnnounce] [varchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
    	[sZone] [smallint] NOT NULL CONSTRAINT [DF_K_WARPINFO_sZone] DEFAULT (0),
    	[dwPay] [int] NOT NULL CONSTRAINT [DF_K_WARPINFO_dwPay] DEFAULT (0),
    	[sPosX] [smallint] NOT NULL CONSTRAINT [DF_K_WARPINFO_sPosX] DEFAULT (0),
    	[sPosZ] [smallint] NOT NULL CONSTRAINT [DF_K_WARPINFO_sPosZ] DEFAULT (0),
    	[sPosY] [smallint] NOT NULL CONSTRAINT [DF_K_WARPINFO_sPosY] DEFAULT (0),
    	[sLevel] [tinyint] NOT NULL CONSTRAINT [DF_K_WARPINFO_sLevel] DEFAULT (0)
    ) ON [PRIMARY]
    GO
    
    INSERT INTO [K_WARPINFO]  VALUES (111,'Bellua Village','You will be transported to Bellua Village, home of the rogues. Bellua Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (112,'Kalluga Valley Entrance','You will be transported to the mouth of the kalluga Valley. Referred to as the Valley of Lost Souls, the transport fee to the valley is 15,000 Noahs.',0,15000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (113,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (114,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. Transport fee is 1,000 Noahs.',21,1000,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (115,'Roan Camp','You will be transported to Roan Camp. The camp acts as an instrumental strategic territory in time of war. War outcome can be determined by the camps sharpshooters. Transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (116,'Eslant entrance','You will be transported to Eslant entrance. Players can advance to Eslant from the entrance. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (121,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (122,'Linart Village','You will be transported to Linart Village, a village of mages. Linart Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (123,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (124,'Lunar Valley','You will be teleported to the Lunar Valley Entrance. A war is waging in the valley. Players above Level 35 can engage in the battle. Only level 35-50 players can engage in the Dark Lunar Wars. The fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (125,'Roan Camp','You will be transported to Roan Camp. The camp acts as an instrumental strategic territory in time of war. War outcome can be determined by the camps sharpshooters. Transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (131,'Bellua Village','You will be transported to Bellua Village, home of the rogues. Bellua Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (132,'Kalluga Valley Entrance','You will be transported to the mouth of the kalluga Valley. Referred to as the Valley of Lost Souls, the transport fee to the valley is 15,000 Noahs.',0,15000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (133,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (134,'Lunar Valley','You will be teleported to the Lunar Valley Entrance. A war is waging in the valley. Players above Level 35 can engage in the battle. Only level 35-50 players can engage in the Dark Lunar Wars. The fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (135,'Roan Camp','You will be transported to Roan Camp. The camp acts as an instrumental strategic territory in time of war. War outcome can be determined by the camps sharpshooters. Transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (141,'Bellua Village','You will be transported to Bellua Village, home of the rogues. Bellua Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (142,'Linart Village','You will be transported to Linart Village, a village of mages. Linart Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (143,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (151,'Bellua Village','You will be transported to Bellua Village, home of the rogues. Bellua Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (152,'Linart Village','You will be transported to Linart Village, a village of mages. Linart Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (153,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (154,'Eslant','You will be transported to Eslant. A high-level player hunting grount suitable for players above Level 60, only players above Level 60 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,60);
    INSERT INTO [K_WARPINFO]  VALUES (162,'Linart Village','You will be transported to Linart Village, a village of mages. Linart Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (163,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (171,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (172,'Linart Village','You will be transported to Linart Village, a village of mages. Linart Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (173,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,10000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (174,'Bellua Village','You will be transported to Bellua Village, home of the rogues. Bellua Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (211,'Asga Village','You will be transported to Asga Village, home of the rogues. Asga Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',2,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (212,'Kalluga Valley Entrance','You will be transported to the mouth of the kalluga Valley. Referred to as the Valley of Lost Souls, the transport fee to the valley is 15,000 Noahs.',2,15000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (213,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',2,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (214,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. Transport fee is 1,000 Noahs.',21,1000,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (215,'Doda Camp','You will be transported to Doda Camp. The camp acts as an instrumental strategic territory in time of war. War outcome can be determined by the camps sharpshooters. Transport fee is 10,000 Noahs.',2,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (216,'Eslant entrance','You will be transported to Eslant entrance. Players can advance to Eslant from the entrance. The transport fee is 10,000 Noahs.',2,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (221,'El Morad Castle','You will be transported to El Morad Castle. Home of Pianna Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. There is no transport fee.',2,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (222,'Laiba Village','You will be transported to Laiba Village, a village of mages. Laiba Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (223,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (224,'Eslant entrance','You will be transported to Eslant entrance. Players can advance to Eslant from the entrance. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (225,'Doda Camp','You will be transported to Doda Camp. The camp acts as an instrumental strategic territory in time of war. War outcome can be determined by the camps sharpshooters. Transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (231,'Asga Village','You will be transported to Asga Village, home of the rogues. Asga Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (232,'Kalluga Valley Entrance','You will be transported to the mouth of the kalluga Valley. Referred to as the Valley of Lost Souls, the transport fee to the valley is 15,000 Noahs.',0,15000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (233,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (234,'Lunar Valley','You will be teleported to the Lunar Valley Entrance. A war is waging in the valley. Players above Level 35 can engage in the battle. Only level 35-50 players can engage in the Dark Lunar Wars. The fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (235,'Doda Camp','You will be transported to Doda Camp. The camp acts as an instrumental strategic territory in time of war. War outcome can be determined by the camps sharpshooters. Transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (241,'Asga Village','You will be transported to Asga Village, home of the rogues. Asga Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (242,'Laiba Village','You will be transported to Laiba Village, a village of mages. Laiba Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (243,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (251,'Asga Village','You will be transported to Asga Village, home of the rogues. Asga Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (252,'Laiba Village','You will be transported to Laiba Village, a village of mages. Laiba Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (253,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (254,'Eslant','You will be transported to Eslant. A high-level player hunting grount suitable for players above Level 60, only players above Level 60 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,60);
    INSERT INTO [K_WARPINFO]  VALUES (262,'Laiba Village','You will be transported to Laiba Village, a village of mages. Laiba Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (263,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (271,'El Morad Castle','You will be transported to El Morad Castle. Home of Pianna Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. There is no transport fee.',2,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (272,'Laiba Village','You will be transported to Laiba Village, a village of mages. Laiba Village vicinity is suitable for players at Level 45 and above. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (273,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 35 are allowed entry. Transport fee is 17,000 Noahs.',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (274,'Asga Village','You will be transported to Asga Village, home of the rogues. Asga Village vicinity is suitable for players at Level 35-45. The transport fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2111,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (2113,'Folk Village','You will be transported to Folk Village. A small village which is located in the middle of Moradon, and it is an important place for Moradon field travelers and which gives lots of facilities to the travelers. Relocating fee is 3,000 Noahs.',0,3000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2114,'Tale Village','You will be transported to Tale Village. A village which is located the eng of Rock Snake Canyon, and it is an important place for explorating canyon. Relocating fee is 3,000 Noahs.',0,3000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2115,'Delos','You will be transported to the Siege Zone. Transport fee is 17,000 Noahs.',0,17000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2117,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 60 are allowed entry. Transport fee 17,000 Noahs',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (2118,'Lunar Valley','You will be teleported to the Lunar Valley Entrance. A War is waging in the valley. Players above Level 35 can engage in the battle. Only level 30-50 players can engage in the Dark Lunar Wars. The fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2121,'El Morad Castle','You will be transported to El Morad Castle. Home of Pianna Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. Transport fee is 5,000 Noahs.',2,5000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (2123,'Folk Village','You will be transported to Folk Village. A small village which is located in the middle of Moradon, and it is an important place for Moradon field travelers and which gives lots of facilities to the travelers. Relocating fee is 3,000 Noahs.',0,3000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2124,'Tale Village','You will be transported to Tale Village. A village which is located the eng of Rock Snake Canyon, and it is an important place for explorating canyon. Relocating fee is 3,000 Noahs.',0,3000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2125,'Delos','You will be transported to the Siege Zone. Transport fee is 17,000 Noahs.',0,17000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (2127,'Ronark Land','You will be transported to Ronark Land where players can hunt or wage battle against players of opposing countries. Only players above Level 60 are allowed entry. Transport fee 17,000 Noahs',0,17000,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (2128,'Lunar Valley','You will be teleported to the Lunar Valley Entrance. A War is waging in the valley. Players above Level 35 can engage in the battle. Only level 30-50 players can engage in the Dark Lunar Wars. The fee is 10,000 Noahs.',0,10000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (3014,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. There is no transport fee.',21,0,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (3024,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. There is no transport fee.',21,0,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (3034,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. There is no transport fee.',21,0,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (3044,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. There is no transport fee.',21,0,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (3055,'Abyss dungeon','You will be transported to abyss dungeon. Abyss is an infinite underground prison with no stairway or doors leading up. Players can move to another floor only via the valuts located on each floor. The transport fee is 20,000 noahs.',0,20000,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (10111,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (10121,'El Morad Castle','You will be transported to El Morad Castle. Home of Pianna Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. There is no transport fee.',2,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (10211,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (10221,'El Morad Castle','You will be transported to El Morad Castle. Home of Pianna Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. There is no transport fee.',2,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (10311,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (10312,'Alseids Prairie','You will be transported to Alseids Prairie. Transport fee is 2,500 Noahs.',0,2500,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (10321,'Nereidth Island','You will be transported to Nereidth Island. Transport fee is 2,500 Noahs.',0,2500,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (10331,'El Morad Castle','You will be transported to El Morad Castle. Home of Pianna Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. There is no transport fee.',2,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (10332,'Alseids Prairie','You will be transported to Alseids Prairie. Transport fee is 2,500 Noahs.',0,2500,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (10341,'Nereidth Island','You will be transported to Nereidth Island. Transport fee is 2,500 Noahs.',0,2500,0,0,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (20111,'Luferson Castle','You will be transported to Luferson Castle. Home of Kooglins tombstone, it is a village of warriors and priests. Luferson Castle vicinity is suitable for players at Level 35. There is no transport fee.',1,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (20114,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. There is no transport fee.',21,0,815,515,0,0);
    INSERT INTO [K_WARPINFO]  VALUES (20121,'El Morad Castle','You will be transported to El Morad Castle. Home of Piana Knight Squad Tower, it is a village of warriors and priests. El Morad Castle vicinity is suitable for players at Level 35. There is no transport fee.',2,0,0,0,0,35);
    INSERT INTO [K_WARPINFO]  VALUES (20124,'Moradon','You will be transported to Moradon. Moradon is a free-trade zone in southern Adonis continent inhabited by fairies and dragons. Moradon region is suitable for players at Level 1-20. There is no transport fee.',21,0,815,515,0,0);

     



    hepsinin zoneid girilmiş değil orijinal tablodan karşılaştırarak alabilirsiniz

    Gerekli veritabanı güncellemesi

     

    Spoiler

     

    knights_cape tablosuna eklenecek
    nBuyLoyalty int
    byRanking tinyint
    knights tablosu güncelleme
    sCape = sCapeC olacak
    sCapeR
    sCapeG
    sCapeB
    
    magic tablosuna
    MagicNum2
    
    magic type1 tablosuna
    MagicNum
    
    magic type 6 tablosuna
    UseItem1 int
    UseItem2 int
    
     
    update knights_cape set nBuyLoyalty = 0, byRanking = 0;
    update knights set Gold = 0, sCapeR = 0, sCapeG = 0, sCapeB = 0; -- gold null olursa yüklenirken hata verir
    -- aslında bunları eklemek lazım ben tbl almıştım listeyi
    update magic set MagicNum2 = MagicNum;
    update magic_type1 set MagicNum = 0;
    update magic_type6 set UseItem1 = 0, UseItem2 = 0;
    
    TABLE [MAGIC_TYPE9] (
    	[nIndex] [int] NOT NULL ,
    	[strName] [char] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
    	[strNote] [char] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
    	[byValidGroup] [tinyint] NOT NULL ,
    	[byNationChange] [tinyint] NOT NULL ,
    	[shMonsterNum] [smallint] NOT NULL ,
    	[byTargetChange] [tinyint] NOT NULL ,
    	[byStateChange] [tinyint] NOT NULL ,
    	[byRadius] [smallint] NOT NULL ,
    	[shHitrate] [smallint] NOT NULL ,
    	[shDuration] [smallint] NOT NULL ,
    	[shDamage] [smallint] NOT NULL ,
    	[byVision] [smallint] NOT NULL ,
    	[nNeedItem] [int] NOT NULL 
    ) ON [PRIMARY]
    
    
    

     


    İçerik

    • LogInServer
    • GameServer


    Gizli İçerik

      Gizli içeriği görmek için bu konuya bir mesaj yazın.
    • Beğen 3

  3. Hatırladığım kadarı ile @ Dawn kendi hazırladığı halini paylaşmıştı fakat konu içeriği gizli olduğu için veremiyorum

    Item_Org

    (6)1 = Itemin Numarasi
    (2)2 = Hangi Item_Ext.tblde yer aliyor
    (7)3 = Itemin Adi nedir?
    (7)4 = Itemin Aciklamasi,Itemin En Altinda Yazicaktir *Maked By RoTRKO* gibi
    (6)5 = Herzman 0 olmalidir
    (2)6 = Herzman 0 olmalidir
    (6)7 = Icon icin verilmis olan numara (Bence item numarasini kisaltin Ornek 100010000 item numarasi bole ise sondan 1 sifir silin ve ekleyin)Icon icindir.
    (6)8 = Eger Giysi yada Silah ise Dis gorunusu nasil olucak.(Dxt Numarasi)
    (6)9 = Herzmn 0 olmalidir
    (6)10 = Her zmn 0 olmalidir
    (2)11 = DBdeki ITEM Tablosunda yer Alan “Kind” Yerin numarasi
    (2)12 = Her zmn 0 olmalidir
    (2)13 = DBdeki Item Tablosunda Yer alan “Slot” yerin numarasi
    (2)14 = Eger Item ise 0 olmalidir, Eger Scroll ise 20
    (2)15 = DBdeki Item Tablosunda Yer alan “Class” Yerin Numarasi
    (3)16 = Itemin Atagi DBden Alinmalidir.
    (3)17 = DBdeki Item TAblosunda yer alan “Delay” Yerin Numarasi
    (3)18 = DBdeki Item Tablosunda Yer Alan “Range” yerin Numarasi(Sadece Silahlar icin gecerlidir,silah degilse 0)
    (3)19 = Itemin Agirligi DBden Alinmalidir.(Item Tablosunda “Weight” yerin Numarasi.
    (3)20 = Itemin Rpr Suresi (Item Tablosunda “Duration” Yazan yerin numarasi.
    (5)21 = Itemin Satin alma Parasi (Eger NPCye fln eklerlerse Kac Coins Yazsin,Item Tablosunda “BuyPrice” YAzan yerin numarasi.)
    (5)22 = Itemi NPCye Satinca Kac Coin yazsin.(Item Tablosundaki “SellPrice” yazan yerin numarasi.)
    (3)23 = Itemin Verdigi Deffans(Item Tablosundaki “AC” Yazan yerin numarasi.)
    (2)24 = Item tablosundaki “Countable” Yazan yerin numarasi”
    (6)25 = Effect1 (Item dosyasindaki “Effect1″ yerin numarasi.)
    (6)26 = Effect2,(Item dosyasindaki “Effect2″ yerin numarasi)
    (1)27 = En az Istenilen Level (Item Tablosundaki “ReqLevel” Yerin numarasi.)
    (1)28 = En fazla Istenilen level(Item Tablosundaki “ReqLevelMax” yerin numarasi.)
    (2)29 = 0 Olmalidir. Petler icin 101 ile 103 Olarak Degismektedir.
    (2)30 = 0 Olmalidir.
    (2)31 = Istenilen Str Bonus Miktari.
    (2)32 = Istenilen HP Bonus Miktari.
    (2)33 = Istenilen Dex Bonus Miktari.
    (2)34 = Istenilen Int Bonus Miktari.
    (2)35 = Istenilen MagicPower Bonus Miktari.
    (2)36 = Npcde Satmak istiyorsaniz 201 ile 255 arasi olmadilir(istemiyorsaniz 0)
    (2)37 = Low class “1″ middle class “2″ High class “3″, (Upgrade Turu)

     


    Item_ext

     

     

    0 - UInt32 > dwID > Itemin Son 3 hanesi
    1 - String > szHeader > Itemin adı
    2 - UInt32 > a > Genelde boş olur ama itemin ana kodu yazar.
    3 - String > szRemark > Burası önemsiz genelde japonca veya korece karakterler ( orn : ±âº»¾÷10 )
    4 - UInt32 > dwt > Efekt kodu ( Fire , Glacier vs... )
    5 - UInt32 > a2 > Item Görüntü Kodu
    6 - UInt32 > a3 > Item Simge kodu
    7 - Byte > byMagicOrRare > Item türü ( 4 = Unique , 5 = Upgrade Item , 6 = Event Item vs... )
    8 - Int16 > siDamage > Atak Değeri
    9 - Int16 > siAttackIntervalPercentage > Genelde bu değer 100
    10 - Int16 > siHitRate > Attack Power % ( Örnek skeleton belt )
    11 - Int16 > siEvationRate > Dodge Rate % ( örnek elf belt )
    12 - Int16 > siMaxDurability > Max. Durability
    13 - Int16 > siPriceMultiply > Fiyat
    14 - Int16 > siDefense > Defans
    15 - Int16 > siDefenseRateDagger > Dagger Defans
    16 - Int16 > siDefenseRateSword > Sword Defans
    17 - Int16 > siDefenseRateBlow > Club Defans
    18 - Int16 > siDefenseRateAxe > Axe Defans
    19 - Int16 > siDefenseRateSpear > Spear Defans
    20 - Int16 > siDefenseRateArrow > Arrow Defans
    21 - Byte > byDamageFire > Fire Damage
    22 - Byte > byDamageIce > Glacier Damage
    23 - Byte > byDamageThuner > Lightning Damage
    24 - Byte > byDamagePoison > Poison Damage
    25 - Byte > byStillHP > Hp Recovery
    26 - Byte > byDamageMP > Mp Damage ( karşı tarafın manasını yer )
    27 - Byte > byStillMP > Mp Recovery
    28 - Byte > byReturnPhysicalDamage > Rebel Physical Damage
    29 - Byte > bySoulBind > Genelde 0 veya 1
    30 - Int16 > siBonusStr > Bonus Strengh (stat)
    31 - Int16 > siBonusSta > Bonus Health Bonus (stat)
    32 - Int16 > siBonusDex > Bonus Dexterity (stat)
    33 - Int16 > siBonusInt > Bonus Intelligence (stat)
    34 - Int16 > siBonusMagicAttak > Bonus Magic Power (stat)
    35 - Int16 > siBonusHP > Bonus HP
    36 - Int16 > siBonusMSP > Bonus MP
    37 - Int16 > siRegistFire > Fire Resist
    38 - Int16 > siRegistIce > Glacier Resist
    39 - Int16 > siRegistElec > Lightning Resist
    40 - Int16 > siRegistMagic > Magic Resist
    41 - Int16 > siRegistPoison > Poison Resist
    42 - Int16 > siRegistCurse > Curse Resist
    43 - UInt32 > dwEffectIDint > Genelde bu değer 0
    44 - UInt32 > dwEffectID2 int > Genelde bu değer 0
    45 - Int16 > siNeedLevel > Gerekli Level
    46 - Int16 > siNeedRank > Gerekli Rank
    47 - Int16 > siNeedTitle > Gerekli Title
    48 - Int16 > siNeedStrength > Gerekli STR (stat)
    49 - Int16 > siNeedStamina > Gerekli HP (stat)
    50 - Int16 > siNeedDexterity > Gerekli DEX (stat)
    51 - Int16 > siNeedInteli > Gerekli INT (stat)
    52 - Int16 > siNeedMagicAttack > Gerekli MP (stat)



    Kendisine forumunda para için adımı lekelediği halde kızgın olsam da,
    Hazırlayan ali, RoTRKO.


  4. Item_Org

     

    uInt32 - The Item's ID. Note that if the Item you want to add is an upgradeable item, you have to put it like xxxxxx000, because this Table is a basic table only.
    
    Byte 1 - The Item's Type. For example 0 => Dagger. 26 => Sword etc. NOTE: CLIENT SIDE! (Info for the EXT files)
    
    Byte 2 - The Item's Name.
    
    Byte 3 - The Item's Description. Note that if the Item you wanna add is upgradeable, the Description will count for ALL items that are based on this ID.
    
    Byte 4 - The Item's Group. Meaning: Set it to 1 if your desire Item should be Unique (else set it to 0).
    
    Byte 5 - This one I'm not sure of, and since I dont want to give wrong Info I will leave it.
    
    Byte 6 - Animation of the Item, links to the Item folder.
    
    Byte 7 - The Item's Icon.
    
    Byte 8 - An Additional Information to uInt32. Used for defining the item's +10 ID. So it's like xxxxxxByte 8
    
    Byte 9 - An Additional Information to uInt32. Used for defining the Item's +1 ID. So it's like xxxxxxByte 9
    
    Byte 10 - The Item's Type. Server Side! (You will find the column under: ItemKind in Database)
    
    Byte 11 - Im not sure, but from what I've found out it's 1 for all mage's pauldrons that need master quest.
    
    Byte 12 - This one I'm not sure of.
    
    Byte 13 - I don't have the slightest clue of this Column.
    
    Byte 14 - The Item's required Class, not sure though.
    
    Byte 15 - Item's Attack Power at +0. However, I'd strongly recommand setting this value to 0 because it multiplies with the EXT files.
    
    Byte 16 - Delay between each 'R' skill.
    
    Byte 17 - The basic Fire Damage at +0. But as I said you shouldn't use this value, but the EXT value.
    
    Byte 18 - The Item's weight.
    
    Byte 19 - The Item's basic Durability.
    
    Byte 20 - The Item's Purchasing Price at NPC.
    
    Byte 21 - The Item's Selling Price at NPC.
    
    Byte 22 - The Item's basic Defense.
    
    Byte 23 - Set it to 1 to make it Stackable. ( 0 to disable it)
    
    Byte 24 - The Item's Skill ID (Effect1 in Database.)
    
    Byte 25 - The Item's Effect. (Effect2 in Database.)
    
    Byte 26 - The Item's minimum level for using or equiping.
    
    Byte 27 - Not sure but I think the maximum level for using or equiping.
    
    Byte 28 - The Item's required Authority. (For example: 1 = King)
    
    Byte 29 - This one I'm not sure of.
    
    Byte 30 - Item's required Strength.
    
    Byte 31 - Item's required Health Points.
    
    Byte 32 - Item's required Dexterity.
    
    Byte 33 - Item's required Intelligence.
    
    Byte 34 - Item's Required Magic Power.
    
    Byte 35 - The Item's Selling Group. Has to match with Database to make it work properly.
    
    Byte 36 - This one I'm not sure of.



    Item_Org

     

    (6)1 = Not exactly sure what this is (something to do with first digits)
    
    (7)2 = Name of Item
    
    (6)3 = Number of item located at your Item_org_us.tbl
    
    (7)4 = Depends of item class.
    
    (6)5 = Elemental glow that item get since (+6).
    
    Example in (item_ext_30_us) hell breaker (4) is 12060 , here "12" refer into the ITEM kind.. and "060" to the color of the glow in this case (fire elemental)
    
    (6)6 = Not exactly sure what this is for , but I recommend to SET Value 0
    
    (6)7 = Not exactly sure what this is for , but I recommend to SET Value 0
    
    (2)8 = ItemType, value is located at your database table.
    
    (3)9 = % of probabilities that item get broke when u try to up it on anvil.
    
    (3)10 = 100% this value match directly with the column (3)9
    
    (3)11 = Something to do with rebith (prolly can find it out on deaths guide on rebith)
    
    (3)12 = EvasionRate of the item, value is located at your Database
    
    (3)13 = Duration of the item from 5000-9500
    
    (3)14 = Value 1
    
    (3)15 = AC(defense) that items carry (like rol : 50 ring of magic : 50 roc : 50)
    
    (3)16 = Dagger AC
    
    (3)17 = Sword AC
    
    (3)18 = Mace AC
    
    (3)19 = Axe AC
    
    (3)20 = Spear AC
    
    (3)21 = Arrow AC
    
    (2)22 = Flame Damage,weapon glows fire
    
    (2)23 = Glacier Damage, weapon glows ice
    
    (2)24 = Lighting Damage, weapon glows lighting
    
    (2)25 = Poison Damage, weapon glows poison
    
    (2)26 = HP Drain it should work like scorpion schyte HP absorve!
    
    (2)27 = MP Damage
    
    (2)28 = MP Drain
    
    (2)29 = Mirron Damage
    
    (2)30 = Since (+7) the item value change from 0 to 1
    
    (3)31 = Str bonus that the item gives
    
    (3)32 = Health bonus that the item gives
    
    (3)33 = Dextery bonus that the item gives
    
    (3)34 = Intelligence bonus that the item gives
    
    (3)35 = Magic Power bonus that the item gives
    
    (3)36 = Max HP Bonus, this value could be possitive or negative! (either "+100")
    
    (3)37 = Max MP Bonus, this value could be possitive or negative! (or "-100")
    
    (3)38 = Fire Resistance that the item gives
    
    (3)39 = Glacier Resistance that the item gives
    
    (3)40 = Lighting Resistance that the item gives
    
    (3)41 = Magic Resistance that the item gives
    
    (3)42 = Poison Resistance that the item gives
    
    (3)43 = Curse Resistance that the item gives
    
    (6)44 = EFFECT 1, match somewere in dbo.magic_tables
    
    (6)45 = EFFECT 2 , match somewere in dbo.magic_tables
    
    (3)46 = something to do with rebith (read more from death's guide)
    
    (3)47 = something to do with rebith (read more from death's guide)
    
    (3)48 = something to do with rebith (read more from death's guide)
    
    (3)49 = Str bonus requirement when item get upgraded, It starts with value 0 in (+1) and it ends with value 36 in (+10) it has arithmetic progression in 4
    
    (3)50 = Health bonus requirement when item get upgraded, It starts with value 0 in (+1) and it ends with value 36 in (+10) it has arithmetic progression in 4
    
    (3)51 = Dextery bonus requirement when item get upgraded, It starts with value 0 in (+1) and it ends with value 36 in (+10) it has arithmetic progression in 4
    
    (3)52 = Intelligence bonus requirement when item get upgraded, It starts with value 0 in (+1) a
    • Teşekkür 1

  5. Bu tarz kişilerin başkalarını dolandırmasını önlemek ve önüne geçmek amaçlı,
    böyle bir konu başlığı açtım.

    Bildiğiniz dolandırıcıları elinizdeki kanıtınız ile bu konu altında paylaşınız.


    TC NO / ADRES / BANKA HESABI VERMEK YASAKTIR. (T.C. ANAYASAYA AYKIRI CEZASI VAR)

    SADECE MAİL/SKYPE/AD-SOYAD VE VAR İSE KONUŞMA RESMİ PAYLAŞIN.


    LİSTE
    1. https://www.kodevelopers.com/dolandiricilar/511-dolandirici-doruk-sahin-turk.html
    2. https://www.kodevelopers.com/dolandiricilar/415-dolandirici-thejackal.html
    • Teşekkür 1

  6. Oyundaki üyelik isminizin ve şifrenizin Server tarafına paket halinde gönderilirken şifreleniyor.
    Aşağıdaki fonksiyon ile hem şifreyi çözebilir hem de geri şifreleyebilirsiniz.

    Gizli İçerik

      Gizli içeriği görmek için bu konuya bir mesaj yazın.
    • Beğen 1
    • Teşekkür 1

  7. ItemType

    Normal item = 0
    
    Magic item = 1
    Rare item = 2
    Craft item = 3
    Unique item = 4
    Upgrade item = 5
    Event item = 6
    Pet item = 7
    Cospre item = 8
    Minerva item = 9
    Rebirth upgrade item = 11
    Rebirth unique item = 12


    Kind
    120 = Arrow
    
    170 = Autoloot
    94 = Belt
    70 = Bow
    254 = Chaos Skill Item
    252 = Cosplay
    71 = Crossbow
    160 = Cypher Ring
    11 = Dagger
    91 = Earring
    151 = Familiar
    172 = Familiar Attack
    173 = Familiar Defense
    150 = Familiar Egg
    176 = Familiar Food
    174 = Familiar Loyality
    175 = Familiar Speciality Food
    63 = Fishing rod
    171 = Image Change Scroll
    140 = Jamadhar
    130 = Javelin
    62 = Long Spear
    95 = Lune Item
    230 = Magician Armor
    101 = Monster's Stone
    92 = Necklace
    31 = One-handed Axe
    41 = One-handed Club
    51 = One-handed Spear
    21 = One-handed Sword
    255 = PUS Item
    61 = Pickaxe
    240 = Priest Armor
    181 = Priest Mace
    0 = Rewards
    93 = Ring
    220 = Rogue Armor
    98 = Scroll
    250 = Seal & Heal Scroll
    253 = Sealed item
    60 = Shield
    110 = Staff
    97 = Sundries
    32 = Two-handed Axe
    42 = Two-handed Club
    52 = Two-handed Spear
    22 = Two-handed Sword
    210 = Warrior Armor
    12 = [JP] Dagger Set
    43 = [JP] One-handed Set
    152 = [US] Familiar
    • Teşekkür 4

  8. Spoiler

     

    -- Use CREATE PROCEDURE instead of ALTER PROCEDURE if you don't already have this procedure
    
    ALTER PROCEDURE [dbo].[UPDATE_WAREHOUSE_PW]
    
            @strAccountID varchar(21),
    
            @strWarehousePw varchar(20),
    
            @Money int,
    
            @dwTime int,
    
            @strWarehouseData varchar(1600),
    
            @strSerial varchar(1600)
    
    AS
    
    BEGIN
    
            DECLARE @FirstRun int
    
            SELECT @FirstRun = COUNT(*) FROM WAREHOUSE WHERE strAccountID = @strAccountID AND strWarehousePw IS NULL
    
    
    
            IF @FirstRun = 0
    
            BEGIN
    
                    SELECT @strWarehousePw = strWarehouseNo FROM TB_USER WHERE strAccountID = @strAccountID
    
      END         
    
    
    
      UPDATE WAREHOUSE SET strWarehousePw = @strWarehousePw, dwTime = @dwTime, nMoney = @Money, WareHouseData = @strWarehouseData, strSerial = @strSerial WHERE strAccountID = @strAccountID
    
    END
    
    
    
    ALTER  PROCEDURE [dbo].[UPDATE_WAREHOUSE]
    
            @accountid              varchar(21),
    
            @Money          int,
    
            @dwTime        int,
    
            @strItem                varchar(1600),
    
            @strSerial              varchar(1600)
    
    AS
    
    UPDATE  WAREHOUSE
    
    Set
    
            nMoney          = @Money,
    
            dwTime          = @dwTime,
    
            WarehouseData  = @strItem,
    
            strSerial              = @strSerial
    
    WHERE  strAccountID    = @accountid
    
    
    
    ALTER  PROCEDURE [dbo].[UPDATE_USER_DATA]
    
            @id            varchar(21),
    
            @Nation tinyint,
    
            @Race          tinyint,
    
            @Class          smallint,
    
            @HairColor      tinyint,
    
            @Rank          tinyint,
    
            @Title          tinyint,
    
            @Level          tinyint,
    
            @Exp            int,
    
            @Loyalty        int,
    
            @Face          tinyint,
    
            @City          tinyint,       
    
            @Knights        smallint,
    
            @Fame          tinyint,
    
            @Hp            smallint,
    
            @Mp            smallint,
    
            @Sp            smallint,
    
            @Str            tinyint,
    
            @Sta            tinyint,
    
            @Dex            tinyint,
    
            @Intel          tinyint,
    
            @Cha            tinyint,
    
            @Authority      tinyint,
    
            @Points        smallint,       -- @Points (and Points in USERDATA) need to be smallint
    
            @Gold          int,
    
            @Zone          tinyint,
    
            @Bind          smallint,
    
            @PX            int,
    
            @PZ            int,
    
            @PY            int,
    
            @dwTime int,
    
            @QuestTotal      smallint,
    
            @strSkill      varchar(20),
    
            @strItem        varchar(400),
    
            @strSerial      varchar(400),
    
            @strQuest      varchar(400),
    
            @MannerPoint  int,
    
            @LoyaltyMonthly int
    
    AS
    
    
    
    DECLARE @KnightsIndex smallint
    
    
    
    IF @Zone > 2            -- battle zone user
    
    BEGIN
    
            SELECT @KnightsIndex=Knights FROM USERDATA WHERE strUserId=@id
    
            IF @KnightsIndex = -1  -- expel user
    
            BEGIN
    
                    SET @Knights = 0
    
                    SET @Fame = 0
    
            END
    
    END
    
    
    
    UPDATE  USERDATA
    
    Set
    
            Nation          = @Nation,
    
            Race            = @Race,
    
            Class          = @Class,
    
            HairColor      = @HairColor,
    
            Rank            = @Rank,
    
            Title          = @Title,
    
            [Level]        = @Level,
    
            [Exp]          = @Exp,
    
            Loyalty        = @Loyalty,
    
            Face            = @Face,
    
            City            = @City,       
    
            Knights        = @Knights,
    
            Fame            = @Fame,
    
            Hp              = @Hp,
    
            Mp              = @Mp,
    
            Sp              = @Sp,
    
            Strong          = @Str,
    
            Sta            = @Sta,
    
            Dex            = @Dex,
    
            Intel          = @Intel,
    
            Cha            = @Cha,
    
            Authority      = @Authority,
    
            Points          = @Points,
    
            Gold            = @Gold,
    
            [Zone]          = @Zone,
    
            Bind            = @Bind,
    
            PX              = @PX,
    
            PZ              = @PZ,
    
            PY              = @PY,
    
            dwTime          = @dwTime,
    
            strSkill                = @strSkill,
    
            strItem        = @strItem,
    
            strSerial              = @strSerial,  -- 2002 11. 12
    
            sQuestCount    = @QuestTotal,  -- 2003.04.09
    
            strQuest                = @strQuest,    -- 2003.04.09
    
            MannerPoint    = @MannerPoint, -- 2004.01.30
    
            LoyaltyMonthly  = @LoyaltyMonthly,      -- 2004.04.22
    
            UpdateTime        = getdate()
    
    WHERE  strUserId      = @id

     

×
×
  • Yeni Oluştur...