• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Member
Apr
Threads
1
95
1
8

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Hallo zusammen

Mein Discord ist: caanmasu

Ich bringe Ihnen mein zweites Quest-Tutorial, in dem Sie Ihre Quest-/Lua-Kenntnisse (und auch ein bisschen SQL) verbessern können, bis Sie ein echter Experte werden.

Hinweis: Im Link finden Sie das erste und zweite Tutorial (in spanischer und englischer Sprache).

Dieses Tutorial handelt von einem Infinity Dungeon.

Die Dynamik meiner Tutorials besteht darin, eine Aufgabe zu erstellen, bei der ich Punkt für Punkt zeige, wie ich es machen würde, und es im Detail erkläre.

Wenn Sie das Tutorial überspringen und nur die Quest verwenden möchten, können Sie dies gerne tun. Ich habe einen Ordner mit den zu installierenden Dateien hinterlassen.

Ich möchte darauf hinweisen, dass ich nur Code und keine Modelle zur Verfügung stelle. Ich verwende bereits vorhandene Modelle aus dem Spiel, insbesondere die Dämonenturm-Karte, Reaper als Boss, Hunde als zu zerstörende Monster usw. Du kannst den Dungeon mit den gewünschten Modellen verwenden und so das Benutzererlebnis verbessern. Der Dungeon ist anpassbar, du musst nur die Zahlen ändern.

Ich muss außerdem darauf hinweisen, dass der Dungeon nicht mit mehreren Spielern getestet wurde. Obwohl ich gute Tests mit mehreren meiner Charaktere durchgeführt habe, werden die besten Tests mit echten Spielern durchgeführt. Falls ihr Fehler findet, meldet sie bitte auf meinem Discord.

Ein weiterer wichtiger Hinweis: Wenn Sie das Tutorial nicht lesen, sollten Sie unbedingt zusätzliche Daten angeben, die Sie unbedingt benötigen. Gehen Sie zum Tutorial. Am Ende finden Sie einen Abschnitt mit dem Titel „Zusätzliche Daten“. Diesen können Sie nicht übersehen.

Der Inhalt dieses Tutorials ist wie folgt:

1. Zeigen Sie dem NPC eine Schaltfläche an
2. Zeigen Sie die NPC-Schaltfläche nur an, wenn wir uns auf der Karte außerhalb des Dungeons befinden.
3. Erstelle den ersten Dungeon-Sprung
4. Gruppenmodus erstellen
5. Fügen Sie einige Einschränkungen für den Eintritt hinzu
6. Erstellen Sie zwei Raummechaniken und führen Sie sie so aus, dass sie zufällig ausgewählt werden.
7. Nehmen Sie den Charakter aus dem Dungeon, wenn der Spieler stirbt.
8. Erstellen Sie das Ranking-Protokoll
9. Dungeon-Wiedereintritt hinzufügen
10. Ranking anzeigen
11. Fügen Sie eine Ankündigung hinzu, wenn jemand einen Bodenrekord bricht.
12. Zuschauermodus erstellen
13. Erhöhen Sie den Schwierigkeitsgrad für jede Etage
14. Protokolle hinzufügen
15. Belohnungen schaffen
16. Erstellen Sie 5 Dungeon-Mechaniken
17. Dynamisieren Sie die Basiskoordinaten
18. Verbleibende Zeit auf jeder Etage hinzufügen
19. Erleichtern Sie den Einstieg in GM-Charaktere
20. Texte in Variablen umwandeln

Einige Gifs:




















Anzahl der Codezeilen:

übersetzen.lua: 48
questlib.lua: 76
quest_infinity_dungeon.sql: 9
Infinity_Dungeon.Quest: 167
infinity_dungeon_lib.lua: 408
infinity_dungeon_mission_lib.lua: 287
infinity_dungeon_rewards.lua: 26

Gesamt: 1021 Zeilen


Wenn Ihnen die Absicht dieses Beitrags gefallen hat, können Sie mir mit einer Reaktion helfen, damit dieser Beitrag bekannter wird und mehr Besucher anlockt, sodass mehr Menschen Zugang zu dem Wissen über kostenlose Quests/Lua in der höchsten Qualität haben, die es je gab.

Einmal sagte mir ein Bekannter, es gäbe nicht genügend Quest-Dokumentation für Metin2, und ich stimmte ihm zu. Damals wusste ich zwar ein wenig über Quest/Lua, aber ich sagte mir: „Wissen sollte frei verfügbar sein, aber jemand sollte es bereitstellen, nicht für Profit.“ Und ich hatte nicht erwartet, dass ich das jemals tun würde. Ich wollte mit meinem Wissen nicht allein gelassen werden, sondern es mit allen teilen.

