HackStattemp.txt

01/09/2016 13:50 zedei26#1
any can explain this..
the character cant log in and the error show at server side


2016/ 1/ 9 20:03:02
HackStattemp.txt
2016/ 1/ 9 20:04:01
HackStattemp.txt
2016/ 1/ 9 20:05:07
HackStattemp.txt
2016/ 1/ 9 20:05:52
HackStattemp.txt
2016/ 1/ 9 20:06:59
HackStattemp.txt
2016/ 1/ 9 20:08:47
HackStattemp.txt
2016/ 1/ 9 20:09:46
HackStattemp.txt
2016/ 1/ 9 20:11:11
HackStattemp.txt
2016/ 1/ 9 20:12:26
HackStattemp.txt
2016/ 1/ 9 20:13:33
HackStattemp.txt
01/09/2016 14:43 raventh1984#2
search the source on HackStattempt.txt

Then you should find it.
01/09/2016 15:29 zedei26#3
can you explain i find in user.cpp

User.cpp

01/09/2016 16:15 Drabur#4
just remove this ... if you server is not online
01/09/2016 16:30 zedei26#5
Quote:
Originally Posted by Drabur View Post
just remove this ... if you server is not online
what i remove?
01/09/2016 17:33 Kiseku#6
?? READ
Code:
#ifdef __STAT_HACKFIX
if( IsValidObj( this ) )
{
if( !IsAuthHigher( AUTH_GAMEMASTER ) )
{
if( ( ( m_nSta-15 ) + ( m_nInt -15 ) + ( m_nDex -15 ) + ( m_nStr - 15 ) ) > 362 )
{
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
WriteLog( "HackStat.txt", "UserID = %07d, UserName = %s [STA:%d, INT:%d, DEX:%d, STR:%d] stats stat points, login returned", m_idPlayer, GetName(), m_nSta, m_nInt, m_nDex, m_nStr );
g_UserMng.RemoveUser( m_dwSerial );
}
}
}

//Stats-Check recoded!
if( IsValidObj( this ) )
{
if( !IsAuthHigher( AUTH_GAMEMASTER ) )
{
if( this->GetSta() > 1850 || this->GetInt() > 1850 || this->GetDex() > 1850 || this->GetStr() > 1850 )
{ 
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
WriteLog ( "HackStattemp.txt", "UserID = %07d, UserName = %s [STA:%d, INT:%d, DEX:%d, STR:%d] stats stat points, login returned", m_idPlayer, GetName(), m_nSta + GetParam( DST_STA, 0 ), m_nInt + GetParam( DST_INT, 0 ), m_nDex + GetParam( DST_DEX, 0 ), m_nStr + GetParam( DST_STR, 0 ));
g_UserMng.RemoveUser( m_dwSerial );
}
}
}

#endif
Remove...
01/10/2016 18:21 KazumiTanuki#7
Quote:
Originally Posted by Drabur View Post
just remove this ... if you server is not online
no it can be bad cuz his server might crash i remember flyforfantasy had this problem
01/10/2016 20:57 DevilsNumber#8
Quote:
Originally Posted by KazumiTanuki View Post
no it can be bad cuz his server might crash i remember flyforfantasy had this problem
u mad bro?
its just a fix for the stathack
if his server isnt a live server then he can remove that without problems
01/10/2016 21:49 zedei26#9
thank you so much all and now is working..
02/04/2016 12:54 NoWay | Phoenix#10
Code:
#ifdef __STAT_HACKFIX
if( IsValidObj( this ) )
{
if( !IsAuthHigher( AUTH_GAMEMASTER ) )
{
if( ( ( m_nSta-15 ) + ( m_nInt -15 ) + ( m_nDex -15 ) + ( m_nStr - 15 ) ) > 362 )
{
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
WriteLog( "HackStat.txt", "UserID = %07d, UserName = %s [STA:%d, INT:%d, DEX:%d, STR:%d] stats stat points, login returned", m_idPlayer, GetName(), m_nSta, m_nInt, m_nDex, m_nStr );
g_UserMng.RemoveUser( m_dwSerial );
}
}
}

//Stats-Check recoded!
if( IsValidObj( this ) )
{
if( !IsAuthHigher( AUTH_GAMEMASTER ) )
{
if( this->GetSta() > 9500 || this->GetInt() > 9500 || this->GetDex() > 9500 || this->GetStr() > 9500 )
{ 
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
WriteLog ( "HackStattemp.txt", "UserID = %07d, UserName = %s [STA:%d, INT:%d, DEX:%d, STR:%d] stats stat points, login returned", m_idPlayer, GetName(), m_nSta + GetParam( DST_STA, 0 ), m_nInt + GetParam( DST_INT, 0 ), m_nDex + GetParam( DST_DEX, 0 ), m_nStr + GetParam( DST_STR, 0 ));
g_UserMng.RemoveUser( m_dwSerial );
}
}
}

#endif
Now it will works w/o Problems:)