[Development] ex wings effects for season 6

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    0x4D696E68 myheart is offline
    MemberRank
    Jun 2017 Join Date
    354Posts

    Re: [Development] ex wings effects for season 6

    ah, i have seen source Wingbright somewhere you using that, right?
    Last edited by allexander; 14-09-18 at 08:25 PM. Reason: Refrain from moving / bringing topics off the board. Rule 27 http://forum.ragezone.com/f71/forum-rules-101410/

  2. #17
    Account Upgraded | Title Enabled! BladeKnight109 is offline
    MemberRank
    Jun 2014 Join Date
    242Posts

    Re: [Development] ex wings effects for season 6

    Quote Originally Posted by myheart View Post
    ah, i have seen source Wingbright somewhere you using that, right?
    yes, that right. And I think it is the cause of this error
    Last edited by allexander; 14-09-18 at 08:25 PM. Reason: Refrain from moving / bringing topics off the board. Rule 27 http://forum.ragezone.com/f71/forum-rules-101410/

  3. #18
    Proficient Member phit666 is offline
    MemberRank
    Apr 2007 Join Date
    197Posts

    Re: [Development] ex wings effects for season 6

    Quote Originally Posted by NaveMu View Post
    Ok but about the conqueror wing: *(BYTE*)(oUserPreviewStruct + 120) is the character, and anothe character? Would the smoke in the case be just visual to myself?
    That is right, what is more weird is another character moving will see the effect even if the character wearing the wing is not moving.

    Dirty trick (104d main): Insert this before the offset 0x00566692, now you will have new parameter (10th) that you can use as move flag.

    MOV EAX, DWORD PTR SS : [EBP + 0x14]
    MOV DL, BYTE PTR DS : [EAX + 120]
    PUSH EDX

  4. #19
    0x4D696E68 myheart is offline
    MemberRank
    Jun 2017 Join Date
    354Posts

    Re: [Development] ex wings effects for season 6

    for main 1.04.05

    Code:
    void CEffect::SetItemEffect(ObjectPreview * lpObj, ObjectModel* lpModel, int ItemID, Vec3D * vColor, float Alpha, int ItemLevel, int NewOption, int SetOption, int Select, int RenderType);
    Code:
    if (lpObj && lpObj->IsMoving)
    {
     ...
    }
    Code:
    __declspec(naked) void _hSetItemEffect()
    {
        static DWORD Address1 = 0x005666C9;
    
        _asm
        {
      Mov Ecx, Dword Ptr Ss:[Ebp+0x30]
      Or Ecx, Dword Ptr Ss:[Ebp-0x528]
      Push Ecx
      Push 0x0
      Push 0x0
      Mov Edx, Dword Ptr Ss:[Ebp+0x24]
      Push Edx
      Mov Eax, Dword Ptr Ss:[Ebp+0x20]
      Shl Eax,0x3
      Push Eax
      Mov Ecx, Dword Ptr Ss:[Ebp-0x70]
      Push Ecx
      Fld Dword Ptr Ds:[Ecx+0x98]
      Fstp Dword Ptr Ss:[Esp]
      Mov Edx, Dword Ptr Ss:[Ebp+0x14]
      Add Edx,0x0DC
      Push Edx
      Mov Eax, Dword Ptr Ss:[Ebp+0x1C]
      Push Eax
      Mov Ecx, Dword Ptr Ss:[Ebp-0x6C]
      Push Ecx
      Mov Edx, Dword Ptr Ss:[Ebp+0x14]
      Push Edx
      Lea Eax, gEffect
      Call [CEffect::SetItemEffect]
      Jmp Address1
        }
    }
    Code:
    SetCompleteHook(0xE9, 0x00566689, &_hSetItemEffect);

  5. #20
    Account Upgraded | Title Enabled! laulinh2 is offline
    MemberRank
    Mar 2013 Join Date
    305Posts

    Re: [Development] ex wings effects for season 6

    share in main 1.05.30



Page 2 of 2 FirstFirst 12

Advertisement