Hello everybody I found a lot of people struggling to protect their server from the battle power system
This explanation to those who do not know :)
focus with me :)
Explanation
focus with me :)
Explanation
Open AccountState.cs or AccountTable.cs According to your source Search for
Code:
ProjectManager = 4,
Put this down
Code:
Cheat = 80,
Then look for
HTML Code:
public void SaveState()
Close it with the minus sign
Then put this down
Then put this down
Code:
public void Cheat()
{
if (exists)
{
MySqlCommand cmd = new MySqlCommand(MySqlCommandType.UPDATE);
cmd.Update("accounts").Set("State", 80).Where("Username", Username).Execute();
}
else
{
try
{
MySqlCommand cmd = new MySqlCommand(MySqlCommandType.INSERT);
cmd.Insert("accounts").Insert("Username", Username).Insert("Password", Password).Insert("State", (byte)State).Execute();
}
catch (Exception e) { Program.SaveException(e); }
}
}
and then
Open World.cs
Search for
Open World.cs
Search for
Code:
private void CharactersCallback(GameState client, int time)
Under the arc sign
Put this
Put this
Code:
#region Cheat BattlePower
if (client.Entity.BattlePower > 406)
if (client.Account.State != Conquer_Online_Server.Database.AccountTable.Accoun tState.ProjectManager)
{
client.Account.State = Conquer_Online_Server.Database.AccountTable.Accoun tState.Cheat;
client.Account.Cheat();
client.Disconnect();
}
#endregion
Then
Open Packet Handler.cs
Search for
Open Packet Handler.cs
Search for
Code:
if (Account.State == Database.AccountTable.AccountState.Banned)
You will find this code there
Code:
string Message = "";
put this down
Code:
if (Account.State == Database.AccountTable.AccountState.Cheat)
{
Message = "Faild to login: This account Use Cheat / Hack Talk With [GM]";
}
The result of all this increases the number of battle power of his own natural number 405 get a ban!
Ended Thread