DB'nize Sorunsuz Chaos Stone Ekleyin.

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 94

Admin

Knight Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
45,967
[HIDE-POSTS=50]
Verdiğim kodlar ACME & SOACS içindir dengesiz dengesiz yorumlar atmayın diğer filesler için verecek varsa konuya eklesin kelime yapmasın !​





chaos_stone.jpg





Kod:
DELETE FROM K_NPC WHERE sSid = 24000 DELETE FROM K_NPC WHERE sSid = 24002 DELETE FROM K_NPC WHERE sSid = 24003 INSERT INTO K_NPC (sSid, strName, sPid, sSize, iWeapon1, iWeapon2, byGroup, byActType, byType, byFamily, byRank, byTitle, iSellingGroup, sLevel, iExp, iLoyalty,iHpPoint, sMpPoint, sAtk, sAc, sHitRate, sEvadeRate, sDamage, sAttackDelay, bySpeed1, bySpeed2, sStandtime, iMagic1, iMagic2, iMagic3, sFireR, sColdR, sLightningR, sMagicR, sDiseaseR, sPoisonR, sLightR, sBulk, byAttackRange, bySearchRange, byTracingRange, iMoney, sItem, byDirectAttack, byMagicAttack, byMoneyType) VALUES (24000,'Ronark Land Base Monument',14005,120,0,0,3,0,156,1,1,1,0,80,0,0,250000,0,0,2500,124,124,0,1000,0,0,1000,0,0,0,250,250,250,250,250,250,250,100,5,5,5,32000,32578,0,0,0) INSERT INTO K_NPC (sSid, strName, sPid, sSize, iWeapon1, iWeapon2, byGroup, byActType, byType, byFamily, byRank, byTitle, iSellingGroup, sLevel, iExp, iLoyalty,iHpPoint, sMpPoint, sAtk, sAc, sHitRate, sEvadeRate, sDamage, sAttackDelay, bySpeed1, bySpeed2, sStandtime, iMagic1, iMagic2, iMagic3, sFireR, sColdR, sLightningR, sMagicR, sDiseaseR, sPoisonR, sLightR, sBulk, byAttackRange, bySearchRange, byTracingRange, iMoney, sItem, byDirectAttack, byMagicAttack, byMoneyType) VALUES (24002,'Colony Zone Monument',14005,120,0,0,3,0,156,1,1,1,0,80,0,0,500000,0,0,5000,124,124,0,1000,0,0,1000,0,0,0,250,250,250,250,250,250,250,100,5,5,5,32000,32578,0,0,0) INSERT INTO K_NPC (sSid, strName, sPid, sSize, iWeapon1, iWeapon2, byGroup, byActType, byType, byFamily, byRank, byTitle, iSellingGroup, sLevel, iExp, iLoyalty,iHpPoint, sMpPoint, sAtk, sAc, sHitRate, sEvadeRate, sDamage, sAttackDelay, bySpeed1, bySpeed2, sStandtime, iMagic1, iMagic2, iMagic3, sFireR, sColdR, sLightningR, sMagicR, sDiseaseR, sPoisonR, sLightR, sBulk, byAttackRange, bySearchRange, byTracingRange, iMoney, sItem, byDirectAttack, byMagicAttack, byMoneyType) VALUES (24003,'Ardream Monument',14005,120,0,0,3,0,156,1,1,1,0,80,0,0,100000,0,0,1000,124,124,0,1000,0,0,1000,0,0,0,250,250,250,250,250,250,250,100,5,5,5,32000,32578,0,0,0) DELETE FROM K_NPCPOS WHERE NpcID = 24000 DELETE FROM K_NPCPOS WHERE NpcID = 24002 DELETE FROM K_NPCPOS WHERE NpcID = 24003 INSERT INTO K_NPCPOS (ZoneID, NpcID, ActType, RegenType, DungeonFamily, SpecialType, TrapNumber, LeftX, TopZ, RightX, BottomZ, LimitMinZ, LimitMinX, LimitMaxX,LimitMaxZ, NumNPC, RegTime, byDirection, DotCnt, path) VALUES (201,24002,137,0,0,0,0,1014,1012,1014,1012,1014,1012,1014,1012,1,900,0,0,NULL) INSERT INTO K_NPCPOS (ZoneID, NpcID, ActType, RegenType, DungeonFamily, SpecialType, TrapNumber, LeftX, TopZ, RightX, BottomZ, LimitMinZ, LimitMinX, LimitMaxX,LimitMaxZ, NumNPC, RegTime, byDirection, DotCnt, path) VALUES (202,24003,137,0,0,0,0,525,526,525,526,525,526,525,526,1,900,0,0,NULL) INSERT INTO K_NPCPOS (ZoneID, NpcID, ActType, RegenType, DungeonFamily, SpecialType, TrapNumber, LeftX, TopZ, RightX, BottomZ, LimitMinZ, LimitMinX, LimitMaxX,LimitMaxZ, NumNPC, RegTime, byDirection, DotCnt, path) VALUES (203,24000,137,0,0,0,0,509,509,509,509,509,509,509,509,1,900,0,0,NULL) DROP TABLE PREMIUM_SERVICE CREATE TABLE [dbo].[PREMIUM_SERVICE]( [strAccountID] [varchar](27) NOT NULL, [strType] [smallint] NOT NULL, [nDays] [smallint] NOT NULL, [PremStart] [smalldatetime] NOT NULL ) ON [PRIMARY] GO SET ANSI_PADDING ON GO ALTER TABLE [dbo].[PREMIUM_SERVICE] ADD  CONSTRAINT [DF_PREMIUM_SERVICE_PremStart]  DEFAULT (getdate()) FOR [PremStart] GO ---Chaos Stone--- delete from k_npc where ssid = 24001 delete from k_npcpos where npcid = 24001 delete from k_monster where ssid >= 1987 and ssid <= 2000 insert into [K_NPC] values ('24001','Chaos Stone','14001','120','0','0','3','0','156','1','1','1','0','80','0','0','250000','0','0','2500','124','124','0','1000','0','0','1000','0','0','0','250','250','250','250','250','250','250','100','5','5','5','32000','32578','0','0','0'); insert into [K_NPCPOS] values ('201','24001','137','0','0','0','0','1016','1057','1016','1057','1016','1057','1016','1057','1','28800','0','0','NULL'); insert into [K_MONSTER] values ('1987','[Javana]','1300','120','130450180','0','0','6','0','6','0','0','0','90','1','0','92344','15727','0','1296','299','745','3788','1200','2','8','5000','1315','0','0','0','500','500','500','500','500','500','500','300','5','10','60','32000','0','0','0'); insert into [K_MONSTER] values ('1988','[Samma]','1300','500','130450180','0','0','5','0','13','0','0','0','90','1406250','0','104370','15727','0','1296','299','745','4149','2000','2','8','5000','1315','0','0','0','500','500','500','500','500','500','500','300','5','10','60','32000','0','0','0'); insert into [K_MONSTER] values ('1989','[Barrkk]','600','160','0','0','0','6','0','6','0','0','0','55','1406250','0','29155','4864','0','792','96','239','998','1200','5','8','5000','607','0','0','0','500','500','500','500','500','500','500','165','5','10','60','32000','0','0','0'); insert into [K_MONSTER] values ('1990','[Duke]','1200','120','0','0','0','6','0','12','0','0','0','55','1406250','0','29155','4864','0','594','96','239','832','1000','2','8','5000','1215','300111','0','0','500','500','500','500','500','500','500','150','25','15','60','32000','1','2','0'); insert into [K_MONSTER] values ('1991','[Bishop]','1200','120','0','0','0','6','0','12','0','0','0','60','1406250','0','36300','5938','0','648','117','290','1045','1000','2','8','5000','1206','300112','0','0','500','500','500','500','500','500','500','175','25','15','60','32000','1','2','0'); insert into [K_MONSTER] values ('1992','[Bach]','1200','120','0','0','0','6','0','12','0','0','0','65','1406250','0','44520','7155','0','702','140','347','1291','1000','2','8','5000','1207','300113','0','0','500','500','500','500','500','500','500','200','25','15','60','32000','1','2','0'); insert into [K_MONSTER] values ('1993','[Lobo]','506','180','190250000','0','0','5','0','5','0','0','0','45','1406250','0','17790','3115','0','972','63','155','483','1000','5','7','5000','506','0','0','0','500','500','500','500','500','500','500','175','5','5','60','32000','0','0','0'); insert into [K_MONSTER] values ('1994','[Lupus]','506','180','140450000','0','0','5','0','5','0','0','0','50','1406250','0','23010','3927','0','1080','78','194','650','1000','5','7','7000','507','0','0','0','500','500','500','500','500','500','500','175','5','5','60','32000','0','0','0'); insert into [K_MONSTER] values ('1995','[Lycaon]','506','180','140650000','0','0','5','0','5','0','0','0','55','1406250','0','29155','4864','0','1188','96','239','832','1000','5','7','10000','508','0','0','0','500','500','500','500','500','500','500','200','5','5','60','32000','0','0','0'); insert into [K_MONSTER] values ('1996','[Attila]','1400','100','0','0','0','5','3','14','0','0','0','85','1406250','0','89650','13651','1','1224','261','649','2129','2000','2','9','5000','1400','300104','300105','0','500','500','500','500','500','500','500','300','30','10','60','32000','2','5','0'); insert into [K_MONSTER] values ('1997','[Barkirra]','600','130','0','0','0','6','0','6','0','0','0','60','1406250','0','36300','5938','0','864','117','290','1254','1200','5','8','5000','608','0','0','0','500','500','500','500','500','500','500','165','5','10','60','1320','0','0','0'); insert into [K_MONSTER] values ('1998','[Acer]','1400','80','0','0','0','1','3','14','0','0','0','85','1406250','100','89650','13651','0','1224','261','649','2129','2000','2','9','5000','1401','300104','300105','0','500','500','500','500','500','500','500','200','30','10','45','32000','2','5','0'); insert into [K_MONSTER] values ('1999','[Shaula]','907','500','0','0','0','5','0','9','0','0','0','75','1406250','0','64485','10060','0','1080','194','483','1263','1000','2','9','10000','914','300101','0','0','500','500','500','500','500','500','500','100','5','10','60','32000','0','2','0'); insert into [K_MONSTER] values ('2000','[Lesath]','907','500','0','0','0','5','0','9','0','0','0','75','1406250','0','64485','10060','0','1080','194','483','1263','1000','2','9','10000','908','300101','0','0','500','500','500','500','500','500','500','100','5','10','60','32000','0','2','0');
[/HIDE-POSTS]
DB'nize Sorunsuz Chaos Stone Ekleyin
Knight Online özel sunucularında oyun içi ekonomi ve oyuncu deneyimi üzerinde büyük etkisi olan Chaos Stone gibi değerli eşyaların doğru şekilde veritabanına entegrasyonu oldukça önemlidir. Özellikle KO geliştiricileri, sunucularında Chaos Stone gibi nadir ve değerli eşyaları oyunculara sorunsuz bir şekilde sunabilmek için doğru adımlar atmalıdır. Bu makalede, veritabanınıza (DB) nasıl sorunsuz bir şekilde Chaos Stone ekleyebileceğinizi detaylı olarak anlatacağız.

Chaos Stone Nedir?
Chaos Stone, Knight Online oyununda özellikle PvP ve raid içeriklerinde büyük rol oynayan kritik bir eşyadır. Genellikle zırh ve silah yükseltmelerinde kullanılır. Bu nedenle hem geliştiriciler hem de oyuncular için büyük öneme sahiptir. Sunucunuzda Chaos Stone eşyasının eksik olması, oyuncu memnuniyetini doğrudan etkileyebilir.

Veritabanı Eşya Listesi
Knight Online özel sunucularında, eşyalar genellikle item.bin dosyasında tanımlanır. Ancak bazı durumlarda bu eşyalar doğrudan veritabanına da eklenmelidir. Özellikle drop sistemlerinde ya da özel mağaza içeriklerinde Chaos Stone kullanılacaksa, bu eşyanın DB üzerinde doğru tanımlanması gerekir.

Chaos Stone Ekleme Adımları
Öncelikle, Chaos Stone'un ID numarasını belirlememiz gerekir. Bu numara, item.bin dosyasındaki ID ile uyumlu olmalıdır. Eğer ID çakışması olursa, sunucuda hatalar meydana gelebilir. Bu nedenle item.bin dosyasını kontrol ederek, henüz kullanılmamış bir ID seçilmelidir.

