AntiCheat
#1
I'm currently working on implementing a AntiCheat System in the MCServer Code.
I have started already but i'm not sure if i should add it to the code or should i make a plugin... What do you think?
Reply
Thanks given by:
#2
I believe Howaner is doing some things already, mainly block interaction speed and distance checks, and maybe some more. Integrating into the code would be good - a plugin needs updating and will likely be buriedTongue
Reply
Thanks given by:
#3
Yes, i know that he is working on them.
But he isn't working on a AntiCheat System. I have contact with him.

A little question: Give it a method to get how many blocks the player is away from the ground?
Reply
Thanks given by:
#4
In Lua you could use this. I'm sure you can translate it somehow to C++
local DistanceFromGround = 0
for Y=Player:GetPosY(), 1, -1
 if World:GetBlock(X, Y, Z) ~= E_BLOCK_AIR then
  DistanceFromGround = Player:GetPosY() - Y -- We found land
 end
end
Reply
Thanks given by: daniel0916
#5
I know I'm not anyone to say that but, what about enchanting and 1.8 protocol?
Reply
Thanks given by:
#6
1.8 Protocol: paused (many changes. I will work on it but i will wait for the release.)
Enchanting: I don't know how can i calculate which enchantments should i add for the levels.. I will see in the Bukkit Code...
Reply
Thanks given by:
#7
How about, you make it able to be set in ini ?
Like 3 states
enchant-state one: 1-5
enchant-state two: 6-15
enchant-state three: 16-30

it will randomly pick one. and from that you get a low level(single) enchant,
state two, mid level enchant(one or two enchants)
high level(2-3 enchants).
Reply
Thanks given by:
#8
I will try your idea. But before i need to push AntiCheat(the current code) because i can't switch the branch. I will make AntiCheat a little bit better and then i will try enchanting.
Reply
Thanks given by:
#9
Edited:
SendTeleportEntity(*m_Player);

How can i block the moving of a player? I need to teleport it back or? Because "MoveTo" don't move the player back...

Edit: Fail... I forgot *
Reply
Thanks given by:
#10
Okay, now i need help with the WalkSpeed. I need the Walkspeed in float.
But a_Player.GetSpeed() returns me the Vector. How can i get the WalkSpeed?
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)