Jump to content
  • 0

Custom Alt function


Question

Posted

Hi everyone.

In ragnarok client we have some alt functions like

Alt + E => Opening Inventory

Alt + S => Opening Skills

Alt + Q => Opening Equipment

and etc..

 

My questions are:

1. how can I make a custom Alt function. for example if I do Alt + D it will open a custom window.

2. how can I make the Alt + Q show the Equipment and the Stats together

Im using client 2016-12-28aRagexeRE.

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

Shortcut keys are processed in UIWindowMgr::ProcessPushButton. To locate it, look for a single reference to DefWindowProcA import to find the main window procedure, then follow the call in the WM_KEYUP, WM_KEYDOWN or WM_SYSKEYDOWN handlers.

Edited by Ai4rei
  • 0
Posted (edited)
16 hours ago, Ai4rei said:

Shortcut keys are processed in UIWindowMgr::ProcessPushButton. To locate it, look for a single reference to DefWindowProcA import to find the main window procedure, then follow the call in the WM_KEYUP, WM_KEYDOWN or WM_SYSKEYDOWN handlers.

@Ai4rei

Where can I find this file? is it from the src files? I was able to find it but I can figure it out how to create a custom alt function. Sorry for the noob question. Reason Im asking this because I have a custom window in mind that I would like to apply in my RO server.

Edited by neXus
  • 0
Posted

You need to edit the client executable to do this (keywords: reverse-engineering, hexing, assembler), same goes for creating a custom window.

  • 0
Posted
13 hours ago, Ai4rei said:

You need to edit the client executable to do this (keywords: reverse-engineering, hexing, assembler), same goes for creating a custom window.

@Ai4rei

How can I edit the client? What tool should I need to use? Sorry Im really new to this and I want to learn it to the best that I can.

  • 0
Posted

Hex-editor, debugger/disassembler, PDB browser; or something that combines all three; IDA, OllyDbg or WinDbg to name a few. Searching for the keywords, I gave you above, should give you enough information.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...