#Glitching when jumping while continuously setting player's velocity

1 messages · Page 1 of 1 (latest)

wheat badge
#

try to change

loop-player's velocity's z

to

loop-player's velocity z

feral meteor
#

Looping all players every tick is really laggy, I suggest using on step on glowstone instead

lime pond
primal abyss
#

😭

brittle escarp
# feral meteor Looping all players every tick is really laggy, I suggest using ``on step on glo...
  1. It's not laggy at all in my case and it doesn't cause any performance issues even with 10 players, considering I'm not running many operation other than just modifying the player's velocity
  2. My question was related to the jumping visual issue (which I think is related due to inaccuracies in how the velocity is represented/communicated on/between the server/client) not to the quality or performance of my code
harsh pebble
#

should still not loop players that often

#

skript is very easy to build upon and expand

#

and with shit like that as the base, it will get out of hand pretty quickly

brittle escarp
copper inlet
#

"the performance of my code has nothing to do with it?"
Who said your code can have only one thing that needs fixing/improvement at a time?

#

.
This is a lag machine. If you argue performace isnt affected, its probably because you have less than 5 players currently on the server. on step on glowstone: is a much better option, it only triggers when it needs to, and only for the players it needs to.

copper inlet
primal abyss
#

i worry about using one "contain" and this mad lad has a "every tick loop all players

harsh pebble
#

the rite of passage

brittle escarp
#

it does not need improvement i am showcasing a problem with modification of velocity and its effect on jumping

#

it causes stuttering for some reason

brittle escarp
#

???

graceful gulch
#

If you know how to do this why don’t you do it

brittle escarp
graceful gulch
#

That still doesn’t justify. I’m pretty sure the other method takes less characters to type 💀

graceful gulch
#

The on step on x

brittle escarp
#

???

#

can people please not type here if it's unrelated and instead ping me in another channel

graceful gulch
#

Also if you have a better version why don’t you send it

brittle escarp
#

because it has code unrelated to the question

#

you don't need the rest of the code to replicate the problem

graceful gulch
#

Then send the related snippet

#

You don’t need to necessary make an example code

copper inlet
#

If its just an example, why not explain the issue with words: “when I try to x, y happens”

#

This is a place where we provide feedback on code. You can’t get upset when we see code and do just that

#

Also, you should’ve politely explained that that was just an example without causing a big fuss

brittle escarp
brittle escarp
#

right before you sent your message

brittle escarp
#

also please listen to my request and do not send unrelated things in here