Matrix1536 strQuest düzenleme (Decode/Encode prosedürler, tablo vs.)

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

Admin

Knight Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
45,967
matrikisin yaptığı "v1.1 Görev editleyici" diye geçen bir editör.

programa koymus prosedürleri paylasmamak icin fakat ..



az üstünde ugrasmanız gerekecek full orjinal kodlar su an, işini gören olabilir.



Decode

Kod:
declare @nick varchar(21) declare @questcount int , @a int , @matrix varchar(400) , @ko tinyint  set @nick='nero' delete from ko_quests where nick=@nick  set @a=0 select @matrix=strquest,@questcount=squestcount from userdata where struserid=@nick set @questcount=@questcount*3 declare @berkin varchar(50) declare @mjsamet tinyint while @a<@questcount begin set @ko=cast(cast(substring(@matrix,@a+1,1) as varbinary(1)) as tinyint) set @mjsamet=cast(cast(substring(@matrix,@a+3,1) as varbinary(1)) as tinyint) select @berkin=Ad from quests where gorevno=@ko insert into ko_quests (nick,no,tamamlandimi,isim,sira) values (@nick,@ko,@mjsamet-1,@berkin,@a/3) set @a=@a+3 end



Encode

Kod:
declare @questcount int , @a int , @matrix varchar(400) , @ko tinyint , @nick varchar(21) set @a=0  set @nick='' set  @matrix='' select @questcount=count(*) from ko_quests where nick=@nick declare @mjsamet tinyint while @a<@questcount begin select @mjsamet=tamamlandimi , @ko=no from ko_quests where nick=@nick and sira=@a set @matrix=substring(@matrix,1,@a*3)+cast(cast(@ko as varbinary(1)) as varchar(1))+cast(cast(0 as varbinary(1)) as varchar(1))+cast(cast(@mjsamet+1 as varbinary(1)) as varchar(1)) set @a=@a+1 end update userdata set strquest=@matrix , squestcount=@a where struserid=@nick



Tablolar

Kod:
CREATE TABLE [ko_quests] ( [nick] [varchar] (21) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [no] [int] NULL , [tamamlandimi] [int] NULL , [isim] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [sira] [int] NULL  ) ON [PRIMARY] GO CREATE TABLE [quests] ( [gorevno] [tinyint] NULL , [Level] [tinyint] NULL , [Class] [tinyint] NULL , [Ad] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Aciklama] [varchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Malzemeler] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL  ) ON [PRIMARY] GO



Tablo içeriği

Konu link görüntülemek için konuya cevap yazmalısınız.


eklemeden yapamıcam cok berbat kodlanmıs hangi kafayla yazmıs acaba 😀
Matrix1536 strQuest Düzenleme Rehberi: Decode/Encode Prosedürleri ve Tablolar

Knight Online özel sunucularında geliştirme yaparken, quest sistemlerinde önemli bir rol oynayan strQuest dosyalarının doğru şekilde decode edilip encode edilmesi büyük önem taşır. Bu makalede, Matrix1536 formatında olan strQuest dosyasının nasıl düzenleneceği, hangi prosedürlerin izleneceği ve tabloların nasıl kullanılacağı detaylı bir şekilde ele alınmaktadır.

strQuest Nedir?
strQuest dosyası, Knight Online özel sunucularında görev sistemini yöneten temel dosyalardan biridir. Bu dosya, oyuncuların yapabileceği görevleri, görevlerin adlarını, açıklamalarını ve ödüllerini içerir. Matrix1536 formatı ise, bu dosyanın şifrelenmiş halini tanımlar ve doğru araçlarla decode edilmeden düzenlenemez.

Decode Prosedürü
strQuest dosyasını düzenlemek isteyen geliştiriciler, ilk olarak dosyayı decode etmelidir. Bunun için özel olarak geliştirilmiş araçlar kullanılır. Bu araçlar genellikle C++ tabanlıdır ve dosyanın binary yapısını okuyarak plaintext formatına çevirir. Decode işlemi sırasında dikkat edilmesi gereken en önemli konu, dosyanın orijinal yapısının bozulmamasıdır. Decode edilen dosya genellikle .txt veya .csv formatında dışa aktarılır.

