[QUEST] Hile Kullananları Görme Questi

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Arkadaşlar Bu İlk Questim Olucak O Yüzden Acemiliğim Olabilir Mazur Görün. Questin Amacı Hile Kullananlardan İlk 45 ini Listelemektir "20087" Questin Hangi NPC'de Çalışacağıdır. Buyrun Quest :
Kod:
quest hilekullanan begin     state start begin         when 20087.chat."GM:Hile Kullananlar" with pc.is_gm() begin             local hileliste = mysql_query10("SELECT * FROM log.hack_log WHERE hack_log.name NOT LIKE '[%]%' ORDER BY hack_log.login DESC, hack_log.ip DESC")             say_title("Hile Kullananlar Listesi : Ilk 45")             say(" Siralama 1. Isim: "..hileliste.name[1].."  Nedeni: "..hileliste.why[1].." ")             say(" Siralama 2. Isim: "..hileliste.name[2].."  Nedeni: "..hileliste.why[2].." ")             say(" Siralama 3. Isim: "..hileliste.name[3].."  Nedeni: "..hileliste.why[3].." ")             say(" Siralama 4. Isim: "..hileliste.name[4].."  Nedeni: "..hileliste.why[4].." ")             say(" Siralama 5. Isim: "..hileliste.name[5].."  Nedeni: "..hileliste.why[5].." ")             say(" Siralama 6. Isim: "..hileliste.name[6].."  Nedeni: "..hileliste.why[6].." ")             say(" Siralama 7. Isim: "..hileliste.name[7].."  Nedeni: "..hileliste.why[7].." ")             say(" Siralama 8. Isim: "..hileliste.name[8].."  Nedeni: "..hileliste.why[8].." ")             say(" Siralama 9. Isim: "..hileliste.name[9].."  Nedeni: "..hileliste.why[9].." ")             say(" Siralama 10. Isim: "..hileliste.name[10].."  Nedeni: "..hileliste.why[10].." ")             say(" Siralama 11. Isim: "..hileliste.name[11].."  Nedeni: "..hileliste.why[11].." ")             say(" Siralama 12. Isim: "..hileliste.name[12].."  Nedeni: "..hileliste.why[12].." ")             say(" Siralama 13. Isim: "..hileliste.name[13].."  Nedeni: "..hileliste.why[13].." ")             say(" Siralama 14. Isim: "..hileliste.name[14].."  Nedeni: "..hileliste.why[14].." ")             say(" Siralama 15. Isim: "..hileliste.name[15].."  Nedeni: "..hileliste.why[15].." ")             wait()             say(" Siralama 16. Isim: "..hileliste.name[16].."  Nedeni: "..hileliste.why[16].." ")             say(" Siralama 17. Isim: "..hileliste.name[17].."  Nedeni: "..hileliste.why[17].." ")             say(" Siralama 18. Isim: "..hileliste.name[18].."  Nedeni: "..hileliste.why[18].." ")             say(" Siralama 19. Isim: "..hileliste.name[19].."  Nedeni: "..hileliste.why[19].." ")             say(" Siralama 20. Isim: "..hileliste.name[20].."  Nedeni: "..hileliste.why[20].." ")             say(" Siralama 21. Isim: "..hileliste.name[21].."  Nedeni: "..hileliste.why[21].." ")             say(" Siralama 22. Isim: "..hileliste.name[22].."  Nedeni: "..hileliste.why[22].." ")             say(" Siralama 23. Isim: "..hileliste.name[23].."  Nedeni: "..hileliste.why[23].." ")             say(" Siralama 24. Isim: "..hileliste.name[24].."  Nedeni: "..hileliste.why[24].." ")             say(" Siralama 25. Isim: "..hileliste.name[25].."  Nedeni: "..hileliste.why[25].." ")             say(" Siralama 26. Isim: "..hileliste.name[26].."  Nedeni: "..hileliste.why[26].." ")             say(" Siralama 27. Isim: "..hileliste.name[27].."  Nedeni: "..hileliste.why[27].." ")             say(" Siralama 28. Isim: "..hileliste.name[28].."  Nedeni: "..hileliste.why[28].." ")             say(" Siralama 29. Isim: "..hileliste.name[29].."  Nedeni: "..hileliste.why[29].." ")             say(" Siralama 30. Isim: "..hileliste.name[30].."  Nedeni: "..hileliste.why[30].." ")             wait()             say(" Siralama 31. Isim: "..hileliste.name[31].."  Nedeni: "..hileliste.why[31].." ")             say(" Siralama 32. Isim: "..hileliste.name[32].."  Nedeni: "..hileliste.why[32].." ")             say(" Siralama 33. Isim: "..hileliste.name[33].."  Nedeni: "..hileliste.why[33].." ")             say(" Siralama 34. Isim: "..hileliste.name[34].."  Nedeni: "..hileliste.why[34].." ")             say(" Siralama 35. Isim: "..hileliste.name[35].."  Nedeni: "..hileliste.why[35].." ")             say(" Siralama 36. Isim: "..hileliste.name[36].."  Nedeni: "..hileliste.why[36].." ")             say(" Siralama 37. Isim: "..hileliste.name[37].."  Nedeni: "..hileliste.why[37].." ")             say(" Siralama 38. Isim: "..hileliste.name[38].."  Nedeni: "..hileliste.why[38].." ")             say(" Siralama 39. Isim: "..hileliste.name[39].."  Nedeni: "..hileliste.why[39].." ")             say(" Siralama 40. Isim: "..hileliste.name[40].."  Nedeni: "..hileliste.why[40].." ")             say(" Siralama 41. Isim: "..hileliste.name[41].."  Nedeni: "..hileliste.why[41].." ")             say(" Siralama 42. Isim: "..hileliste.name[42].."  Nedeni: "..hileliste.why[42].." ")             say(" Siralama 43. Isim: "..hileliste.name[43].."  Nedeni: "..hileliste.why[43].." ")             say(" Siralama 44. Isim: "..hileliste.name[44].."  Nedeni: "..hileliste.why[44].." ")             say(" Siralama 45. Isim: "..hileliste.name[45].."  Nedeni: "..hileliste.why[45].." ")         end     end end

