Custom Wings Kanturu Event

Results 1 to 2 of 2
  1. #1
    Apprentice Tr4nc3x is offline
    MemberRank
    Aug 2007 Join Date
    ArcheronLocation
    19Posts

    shout Custom Wings Kanturu Event

    Good afternoon everyone, to have a question to fix Custons wings level 4 to my server, the problem is that I can get into Icarus with them, but to move the event Kanturu asks a Pet or Dinorant to enter, along the lines:

    Client:
    Naked(WingsAllowEntraceKanturu)
    {
    _asm
    {
    mov WingsFixMoveKanturu_Buff, ecx
    }
    // ----
    if( (WingsFixMoveKanturu_Buff >= ITEM(12, 180) && WingsFixMoveKanturu_Buff <= ITEM(12, 186))
    || WingsFixMoveKanturu_Buff == 0x1A25 )
    {
    _asm
    {
    mov WingsFixMoveKanturu_Buff, 0x00700BC4
    jmp WingsFixMoveKanturu_Buff
    }
    }
    // ----
    _asm
    {
    mov WingsFixMoveKanturu_Buff, 0x00700BB6
    jmp WingsFixMoveKanturu_Buff
    }
    }
    SetRange((LPVOID)0x00700BAE, 8, ASM::NOP);
    SetJmp((LPVOID)0x00700BAE, WingsAllowEntraceKanturu);
    Server:
    #if(GS_CASTLE==0) if ( (gObj[iUserIndex].pInventory[7].m_Type < ITEMGET(12,0) || gObj[iUserIndex].pInventory[7].m_Type > ITEMGET(12,6) ) &&
    gObj[iUserIndex].pInventory[7].m_Type != ITEMGET(13,30) &&
    //Season 3.0 add-on (Summoner
    gObj[iUserIndex].pInventory[7].m_Type != ITEMGET(12,41) &&
    gObj[iUserIndex].pInventory[7].m_Type != ITEMGET(12,42) &&
    gObj[iUserIndex].pInventory[7].m_Type != ITEMGET(12,43) &&
    !IS_NEWWINGS(gObj[iUserIndex].pInventory[7].m_Type) &&
    gObj[iUserIndex].pInventory[8].m_Type != ITEMGET(13,3) &&
    gObj[iUserIndex].pInventory[8].m_Type != ITEMGET(13,37) &&
    gObj[iUserIndex].pInventory[8].m_Type != ITEMGET(13,4) && //Season 4.5
    //Season 2.5 add-on
    (gObj[iUserIndex].pInventory[7].m_Type < ITEMGET(12,36) || gObj[iUserIndex].pInventory[7].m_Type > ITEMGET(12,40) ) )
    {
    LogAddTD("[ KANTURU ][ Entrance Fail ] Wing Item is not exist [%s][%s] State(%d)-(%d)",
    gObj[iUserIndex].AccountID, gObj[iUserIndex].Name,
    this->GetKanturuState(), this->m_BattleOfMaya.GetBattleOfMayaState());


    return 7;
    }
    << Main zTeam | Main 1.03.25 >>


  2. #2
    Apprentice allan764 is offline
    MemberRank
    Dec 2012 Join Date
    BrasilLocation
    11Posts

    Re: Custom Wings Kanturu Event

    Fix from main 1.00.25
    Code:
    _asm
    	{
    		mov WingsFixMoveKanturu_Buff, eax
    	}
    	// ----
    	if( (WingsFixMoveKanturu_Buff >= ITEM(12, 180) && WingsFixMoveKanturu_Buff <= ITEM(12, 186))
    		|| WingsFixMoveKanturu_Buff == 0x182B )
    	{
    		_asm
    		{
    			mov WingsFixMoveKanturu_Buff, 0x00700BC4
    			jmp WingsFixMoveKanturu_Buff
    		}
    	}
    	// ----
    	_asm
    	{
    		mov WingsFixMoveKanturu_Buff, 0x00700B7F
    		jmp WingsFixMoveKanturu_Buff
    	}
    hook in 00700B77



Advertisement