#Unknown problem with setblock command not working first time pressing button, but will second time

1 messages · Page 1 of 1 (latest)

violet parcel
#

I wasn't sure rather to put this under #1051225367807000706 or here. So I chose here.
First of all I want to say I promise I won't be a dick to anyone like I was last night. That was bad of me.
This isn't really a critical problem, but it's pretty annoying. I'd like the green button work the first time you press it, the red one always works the first time. I checked the command blocks of the green button and everything seems fine, the block just literally won't set the first time you press it. Even though there doesn't seem to be anything stopping the command from working. The output says nothing either.

#

I'll continue trying to solve it myself too

#

this is the command chain for the red button

#

and it has a command block to de-set the redstone block of the green chain so you can press the green one again

#

presisng the red button, this command works

#

but the green button still wont work the first time you press it

#

also individually just placing the redstone blocks between the two, it works as it should

#

it's just the setblock command behind the green button is mysteriously faulty

strong viper
#

This is a command question, so it belongs in #1051225367807000706

violet parcel
#

um can I still get help here though? I really don't want to write all this again

#

I know for future reference though

strong viper
#

ctrl+c ctrl+v

#

but I can help here too

violet parcel
strong viper
#

key combinations

violet parcel
#

oh copy and paste

strong viper
#

yes

violet parcel
#

um I promise I wont be a dick or jerk again like I was last night, I still feel horrible for that

#

I feel like that guy is probably crying in his house

#

and i cant copy and paste all this to #1051225367807000706 . it expects me to write the whole thing as a whole and wont save a draft. that includes the pictures and videos

strong viper
#

discord message -> google docs -> discord message

#

but I'm reading the question rn, so as I said, I can hel phere too.

violet parcel
#

ok take your time

#

I'll be doing chores or something while you read

strong viper
#

What command blocks did you use behgind the concrete?

#

are there any repeaters?

violet parcel
#

it's literally just 2 simple regular command blocks

#

setblock cordidnates redstone_block

#

green button activates 1 chain, that de-sets the block to the red chain so you can activate it again. red button does vice versa

#

the commands themselves work as they should

#

but something about the green button is not right

#

and i know for a fact it's not wrong cordinates because in that case the buttons wouldnt work at all

#

The main thing I want to fix is

I want the green button to also work instantly just like the red one

#

that's all the info I have

strong viper
# violet parcel

and the command blocks here, does one maybe use the strict place mode in the setblock command?

violet parcel
#

I don't think so

#

left image is red button

#

right image is green button

#

something else actually

#

I had trouble with getting this door to shut too when the green button is pressed

#

like originally I had a redstone torch right under it

#

but it wouldnt close when the block was de-set

#

so I had to do this instead and it does work

#

don't ask why it's called the Poke-A-Dill room, that's unrelated lol

strong viper
#

idk what would be the problem with the command blocks then.

#

I'm also not sure if there is really a better solution for the door.

violet parcel
#

the door I fixed myself dont worry about that

#

I just thought id show it anyway since I had the same problem with it earlier

#

um hang on let me try the same for the green button

#

I FOUND THE PROBLEM!!

#

the green button command block remains powered

#

while the red one does not

#

so when you press the green button the 1st time it doesnt work

#

underneath the green button is the lights for the room below is that affecting it somehow?

#

I don't understand what is keeping this redstone powered

#

I've opened up everything surronding it and there are no alt signals

#

the light beneath cannot be contributing to it by chance?

#

and why doesn't it to the same with the red button if it's in the exact same position

#

nothing is fixing this

#

I disabled the lights and it still wont fix it

#

i dont know what to do at this point