SQL Komutları ile DB'ye Ekleme
Aşağıdaki örnek SQL komutları ile DB'nize Chaos Stone'u ekleyebilirsiniz:

INSERT INTO ItemTable (ItemID, Name, Type, Subtype, Weight, Price, Level, Desc) VALUES (12345, 'Chaos Stone', 10, 1, 1, 1000000, 1, 'Ruh taşının gücünü barındıran mistik bir taştır.');

Hata Almamak İçin Dikkat Edilmesi Gerekenler
- item.bin ve DB arasındaki ID uyumu mutlaka sağlanmalıdır.
- Eşya sınıfı (Type ve Subtype) doğru girilmelidir.
- Chaos Stone'un fiyat ve seviye ayarları sunucu dengesi için dikkatlice yapılmalıdır.

Test Aşaması[/BR][/BR]Chaos Stone DB'ye eklendikten sonra, test sunucusu üzerinden eşyanın görünür ve kullanılabilir olduğundan emin olunmalıdır. Oyuncuların eşyayı doğru şekilde alıp kullanabildiği kontrol edilmelidir. Eğer bir hata varsa, log dosyaları incelenerek hatanın kaynağı bulunabilir.

Knight Lobby ile Entegrasyon
Knight Lobby, KO özel sunucu geliştiricileri için önemli bir platformdur. Bu tür teknik içerikleri doğru şekilde uygulamak, sunucularınızın daha profesyonel ve kaliteli görünmesini sağlar. Chaos Stone gibi eşyaların doğru entegrasyonu, oyuncuların sunucunuza olan güvenini artırır.

