Skip to content

Falling Star has a invalid tune zone #11

@ChillerDragon

Description

@ChillerDragon

Falling Star

sv_pauseable 1
sv_team 2
tune_zone_enter 1 "Hello!"
tune_zone 1 gravity 0
tune_zone 1 air_friction 1
tune_zone 1 ground_friction 1
tune_zone 1 hook_length 1000
tune_zone 1 ground_jump_impulse 0
tune_zone 1 air_jump_impulse 0
tune_zone 2 gravity 0
tune_zone_enter 2 "You entered a gravity (0) zone"
tune_zone 3 gravity -0.3
tune_zone_enter 3 "You entered a gravity(-0.3) zone"
tune_zone 4 gravity 0
tune_zone_enter 4 "You entered a gravity (0) zone"
tune_zone 5 gravity -0.3
tune_zone 5 laser_reach 6000
tune_zone 5 grenade_lifetime 5
tune_zone 5 grenade_curvature -7
tune_zone_enter 5 "You entered a gravity (-0.3), laser_reach (6000), grenade_lifetime (5), grenade_curvature (-7) zone"
tune_zone 6 gravity -0.2
tune_zone 6 air_jump_impulse -15
tune_zone_enter "You entered a gravity (-0.2), air_jump_impulse (-15) zone"

The last line tune_zone_enter "You entered a gravity (-0.2), air_jump_impulse (-15) zone"
is missing the non optional integer argument i[zone]

https://github.com/ddnet/ddnet/blob/b69101c74dab50fab33f9c20253e543f1c9fe93e/src/game/server/gamecontext.cpp#L3754

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions