Jump to content

Recommended Posts

  • Active+ Member

Hello everyone,

Today I’m releasing an advanced UI Debugger System designed specifically for Metin2.
It allows you to inspect, debug, reposition, and analyze UI windows in real-time directly inside the client—no more guessing, printing positions, or injecting test code.

 

Key Features


    1. Toggleable Debug Mode (CTRL + D)

        Enable or disable the debugger instantly without restarting the client.

    2. Real-Time Window Highlighting

        When hovering a UI window:

        A colored outline is drawn around it

        The system displays its name, size, alignment, and relative position

        Helps identify hidden or nested UI windows

    3. Interactive Window Dragging

        Drag any UI window while the debugger is active:

        Left-click to select

        Move your mouse to reposition

        Release to save the new position

        Supports:

            Alignment modes (Left/Center/Right, Top/Center/Bottom)

            Parent/child structures

            Absolute windows with no parent

    4. Automatic Bounds Restriction

        Windows cannot leave their parent container or the screen, preventing UI from disappearing or becoming unreachable.

    5. Free Mode (SHIFT)

        Holding SHIFT temporarily removes boundaries.
        Perfect for:

        Debugging clipped UI

        Testing layouts

        Moving windows outside their parents
        The outline turns orange to indicate Free Mode.

    6. Alignment-Aware Dragging

        The system keeps the original alignment (L/C/R, T/C/B) and recalculates the correct relative position after movement.

    7. Position Persistence

        When a window is released:

        The new relative position is calculated

        Saved in memory

        Written into a log file upon client exit

    8. Export Modified Windows (CTRL + P)

        Press CTRL + P at any time to generate:

        ui_positions.txt

Example Output

 
========================================
UI Window Positions Log
========================================

Window: LoginBoard
Parent: LoginWindow
Position: X=1, Y=-9
Size: 600x550
Horizontal Align: 1
Vertical Align: 1
----------------------------------------

Window: Metin2_Board_Logo
Parent: Login_back
Position: X=89, Y=-95
Size: 380x186
Horizontal Align: 2
Vertical Align: 0
----------------------------------------

========================================
Total Windows Modified: 2
========================================

 

preview

 .gif

 

Update

 

Realtime Resize Added 💫

      • Scroll          -    Resize all
      • Scroll + z    -    Resize the y only
      • Scroll + x    -    Resize the x only

 

Note

       you should add your resizable classes to the WindowResizeConfig in UIDebugger.cpp

       

Spoiler
static const WindowResizeConfig configs[] = {
		{"Board",                RESIZE_POLICY_BOTH},
		{"BoardWithTitleBar",    RESIZE_POLICY_BOTH},
		{"ThinBoard",            RESIZE_POLICY_BOTH},
		{"ThinBoardCircle",      RESIZE_POLICY_BOTH},
		{"ThinBoardGold",        RESIZE_POLICY_BOTH},
		{"ThinBoarder",          RESIZE_POLICY_BOTH},
		{"ThinBoardLight",       RESIZE_POLICY_BOTH},
		{"RenderTarget",         RESIZE_POLICY_BOTH},
		{"TitleBar",             RESIZE_POLICY_WIDTH_ONLY},
		{"Bar",                  RESIZE_POLICY_BOTH},
	};

 

     

     i know it's hard coded but it's much more cleaner with restrictions

 

.gif

 

 

download

Spoiler

This is the hidden content, please

Metin2 Download

 

 

 

 

Edited by CONTROL
Update
  • Metin2 Dev 141
  • Eyes 4
  • Good 27
  • muscle 1
  • Love 7
  • Love 57

I don’t know — I think.

 

Discord

 

  • 2 weeks later...
On 12/7/2025 at 10:25 PM, 0xRayz said:

What Metin Fever Is:

  • Metin Fever is a recurring event  where players destroy Metin stones to receive a special scroll that summons unique Metins of the Test and their exclusive bosses.

Daily Mission :

  • Every day, each character receives the mission:
  • Destroy 5 Metin Stones within your level range
  • Only Metins within your level range count
  • After destroying all 5, you receive 1 × Challenge Scroll
  • You can complete the mission ONCE per day per character

Challenge Scroll:

  • Using the scroll:
  • Summons a special “Metin of the Test” (Metin I–X depending on level)
  • These Metins are weaker than normal ones
  • When destroyed, they ALWAYS summon a boss appropriate for your level

Chain Spawn Mechanic (Unique to Metin Fever):

  • After you defeat a boss, there is a chance that another Metin of the Test will appear nearby and If it appears:
  • It will be a stronger Test level
  • It will summon a stronger boss
  • You can continue this repeatedly
  • This chain can continue several times depending on luck.
  • YOHARA maps greatly increase the chance of chain spawns

Spawn Locations:

  • The scroll-summoned Metins can appear:
  • Anywhere on the map where you use the scroll
  • In all major continents including Yohara

 

The event is pretty simple, a quest and a quest function in c++.

 