Sonuç
Chaos Stone gibi kritik eşyaların DB'ye doğru eklenmesi, KO özel sunucularında istikrarlı ve dengeli bir oyun deneyimi sunmak için şarttır. Bu işlem sırasında dikkatli hareket edilmesi, hem teknik hataları önlemeye hem de oyuncu memnuniyetini artırmaya yardımcı olacaktır. Knight Lobby olarak, tüm KO geliştiricilerine başarılar dileriz!


Add Chaos Stone to Your Database Smoothly
In Knight Online private servers, valuable items like Chaos Stone have a significant impact on the in-game economy and player experience. KO developers must take the correct steps to properly integrate such rare and valuable items into their databases. In this article, we will explain in detail how you can seamlessly add Chaos Stone to your database (DB).

What is Chaos Stone?
Chaos Stone is a critical item in Knight Online that plays a major role in PvP and raid content. It is commonly used for armor and weapon upgrades. For this reason, it is highly important for both developers and players. The absence of Chaos Stone from your server can directly affect player satisfaction.

Database Item Lists
In Knight Online private servers, items are usually defined in the item.bin file. However, in some cases, these items must also be added directly to the database. Especially if Chaos Stone is going to be used in drop systems or special shop contents, it needs to be correctly defined in the database.

Steps to Add Chaos Stone
Firstly, you need to determine the ID number of Chaos Stone. This number must be compatible with the ID in the item.bin file. If there is an ID conflict, errors may occur on the server. Therefore, the item.bin file should be checked, and an unused ID should be selected.

Adding to DB via SQL Commands
You can use the following sample SQL commands to add Chaos Stone to your database:

INSERT INTO ItemTable (ItemID, Name, Type, Subtype, Weight, Price, Level, Desc) VALUES (12345, 'Chaos Stone', 10, 1, 1, 1000000, 1, 'A mystical stone containing the power of the soul stone.');

Things to Consider to Avoid Errors[/BR][/BR]- The ID compatibility between item.bin and the database must be ensured.
- Item class (Type and Subtype) must be entered correctly.
- The price and level settings of Chaos Stone should be carefully adjusted for server balance.

Testing Phase
After Chaos Stone is added to the database, ensure that it appears and functions correctly on a test server. Confirm that players can acquire and use the item without issues. If any errors occur, log files can be examined to identify the source of the error.

Integration with Knight Lobby
Knight Lobby is an essential platform for KO private server developers. Implementing such technical content correctly helps make your servers appear more professional and high-quality. Correct integration of items like Chaos Stone increases player trust in your server.

Conclusion
Correctly adding critical items like Chaos Stone to the database is essential for providing a stable and balanced gaming experience in KO private servers. Proceeding carefully during this process not only prevents technical errors but also enhances player satisfaction. Knight Lobby wishes all KO developers success!
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Geri
Üst Alt