************Merhaba arkadaslar bir kaç arkadaş isteği üzerine açtım konuyu arıstırınca hiçbiryerde bilgi olmadığını gördüm************
-------Normalde petlerin sabit olarak 1.5k veya 2k hp leri vardır kostumlerin ise hiçbir ozelligi yoktur---------
-------Bu konuda Bunları nasıl değistire bileceginizi oğretiyorum-----------
Bu sayede petinize orn 30 ort ekliye bilirsiniz bunun gibi degisik 3 tane ozellik ekliye bilirsiniz
bakıp işine yarayıp rep vermeyene haram olsun
yapamayanlar skyp : dogukana12
1 - HP
2 - sp
3 - HP [ statu]
4 - SP [ statu ]
5 - STR[ STATU]
6 - dex [statu]
7 - saldirı hızı
8 - hareket hızı
9 - büyü hızı
10 - hp üretim
11 - sp üretim
12 - zehirlenme
13 - sersemletme
14 - yavaşlatma
15 - krıtık
16 - del.ici vurus
17 - yari insanla karsı guc
18 - Hayvanlara karsı guclu
19 - ORKLARA Karsı guclu
20 - mistiklere karsı guc
21 - ölümsüzlere karsı
22 - seytanlara karsi
23 -hp hasar tarafından emilcek
24 - sp hasar tarafindan emilcek
25 - düşmanın sp calma sans
26 - Bilmiyorum ama gereksiz
27 - Bloklama
28 - oka dayanık
29 - k svnma
30 - cift el svnma
31 - bicak svnma
32 - can svnma
33 - yelpze vnma
34 - oka dayanık 28 ile ayni
35 - ateşe dayanık
36 - Simseğe dayan
37 - Buyu dayanıklı
38 - rugar dayanıklı
39 - yansıtma
40 - vucutdarbe blok
41 - zehire karsı koyma
42 - gereksiz bilmiom
43 - exp sansı
44 - 2 kat yang dusme sans
45 - 2 kat esya dusme sans
46 - gereksiz bilmiom
47 - hp uretim
48 - sersemlik bagıs
49 - yavaşlama bağis
50 - BUNU Söylemem k bakma
52 - ÖLSEMDE sölemem yeni bonus bunlar
53 - saldiri
54 - savunma
55 - büyülü saldiri
56 - büyü savunma
58 - Dolma suresi
59 - savasci güc+
60 - ninja " " +
61 - sura " " +
62 - saman " " +
63 - yaratıklara karsı
64 - saldiri hasari
65 - defans
66 - exp %
67 - drop sans gereksız [*]
68 - drop sans gereksiz [*]
71 - beceri hasar%
72 - Ortalma zarar%
73 - BECERI HASARA DAYANIK
74 - ortalama zarar a dayanık
76 - -----
77 - -----
78 - savasci ataği karsı savunma
79 - ninja " "
80 - sura " "
81 - saman " "
Metin2 oyununda petler ve kostümler, oyuncuların karakterlerini daha güçlü ve estetik hale getirmek için önemli unsurlardır. Ancak bu nesnelerin bazı özelliklerini doğrudan oyun içinden değiştirmek mümkün olmayabilir. Özellikle HP,攻击力 (saldırı), savunma gibi temel istatistikleri doğrudan pet veya kostüm üzerinde değiştirmek için genellikle sunucu tarafında yapılan veritabanı düzenlemeleri gerekir. Bu yazıda, Metin2 petlere ve kostümlere özel yetenekler kazandırmak, HP gibi özellikleri değiştirmek için nasıl SQL sorguları yazacağımızı anlatacağız.
Metin2 Pet ve Kostüm Özellikleri Hakkında Bilgi
Metin2 sunucularında pet ve kostüm sistemleri, genellikle özel NPC'ler veya eventler aracılığıyla aktive edilir. Bu sistemlerin temelinde, Metin2 veritabanında bulunan 'item_proto', 'player_item', 'mob_proto' gibi tablolar yer alır. Petler genellikle bir canavar prototipi (mob_proto) üzerinden çalışır ve bu nedenle onların davranışları ve istatistikleri doğrudan bu tablolardan alınır.
Petlere Özel Özellik Ekleme (HP, Saldırı, Savunma)
Bir petin sahip olduğu HP, saldırı ve savunma gibi değerler, genellikle 'mob_proto' tablosunda tanımlıdır. Bu tabloya doğrudan erişim sağlayarak, belirli bir petin özelliklerini düzenleyebilirsiniz. Örneğin, ID'si 10000 olan bir petin HP değerini artırmak istiyorsanız aşağıdaki gibi bir sorgu kullanabilirsiniz:
UPDATE mob_proto SET max_hp = 5000 WHERE vnum = 10000;
Bu sorgu, 10000 numaralı petin maksimum can değerini 5000 olarak ayarlar. Benzer şekilde saldırı ve savunma değerleri de değiştirilebilir:
UPDATE mob_proto SET attack_min = 300, attack_max = 400, defence = 150 WHERE vnum = 10000;[/EUR]
Kostümlerde Özellik Değiştirme
Kostümler ise farklı bir yapıya sahiptir. Kostümler, genellikle 'item_proto' tablosunda yer alan özel itemlardır. Bu itemlerin bonus efektleri, 'apply_type' ve 'apply_value' gibi alanlarla belirlenir. Örneğin bir kostümün HP bonusu vermesini istiyorsanız, bu alanı güncelleyerek istenen değeri atayabilirsiniz.
UPDATE item_proto SET applytype0 = 28, applyvalue0 = 200 WHERE vnum = 70001;
Bu örnekte, 70001 numaralı kostümün ilk bonus efekti HP artışı olarak ayarlanır ve miktarı 200 olarak belirlenir. Bu sayede kullanıcı bu kostümü giyerse 200 ekstra HP kazanır.
Veritabanı Düzenlemede Dikkat Edilmesi Gerekenler
Metin2 veritabanı değişiklikleri sırasında dikkat edilmesi gereken bazı önemli noktalar vardır. Herhangi bir sorgu çalıştırılmadan önce mutlaka veritabanının yedeklenmesi gerekir. Ayrıca sorgular doğrudan canlı sunucuda test edilmemeli, geliştirme ortamında denenmelidir. Yanlış bir değer girildiğinde sunucuda ciddi sorunlar meydana gelebilir.
SQL Sorgusu Örnekleri
Aşağıda pet ve kostüm özelliklerini düzenlemek için kullanılabilecek bazı örnek SQL sorguları verilmiştir:
- Belirli bir petin tüm istatistiklerini değiştirme:
UPDATE mob_proto SET max_hp = 10000, attack_min = 500, attack_max = 600, defence = 300 WHERE vnum = 10000;
- Kostüm için saldırı bonusu ekleme:
UPDATE item_proto SET applytype0 = 29, applyvalue0 = 50 WHERE vnum = 70002;
Sonuç
Metin2'de pet ve kostümlerin özelliklerini değiştirmek, sunucu deneyimini geliştirmek için etkili bir yöntemdir. Ancak bu işlemler doğrudan veritabanı düzeyinde yapıldığı için dikkatli ve bilinçli bir şekilde yapılmalıdır. Doğru SQL sorguları ile hem HP hem de saldırı ve savunma gibi diğer özellikler kolayca değiştirilebilir.
In the game Metin2, pets and costumes are important elements that make players' characters stronger and more aesthetic. However, changing some properties of these items directly from within the game may not be possible. Especially for stats like HP, attack, defense, etc., server-side database modifications are often required to change them directly on pets or costumes. In this article, we will explain how to write SQL queries to give special abilities to Metin2 pets and costumes, and modify attributes such as HP.
Information About Metin2 Pet and Costume Attributes
In Metin2 servers, pet and costume systems usually operate through specific NPCs or events. These systems are based on tables such as 'item_proto', 'player_item', and 'mob_proto' found in the Metin2 database. Pets typically function via monster prototypes (from 'mob_proto'), so their behavior and stats are taken directly from these tables.
Adding Custom Stats to Pets (HP, Attack, Defense)
The values such as HP, attack, and defense of a pet are usually defined in the 'mob_proto' table. By accessing this table directly, you can edit certain pet properties. For example, if you want to increase the HP value of a pet with ID 10000, you can use a query like the following:
UPDATE mob_proto SET max_hp = 5000 WHERE vnum = 10000;
This query sets the maximum HP of the pet with ID 10000 to 5000. Similarly, attack and defense values can also be modified:
UPDATE mob_proto SET attack_min = 300, attack_max = 400, defence = 150 WHERE vnum = 10000;
Modifying Attributes on Costumes
Costumes have a different structure. They are generally special items located in the 'item_proto' table. Their bonus effects are determined by fields such as 'apply_type' and 'apply_value'. For instance, if you want a costume to provide an HP bonus, you can assign the desired value by updating that field.
UPDATE item_proto SET applytype0 = 28, applyvalue0 = 200 WHERE vnum = 70001;
In this example, the first bonus effect of the costume with ID 70001 is set to HP increase and its amount is set to 200. Thus, when a user wears this costume, they gain an additional 200 HP.
Precautions When Editing Database
There are several important points to consider during Metin2 database modifications. Before running any query, the database must be backed up. Also, queries should not be tested directly on the live server but tested in a development environment. Entering an incorrect value can cause serious problems on the server.
Sample SQL Queries
Below are some sample SQL queries that can be used to modify pet and costume properties:
- Change all stats of a specific pet:
UPDATE mob_proto SET max_hp = 10000, attack_min = 500, attack_max = 600, defence = 300 WHERE vnum = 10000;
- Add attack bonus to a costume:
UPDATE item_proto SET applytype0 = 29, applyvalue0 = 50 WHERE vnum = 70002;
Conclusion
Modifying the attributes of pets and costumes in Metin2 is an effective way to enhance the server experience. However, since these operations are done directly at the database level, they must be performed carefully and consciously. With correct SQL queries, attributes such as HP, attack, and defense can be easily changed.
-------Normalde petlerin sabit olarak 1.5k veya 2k hp leri vardır kostumlerin ise hiçbir ozelligi yoktur---------
-------Bu konuda Bunları nasıl değistire bileceginizi oğretiyorum-----------
Bu sayede petinize orn 30 ort ekliye bilirsiniz bunun gibi degisik 3 tane ozellik ekliye bilirsiniz
bakıp işine yarayıp rep vermeyene haram olsun
yapamayanlar skyp : dogukana12
1 - HP
2 - sp
3 - HP [ statu]
4 - SP [ statu ]
5 - STR[ STATU]
6 - dex [statu]
7 - saldirı hızı
8 - hareket hızı
9 - büyü hızı
10 - hp üretim
11 - sp üretim
12 - zehirlenme
13 - sersemletme
14 - yavaşlatma
15 - krıtık
16 - del.ici vurus
17 - yari insanla karsı guc
18 - Hayvanlara karsı guclu
19 - ORKLARA Karsı guclu
20 - mistiklere karsı guc
21 - ölümsüzlere karsı
22 - seytanlara karsi
23 -hp hasar tarafından emilcek
24 - sp hasar tarafindan emilcek
25 - düşmanın sp calma sans
26 - Bilmiyorum ama gereksiz
27 - Bloklama
28 - oka dayanık
29 - k svnma
30 - cift el svnma
31 - bicak svnma
32 - can svnma
33 - yelpze vnma
34 - oka dayanık 28 ile ayni
35 - ateşe dayanık
36 - Simseğe dayan
37 - Buyu dayanıklı
38 - rugar dayanıklı
39 - yansıtma
40 - vucutdarbe blok
41 - zehire karsı koyma
42 - gereksiz bilmiom
43 - exp sansı
44 - 2 kat yang dusme sans
45 - 2 kat esya dusme sans
46 - gereksiz bilmiom
47 - hp uretim
48 - sersemlik bagıs
49 - yavaşlama bağis
50 - BUNU Söylemem k bakma
52 - ÖLSEMDE sölemem yeni bonus bunlar
53 - saldiri
54 - savunma
55 - büyülü saldiri
56 - büyü savunma
58 - Dolma suresi
59 - savasci güc+
60 - ninja " " +
61 - sura " " +
62 - saman " " +
63 - yaratıklara karsı
64 - saldiri hasari
65 - defans
66 - exp %
67 - drop sans gereksız [*]
68 - drop sans gereksiz [*]
71 - beceri hasar%
72 - Ortalma zarar%
73 - BECERI HASARA DAYANIK
74 - ortalama zarar a dayanık
76 - -----
77 - -----
78 - savasci ataği karsı savunma
79 - ninja " "
80 - sura " "
81 - saman " "
Metin2 oyununda petler ve kostümler, oyuncuların karakterlerini daha güçlü ve estetik hale getirmek için önemli unsurlardır. Ancak bu nesnelerin bazı özelliklerini doğrudan oyun içinden değiştirmek mümkün olmayabilir. Özellikle HP,攻击力 (saldırı), savunma gibi temel istatistikleri doğrudan pet veya kostüm üzerinde değiştirmek için genellikle sunucu tarafında yapılan veritabanı düzenlemeleri gerekir. Bu yazıda, Metin2 petlere ve kostümlere özel yetenekler kazandırmak, HP gibi özellikleri değiştirmek için nasıl SQL sorguları yazacağımızı anlatacağız.
Metin2 Pet ve Kostüm Özellikleri Hakkında Bilgi
Metin2 sunucularında pet ve kostüm sistemleri, genellikle özel NPC'ler veya eventler aracılığıyla aktive edilir. Bu sistemlerin temelinde, Metin2 veritabanında bulunan 'item_proto', 'player_item', 'mob_proto' gibi tablolar yer alır. Petler genellikle bir canavar prototipi (mob_proto) üzerinden çalışır ve bu nedenle onların davranışları ve istatistikleri doğrudan bu tablolardan alınır.
Petlere Özel Özellik Ekleme (HP, Saldırı, Savunma)
Bir petin sahip olduğu HP, saldırı ve savunma gibi değerler, genellikle 'mob_proto' tablosunda tanımlıdır. Bu tabloya doğrudan erişim sağlayarak, belirli bir petin özelliklerini düzenleyebilirsiniz. Örneğin, ID'si 10000 olan bir petin HP değerini artırmak istiyorsanız aşağıdaki gibi bir sorgu kullanabilirsiniz:
UPDATE mob_proto SET max_hp = 5000 WHERE vnum = 10000;
Bu sorgu, 10000 numaralı petin maksimum can değerini 5000 olarak ayarlar. Benzer şekilde saldırı ve savunma değerleri de değiştirilebilir:
UPDATE mob_proto SET attack_min = 300, attack_max = 400, defence = 150 WHERE vnum = 10000;[/EUR]
Kostümlerde Özellik Değiştirme
Kostümler ise farklı bir yapıya sahiptir. Kostümler, genellikle 'item_proto' tablosunda yer alan özel itemlardır. Bu itemlerin bonus efektleri, 'apply_type' ve 'apply_value' gibi alanlarla belirlenir. Örneğin bir kostümün HP bonusu vermesini istiyorsanız, bu alanı güncelleyerek istenen değeri atayabilirsiniz.
UPDATE item_proto SET applytype0 = 28, applyvalue0 = 200 WHERE vnum = 70001;
Bu örnekte, 70001 numaralı kostümün ilk bonus efekti HP artışı olarak ayarlanır ve miktarı 200 olarak belirlenir. Bu sayede kullanıcı bu kostümü giyerse 200 ekstra HP kazanır.
Veritabanı Düzenlemede Dikkat Edilmesi Gerekenler
Metin2 veritabanı değişiklikleri sırasında dikkat edilmesi gereken bazı önemli noktalar vardır. Herhangi bir sorgu çalıştırılmadan önce mutlaka veritabanının yedeklenmesi gerekir. Ayrıca sorgular doğrudan canlı sunucuda test edilmemeli, geliştirme ortamında denenmelidir. Yanlış bir değer girildiğinde sunucuda ciddi sorunlar meydana gelebilir.
SQL Sorgusu Örnekleri
Aşağıda pet ve kostüm özelliklerini düzenlemek için kullanılabilecek bazı örnek SQL sorguları verilmiştir:
- Belirli bir petin tüm istatistiklerini değiştirme:
UPDATE mob_proto SET max_hp = 10000, attack_min = 500, attack_max = 600, defence = 300 WHERE vnum = 10000;
- Kostüm için saldırı bonusu ekleme:
UPDATE item_proto SET applytype0 = 29, applyvalue0 = 50 WHERE vnum = 70002;
Sonuç
Metin2'de pet ve kostümlerin özelliklerini değiştirmek, sunucu deneyimini geliştirmek için etkili bir yöntemdir. Ancak bu işlemler doğrudan veritabanı düzeyinde yapıldığı için dikkatli ve bilinçli bir şekilde yapılmalıdır. Doğru SQL sorguları ile hem HP hem de saldırı ve savunma gibi diğer özellikler kolayca değiştirilebilir.
In the game Metin2, pets and costumes are important elements that make players' characters stronger and more aesthetic. However, changing some properties of these items directly from within the game may not be possible. Especially for stats like HP, attack, defense, etc., server-side database modifications are often required to change them directly on pets or costumes. In this article, we will explain how to write SQL queries to give special abilities to Metin2 pets and costumes, and modify attributes such as HP.
Information About Metin2 Pet and Costume Attributes
In Metin2 servers, pet and costume systems usually operate through specific NPCs or events. These systems are based on tables such as 'item_proto', 'player_item', and 'mob_proto' found in the Metin2 database. Pets typically function via monster prototypes (from 'mob_proto'), so their behavior and stats are taken directly from these tables.
Adding Custom Stats to Pets (HP, Attack, Defense)
The values such as HP, attack, and defense of a pet are usually defined in the 'mob_proto' table. By accessing this table directly, you can edit certain pet properties. For example, if you want to increase the HP value of a pet with ID 10000, you can use a query like the following:
UPDATE mob_proto SET max_hp = 5000 WHERE vnum = 10000;
This query sets the maximum HP of the pet with ID 10000 to 5000. Similarly, attack and defense values can also be modified:
UPDATE mob_proto SET attack_min = 300, attack_max = 400, defence = 150 WHERE vnum = 10000;
Modifying Attributes on Costumes
Costumes have a different structure. They are generally special items located in the 'item_proto' table. Their bonus effects are determined by fields such as 'apply_type' and 'apply_value'. For instance, if you want a costume to provide an HP bonus, you can assign the desired value by updating that field.
UPDATE item_proto SET applytype0 = 28, applyvalue0 = 200 WHERE vnum = 70001;
In this example, the first bonus effect of the costume with ID 70001 is set to HP increase and its amount is set to 200. Thus, when a user wears this costume, they gain an additional 200 HP.
Precautions When Editing Database
There are several important points to consider during Metin2 database modifications. Before running any query, the database must be backed up. Also, queries should not be tested directly on the live server but tested in a development environment. Entering an incorrect value can cause serious problems on the server.
Sample SQL Queries
Below are some sample SQL queries that can be used to modify pet and costume properties:
- Change all stats of a specific pet:
UPDATE mob_proto SET max_hp = 10000, attack_min = 500, attack_max = 600, defence = 300 WHERE vnum = 10000;
- Add attack bonus to a costume:
UPDATE item_proto SET applytype0 = 29, applyvalue0 = 50 WHERE vnum = 70002;
Conclusion
Modifying the attributes of pets and costumes in Metin2 is an effective way to enhance the server experience. However, since these operations are done directly at the database level, they must be performed carefully and consciously. With correct SQL queries, attributes such as HP, attack, and defense can be easily changed.