Hile Kullananları Görme Questi

Metin2 oyununda hile kullanımı, sunucuların dengesini bozabilecek ciddi bir sorundur. Oyuncuların adil oyun deneyimi yaşamalarını sağlamak adına, bazı geliştiriciler hile kullanıcılarını tespit edebilen özel quest sistemleri geliştirir. Bu yazıda, Hile Kullananları Görme Questi adlı özel quest yapısının nasıl oluşturulacağına dair detaylara değineceğiz.

Quest Nedir?

Metin2'de quest, oyunculara belirli görevler vererek oyun içi etkileşimi artıran sistemlerdir. Quest sistemleri genellikle Lua diliyle yazılır ve özel davranışlar tetiklenebilir. Metin2 quest sistemleri, NPC'ler aracılığıyla başlatılır ve zamanlayıcılar, bayraklar, görev zincirleri gibi pek çok dinamik içerir.

Hile Tespiti İçin Quest Kullanımı

Hile kullanan oyuncuları tespit etmek için geliştiriciler bazı yöntemler kullanır. Bunlardan biri, özel bir quest yazarak hileli davranışları izlemektir. Örneğin, bir oyuncu anormal hızda veya anormalkasvetli bir şekilde seyahat ediyorsa, bu quest tarafından yakalanabilir. Quest, belirli olayları izleyerek bayrak atabilir ve sunucu yöneticilerine bildirim gönderebilir.

Questin Yapısı

Bir hile tespiti yapan quest, genellikle aşağıdaki yapıya sahiptir:
- Trigger sistemleri: Belirli eylemleri izler.
- Timer kullanımı: Süreklilik kontrolü sağlar.
- Flag kullanımı: Oyuncunun durumunu takip eder.
- Loglama: Şüpheli durumları kaydeder.
- NPC veya sistem mesajı: Yöneticiye uyarı gönderir.


Örnek Quest Kod Yapısı

Kod:
[BR][/BR]quest hile_tespiti begin[BR][/BR]    state start begin[BR][/BR]        when login or enter begin[BR][/BR]            say_title('Hile Tespiti Sistemi')[BR][/BR]            say('Sistem aktif, hileli hareketler izleniyor.')[BR][/BR]        end[BR][/BR][BR][/BR]        when move begin[BR][/BR]            local x, y = pc.get_x(), pc.get_y()[BR][/BR]            local last_pos = get_global('last_pos_'..pc.get_name()) or {x, y}[BR][/BR]            local dist = math.sqrt((x - last_pos[1])^2 + (y - last_pos[2])^2)[BR][/BR][BR][/BR]            if dist > 1000 then -- Anormal mesafe algılandı[BR][/BR]                cmd.send_gm_log('Hile_alert '..pc.get_name()..' moved '..dist..' distance')[BR][/BR]            end[BR][/BR][BR][/BR]            set_global('last_pos_'..pc.get_name(), {x, y})[BR][/BR]        end[BR][/BR]    end[BR][/BR]end[BR][/BR]


Yararlı Quest Komutları

Metin2 quest geliştirirken aşağıdaki komutlar oldukça faydalıdır:
- pc.get_x(), pc.get_y(): Oyuncunun konumunu alır.
- say(): Oyuncuya mesaj gösterir.
- cmd.send_gm_log(): Sunucuda log oluşturur.
- set_global(): Genel değişken atar.
- get_global(): Genel değişken okur.[/BR][/BR]Quest geliştirme sırasında hata ayıklama (debug) işlemleri de önemlidir. Geliştiriciler, questlerde oluşan sorunları çözmek için logları analiz ederler.


Güvenlik ve Yasallık

Hile tespiti yapan quest sistemleri, sunucu güvenliğini artırmak için kullanılmalıdır. Ancak, bu tür sistemlerin haksız yere oyunculara zarar vermemesi için dikkatli kodlanması gerekir. Yanlışlıkla normal oyuncuların hile kullandığını iddia etmek, oyun deneyimini bozabilir.

Sonuç

Metin2 quest geliştirme, hem eğlenceli hem de teknik bilgi gerektiren bir alandır. Hile Kullananları Görme Questi gibi özel sistemler, sunucu yöneticilerine büyük kolaylık sağlar. Ancak bu tür questlerin dikkatli planlanması ve test edilmesi gerekir. Metin2 lobby siteleri, bu tür gelişmiş quest örneklerini paylaşarak topluluk desteğini artırabilir.

Daha fazla quest örneği ve script bilgisi için Metin2 Lobby sitesini ziyaret edebilirsiniz.


Detecting Cheaters Quest

In the game Metin2, cheating is a serious issue that can disrupt the balance of servers. To ensure players have a fair gaming experience, some developers create special quest systems that detect cheaters. In this article, we will explore how to build a special quest called Detecting Cheaters Quest.

What is a Quest?

In Metin2, quests are systems that provide specific tasks to players, increasing in-game interaction. These quest systems are usually written in Lua and can trigger special behaviors. Metin2 quests are initiated through NPCs and may include timers, flags, chains, and many other dynamic elements.

Using Quests for Cheat Detection

To detect players who use cheats, developers employ various methods. One such method involves creating a custom quest that monitors abnormal player behavior. For example, if a player moves at an unusual speed or in an irregular pattern, the quest can catch this activity. The quest may set flags upon detecting suspicious actions and send alerts to server administrators.

Structure of the Quest

A cheat-detection quest typically includes:
- Trigger systems: Monitors specific actions.
- Timer usage: Provides continuous checks.
- Flag usage: Tracks the player's status.
- Logging: Records suspicious activities.
- NPC or system message: Sends alerts to administrators.


Sample Quest Code Structure

Kod:
[BR][/BR]quest cheat_detection begin[BR][/BR]    state start begin[BR][/BR]        when login or enter begin[BR][/BR]            say_title('Cheat Detection System')[BR][/BR]            say('System active, monitoring unusual movements.')[BR][/BR]        end[BR][/BR][BR][/BR]        when move begin[BR][/BR]            local x, y = pc.get_x(), pc.get_y()[BR][/BR]            local last_pos = get_global('last_pos_'..pc.get_name()) or {x, y}[BR][/BR]            local dist = math.sqrt((x - last_pos[1])^2 + (y - last_pos[2])^2)[BR][/BR][BR][/BR]            if dist > 1000 then -- Abnormal distance detected[BR][/BR]                cmd.send_gm_log('Cheat_alert '..pc.get_name()..' moved '..dist..' distance')[BR][/BR]            end[BR][/BR][BR][/BR]            set_global('last_pos_'..pc.get_name(), {x, y})[BR][/BR]        end[BR][/BR]    end[BR][/BR]end[BR][/BR]


Useful Quest Commands

When developing Metin2 quests, these commands are very helpful:
- pc.get_x(), pc.get_y(): Gets the player's location.
- say(): Displays a message to the player.
- cmd.send_gm_log(): Creates logs on the server.
- set_global(): Sets a global variable.
- get_global(): Reads a global variable.
Debugging processes are also important during quest development. Developers analyze logs to resolve issues in quests.


Security and Legality

Cheat detection quest systems should be used to enhance server security. However, care must be taken to avoid causing harm to innocent players. Incorrectly accusing regular players of cheating may ruin their gaming experience.

Conclusion

Developing Metin2 quests is both fun and technically challenging. Special systems like the Detecting Cheaters Quest provide great convenience to server administrators. However, such quests must be carefully planned and tested. Metin2 lobby websites can increase community support by sharing advanced quest examples and scripts.

For more quest examples and script information, visit Metin2 Lobby.
 

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

Benzer konular

Geri
Üst Alt