PENYA STRIKE (HOP) BUG

05/23/2015 06:52 aoyamananami#1
can someone please help me or what source code should i look for penya strike (hop)

when i try many times hop skill all nearby players get dc .. :confused:

there's no error log show :/

tnx in advance who can help me .
05/23/2015 10:06 Mognakor#2
HoP has no specific code, the only special code HoP uses is a multiplier inside the damage calc just like for example Spirit Bombs do.

It's probably some kind of resource error.
05/23/2015 13:00 Aketsiu#3
Custom weapon or offic YoČ
05/23/2015 14:16 kun_sama13#4
check your resource
05/23/2015 17:03 raventh1984#5
Did you changed the ItemId from an yoyo?
If so then check if the former ID is inside the Item_tbl of an player.

Example

Guardian yoyo Item id 10
Player buy it
You change it to id 20
Player has still the yoyo with id 10 uses hop and it will dc everyone.
05/23/2015 23:09 -Venom'#6
Test it:

In
Code:
Ctrl.cpp
Under:
Code:
		CModelObject *pModel = (CModelObject *)m_pModel;
		
		int nSkill = pSkillProp->dwID;
		
		switch( nSkill )
		{
		case SI_ACR_SUP_SLOWSTEP:
		case SI_JST_YOYO_HITOFPENYA:
		case SI_JST_YOYO_VATALSTAB:
This:
Code:
#ifndef __HOP_CRASH_FIX
			{
				pModel->GetHandPos( &vPos, PARTS_RWEAPON, GetMatrixWorld() );
				pSfx = CreateSfxYoYo( D3DDEVICE, pItemProp->dwSfxObj2, vPos, GetId(), vPosDest );	
				((CSfxItemYoyoAtk*)pSfx)->MakePath(PARTS_RWEAPON);
			}
#endif
VersionCommon.h (Neuz and WorldServer)
Code:
#define __HOP_CRASH_FIX