Hello, today i tried co compile source and i got this problem
putty :
Code
- cmd_general.cpp: In function 'void do_mushroom_pick(LPCHARACTER, const char*, in t, int)':
- cmd_general.cpp: 1005 :93: error: 'class CHARACTER' has no member named 'IsOpenMai lBox'
- if (ch->GetExchange() || ch->GetMyShop() || ch->IsOpenSafebox() || ch->IsCubeO pen() || ch->IsOpenMailBox() || ch->isChangeLookOpened())
CMD general :
Code
- ACMD(do_mushroom_pick)
- {
- if (!ch)
- return;
- if (!ch->IsPC())
- return;
- if (ch->IsDead() || ch->IsStun())
- return;
- if (ch->IsHack())
- return;
- if (ch->GetExchange() || ch->IsOpenMailBox() || ch->GetMyShop() || ch->IsOpenSafebox() || ch->IsCubeOpen() || ch->isChangeLookOpened())
- {
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("kelime_event_kpt"));
- return;
- }
- if (ch->CountSpecifyItem(18089) == 0 || ch->CountSpecifyItem(31372) < 4)
- {
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("kelime_event_yk"));
- return;
- }
- ch->RemoveSpecifyItem(18089, 1);
- ch->RemoveSpecifyItem(31372, 5);
- ch->AutoGiveItem(19000, 1);
- }
anyone knows why ? i tried to disable the system.. delete it and still dont work..