HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
EterLib içinde NetPacketHeaderMap .cpp and .h
aşağıda ki kodu buldum.
Set(int header, TPacketType & rPacketType)
ve değiştirdim.
Set(int header, TPacketType rPacketType)
oyuna sorunsuz girdim.
ama sizce bu çözüm doğru mu?
aşağıda ki kodu buldum.
Set(int header, TPacketType & rPacketType)
ve değiştirdim.
Set(int header, TPacketType rPacketType)
oyuna sorunsuz girdim.
ama sizce bu çözüm doğru mu?
@Update1: Ikarus offlineshop:
PythonOfflineShop.h
search this:
change to:
chapter2: (Sanii switchbot)
PythonSwitchbot.cpp
this:
change to:
PythonOfflineShop.h
search this:
C++:
template <class T ,template <class> class S, typename S<T>::iterator >
void ForEach(S<T>& container, std::function<void(T&)> func)
{
S<T>::iterator it=container.begin(), iter;
while((iter = it++) != container.end())
func(*iter);
}
template <class T , class K, template <class,class> class S, typename S<K,T>::iterator >
void ForEach(S<K,T>& container, std::function<void(T&)> func)
{
S<K,T>::iterator it=container.begin(), iter;
while((iter = it++) != container.end())
func(iter->second);
}
change to:
C++:
template <class T ,template <class> class S, typename S<T>::iterator >
void ForEach(S<T>& container, std::function<void(T&)> func)
{
typename S<T>::iterator it=container.begin(), iter;
while((iter = it++) != container.end())
func(*iter);
}
template <class T , class K, template <class,class> class S, typename S<K,T>::iterator >
void ForEach(S<K,T>& container, std::function<void(T&)> func)
{
typename S<K,T>::iterator it=container.begin(), iter;
while((iter = it++) != container.end())
func(iter->second);
}
chapter2: (Sanii switchbot)
PythonSwitchbot.cpp
this:
C++:
auto& it2 = it->second.find(table.apply_num);
change to:
C++:
const auto& it2 = it->second.find(table.apply_num);
Thank you for sharing this tutorial, for the Set function error
NetPacketHeaderMap.h
and replace all the
NetPacketHeaderMap.h
C++:
//Add under the SPacketType struct
TPacketType& createPacketType(int iSize = 0, bool bFlag = false)
{
return *(new TPacketType(iSize, bFlag));
}
and replace all the
C++:
//replace
CNetworkPacketHeaderMap::TPacketType(
//to this
createPacketType(
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 4
- Görüntüleme
- 356
- Cevaplar
- 2
- Görüntüleme
- 125
- Cevaplar
- 1
- Görüntüleme
- 45
- Cevaplar
- 18
- Görüntüleme
- 5K
