*Problemă/Întrebare:Cand dau pe butonul sortare mi se modifica stakul in mai putin, precizez ambele butoane și cel de la inventar și cel de la magazia speciala!
Tipologie server(PvM / PvP):
*Resursă folosită: *Link exclusiv J4M* extend stack resursa buna si completa.
*ServerFiles utilizat: PVM
*Syserr: Nu am!
Poză:
*Detalii suplimentare: La relog sau restart ramane stakul intreg doar la butonul sortare e problema! Cand apas pe butonul sortare scade din stack!
Problema extend stack butonul sort
Char.h
#ifdef ENABLE_SORT_INVENTORY
LPITEM AutoGiveItem(DWORD dwItemVnum, WORD bCount=1, int iRarePct = -1, bool bMsg = true, bool bWereMine = true);
void AutoGiveItem(LPITEM item, bool longOwnerShip = false, bool bWereMine = true);
#else
LPITEM AutoGiveItem(DWORD dwItemVnum, WORD bCount=1, int iRarePct = -1, bool bMsg = true);
void AutoGiveItem(LPITEM item, bool longOwnerShip = false);
#endif
char_item.cpp
#ifdef ENABLE_SORT_INVENTORY
LPITEM CHARACTER::AutoGiveItem(DWORD dwItemVnum, WORD bCount, int iRarePct, bool bMsg, bool bWereMine)
#else
LPITEM CHARACTER::AutoGiveItem(DWORD dwItemVnum, WORD bCount, int iRarePct, bool bMsg)
#endif
#Rezolvat, multumesc puteti da tc!
#ifdef ENABLE_SORT_INVENTORY
LPITEM AutoGiveItem(DWORD dwItemVnum, WORD bCount=1, int iRarePct = -1, bool bMsg = true, bool bWereMine = true);
void AutoGiveItem(LPITEM item, bool longOwnerShip = false, bool bWereMine = true);
#else
LPITEM AutoGiveItem(DWORD dwItemVnum, WORD bCount=1, int iRarePct = -1, bool bMsg = true);
void AutoGiveItem(LPITEM item, bool longOwnerShip = false);
#endif
char_item.cpp
#ifdef ENABLE_SORT_INVENTORY
LPITEM CHARACTER::AutoGiveItem(DWORD dwItemVnum, WORD bCount, int iRarePct, bool bMsg, bool bWereMine)
#else
LPITEM CHARACTER::AutoGiveItem(DWORD dwItemVnum, WORD bCount, int iRarePct, bool bMsg)
#endif
#Rezolvat, multumesc puteti da tc!
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 21 vizitatori
