unpacker_read_int
vs unpacker_get_int
xd?uint8_t *unpack_int(uint8_t *buf, const uint8_t *buf_end, int32_t *value, Error *err);
and call it from the other one?tune_zone x ground_control_speed 5
tune_zone x air_control_speed 2.5
tune_zone x ground_control_accel 1
tune_zone x air_control_accel 0.75
tune_zone x gravity 0.25
tune_zone x air_friction 0.975
tune_zone x air_jump_impulse 8.5
tune_zone x ground_jump_impulse 9.5
tune_zone x hook_drag_accel 1.5
tune_zone x hook_drag_speed 7.5
250.0f / SERVER_TICK_SPEED
.. interestingtune_zone x ground_control_speed 5
tune_zone x air_control_speed 2.5
tune_zone x ground_control_accel 1
tune_zone x air_control_accel 0.75
tune_zone x gravity 0.25
tune_zone x air_friction 0.975
tune_zone x air_jump_impulse 8.5
tune_zone x ground_jump_impulse 9.5
tune_zone x hook_drag_accel 1.5
tune_zone x hook_drag_speed 7.5
CGameWorld::GameTick()
function. You can convert ticks to seconds by dividing the value by SERVER_TICK_SPEED
(50).if(Value < Start)
return 1.0f;
return 1.0f / std::pow(Curvature, (Value - Start) / Range);
yay (edited)tune ground_control_speed 5
tune air_control_speed 2.5
tune ground_control_accel 1
tune air_control_accel 0.75
tune gravity 0.25
tune air_friction 0.975
tune air_jump_impulse 8.5
tune ground_jump_impulse 9.5
tune hook_drag_accel 1.5
tune hook_drag_speed 7.5
These are 2x decelerations, and now I need to divide all values not related to jump impulse by 2 for further deceleration in 4x and put jump impulses at the root?/about
:
!Unbenannt/check_map
command and be able to check a map before opening a map submission.
This can ofc. be rate-limited or slower, but you can't expect everyone to download twmap-check
and setup the right parametersv * ramp(v * 50)
// after
let info_packet = System::Info(Info {
version: VERSION.as_bytes(),
password: Some(b"")
});
// before
let info_packet = Info {
version: VERSION.as_bytes(),
password: Some(b"")
};
I am getting the map change packet as expected, thank you!m_Vel += Dir * a * (Velocity * 0.75f);
m_Vel *= 0.85f;
these two lines are meanies
they're ruining my day python speedtune.py <speed factor> [prefix]
Example: python speedtune.py 0.5 tune
This'll generate global tune commands to make things go at 0.5x speediwr
in word replace
iirc the default is change inner word ciw
in word replace
iirc the default is change inner word ciw
c++
bool CNetBan::IsBanned(const NETADDR *pOrigAddr, char *pBuf, unsigned BufferSize) const
it seems it bans on IPV4 and IP ranges when you use netban commands
But how does serverban indicate that you are previously banned from server?
comparing Hash? (edited)c++
bool CNetBan::IsBanned(const NETADDR *pOrigAddr, char *pBuf, unsigned BufferSize) const
it seems it bans on IPV4 and IP ranges when you use netban commands
But how does serverban indicate that you are previously banned from server?
comparing Hash? (edited)