|
You last visited: Today at 21:27
Advertisement
[help] How to check if in game character stats and logging character stats?
Discussion on [help] How to check if in game character stats and logging character stats? within the Flyff Private Server forum part of the Flyff category.
01/24/2017, 11:19
|
#1
|
elite*gold: 0
Join Date: Dec 2016
Posts: 24
Received Thanks: 0
|
[help] How to check if in game character stats and logging character stats?
I found out that when using CE (Cheat Engine) I could hack the stats. I already found the solution to stop hack stats. Now I have check the character logging is different to in game character stats. Can someone help me in source how do I compare it and logs (hack detected) and also kick the player or auto ban etc. Thanks
Respect post, newbie here
|
|
|
01/24/2017, 11:30
|
#2
|
elite*gold: 0
Join Date: Mar 2013
Posts: 204
Received Thanks: 38
|
Source/Worldserver/User.cpp
Search for:
Add Below
Code:
#ifdef __STAT_HACKFIX_RH
if( IsValidObj( this ) )
{
if( !IsAuthHigher( AUTH_GAMEMASTER ) )
{
if( ( ( m_nSta-15 ) + ( m_nInt -15 ) + ( m_nDex -15 ) + ( m_nStr - 15 ) ) > 550 )
{
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
FILEOUT( "Hack.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() > 2000 || this->GetInt() > 2000 || this->GetDex() > 2000 || this->GetStr() > 2000 )
{
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
FILEOUT( "Hacktemp.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
Worldserver/Versioncommon.h
Code:
#define __STAT_HACKFIX_RH
|
|
|
01/24/2017, 12:09
|
#3
|
elite*gold: 0
Join Date: Dec 2016
Posts: 24
Received Thanks: 0
|
WTF! I guess this site has better members than r a g e z on e!
Thanks for the help! Credited
Quote:
Originally Posted by flyffdev
Source/Worldserver/User.cpp
Search for:
Add Below
Code:
#ifdef __STAT_HACKFIX_RH
if( IsValidObj( this ) )
{
if( !IsAuthHigher( AUTH_GAMEMASTER ) )
{
if( ( ( m_nSta-15 ) + ( m_nInt -15 ) + ( m_nDex -15 ) + ( m_nStr - 15 ) ) > 550 )
{
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
FILEOUT( "Hack.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() > 2000 || this->GetInt() > 2000 || this->GetDex() > 2000 || this->GetStr() > 2000 )
{
//g_dpDBClient.SendBan( m_playAccount.lpszAccount, 9999 );
FILEOUT( "Hacktemp.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
Worldserver/Versioncommon.h
Code:
#define __STAT_HACKFIX_RH
|
|
|
|
 |
Similar Threads
|
Where can I find base character stats?
09/05/2016 - Shaiya PServer Development - 4 Replies
By that I mean for example health increasing each level for a human fighter. Where would I find this information? I've been looking for ages in an extracted data file and i just can't find it.
I want to know in ep5.3 how many stats a level 70 Fighter UM would have.
|
Character Stats
09/06/2012 - Metin2 Private Server - 3 Replies
Wo fix ich das? Und wie?
http://imageshack.us/photo/my-images/201/metin220 12090621572231.png/
http://imageshack.us/photo/my-images/201/metin220 12090621572231.png/
|
[HELP]Wild Stats When Character Created
10/02/2011 - Shaiya Private Server - 14 Replies
Hey Guys,
Got a little problem. When we create a character in game and level up the stats become all wonky. I.e: the kills are like 14k deaths like 9k and you can hit for a 15k crit.
Anyone know how to solve this? will be greatly appreciated.
Thanks.
Jet
|
Ecsro Character Stats
01/11/2009 - SRO Private Server - 4 Replies
Hey, anybody know another site like this with more information of the Character?
*edited*
Cya
|
Code Character Stats (str, agi, etc) in a CO Private Server
05/01/2008 - Conquer Online 2 - 0 Replies
.
|
All times are GMT +1. The time now is 21:29.
|
|