[Release] Main GMO 104D with custom items and 3d camera

Page 39 of 100 FirstFirst ... 2931323334353637383940414243444546474989 ... LastLast
Results 571 to 585 of 1498
  1. #571
    Am i? ScriptKid is offline
    MemberRank
    Oct 2006 Join Date
    $Location="??";Location
    1,810Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    this works fine with me using Custom Items and WIngs

  2. #572
    Apprentice aecrimch is offline
    MemberRank
    Dec 2007 Join Date
    842Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by Malice2010 View Post
    The addition of bows even with skills actually do work, however the main.exe has expansion values for both Crossbows and Bows. If the value for bows was changed and crossbow left alone, then adding bows both fixes the animation (look like crossbows/sticks ingame when both item limits are raised but looks like bows/normal if only bow value is raised) and adds the ability to have skills.

    I did this back in S3EP1 and had custom bows working this way, however, i do not actually code so since everyone has a dll that makes removes the item limits, I have not done in the new mains.,

    Try this in your dll, remove the expansion of the crossbows and test the bows - it may work.

    Hope this helps,


    Malice
    not works...

    removing the expansion for crossbows has no effect for custom bows visual bug in inventory and some skills not works too...
    skills which works for custom bows are ice arrow and multishot... do not work triple shot and penetration (no matter keep or remove crossbows expansion)...

    mauro07,

    using your source with little modification i tried to add a f..k..g custom bow (id=28, ObjectID = 0CAF) result in a very strange situation:



    __declspec(naked) void BowsInvenPosFix(){
    _asm
    {
    CMP DWORD PTR SS:[EBP+0x8],0x0CAE
    JNZ CustomBow1
    FLD DWORD PTR SS:[EBP-0x4C]
    FSUB QWORD PTR DS:[0x0D24388]
    FSTP DWORD PTR SS:[EBP-0x4C]
    FLD DWORD PTR SS:[EBP-0x48]
    FADD QWORD PTR DS:[0x0D2B820]
    FSTP DWORD PTR SS:[EBP-0x48]
    FLD DWORD PTR DS:[0x0D2AF5C]
    FSTP DWORD PTR DS:[0x82C6320]
    FLD DWORD PTR DS:[0x0D22C08]
    FSTP DWORD PTR DS:[0x82C6324]
    FLD DWORD PTR DS:[0x0D24384]
    FSTP DWORD PTR DS:[0x82C6328]
    JMP Return
    CustomBow1:
    CMP DWORD PTR SS:[EBP+0x8],0x0CAF//Custom Bows Id
    JNZ 0x005CA784 //X = A number for Identifier a Bow of other
    FLD DWORD PTR SS:[EBP-0x4C]
    FSUB QWORD PTR DS:[0x0D24388]
    FSTP DWORD PTR SS:[EBP-0x4C]
    FLD DWORD PTR SS:[EBP-0x48]
    FADD QWORD PTR DS:[0x0D2B820]
    FSTP DWORD PTR SS:[EBP-0x48]
    FLD DWORD PTR DS:[0x0D2AF5C]
    FSTP DWORD PTR DS:[0x82C6320]
    FLD DWORD PTR DS:[0x0D22C08]
    FSTP DWORD PTR DS:[0x82C6324]
    FLD DWORD PTR DS:[0x0D24384]
    FSTP DWORD PTR DS:[0x82C6328]
    JMP Return
    Return:
    mov edi, 0x005CBFA4
    call edi
    }
    }


    void FixBowsHook()
    {
    //Hook Fix Inventory Position Bows
    BYTE FixBowsPos[] = { 0xFF, 0x25, 0xBC, 0x1F, 0xD2, 0x00, 0x90, 0x90, 0x90, 0x90 };
    memcpy((int*)0x005CA752,FixBowsPos,sizeof(FixBowsPos));
    *(unsigned int*)0x00D21FBC = (unsigned int)BowsInvenPosFix;
    }

    11_20-18_27-0000.jpg11_20-18_28-0001.jpg

    custom bow texture ok, but all rest items rotated with 90 degrees...oo..
    Last edited by aecrimch; 20-11-12 at 06:01 PM.

  3. #573
    Member Fire4ever is offline
    MemberRank
    Mar 2009 Join Date
    81Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    its main no work in widnwos 2000 sp3 -.- close
    Last edited by Fire4ever; 20-11-12 at 06:22 PM.

  4. #574
    Darkness Member Kiosani is offline
    MemberRank
    Oct 2007 Join Date
    ArgentinaLocation
    1,276Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by aecrimch View Post
    not works...

    removing the expansion for crossbows has no effect for custom bows visual bug in inventory and some skills not works too...
    skills which works for custom bows are ice arrow and multishot... do not work triple shot and penetration (no matter keep or remove crossbows expansion)...

    mauro07,

    using your source with little modification i tried to add a f..k..g custom bow (id=28, ObjectID = 0CAF) result in a very strange situation:




    11_20-18_27-0000.jpg11_20-18_28-0001.jpg

    custom bow texture ok, but all rest items rotated with 90 degrees...oo..

    mmm... maybe I must put more work in this.. But it's a good start, at least we can say it works the idea of rotating the position of custom bows not?

    try this:

    Code:
    __declspec(naked) void BowsInvenPosFix(){
        _asm
        {
            CMP DWORD PTR SS:[EBP+0x8],0x0CAA
            JNZ CustomBow1
            FLD DWORD PTR SS:[EBP-0x4C]
            FSUB QWORD PTR DS:[0x0D24388]
            FSTP DWORD PTR SS:[EBP-0x4C]
            FLD DWORD PTR SS:[EBP-0x48]
            FADD QWORD PTR DS:[0x0D2B820]
            FSTP DWORD PTR SS:[EBP-0x48]
            FLD DWORD PTR DS:[0x0D2AF5C]
            FSTP DWORD PTR DS:[0x82C6320]
            FLD DWORD PTR DS:[0x0D22C08]
            FSTP DWORD PTR DS:[0x82C6324]
            FLD DWORD PTR DS:[0x0D24384]
            FSTP DWORD PTR DS:[0x82C6328]
            //JMP Return
    CustomBow1:
            CMP DWORD PTR SS:[EBP+0x8],0x0XXX//Custom Bows Id
            JNZ Return            //X = A number for Identifier a Bow of other
            FLD DWORD PTR SS:[EBP-0x4C]
            FSUB QWORD PTR DS:[0x0D24388]
            FSTP DWORD PTR SS:[EBP-0x4C]
            FLD DWORD PTR SS:[EBP-0x48]
            FADD QWORD PTR DS:[0x0D2B820]
            FSTP DWORD PTR SS:[EBP-0x48]
            FLD DWORD PTR DS:[0x0D2AF5C]
            FSTP DWORD PTR DS:[0x82C6320]
            FLD DWORD PTR DS:[0x0D22C08]
            FSTP DWORD PTR DS:[0x82C6324]
            FLD DWORD PTR DS:[0x0D24384]
            FSTP DWORD PTR DS:[0x82C6328]
            //JMP Return
    Return:
            mov edi, 0x005CA6D6
            call edi
        }
    }
    
    
    void FixBowsHook()
    {
        //Hook Fix Inventory Position Bows
        BYTE FixBowsPos[] = { 0xFF, 0x25, 0xBC, 0x1F, 0xD2, 0x00, 0x90, 0x90, 0x90, 0x90 };
        memcpy((int*)0x005CA68C,FixBowsPos,sizeof(FixBowsPos));
        *(unsigned int*)0x00D21FBC = (unsigned int)BowsInvenPosFix;
    }
    The same idea, the same offsets, only removing the newline: JMP, return the item for all cases of custom bows, and leaving only a conditional newline: JNZ Return, in the last bow you would like to add for rotation.
    Last edited by Kiosani; 20-11-12 at 10:00 PM.

  5. #575
    Account Upgraded | Title Enabled! zarahlee is offline
    MemberRank
    Mar 2012 Join Date
    C:\ProgramFilesLocation
    685Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by zarahlee View Post
    i allready try new jewels.exe with support of long ip but cant connect to server no server shown in client.

    my info:

    63.235.256.168

    can anyone put this ip address to new jewels.dll?

    thanks
    help with this :)

    thanks

  6. #576
    NOOB quyen194 is offline
    MemberRank
    Jul 2012 Join Date
    Hoai Duc Phu, HLocation
    200Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by zarahlee View Post
    help with this :)

    thanks
    PM me at yahoo or skype! i will help you

  7. #577
    Enthusiast Wizik is offline
    MemberRank
    Jul 2012 Join Date
    39Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    promlem. I add new set. But texture don't load.... if i use this texture to bronze set all work. But if I add Helm(id 54 and 74) of other set items texture don't load.. I copy to data\player\HelmMale55.bmd and *.ozj but main don't load this... before this I add new sword and sword texture is working.


    please help
    Last edited by Wizik; 21-11-12 at 06:38 PM.

  8. #578
    Apprentice aecrimch is offline
    MemberRank
    Dec 2007 Join Date
    842Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by Wizik View Post
    promlem. I add new set. But texture don't load.... if i use this texture to bronze set all work. But if I add Helm(id 54 and 74) of other set items texture don't load.. I copy to data\player\HelmMale55.bmd and *.ozj but main don't load this... before this I add new sword and sword texture is working.


    please help
    in this release first ID for set items which support texture is 84 (last ID used by WebZen is 83 - Sacred Fire -J)...
    --------------------------

    mauro07,
    using second version of your source make client crush when press I...
    dump file message:
    Access violation : writing inaccessible 0xC6E025DC

  9. #579
    NOOB quyen194 is offline
    MemberRank
    Jul 2012 Join Date
    Hoai Duc Phu, HLocation
    200Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by aecrimch View Post
    in this release first ID for set items which support texture is 84 (last ID used by WebZen is 83 - Sacred Fire -J)...
    --------------------------

    mauro07,
    using second version of your source make client crush when press I...
    dump file message:
    Aecrimch!
    Could you please share me your "LRESULT CALLBACK MouseProc(int code, WPARAM wParam, LPARAM lParam)" function, which have Zoom In + Zoom Out work on win 7 64bits!
    The function, that i had, work only on win 32 bits :(
    On win 7 64 bits, It catch Mouse Wheel Message wrong :-ss
    Thanks you for all!!!

  10. #580
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by aecrimch View Post
    First post updated:

    Final release: custom_addons_104d_last.rar - 4shared.com - обмен, хранение, загрузка файлов
    include: Minimap - credits mauro07 (fix BC and all other events by me), MultiLanguage - credits zasmqniq, new ChatWnd credits Gembrid (offsets searched by me and chris05, source fixed by phit666),
    inventory visual bug fixed for custom wings (category 12 id>=200), etc.
    Could you please make jewels.dll in your last version WITH antihack included? Thank you :)

  11. #581
    Enthusiast Wizik is offline
    MemberRank
    Jul 2012 Join Date
    39Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    aecrimch thanks a lot. Now it is working

  12. #582
    Am i? ScriptKid is offline
    MemberRank
    Oct 2006 Join Date
    $Location="??";Location
    1,810Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    here is some screenshot of working custom jewels and custom mace :)

    123345.png12345.png

    Thanks to Aecrimch and mauro :)

  13. #583
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by aecrimch View Post
    you need map1.ozj in Arena (Data/World7/)...

    the_surfer,
    there is no ancient socketable item in original MU WebZen, that's why you have error (Gembrid posted his TTLCI source code, try to fix yourself)...

    icerock23,
    there is no problem with IP space in jewels.dll just be careful when hexedit and fill all unused space with 00.

    Attachment 117663
    Could you add antihack to the latest release please? :)
    Last edited by KREATOR; 22-11-12 at 05:05 PM.

  14. #584
    Apprentice aecrimch is offline
    MemberRank
    Dec 2007 Join Date
    842Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by quyen194 View Post
    Aecrimch!
    Could you please share me your "LRESULT CALLBACK MouseProc(int code, WPARAM wParam, LPARAM lParam)" function, which have Zoom In + Zoom Out work on win 7 64bits!
    The function, that i had, work only on win 32 bits :(
    On win 7 64 bits, It catch Mouse Wheel Message wrong :-ss
    Thanks you for all!!!
    here it is:
    PS: i think Brain created this and mauro07 modified, my contribution is very small...
    LRESULT CALLBACK MouseProc(int code, WPARAM wParam, LPARAM lParam)
    {
    MOUSEHOOKSTRUCTEX* mhs = (MOUSEHOOKSTRUCTEX*)lParam;
    HWND MuWnd = FindWindow(TEXT("MU"), NULL);
    if (CAM_IsActive)
    {

    if(GetForegroundWindow() == MuWnd)
    {
    if(InitCamera == true)
    {
    Camera.ClipX = *Camera_ClipX;
    Camera.ClipY = *Camera_ClipY;
    Camera.GlClip = *Camera_GlClip;
    Camera.PosZ = *Camera_PosZ;
    Camera.RotY = *Camera_RotY;
    Camera.RotZ = *Camera_RotZ;
    Camera.Zoom = *Camera_Zoom;
    Camera.ClipAUX1 = *Camera_ClipAUX1;
    Camera.ClipAUX2 = *Camera_ClipAUX2;
    Camera.ClipAUX3 = *Camera_ClipAUX3;
    }

    if(InitCamera == true)
    {
    if(wParam == WM_MBUTTONDOWN)
    {
    MoveCamera = true;
    }
    if(wParam == WM_MBUTTONUP)
    {
    MoveCamera = false;
    }

    if(wParam == WM_MOUSEWHEEL)
    {
    int direction = mhs->mouseData;
    if(direction > 0)
    {
    if(*Camera_Zoom < 60)
    {
    *Camera_Zoom += 2;
    }
    if(*Camera_Zoom > 60)
    *Camera_Zoom = 60;
    }


    else if(direction < 0)
    {
    if(*Camera_Zoom > 12)
    {
    *Camera_Zoom -= 2;
    }
    if(*Camera_Zoom < 12)
    *Camera_Zoom = 12;
    }
    *Camera_ClipY = 2400 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipX = 1190 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_GlClip = 3000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipAUX1 = 2000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipAUX2 = 2000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipAUX3 = 2000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    }

    else if(wParam == WM_MBUTTONDOWN)
    {
    MouseX = mhs->pt.x;
    MouseY = mhs->pt.y;
    }

    else if(wParam == WM_MOUSEMOVE)
    {
    if(MoveCamera)
    {
    if(MouseX < mhs->pt.x)
    {
    *Camera_RotZ += 8;
    if (*Camera_RotZ > 315) *Camera_RotZ = -45;
    }
    else if(MouseX > mhs->pt.x)
    {
    *Camera_RotZ -= 8;
    if (*Camera_RotZ < -405) *Camera_RotZ = -45;
    }
    if(MouseY < mhs->pt.y)
    {
    if(*Camera_RotY < -45)
    {
    *Camera_PosZ -= 44;
    *Camera_RotY += (float)2.42;
    }
    }
    else if(MouseY > mhs->pt.y)
    {
    if(*Camera_RotY > -90)
    {
    *Camera_PosZ += 44;
    *Camera_RotY -= (float)2.42;
    }
    }

    MouseX = mhs->pt.x;
    MouseY = mhs->pt.y;

    *Camera_ClipY = 2400 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipX = 1190 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_GlClip = 3000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipAUX1 = 2000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipAUX2 = 2000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    *Camera_ClipAUX3 = 2000 + (abs(*Camera_PosZ - 150) * 3) + 4000;
    }
    }
    }
    }
    }
    return CallNextHookEx(MouseHook, code, wParam, lParam);
    }
    Quote Originally Posted by KREATOR View Post
    Could you add antihack to the latest release please? :)
    no, since i can not test last Pinkof AH (windows 2003 server x86 general bug or just my system do not know)...
    anyway, i recommend you DarkCrow AH (server and client side, you find source in this Forum.)

  15. #585
    NOOB quyen194 is offline
    MemberRank
    Jul 2012 Join Date
    Hoai Duc Phu, HLocation
    200Posts

    re: [Release] Main GMO 104D with custom items and 3d camera

    Quote Originally Posted by aecrimch View Post
    here it is:
    PS: i think Brain created this and mauro07 modified, my contribution is very small...

    no, since i can not test last Pinkof AH (windows 2003 server x86 general bug or just my system do not know)...
    anyway, i recommend you DarkCrow AH (server and client side, you find source in this Forum.)
    Thanks you ^^ Problem is solved with that fix:
    WH_MOUSE hook receives wrong data when you run a x86-based application to intercept the WM_MOUSEWHEEL messages on a computer that is running x64-based version of Windows 7 or Windows Server 2008 R2



Advertisement