Encode Prosedürü
Değişiklikler yapıldıktan sonra, strQuest dosyası tekrar encode edilmelidir. Encode işlemi, plaintext veriyi tekrar binary forma dönüştürerek dosyanın sunucuda çalışabilir hale gelmesini sağlar. Bu işlem sırasında hata yapılması durumunda, sunucuda quest sistemi düzgün çalışmayabilir. Bu nedenle encode işlemi, güvenilir araçlar ve dikkatle yapılmalıdır.

Tablolar ve Yapıları
strQuest dosyasında bulunan tablolar, quest ID, görev adı, görev açıklaması, görev tipi gibi bilgileri içerir. Her bir satır, bir görevi temsil eder ve bu satırlar doğru sırayla düzenlenmelidir. Tablolarda bulunan alanlar şunlardır:
- QuestID
- Name
- Description
- Type
- Reward
Bu alanlar, decode edildiğinde CSV formatında görüntülenebilir. Encode edilirken aynı yapı korunmalıdır.

Knight Lobby Üzerinden Geliştirme
Knight Lobby, özel sunucu geliştiricileri için birçok kaynak sunan bir platformdur. strQuest düzenleme gibi işlemlerde, kullanıcılar arasında paylaşılan araçlar ve örnek dosyalar sayesinde geliştirme süreci kolaylaştırılır. Matrix1536 formatındaki dosyalar için özel geliştirilmiş decode/encode araçları, Knight Lobby üzerinden erişilebilir.

Sonuç
strQuest dosyası, Knight Online özel sunucularında görev sistemlerinin merkezinde yer alır. Doğru şekilde decode ve encode edilmesi, sunucu deneyimini doğrudan etkiler. Bu nedenle geliştiricilerin, Matrix1536 formatında strQuest düzenleme konusunda dikkatli ve bilgili olması gerekir. Bu rehber, bu süreci daha anlaşılır hale getirmeyi amaçlamaktadır.


Matrix1536 strQuest Editing Guide: Decode/Encode Procedures and Tables

When developing Knight Online private servers, correctly decoding and encoding strQuest files, which play a key role in the quest system, is crucial. This article details how to edit strQuest files in Matrix1536 format, outlines the procedures to follow, and explains how to use tables.

What is strQuest?
The strQuest file is one of the core files managing the quest system in Knight Online private servers. It contains quests available to players, their names, descriptions, and rewards. The Matrix1536 format refers to its encrypted version, which cannot be edited without proper tools for decoding.

Decoding Procedure
Developers looking to edit the strQuest file must first decode it. Specialized tools are used for this purpose, often based on C++, reading the file's binary structure and converting it into plain text. The most important aspect during decoding is not to alter the original file structure. The decoded file is usually exported in .txt or .csv format.

Encoding Procedure
After making modifications, the strQuest file must be encoded again. Encoding converts the plaintext back into binary format so that the file can function properly on the server. If errors occur during encoding, the quest system may not operate correctly on the server. Therefore, encoding must be done carefully using reliable tools.

Tables and Their Structure
The tables within the strQuest file contain information such as quest IDs, names, descriptions, and types. Each row represents a single quest and must be arranged correctly. The fields found in these tables are:
- QuestID
- Name
- Description
- Type
- Reward
These fields appear in CSV format after decoding. The same structure must be preserved during encoding.

Development via Knight Lobby
Knight Lobby is a platform offering many resources for private server developers. Tools and sample files shared among users make the development process easier, especially for tasks like editing strQuest files. Specialized decode/encode tools for Matrix1536 formatted files are accessible through Knight Lobby.

Conclusion
The strQuest file lies at the heart of quest systems in Knight Online private servers. Correctly decoding and encoding it directly impacts the server experience. Therefore, developers must be careful and knowledgeable about strQuest editing in Matrix1536 format. This guide aims to make this process more understandable.
 

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

Geri
Üst Alt