Tips to prevent cheats due to bugs

Read tips and guides about teeworlds-related subjects (mapping, compiling, ..).
Post Reply
User avatar
Pipou
Posts: 42
Joined: Wed Nov 19, 2014 10:13 pm
Player profile: http://ddnet.org/players/Pipou/
Mapper profile: http://ddnet.tw/mappers/Pipou/

Tips to prevent cheats due to bugs

Post by Pipou »

Image Bugs Image
Written by Pipou.
04.10.2017

Topic to the attention of mappers and testers especially, in addition to the mapping and testing tutorials.
This topic is about listing all the bugs that shouldn't appear in your map to prevent cheats unless they are on purpose.

Never let tees skip the startline, that's one of the main thing you should be looking at while processing tests.
Then look for any of the listed bugs.

Image
  • What's a bug?
    A software bug is an error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result.
  • Bugs in DDRace?
    Bugs are part of the mod but not all of them are tolerated.
    Some bugs can lead to cut a few parts of a map or even a whole map.
Image
ImageGame bugs :
Those bugs are dangerous, vicious or tricky because they are not well known of everybody and often lead to hard cheated times, such as 0.00.02mn ranks, because the mapper isnt aware you can actually do it. Neither testers.

They can let you go through teleport*, kill, weapons, shield, heart, stoppers, doors and speeders excepted for ninja which works differently.
Read the dedicated ninja spoiler below for more info.

They consist in getting a very high velocity (speed), thanks to :
  • Weapons
    • Ninja
      SpoilerShow
      Ninja can help you go through 1 tile wide of any tiles of any layer but weapons, shield, heart, unhookable, hookable and kill tiles.
    • Shotgun
      SpoilerShow
      Condition : both tees inside each other.

      Different ways to get tees inside each other :
      - Using ninja.
      - Using no-collision tile.
      - Falling from very high.
      - Joining a team before the start line.
      - Using /spec.

      While both tees are perfectly aligned, one can shotgun so the other one benefits of the shotgun's all mighty strength.
      The move is always the same : going straight up to the highest point of the map (the map borders limit at pos y=-200) to your death if there isnt any unhookable tiles or hookable tiles or teleport.
      If you get into a teleport you'll go back to it's "to" or "cto" marker, note that you'll always hit the highest teleport.
      Otherwise, if you hit a roof you'll shortly start falling down then finally have a curved movement to the left.
    • Jetpack
      SpoilerShow
      Jetpack and gravity are a great combination to get a good amount of speed.
  • Game entities
    • Speeders
      SpoilerShow
      Speeders are very bugged and can sometimes lead to unexpected situations.
    • Kill immunity
      SpoilerShow
      Kill immunity is a server setting which protects the tees of a team who crossed the finished line from dying of kill tiles until all the members of the team finished.

      The exploit is to pass the finish line with a tee or more, meanwhile one waits without crossing it. The tee who crossed the finish line can then walk in kill tiles without dying, going back to previous parts or even to the start of the map in order to help others by dragging them in impossible places or helping them thanks to weapons. When that tee reached the place it wants to be, make sure to unlock your team then the waiting tee can finally finish. Being in an unlocked team you'll instantly join /team 0. You can then proceed to cutting parts.
  • Server tuning
    • Gravity
      SpoilerShow
      Gravity with a value >0 (default setting is 0.5) increases your speed while falling down.
      On opened maps (roofless or bottomless maps), it can lead to gathering a lot of speed and then allow you to go through tiles.
  • Flying strategies
    • Pirofly
      SpoilerShow
      Pirofly aka. reversed speedfly was discovered by Pipou and Ironik and consists in speedflying downward.
      Works thanks to gravity and speedfly bug (collision between tees bug).
Image
ImageMapping fails :
Those are mapping mistakes due to missing tiles or by lack of logic while mapping the parts.
  • Spawn
    SpoilerShow
    If your map has a solo part (noob filter) at tees spawn, then your should make sure that the spawn and it's sides are covered of solo tiles, if you don't people are going to bump out of spawn skipping the solo tile.
    Image
  • Teleports
    SpoilerShow
    Be careful to use the right teleport number and it's dedicated to or cto.
    For any teleports, make sure to avoid placing teleport from/cfrom before the start and teleport to/cto after the start.
    Image
    If you use check point teleport always place the check point after the cto tile.
    Image
  • Freeze
    SpoilerShow
    Freeze tile lasts 3 secondes (unless it's tuned). On some maps you can skip freeze column by unfreezing over time.
    It requires a lot of height and a good timing with your partner.
Image
ImageMore knowledge :
  • You can't skip a startline, even with 6629 speed, 6629 being the fastest speed you can reach.
Image
Let me know if anything is missing.
Good luck.
Last edited by Pipou on Wed Jul 26, 2017 12:39 pm, edited 5 times in total.
User avatar
Pipou
Posts: 42
Joined: Wed Nov 19, 2014 10:13 pm
Player profile: http://ddnet.org/players/Pipou/
Mapper profile: http://ddnet.tw/mappers/Pipou/

Re: Preventing cheats due to bugs.

Post by Pipou »

Solutions to prevent startline cut :
- Make sure the map isnt opened anywhere else to force everybody to cross it.
- If it's opened be careful none of the listed bugs can be used.
- Don't let anywhere else to re-enter the map.

Teleport explanation :
You can't really go through teleport, excepted with ninja which can skip 1 tile wide of it.
Relying on your speed you'll go to the furthest teleport you can reach.
Using shotgun or speedup bugs, the strongest and weirdest forces of DDRace, it's going to be the highest teleport provided that there isn't any obtacle inbetween.
For weaker forces, slower speeds, teleports need to be bonded, no space between each of them.

Message to mappers and testers :
To fix those bugs in many cases you just need to add unhookable, hookable tiles or add space between teleports.
Depending of the situation, you can also use toteleport or ctoteleport, make sure to always pick the most convenient and efficient one.
Last edited by Pipou on Thu Apr 13, 2017 9:38 pm, edited 1 time in total.
Ninjed
Posts: 1300
Joined: Thu Oct 01, 2015 7:00 pm
Player profile: https://ddnet.org/players/Le-32-Petit-32-Prince/
Mapper profile: https://ddnet.tw/mappers/Ninjed

Re: Preventing cheats due to bugs.

Post by Ninjed »

Pirofly, wtf? :D
The Real One!
Index
Posts: 1134
Joined: Mon May 05, 2014 7:30 pm
Clan: Eagle

Re: Preventing cheats due to bugs.

Post by Index »

It's just great, thanks for writing this Pipou <3
Changed the thread to announcement, and added it to the link list.
Sadly, rapdex fly is not for cheating maps :>

Also, maybe lock the thread to have this clean tutorial/announcement vibe without comments? xd
Ninjed
Posts: 1300
Joined: Thu Oct 01, 2015 7:00 pm
Player profile: https://ddnet.org/players/Le-32-Petit-32-Prince/
Mapper profile: https://ddnet.tw/mappers/Ninjed

Re: Preventing cheats due to bugs

Post by Ninjed »

Good for beginning, but there's much information have to be added imo
The Real One!
User avatar
meew'
Posts: 519
Joined: Mon Jul 20, 2015 7:17 pm
Player profile: http://ddnet.org/players/meew-39-/
Clan: Möhre

Re: Preventing cheats due to bugs.

Post by meew' »

Ninjed wrote:Pirofly, wtf? :D
discovered by pipou and ionik = piro
911 mapping police
Firewave
Posts: 54
Joined: Mon Jun 20, 2016 4:50 am
Location: France
Clan: Mystic

Re: Preventing cheats due to bugs

Post by Firewave »

You have maybe forget deepfly bugs, it's really popular bug to skip lot of parts for dummy map.
Thanks, it's a really good tutorial =)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests