#m[Scripting][error]-[Watchdog] 10000 ms hang detected in '§l ray casting'
1 messages · Page 1 of 1 (latest)
Idk
._.
What do you want to do? You wrote this code for something
For this
but with particles
confused
Hell yeah
if it works
How can we help u
i could write something like that
Tha s 10 seconds ☠️
I have problems with my script
What are u working on
10000 ms
Do you want to run Doom in Minecraft chat?
Shader editor with using particles
that's possible too
You won't succeed with this code. You need to think about how to make it much more optimized. I do not recommend using loops with more than 1000 iterations, but here there are as many as 180 million!
Is it made using AI ?
.
nothing works right now
Of how it works
Bruh
Even C++ may not be able to cope with this, let alone js. So this still needs to be processed. Even if you create so many particles, your phone won’t be able to handle it.
Then explain what u mean by shader editor using particles
Elaborate
look i'm creating an invisible screen where the particles play the role of a pixels
☠️
Bruh
U are trying to make a screen using particles
Yes
☠️
😭
U know that can cause lot of lag
Bad idea
And this also causes lags

i have a knowledge about writing shaders lol
Yeah but that will cause lag
This is not a shader. This is js and particles.
Yeah
Now yes
So , if i understand what u are trying to do
U are trying to create screen using particles
So u can display things on it
Hell yeah
Yes
Your code needs to be sped up 100,000 times to make this even close to possible.
And u think Minecraft bedrock is the best place where u can apply it ?
Wtf
Hmm yes
- u know that js is one of the most slowest language in programming
i had an idea to do it in a chat but i liked the idea of particles
Ok , let s say .... What u wanna display?
At least not TS
Better than typescript
.
._. typescript is just java script
No
With types
TS is much slower
Ik ._.
Because it get translated to js
And u will see that is full of if statements to check the types
3d objects
Snapdragon 8 gen 2
12gb
You need a quantum computer
And what is the size of ur screen
optimistic attitude
120 x 30
U have to replace the heart , particles
Lmao
With just one point
Texture
It s better for u
To do that
What about the 3D object math ?
i've been testing how many particles my device can handle
He will only be able to create a small model, and then the code will need to be heavily optimized
U can do math u know
the lagas started at 89k
?
Just put fps viewer
For what
It depends on the particles themselves too
And if it reduced by 10 frames or so
U can do math and calculate how many fps u will lose
I have powerful cheap
The problem is not that his device cannot withstand particles. But he has 180,000,000 iterations IN ONE CYCLE!
WTF
Did u calculate it ?
180,000,000?!
no
18milion ☠️
10,000 is the time the script runs. Minecraft turns off the world if the script takes too long to complete. You can make a loop for 10,000 iterations, but it must be optimized
I have millions
😭
?
It also depends on what happens in these iterations
So ...
Give up your dream and die
Real
U didn't calculate the cost of making ur world ticking
The code took 16,000 milliseconds to execute
And the limit is somewhere around 3000 or even lower
- with particles
With any method from the Script api we can multiply this number by 10
Ur device will lag ashell
In short. Quantum computer is your solution
And don't, forgot u have a world working in background and graphics that get displayed
And android system
And cooked gpu
Intel nervously smokes on the sidelines
Yeah just do another thing ._.
how can i distribute interactions
Delays
So that they are performed at different times or
Yeah
Ru interval
What maximum can I put on?
system.runTimeout((e)=>{},20t)
How many ticks
Minimum 1
Really
Yep
I can't?
With more delay
How many i need
0.1 fps wtf
U will just delay it with the same effect
It seems to me that we should just find another method for this, not JS
Default shaders doesn't supported
And work on it
._. Minecraft work with c++
And c++ is the fastest programming language
So.... ;-; just give up
- , even tho u won't get the result u want
Because u phone will lag , and u will see nothing on that screen
And?
Read this entire post in hope of to see something cool. Left off on a cliff hanger
._.
._.
But it works.
Wow
I see
Don't you know what the mistake might be?


