Jump to content

Ai4rei

Members
  • Posts

    425
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Ai4rei

  1. Updated to 1.10.0, with the following changes:

    • Added support for ActionType 4, Run As Client (suggested by @Guih). Allows to run different clients with custom buttons, such as RAG+SAK.
    • Added support for ActionType 5, Minimize (suggested by @rakuzas).
    • Added support for saving password in addition to the username (suggested by @Lady Raga). This works only on Windows XP and newer (Credential Manager*). You have to configure ConfigID and CheckSavePassword settings to enable it.
    • Removed 'Replay' button. The custom buttons provide all functionality to replicate it.

    * If you use the credential manager control panel (Windows Vista and newer) to change the password, the associated username will get lost, thus the credential will no longer be recognized. Also note, that the password is available to any application that requests it through the API.

    rocred-wincred.png

    • Upvote 1
  2. Updated to 2.12.0, adds support for new in-game commands.

    New translation bits:

    IDCHECKBOX_BTG,                 "Turns the battle grounds icon on and off.\n\nIngame: /btg"
    IDCHECKBOX_CASHSHOP,            "Turns the cash shop icon on and off.\n\nIngame: /cashshop"
    IDCHECKBOX_GOLDPC,              "Turns the PC Bang gold mining UI on and off.\n\nIngame: /goldpc"
    IDCHECKBOX_ROULETTE,            "Turns the roulette icon on and off.\n\nIngame: /roulette"
    IDCHECKBOX_QUAKE,               "Turns screen shaking effect on and off.\n\nIngame: /quake"

    Updated translation bits:

    IDCHECKBOX_AURA,                "Turns aura effect simplification on and off.\nThis effect is displayed when you attain maximum base level for your job.\n\nIngame: /aura"

     

    • Upvote 1
  3. 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.

  4. @hakuren: Since all of these, except the edit control, are bitmap-buttons where the size is taken from the bitmap and the offending code is not inlined, the following patch attempts to move the controls outside the visible area of the window. I cannot test this myself, so you will have to see for yourself what it does. There is no problem with the edit control, as that one can be zero-sized directly.

    F:6A5968B100000068F5000000E8ECDB010068D90A0000E892701C0083C4048BCE50684819AC006A6368B100000068F6000000E8C6DB0100685819AC00686419AC00688400000068BD00000068660100008BCEE8A6DB0100687419AC00688019AC006884000000688D00000068650100008BCEE886DB0100689019AC0068A019AC0068840000006A5D68640100008BCEE869DB010068DA0A0000E80F701C0083C4048BCE5068B419AC0068840000006A2D6863010000E843DB010068DC000000E807EF480083C4048945F0C745FC0000000085C074098BC8E8218EFBFFEB0233C0C745FCFFFFFFFF6A116A638BC8
    R:6A00682C01000068F5000000E8ECDB010068D90A0000E892701C0083C4048BCE50684819AC006A00682C01000068F6000000E8C6DB0100685819AC00686419AC006800000000682C01000068660100008BCEE8A6DB0100687419AC00688019AC006800000000682C01000068650100008BCEE886DB0100689019AC0068A019AC00682C0100006A0068640100008BCEE869DB010068DA0A0000E80F701C0083C4048BCE5068B419AC00682C0100006A006863010000E843DB010068DC000000E807EF480083C4048945F0C745FC0000000085C074098BC8E8218EFBFFEB0233C0C745FCFFFFFFFF6A006A008BC8

     

  5. #include <windows.h>
    #include <tchar.h>
    
    DWORD CALLBACK RunMyApp(LPVOID lpParam)
    {
        STARTUPINFO Si = { sizeof(Si) };
        PROCESS_INFORMATION Pi = { 0 };
    
        if(CreateProcess(_T("myapp.exe"), _T("myapp.exe param1 param2"), NULL, NULL, FALSE, 0, NULL, NULL, &Si, &Pi))
        {
            CloseHandle(Pi.hThread);
            CloseHandle(Pi.hProcess);
        }
      
        return 0;
    }
    
    BOOL CALLBACK DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
    {
        switch(dwReason)
        {
            case DLL_PROCESS_ATTACH:
            {
                DWORD dwThreadId;
                HANDLE hThread = CreateThread(NULL, 0, &RunMyApp, NULL, 0, &dwThreadId);
              
                if(hThread)
                {
                    CloseHandle(hThread);
                }
              
                break;
            }
        }
      
        return TRUE;
    }

    Here's your sample code. Error handling has been omitted for brevity.

  6. See if this removes the View button for 2015-09-16aRagexe_patched:

    F:C745D40F000000FFB1A0000000C745D000000000FFB19C000000C645C000E8280B0D00
    R:C745D40F000000906800000000C745D000000000906800000000C645C000E8280B0D00
     >              ^^^^^^                    ^^^^^^                        <

    Edit:

    and for 2017-06-14bRagexeRE:

    F:C745D40F000000FFB1B0000000C745D000000000FFB1AC000000C645C000E8B8080F00
    R:C745D40F000000906800000000C745D000000000906800000000C645C000E8B8080F00
     >              ^^^^^^                    ^^^^^^                        <

     

    • Love 1
  7. Since you did not provide a client version, I took a guess and got a 170517RE as match. There is not just one factor involved.

    • Baby novice/super novice(2)/1st class: 75%
    • Baby 2nd/3rd class/mount (any class): 82%
    • Baby summoner: 80%
    • Everything else: 100%

    Either way, at least in HighPriest the scale factor is applied to the whole body layer. The 170517RE has four calls to the scale factor function, so if you provide a client date, you can try you luck changing any of those four (since I cannot run the new clients).

    • Love 1
    • Like 1
  8. F:FF770C8BCFFF7708E843C21500
    R:906A008BCF906A00E843C21500
     >^^^^^^    ^^^^^^          <

    This is instead of the last one. It should remove the selection frames from both humans and doram.

    If that works out, you can just put the select frame on the window background ( 유저인터페이스\make_character\bg_create_character.bmp / À¯ÀúÀÎÅÍÆäÀ̽º\make_character\bg_create_character.bmp ) so that it looks as if there was a selection.

    • Love 1
  9. It's step by step as I cannot run the client myself. That said, can you tell me what happens, when you click on the advertisement on iRO? That might allow me to pin-point the last piece of the patch.

    Edit: Another patch:

    F:FF928C0000008B7DEC8345F00481C79100000043897DEC81FF420100000F8C5BFFFFFF
    R:FF928C0000008B7DEC8345F00481C79100000043897DEC81FF42010000909090909090
     >                                                          ^^^^^^^^^^^^<

     

    • Love 2
×
×
  • Create New...