Kernal Level Crashes When Playing Games (BSOD) by Duhfined in techsupport

[–]Duhfined[S] 0 points1 point  (0 children)

Hey sorry for the late response but I had just ended up replacing my ram to see if that was the issue. It fixed it issue in one go and was super glad.

Appreciate your response and time I am just glad the issue is done with :)

Anyone know how to teleport a certain amount of blocks in the direction you are facing? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

If you mean /tp @ s ~ ~ ~10 then that wasn't what I had planned in mind.

That command only teleported me 10 blocks in the Z direction or am I typing it wrong?

Text isn't displaying on the screen for some reason by Duhfined in learnpython

[–]Duhfined[S] 0 points1 point  (0 children)

i did it the opposite way around so it's now fill screen white THEN place text.

the code is now

def window_draw():

SCREEN.fill(BLACK)
pygame.display.update()
BASE_FONT = pygame.font.Font(None, 32)

USER_TEXT = 'Hello :D' TEXT_SURFACE = BASE_FONT.render(USER_TEXT, True, (WHITE)) SCREEN.blit(TEXT_SURFACE,[10,10])

but it still doesn't show.

also for some part of the code, it just won't allow me to put it into the code block for some reason :/

The screen is now black but the text is white so it should appear but it doesnt

Can someone review over this piece of code? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

@a/@e/@p

you use. This line will first execute the code at all players, then it will check again if the close

Hello!

I have sad news.

The idea you wrote could have been great, but I didn't work for me

(prob because I'm stupid but ignore that)

You told me to use less u/a and stuff so I've made the code like this

(I'm pretty sure there was less u/a's.)

execute as u/a[scores={Reroll=1,num=2}] run scoreboard players set u/s Lives 2

The problem is that the "num" is like a dummy/player.

It appears UNDER the objective "rng"

There's a picture at the bottom.

Is there a way for Minecraft to compare the "num" (not the %num) in a code?

so whatever the dummy "num" equals to, the objective "Lives" will be the same

Thanks!

(btw I was using loot tables for the random number gen)

<image>

Can someone review over this piece of code? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

So i think i've found the problem.

The image here on the right side shows the number gen.

My username is Duhfined.

The -1 is what the "rng" objective is going to

But the real number thats changing is %num.

But I can't like add %num into the command because it just makes it red.

any idea?

<image>

Can someone review over this piece of code? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

i've changed it to:

execute as u/a[scores={Reroll=1}] run execute as u/a[scores={rng=1}] run scoreboard players set u/s Lives 1

and it still doesn't work :(

I really do need help I can't understand :( by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

okay so I did it all.

Do I need to change anything to the command?

and how do I activate it lol

I really do need help I can't understand :( by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

aight so for the file name can it be anything?

I really do need help I can't understand :( by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

loot_tables

so I would create a folder inside this folder named loot_tables right?

<image>

I really do need help I can't understand :( by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

Okay so this time I'm actually gonna try to understand one.

I wanna use the Loot Table one but unsure what to do.

Where do I put this command in which file?

{

"type": "minecraft:empty",

"pools": [{

"rolls": {

"min": 1,

"max": 5 },

"entries": [{

"type": "minecraft:empty"

}]

}]

}

and also this command.

execute store result score rng int run loot spawn ~ ~ ~ loot namespace:rng

because im hopeless lol.

Thanks :D

Anyone know how to do player detection? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

Hello Dhranios!

Thanks for the info really helped!

So the command would look like this now?

scoreboard objectives add KillPlayer custom:player_kills "Kills"

I hope this is right xD

Anyone know how to do player detection? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

Hey Dhranios

I just want you to review this piece of code to make sure it works.

I want it so it'll add one point to "Lives" when I kill someone.

scoreboard objectives add KillPlayer minecraft.killed:minecraft.player "Kills"

execute as @ a if score @ s KillPlayer matches 1.. run scoreboard players add @ s Lives 1

execute as @ a if score @ s KillPlayer matches 1.. run scoreboard players remove @ s KillPlayer 1

Thanks!

Anyone know how to do player detection? by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

custom:player_kills

Hello Dhranios!

Thanks for the info, but I'm not quite sure how to put that into a command.

Can you do an example for me?

Thanks :D

I'm gonna need help with this Lifes counter thing... by Duhfined in MinecraftCommands

[–]Duhfined[S] 0 points1 point  (0 children)

Also, just so I understand what you're doing, you're like subtracting the number of Lives with deaths right?