Hidden Content

  • Give reaction to this post to see the hidden content.

 

 

If you find any bugs or have suggestions, let me know and I can update the code. I just wrote it and haven’t done much testing yet. And if anyone wants to talk trash about the code, I honestly don’t care.  I know this could be done cleaner (e.g. using tables, helper functions, etc.).  I just wrote it quickly for now and will refactor/improve it when I have more time.

Event can be activated using command

/e metin_fever_event 1

Event made using information from official wikis only; I didn’t watch any videos (too lazy). If you want anything changed to match the official version exactly, just let me know and I’ll fix it.

Note: You can take items used in quest from official from this Link (metin stones/and so)

 

On 12/5/2025 at 11:44 PM, CONTROL said:

Hello everyone,

Today I’m releasing an advanced UI Debugger System designed specifically for Metin2.
It allows you to inspect, debug, reposition, and analyze UI windows in real-time directly inside the client—no more guessing, printing positions, or injecting test code.

 

Key Features


    1. Toggleable Debug Mode (CTRL + D)

        Enable or disable the debugger instantly without restarting the client.

    2. Real-Time Window Highlighting

        When hovering a UI window:

        A colored outline is drawn around it

        The system displays its name, size, alignment, and relative position

        Helps identify hidden or nested UI windows

    3. Interactive Window Dragging

        Drag any UI window while the debugger is active:

        Left-click to select

        Move your mouse to reposition

        Release to save the new position

        Supports:

            Alignment modes (Left/Center/Right, Top/Center/Bottom)

            Parent/child structures

            Absolute windows with no parent

    4. Automatic Bounds Restriction

        Windows cannot leave their parent container or the screen, preventing UI from disappearing or becoming unreachable.

    5. Free Mode (SHIFT)

        Holding SHIFT temporarily removes boundaries.
        Perfect for:

        Debugging clipped UI

        Testing layouts

        Moving windows outside their parents
        The outline turns orange to indicate Free Mode.

    6. Alignment-Aware Dragging

        The system keeps the original alignment (L/C/R, T/C/B) and recalculates the correct relative position after movement.

    7. Position Persistence

        When a window is released:

        The new relative position is calculated

        Saved in memory

        Written into a log file upon client exit

    8. Export Modified Windows (CTRL + P)

        Press CTRL + P at any time to generate:

        ui_positions.txt

Example Output

 
========================================
UI Window Positions Log
========================================

Window: LoginBoard
Parent: LoginWindow
Position: X=1, Y=-9
Size: 600x550
Horizontal Align: 1
Vertical Align: 1
----------------------------------------

Window: Metin2_Board_Logo
Parent: Login_back
Position: X=89, Y=-95
Size: 380x186
Horizontal Align: 2
Vertical Align: 0
----------------------------------------

========================================
Total Windows Modified: 2
========================================

 

preview

 .gif

 

download

 

  Reveal hidden contents

This is the hidden content, please

 

 

tyyyyyyyyy

  • Love 1
  • 3 weeks later...
  • Active+ Member
21 hours ago, Erexo said:

@ CONTROL

It would be perfect if we could resize the window live ingame not just moving elements in 😄

topic + link is updated .. enjoy ! 🧑‍🍳

  • Love 4

I don’t know — I think.

 

Discord

 

  • Active+ Member
3 hours ago, CONTROL said:

topic + link is updated .. enjoy ! 🧑‍🍳

Amazing! This tool has helped me so much. Since you are out there giving updates, would it be possible to add or remove elements on the fly?

  • Active+ Member
15 hours ago, Froslass said:

Amazing! This tool has helped me so much. Since you are out there giving updates, would it be possible to add or remove elements on the fly?

hi, im glad it helped !

removing elements is easy but adding them ? how ? XD

im gussing you're thinking of a gui or smth ? 🤔

I don’t know — I think.

 

Discord

 

  • Active+ Member
8 hours ago, CONTROL said:

hi, im glad it helped !

removing elements is easy but adding them ? how ? XD

im gussing you're thinking of a gui or smth ? 🤔

Yeah it would need a gui or a console or something like that, although this would be a lot of work it would be insane to have a feature like that

  • 2 weeks later...
  • 3 months later...
  • Active+ Member
6 hours ago, Dovz said:

@ CONTROL 

This system keeps getting better 🔥
Any new updates or future ideas planned soon for the debugger?

The limit is the sky 😏
I still have a lot of ideas planned for this, but unfortunately my schedule is full right now.

I don’t know — I think.

 

Discord

 

7 hours ago, CONTROL said:

The limit is the sky 😏
I still have a lot of ideas planned for this, but unfortunately my schedule is full right now.

You can definitely add even more creativity to it, no doubt about that 😄
But I have a small suggestion regarding the exported file after modifications.

For example, it could read and save the actual file path/location correctly, instead of only giving the movement coordinates. That would make the system even more practical and easier to work with.

Just one idea of many — and I’m sure you already have plenty of awesome ideas planned 🔥

NOT

  • 1 month later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.