#Glitching when jumping while continuously setting player's velocity
1 messages · Page 1 of 1 (latest)
Looping all players every tick is really laggy, I suggest using on step on glowstone instead
yeah hes looping all players 86,400,000 times a day đ
đ
- 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
- 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
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
it's an example skript i wrote just to show that there's an issue with jumping when the velocity of the player is modified, I was just asking why that is the case and and how I might fix that, the performance of my code has nothing to do with it? (I'm genuinely confused)
"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.
^, with a careless attitude like that you'll be making a post in a couple weeks; "skript keeps crashing my server help"
i worry about using one "contain" and this mad lad has a "every tick loop all players
the rite of passage
it's not my code this is an example skript i wrote for the question???
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
that completely misses my use case and does not work for what i need nor does it answer my question (+ i already use a version which's performance works for what i need i just simplified it here to show the issue)
???
Maybe write a better example skript then????
If you know how to do this why donât you do it
because it's not needed for the showcase this is not a skript tutorial it's a showcase for the problem
That still doesnât justify. Iâm pretty sure the other method takes less characters to type đ
which other method??
The on step on x
.
???
can people please not type here if it's unrelated and instead ping me in another channel
Also if you have a better version why donât you send it
because it has code unrelated to the question
you don't need the rest of the code to replicate the problem
.
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
i did but people kept repeating the same thing??
.
right before you sent your message
you were the one causing a big fuss by calling me careless while knowing i said it was an example as i explained in the message above yours
also please listen to my request and do not send unrelated things in here