Junior Spellweaver
- Joined
- Apr 13, 2012
- Messages
- 140
- Reaction score
- 32
omk so i cant take any credit for this
credits go to Shuya83 from epvp
i wanted to put this guide in english for the people who have no idea about google translate.:laugh:
anyways this is a copy and paste job. it was my 1st attempt at editing something in the blessed release source code.
sense there is no unbinding scroll in the release i went ahead an put one there.
althought this was a copy an paste job for me i am still proud that i was able to get it to work and learned a lot in the process.
i hope u enjoy.
Let's get started.
First, we open the folder in your World DPSrvr.h source server.
And look for
and add this code right under it.
then look in DPSrvr.cpp and find this code.
and replace it with.
then find this code
and add this code underneath is some place. i put it in the awakening section of the code and it worked great.
now go to defineItem.h and define II_CHR_SYS_SCR_UNBIND
then go to your spec_item.txt file and add this.
yes it is very long and can get confusing. but make sure it all correct. in the blessed release to get it to go in shop put rarity of 140 so that it shows in shop.
now go to propitem.txt.txt and add this.
oh dont forget to rebuild the code with the proper defineitem.h file and move the new defineitem.h file along with the 7 exe files in the right place in the server files.
credits to this go to Shuya83.
i dont take any credit for this what so ever. just wanted to post it here because i had not seen any tuts on how to make unbinding scroll.
ebjoy
credits go to Shuya83 from epvp
i wanted to put this guide in english for the people who have no idea about google translate.:laugh:
anyways this is a copy and paste job. it was my 1st attempt at editing something in the blessed release source code.
sense there is no unbinding scroll in the release i went ahead an put one there.
althought this was a copy an paste job for me i am still proud that i was able to get it to work and learned a lot in the process.
i hope u enjoy.
Let's get started.
First, we open the folder in your World DPSrvr.h source server.
And look for
Code:
BOOL DoUseItemTarget_ItemLevelDown( CUser* pUser, CItemElem* pMaterial, CItemElem* pTarget );
and add this code right under it.
Code:
BOOL UnbindScroll( CUser* pUser, CItemElem* pMaterial, CItemElem* pTarget );
then look in DPSrvr.cpp and find this code.
Code:
case II_SYS_SYS_SCR_LEVELDOWN01:
case II_SYS_SYS_SCR_LEVELDOWN02:
b = DoUseItemTarget_ItemLevelDown( pUser, pMaterial, pTarget );
break;
default:
break;
}
if( b )
and replace it with.
Code:
case II_SYS_SYS_SCR_LEVELDOWN01:
case II_SYS_SYS_SCR_LEVELDOWN02:
b = DoUseItemTarget_ItemLevelDown( pUser, pMaterial, pTarget );
break;
case II_CHR_SYS_SCR_UNBIND:
b = UnbindScroll(pUser, pMaterial, pTarget);
break;
default:
break;
}
if( b )
then find this code
Code:
else
pUser->AddDefinedText( TID_GAME_ITEM_LEVELDOWN01 );
return FALSE;
}
and add this code underneath is some place. i put it in the awakening section of the code and it worked great.
Code:
BOOL CDPSrvr::UnbindScroll( CUser* pUser, CItemElem* pMaterial, CItemElem* pTarget )
{
if( pTarget->IsFlag(CItemElem::binds) && pMaterial->m_dwItemId == II_CHR_SYS_SCR_UNBIND )
{
pTarget->ResetFlag(CItemElem::binds);
pUser->UpdateItem( (BYTE)( pTarget->m_dwObjId ), UI_FLAG, MAKELONG( pTarget->m_dwObjIndex, pTarget->m_byFlag ) );
// log
LogItemInfo log;
log.Action = "r";
log.SendName = pUser->GetName();
log.RecvName = "::binds";
log.WorldId = pUser->GetWorld()->GetID();
log.Gold = pUser->GetGold();
log.Gold2 = pUser->GetGold();
OnLogItem( log, pTarget, 1 );
return TRUE;
}
else
pUser->AddText("Item ist bereits entbunden.");
return FALSE;
}
now go to defineItem.h and define II_CHR_SYS_SCR_UNBIND
then go to your spec_item.txt file and add this.
Code:
11 II_CHR_SYS_SCR_UNBIND IDS_ITEM_TXT_101111 1 9999 IK1_SYSTEM IK2_SYSTEM IK3_SCROLL = = 1 = 200000000 = = = = = = = 0 = = 1 1 1 1 1 = = = = _NONE 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = EXT_ITEM WUI_NOW = = = = = = = = = 0 0 0 0 0 = = = = = = = = = = = = = = = = = """Itm_SysSysScrAwakeSafe01.dds""" 0 """""" IDS_ITEM_TXT_101112 1 300 0 0 1 0 0 0 0 0 2 = = = = = = = = = = 1 1 1 1 1 0
now go to propitem.txt.txt and add this.
Code:
IDS_ITEM_TXT_101111 Scroll of Unbinding
IDS_ITEM_TXT_101112 removes soul link from items.
oh dont forget to rebuild the code with the proper defineitem.h file and move the new defineitem.h file along with the 7 exe files in the right place in the server files.
credits to this go to Shuya83.
i dont take any credit for this what so ever. just wanted to post it here because i had not seen any tuts on how to make unbinding scroll.
ebjoy