Zu meinen Kenntnissen über Quest/Lua:
Als ich Quest/Lua zum ersten Mal lernte, hatte ich bereits grundlegende Programmiererfahrung. Ich lernte Quest/Lua empirisch, indem ich mir die Quests anderer Leute, den LUA-Quellcode in C++ zu Funktionen und den binären Quellcode zu RAW-TEXT-Token ansah – in dieser Reihenfolge. Ich habe Tausende von Quests von Deutschen, Spaniern, Engländern, Rumänen, Türken und anderen Nationalitäten gesehen und überprüft. Ich habe auch Quests aller Schwierigkeitsgrade gesehen, die von anderen geschrieben wurden. Ich habe viele Quests für Kunden aller Nationalitäten und für alle möglichen Server erstellt.
Insgesamt habe ich über 10.000 Stunden in Quest/Lua-Programmierung investiert. Ich habe viel Zeit meines Lebens darauf verwendet. Ich bin jemand, der nicht bei dem bleibt, was er weiß, sondern sich weiterentwickeln möchte. Deshalb habe ich lange daran geforscht, wie ich die Qualität meines Codes verbessern kann. Bis heute setze ich diese Erfahrung in die Praxis um. Sie ist die wichtigste Säule meiner gesamten Programmierung: die Codequalität.
Ich habe viele Codestrukturen aus vielen Quests gelernt, bis ich meine eigene Struktur und auch meine eigenen Bibliotheken erstellt habe. Wenn Quest/Lua auf das beschränkt ist, was ich brauche, habe ich keine Schwierigkeiten, LUA-Funktionen in C++ zu ändern oder zu erstellen, da dies ebenfalls Teil von Quest ist.

Es gibt noch viel mehr dazu, aber ich denke, dieser Beitrag reicht aus.

An dem Tag, an dem ich gehe, wird dieses Wissen für immer (oder bis Metin2 vollständig stirbt) bestehen bleiben und dazu beitragen, das Spielerlebnis auf privaten Metin2-Servern zu verbessern. Ob es schlechte Server sind oder nicht, ist mir egal.

Wenn Sie Hilfe benötigen, können Sie mich kontaktieren. Mein Discord ist „caanmasu“.

Grüße an alle.

Download: [Versteckter Inhalt]
Thx
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Member
Sep
Threads
0
84
1
8
Hello everyone

My Discord is: caanmasu

I bring you my second quest tutorial where you can improve your quest/lua skills (a bit of SQL too) until you become a real expert.

Note: in the link is the first and second tutorial (Spanish and English language)

This tutorial is about an infinity Dungeon.

The dynamic of my tutorials is to make a quest where I show point by point how I would do it, and I explain it in detail.

If you want to skip the tutorial and just use the quest, you are free to do so, I left a folder with the files to install.

I must warn that I only provide code, not models. I use already existing models from the game, specifically, demon tower map, Reaper as boss, dogs as monsters to destroy, etc. You can use the dungeon with the models you want, this way you improve the user experience. The dungeon is customizable, you only have to change numbers.

I must also warn that the dungeon has not been tested with several players, although I did good tests with several of my characters, the best tests are done with real players. In case you find bugs, report them to my Discord.

Another important note, if you don't read the tutorial, there are additional data that you can't miss, they are really mandatory. You must go to the tutorial and at the end you will find a section called 'Additional data:'. Really, you can't miss it.

The content of this tutorial is as follows:

1. Show a button on the NPC
2. Show the NPC button only when we are in the map outside the dungeon.
3. Create the first dungeon jump
4. Create group mode
5. Add some restrictions for entry
6. Create two room mechanics and run them so that they are chosen randomly.
7. Take the character out of the dungeon when player die.
8. Create the ranking log
9. Add dungeon rejoin
10. Display the ranking
11. Add an announcement when someone breaks a floor record.
12. Create spectator mode
13. Increase the difficulty for each floor
14. Add logs
15. Create rewards
16. Create 5 dungeon mechanics
17. Dynamize the base coordinates
18. Add remaining time on each floor
19. Facilitate entry into GMs characters
20. Convert texts to variables

Some gifs:




















Number of lines of code:

translate.lua: 48
questlib.lua: 76
quest_infinity_dungeon.sql: 9
infinity_dungeon.quest: 167
infinity_dungeon_lib.lua: 408
infinity_dungeon_mission_lib.lua: 287
infinity_dungeon_rewards.lua: 26

Total: 1021 lines


If you liked the intention of this post you can help me with a reaction, so you can give more popularity to this post and make it more visited so that more people can access to the knowledge of free quest/lua of the highest quality ever seen.

Once an acquaintance told me that there was not enough quest documentation for Metin2 and I agreed with him. At that time I knew a little about quest/lua but I said to myself 'knowledge should be free but someone should provide it, not for profit' and I didn't expect that I was going to do it. I didn't want to be left alone with what I knew, I had the need to share it for everyone.

