Register for your free account! | Forgot your password?

You last visited: Today at 16:07

  • Please register to post and access all features, it's quick, easy and FREE!

 

Anti Cheat Battle Power System

View Poll Results: Is this subject understandable and useful ?
I have benefited 1 25.00%
Did not benefit 3 75.00%
I understood 0 0%
I do not understand 0 0%
Multiple Choice Poll. Voters: 4. You may not vote on this poll

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2015
Posts: 9
Received Thanks: 0
Anti Cheat Battle Power System

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

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

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

Code:
private void CharactersCallback(GameState client, int time)
Under the arc sign

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

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



thetop2016 is offline  
Old   #2

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,539
Received Thanks: 3,173

What a stupid system. If the server value for battle power is fucked, that's not the player's fault. That's your fault.


Spirited is offline  
Thanks
1 User
Old   #3
 
elite*gold: 0
Join Date: Oct 2015
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post

What a stupid system. If the server value for battle power is ******, that's not the player's fault. That's your fault.
There are servers with holes and there are players who run programs of manipulation at the base if your server is safe do not occur .

Give me your safe game and I go down like any player and I will make you understand the importance of this code

thank you for come by
thetop2016 is offline  
Old   #4

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,539
Received Thanks: 3,173
Quote:
Originally Posted by thetop2016 View Post
There are servers with holes and there are players who run programs of manipulation at the base if your server is safe do not occur .

Give me your safe game and I go down like any player and I will make you understand the importance of this code

thank you for come by
Then fix the holes. This is an idiotic approach that doesn't even solve the problem.


Spirited is offline  
Old   #5
 
elite*gold: 0
Join Date: Oct 2015
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Then fix the holes. This is an idiotic approach that doesn't even solve the problem.

I do not have this problem in my server , but there are people who have this They can not do anything

This solution is theirs .
thetop2016 is offline  
Old   #6

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,539
Received Thanks: 3,173
Quote:
Originally Posted by thetop2016 View Post
I do not have this problem in my server , but there are people who have this They can not do anything

This solution is theirs .
Keep it that way. This helps nobody.
I can't stress enough how wrong this is.
Spirited is offline  
Old   #7
 
elite*gold: 0
Join Date: Oct 2015
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Keep it that way. This helps nobody.
I can't stress enough how wrong this is.
I wanted to help with something

I found this solution for anyone trying to infringe

If you find a suitable solution, help them
thetop2016 is offline  
Old   #8
 
elite*gold: 0
Join Date: Jul 2009
Posts: 458
Received Thanks: 165
If you don't know how to fix problems, don't start a server. Which actually is a thing that will give you tons of problems and bugs.
pintinho12 is offline  
Old   #9

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,539
Received Thanks: 3,173
I will gladly outline how this is wrong and a solution for it if the source was given to me. Because this is the worst **** I've seen here in a long time. Like someone putting a circle in a square hole. Sure, you might be able to get it to fit, but it's not a solution. People can still cheat because you did nothing about the exploit. Adding new code doesn't help either. It just increases the possibility of bugs and the attack surface. I have granted you access to PMing me. Send it my way in a private message and I will actually look at it.


Spirited is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Flag-Sro l Cap110 l Coin System l Fight-Power System l New System l High Rate
http://i.epvpimg.com/Q62Bb.png if you Like Old School Join us Web Site Flag-Sro - Silkroad Online Private Server Download Flag-Sro - Silkroad...
1 Replies - SRO PServer Advertising
anti 4x Cheat - Anti 1hitkiller Cheat
anti 4x cheat & anti 1hitkiller cheat mym pvp server Wie?
10 Replies - Metin2 PServer - Discussions / Questions



All times are GMT +1. The time now is 16:07.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.