Jump to content
  • Create New...
  • 0

[HELP]Unlimited arrow



4 answers to this question

Recommended Posts

  • 0

Try change this


void CHARACTER::UseArrow(LPITEM pkArrow, DWORD dwArrowCount)
int iCount = pkArrow->GetCount();
DWORD dwVnum = pkArrow->GetVnum();
iCount = iCount - MIN(iCount, dwArrowCount);
if (iCount == 0)
LPITEM pkNewArrow = FindSpecifyItem(dwVnum);
sys_log(0, "UseArrow : FindSpecifyItem %u %p", dwVnum, get_pointer(pkNewArrow));
if (pkNewArrow)
to this
void CHARACTER::UseArrow(LPITEM pkArrow, DWORD dwArrowCount)
or remove function
Edited by Grudge
  • Love 1
Link to comment
  • 0

in char_battle.cpp

Function: CHARACTER::UseArrow

Remove or comment this part


And find this(not one, multi part)

m_me->UseArrow(pkArrow, iUseArrow);

Remove or comment this parts

  • Love 4
Link to comment
  • 0

Oke, I comment all function :


void CHARACTER::UseArrow(LPITEM pkArrow, DWORD dwArrowCount)
//int iCount = pkArrow->GetCount();
//DWORD dwVnum = pkArrow->GetVnum();
//iCount = iCount - MIN(iCount, dwArrowCount);
//if (iCount == 0)
//LPITEM pkNewArrow = FindSpecifyItem(dwVnum);
//sys_log(0, "UseArrow : FindSpecifyItem %u %p", dwVnum, get_pointer(pkNewArrow));
//if (pkNewArrow)
All working when I use skill or kill mob arrow don't disappears.
Now help me with change getting up where change this time ?
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.