About my knowledge of quest/lua:
When I first learned quest/lua, I already had base experience of programming in general. I learned quest/lua empirically by watching other people's quest, the LUA source code in C++ about functions and the binary source code related to RAW TEXT tokens, in that order. I could say that I have seen and reviewed thousands of quests written by German, Spanish, English, Romanian, Turkish and other nationalities. I have also seen all levels of quests written by others. I have created many quests for clients, of all kinds of nationalities for all kinds of servers.
In total I have accumulated more than 10 thousand hours of quest/lua programming. I have dedicated a lot of time of my life to this. I am a person who does not stay with what he knows, but wants to extend himself more, so I researched for a long time how to improve the quality of my code and to this day I put it into practice and it is the most important pillar of all my programming: code quality.
I learned many code structures from many quest until I created my own structure and also my own libraries. When quest/lua is limited to what I need, I have no difficulty in modifying or creating LUA functions in C++ as this is also part of quest.

There is much more about this but I think it is enough in this post.

The day I leave, there will be forever (or until Metin2 dies completely) this knowledge that will be useful to improve the experience of players in Metin2 private servers. If they are shit server or not, I don't care.

If you need any help you can contact me. My Discord is 'caanmasu'.

Greetings to all.

Download: [Hidden content]
ty
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Member
Apr
Threads
0
11
0
1
Hello everyone

My Discord is: caanmasu

I bring you my second quest tutorial where you can improve your quest/lua skills (a bit of SQL too) until you become a real expert.

Note: in the link is the first and second tutorial (Spanish and English language)

This tutorial is about an infinity Dungeon.

The dynamic of my tutorials is to make a quest where I show point by point how I would do it, and I explain it in detail.

If you want to skip the tutorial and just use the quest, you are free to do so, I left a folder with the files to install.

I must warn that I only provide code, not models. I use already existing models from the game, specifically, demon tower map, Reaper as boss, dogs as monsters to destroy, etc. You can use the dungeon with the models you want, this way you improve the user experience. The dungeon is customizable, you only have to change numbers.

I must also warn that the dungeon has not been tested with several players, although I did good tests with several of my characters, the best tests are done with real players. In case you find bugs, report them to my Discord.

Another important note, if you don't read the tutorial, there are additional data that you can't miss, they are really mandatory. You must go to the tutorial and at the end you will find a section called 'Additional data:'. Really, you can't miss it.

The content of this tutorial is as follows:

1. Show a button on the NPC
2. Show the NPC button only when we are in the map outside the dungeon.
3. Create the first dungeon jump
4. Create group mode
5. Add some restrictions for entry
6. Create two room mechanics and run them so that they are chosen randomly.
7. Take the character out of the dungeon when player die.
8. Create the ranking log
9. Add dungeon rejoin
10. Display the ranking
11. Add an announcement when someone breaks a floor record.
12. Create spectator mode
13. Increase the difficulty for each floor
14. Add logs
15. Create rewards
16. Create 5 dungeon mechanics
17. Dynamize the base coordinates
18. Add remaining time on each floor
19. Facilitate entry into GMs characters
20. Convert texts to variables

Some gifs:




















Number of lines of code:

translate.lua: 48
questlib.lua: 76
quest_infinity_dungeon.sql: 9
infinity_dungeon.quest: 167
infinity_dungeon_lib.lua: 408
infinity_dungeon_mission_lib.lua: 287
infinity_dungeon_rewards.lua: 26

Total: 1021 lines


If you liked the intention of this post you can help me with a reaction, so you can give more popularity to this post and make it more visited so that more people can access to the knowledge of free quest/lua of the highest quality ever seen.

Once an acquaintance told me that there was not enough quest documentation for Metin2 and I agreed with him. At that time I knew a little about quest/lua but I said to myself 'knowledge should be free but someone should provide it, not for profit' and I didn't expect that I was going to do it. I didn't want to be left alone with what I knew, I had the need to share it for everyone.

About my knowledge of quest/lua:
When I first learned quest/lua, I already had base experience of programming in general. I learned quest/lua empirically by watching other people's quest, the LUA source code in C++ about functions and the binary source code related to RAW TEXT tokens, in that order. I could say that I have seen and reviewed thousands of quests written by German, Spanish, English, Romanian, Turkish and other nationalities. I have also seen all levels of quests written by others. I have created many quests for clients, of all kinds of nationalities for all kinds of servers.
In total I have accumulated more than 10 thousand hours of quest/lua programming. I have dedicated a lot of time of my life to this. I am a person who does not stay with what he knows, but wants to extend himself more, so I researched for a long time how to improve the quality of my code and to this day I put it into practice and it is the most important pillar of all my programming: code quality.
I learned many code structures from many quest until I created my own structure and also my own libraries. When quest/lua is limited to what I need, I have no difficulty in modifying or creating LUA functions in C++ as this is also part of quest.

There is much more about this but I think it is enough in this post.

The day I leave, there will be forever (or until Metin2 dies completely) this knowledge that will be useful to improve the experience of players in Metin2 private servers. If they are shit server or not, I don't care.

If you need any help you can contact me. My Discord is 'caanmasu'.

Greetings to all.

Download: [Hidden content]
Thx
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock