Solved Plugins and anti-cheats?

Discussion in 'Rust Discussion' started by seanterris, May 5, 2015.

  1. I'm sorry if this is a silly question:

    is there any possibility that one of the anti-cheats systems will get triggered if i modify the game behavior too much? For example, if i build a high speed boat for my players, is there any way their high speed movement can be falsely taken by some anti-cheat (oblivious to existence of my awesome boats and their powerful engines) by a speedhack? I don't think cheatpunch or client side EAC would do any problems, but i am bit worried about the server side of EAC? how does it work exactly? i know it doesn't work as it supposed to given the hackers are still free roaming official rust servers. i really wouldn't want anyone to get falsely pinned for hacking just because they wanted to try one of my contraptions :/

    dear oxiders, please reassure me :)!
     
  2. There are no vehicles in rust. You will not be able to build a moving boat.
     
  3. I beg to differ :) it will be clunky and it will steer like shit but what exactly stops you from moving objects around ? elevators move players vertical, i don't see why it would be different for horizontal movement.
     
  4. Good luck lol.
     
  5. You should have your plugin flag the player using your block vehicle in your plugin to set him as using it, then in the anti-cheat you need to call your plugin to get that value and exit the check if the player is controlling something that gives him increased speed.
     
  6. I like how you made fun of me yet you didn't answer what exactly is stopping it from happening. i tested it already and it works ffs. it has its problems but nothing unsolvable as far as i can tell.

    if you still don't believe me go download the telekinesis plugin. stand on a piece of floor and grab it. look up and ahead. boom, flying carpet. now go edit the plugin, so the object doesn't follow your aim but fixed (0,1,1) point. boom, automatic flying carpet. you can have complete control over this objects movement with all the goodness that unity engine provide. you can modify it further to move more than one object at once if you want.

    if you can't see how one can lead to another i'm afraid no amounts of plugin will help you and your players. unless you can state why please consider giving someone else a chance to respond.
    [DOUBLEPOST=1430804901][/DOUBLEPOST]
    I'm afraid you think I'm talking about the plugin anti-cheat. Anything that I have a control over (so oxide and its plugins) doesn't worry me, neither from performance point of view or false positives - it is my job to make sure it runs right. But everytime I start a server, local test one or remote rented one, there is an info in logs about EAC being loaded. I don't know how EACs exactly work, I only heard it's a PoS, I was wandering if any devs working with extreme speeds or other extremes run into a problem with it before.
     
  7. Moving connected parts is possible but it's a bit more tricky than moving a single part as there is no real way of getting all connected parts. So you basically need to start from one block and then check for surrounding blocks which is the easiest thing to do with bounds most likely.
    [DOUBLEPOST=1430805080][/DOUBLEPOST]
    Ah the actual EAC, this shouldn't be an issue, you just need to keep in mind there is a method that will move a player back if he's moving too fast if he's not an admin. Besides that EAC shouldn't trigger on changed movement speed by the server otherwise a lot of people would've had false positives by using the teleport plugin already :)
     
  8. That is very good news and one thing less to worry about for me, thanks! I still have some problems with players clipping through the floor when they press shift and the floor moves too fast. Putting a block underneath it seems to help it, but i would still like to be able to have flying 1x1 platforms just from the floors here and there. That's another story though, thanks for clarifying this EAC business for me :)
     
  9. You will not be making a vehicle let alone a moving boat. I'm afraid we just have to wait for facepunch to add rafts to the game.
     
  10. There might not be actual vehicles in the game but it is possible to create something that looks like a boat with building blocks, and if he wants to try then let him try as it is possible to move building blocks and such so technically everything you need to do something like that is available, it won't be easy but it is possible.
     
  11. There have been plenty of buildings made to look like boats. He thinks he can actually get the building to move though which is impossible.
     
  12. You are impossible mate. I assure you this is doable, and as I said i have made a working proof of concept to make sure. Are you calling me a liar?
     
  13. As someone who understands game programming i can tell you what you are trying to achieve is not doable unless they add the ability to build vehicles into the game and cannot be done with a plugin.
     
  14. Fact: thanks to oxide we have an access to Unity scripting api, which is what you also use when programming any kind of movement in your game. Fact: all objects in rust that you can interact (so anything you can build, also any animal or player character[and ore rocks]) have a .Transform attached to it, which stores its position and rotation in the world space. we can access and change those at will. Fact: we can make sure that the objects are drawn in correct place every frame.
    this lets you take any object or group of objects and animate their smooth movement. if done correctly they should also also perform all their function normally while moving (doors are acting up a bit), and also cast correct lighting etc. you can design virtually any type of movement, as long as you are willing to sacrifice some time to script it. so no, you it's not possible to add a car or a boat model to the game. but i can sure as hell build something that will look like a boat and behave like a boat, and i told you exactly how. those are not my theories or wild ideas, but hard facts that you can either verify, or keep being ignorant.
     
  15. Rust blocks movement speeds at ... 20m/s so other then that you will get roll backs
     
  16. I'm not sure how many units a meter is in rust, but let's say the wall has 2 meters (3 units), the max speed would be 10 rust floors per second? That's faster than i need :) before you could reach those speeds you would run into clipping problems i think. thanks for the info anyway!
     
  17. yeah the colliders don't let you do high speed, you can just see how it goes with my elevator, if you make it go too fast, you will just fall ^^
     
  18. did you had problems with clipping when players hold shift?
     
  19. i dont have a server, only a test server where i make the plugins ... so no i didnt but i havent had to chance to test XD
     
  20. i will pillage your elevators code later in look for answers :) wanna also see how you handle movement. i need a better interpolator, neither Lerp nor Slerp are smooth enough even with on-the-fly speed correction :(