Nu stiu exact cum se vrea implementarea pentru functia
Cod: Selectaţi tot
void CInputLogin::Entergame(LPDESC d, const char * data)
Ty
Cod: Selectaţi tot
void CInputLogin::Entergame(LPDESC d, const char * data)

https://prnt.sc/xvc1jmMGabriel1 scrie: ↑30 Ian 2021, 16:11 Salutare,
Nu stiu exact cum se vrea implementarea pentru functiasi daca poate cineva sa faca share cu implementarea ok, pentru shop offline great.Cod: Selectaţi tot
void CInputLogin::Entergame(LPDESC d, const char * data)
Ty
Asta e ce trebuie implementat,Martinel scrie: ↑30 Ian 2021, 16:19https://prnt.sc/xvc1jmMGabriel1 scrie: ↑30 Ian 2021, 16:11 Salutare,
Nu stiu exact cum se vrea implementarea pentru functiasi daca poate cineva sa faca share cu implementarea ok, pentru shop offline great.Cod: Selectaţi tot
void CInputLogin::Entergame(LPDESC d, const char * data)
Ty
Sper sa te ajute
Cod: Selectaţi tot
[..]
void CInputLogin::Entergame(LPDESC d, const char * data)
{
[..]
ch->ReviveInvisible(5);
d->SetPhase(PHASE_GAME);
[..]
#ifdef OFFLINE_SHOP
ch->LoadPrivShops();
ch->SendShopCost();
ch->StartRefreshShopEvent();
#endif
#ifdef GIFT_SYSTEM
ch->StartRefreshGift();
#endif
[..]
}

dupa d->setPhase(PHASE_GAME);MGabriel1 scrie: ↑30 Ian 2021, 16:25
Asta e ce trebuie implementat,Cod: Selectaţi tot
[..] void CInputLogin::Entergame(LPDESC d, const char * data) { [..] ch->ReviveInvisible(5); d->SetPhase(PHASE_GAME); [..] #ifdef OFFLINE_SHOP ch->LoadPrivShops(); ch->SendShopCost(); ch->StartRefreshShopEvent(); #endif #ifdef GIFT_SYSTEM ch->StartRefreshGift(); #endif [..] }
Functia in sine am gasit-o, dar nu stiu exact unde-ar trebui sa includ cele de mai sus
#ifdef OFFLINE_SHOP ch->LoadPrivShops(); ch->SendShopCost(); ch->StartRefreshShopEvent(); #endif #ifdef GIFT_SYSTEM ch->StartRefreshGift(); #endif
Makes sense, mersi, tcMapshitoWork scrie: ↑30 Ian 2021, 16:52dupa d->setPhase(PHASE_GAME);MGabriel1 scrie: ↑30 Ian 2021, 16:25
Asta e ce trebuie implementat,Cod: Selectaţi tot
[..] void CInputLogin::Entergame(LPDESC d, const char * data) { [..] ch->ReviveInvisible(5); d->SetPhase(PHASE_GAME); [..] #ifdef OFFLINE_SHOP ch->LoadPrivShops(); ch->SendShopCost(); ch->StartRefreshShopEvent(); #endif #ifdef GIFT_SYSTEM ch->StartRefreshGift(); #endif [..] }
Functia in sine am gasit-o, dar nu stiu exact unde-ar trebui sa includ cele de mai sus
adaugi
#ifdef OFFLINE_SHOP ch->LoadPrivShops(); ch->SendShopCost(); ch->StartRefreshShopEvent(); #endif #ifdef GIFT_SYSTEM ch->StartRefreshGift(); #endif
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 3 vizitatori