



























connnect tw-0.7+udp://115.28.130.146:8298connect tw-0.7+udp://115.28.130.146:8298










































m_Sixup variable sets to true




Connect method is not even called 


CNetClient::Recv gets IsSixup true






m_Sixup






















kills_stolen_by and kills_stolen_from?

kills_stolen and kills-stolen if you hate yourself

steals stolen_from is also acceptable



kills_stolen and kills-stolen if you hate yourself 










































#if defined(CONF_FAMILY_WINDOWS)
typedef void *SEMAPHORE;
#elif defined(CONF_PLATFORM_MACOS)
#include <semaphore.h>
typedef sem_t *SEMAPHORE;
#elif defined(CONF_FAMILY_UNIX)
#include <semaphore.h>
typedef sem_t SEMAPHORE;
#else
#error not implemented on this platform
#endif
somehow this triggers #error not implemented on this platform on M2
but it doesnt make sense, because of CONF_PLATFORM_MACOS (edited)




#if defined(CONF_FAMILY_WINDOWS)
typedef void *SEMAPHORE;
#elif defined(CONF_PLATFORM_MACOS)
#include <semaphore.h>
typedef sem_t *SEMAPHORE;
#elif defined(CONF_FAMILY_UNIX)
#include <semaphore.h>
typedef sem_t SEMAPHORE;
#else
#error not implemented on this platform
#endif
somehow this triggers #error not implemented on this platform on M2
but it doesnt make sense, because of CONF_PLATFORM_MACOS (edited)


#if defined(CONF_FAMILY_WINDOWS)
typedef void *SEMAPHORE;
#elif defined(CONF_PLATFORM_MACOS)
#include <semaphore.h>
typedef sem_t *SEMAPHORE;
#elif defined(CONF_FAMILY_UNIX)
#include <semaphore.h>
typedef sem_t SEMAPHORE;
#else
#error not implemented on this platform
#endif
somehow this triggers #error not implemented on this platform on M2
but it doesnt make sense, because of CONF_PLATFORM_MACOS (edited)




























str_format_int is only for internal use. Use str_format with "%d" which will automatically use str_format_int in release build


str_format_int is only for internal use. Use str_format with "%d" which will automatically use str_format_int in release build 


m_ConnlessPackets after some time. Maybe you have better ideas how to do it =]
If you think there's no way to make this code mergeable, lemme know I'll close the pr xd
closes #8920





he's alive!































mount -o ro -t ntfs-3g /dev/sdxy /mnt/whereverntfs-3g -o ro /dev/sdxy /mnt/wherever

67068ad Fix snapshot builder creating too large snapshots - Robyt3
9a380ff Do not add snap item if extended item type could not be added - Robyt3
ac9c660 Extract pItem variable to avoid duplicate GetItem call - Robyt3
2426d59 Remove unnecessary checks in CSnapshotBuilder::Init7 function - Robyt3
fd01e6c Fix snapshot handling when converting 0.7 demo snapshot fails - Robyt3
6086a93 Merge pull request #8995 from Robyt3/Snapshot-Builder-Size-Fix - def-









if(!m_Core.m_aWeapons[m_Core.m_ActiveWeapon].m_Got)
inside the unfreeze function? i dont quite understand why (edited)bool CCharacter::UnFreeze()
{
if(m_FreezeTime > 0)
{
m_Armor = 10;
if(!m_Core.m_aWeapons[m_Core.m_ActiveWeapon].m_Got)
m_Core.m_ActiveWeapon = WEAPON_GUN;
m_FreezeTime = 0;
m_Core.m_FreezeStart = 0;
m_FrozenLastTick = true;
return true;
}
return false;
}

bool CCharacter::UnFreeze()
{
if(m_FreezeTime > 0)
{
m_Armor = 10;
if(!m_Core.m_aWeapons[m_Core.m_ActiveWeapon].m_Got)
m_Core.m_ActiveWeapon = WEAPON_GUN;
m_FreezeTime = 0;
m_Core.m_FreezeStart = 0;
m_FrozenLastTick = true;
return true;
}
return false;
} 
sx and sy parameters are unnecessary, as they are always set to zero.
The checks in the SelectSprite functions are changed to assertions, as passing a wrong sprite ID is a programming error.












are you using sqlite or mysql @Daniel ?

are you using sqlite or mysql @Daniel ? 


are you using sqlite or mysql @Daniel ? str_format(aBuf, sizeof(aBuf),
"INSERT INTO %s_points(Name, Points) "
"VALUES (?, ?) "
"ON DUPLICATE KEY UPDATE Points=Points+?",
GetPrefix());
also work (edited)


dbg_msgss around this INSERT INTO statement and see where it goes wrong



dbg_msgss around this INSERT INTO statement and see where it goes wrong 






int NumFinished = true; //pSqlServer->GetInt(1);
if(NumFinished == 0)
will be never true xDD
