![]() |
AntiCheat - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: AntiCheat (/thread-1373.html) |
AntiCheat - daniel0916 - 02-16-2014 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? RE: AntiCheat - tigerw - 02-16-2014 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 buried ![]() RE: AntiCheat - daniel0916 - 02-16-2014 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? RE: AntiCheat - NiLSPACE - 02-16-2014 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 RE: AntiCheat - tonibm19 - 02-16-2014 I know I'm not anyone to say that but, what about enchanting and 1.8 protocol? RE: AntiCheat - daniel0916 - 02-16-2014 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... RE: AntiCheat - ThuGie - 02-16-2014 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). RE: AntiCheat - daniel0916 - 02-16-2014 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. RE: AntiCheat - daniel0916 - 02-17-2014 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 * RE: AntiCheat - daniel0916 - 03-02-2014 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? |