Hi elitepvpers,
I am trying to add an premium system.
To test if the name tag is changing i only added 2 things
MoverSkill.cpp
MoverRender.cpp
However when i click on the Scroll the neuz will crash with this error code
Its pointing to this line inside WndWorld.cpp
if( pItemProp->dwItemKind3 == IK3_EXP_RATE )
Uppon debugging it would not show me the excact line instead its putting on Break Lines inside WndField.cpp
I also experience this with Tickets.
I simply copy an existing Scroll and only change the Name Nothing more.
This is also with tickets
I copy an Ticket Change the Name etc but it also crash with the same error code.
Does anyone has experience this problem to and is willing to share the fix.
With kind regards.
I am trying to add an premium system.
To test if the name tag is changing i only added 2 things
MoverSkill.cpp
PHP Code:
#ifdef __PREMIUM
case II_SYS_SYS_SCR_PREMIUM:
{
if( HasBuff( BUFF_ITEM, (WORD) ( pItemProp->dwID ) ) )
{
nResult = 2;
}
else
{
DoApplySkill( (CCtrl*)this, pItemProp, NULL );
}
}
break;
#endif
PHP Code:
#ifdef __PREMIUM
if( HasBuff( BUFF_ITEM, II_SYS_SYS_SCR_PREMIUM ) )
{
strcat( szName, " [Premium]" );
}
#endif
Its pointing to this line inside WndWorld.cpp
if( pItemProp->dwItemKind3 == IK3_EXP_RATE )
Uppon debugging it would not show me the excact line instead its putting on Break Lines inside WndField.cpp
I also experience this with Tickets.
I simply copy an existing Scroll and only change the Name Nothing more.
This is also with tickets
I copy an Ticket Change the Name etc but it also crash with the same error code.
Does anyone has experience this problem to and is willing to share the fix.
With kind regards.