ZeroGaming Posted January 4, 2022 Share Posted January 4, 2022 after I restart my server or I relog my dropper stops working and it bugs me because I am still in the variable I looked at a thread from 2017 on skunity and it said to restart your server and run the /test command and i did and I was still in the variable but my dropper is still not dropping, I would like some help I have tried doing some stuff like saving the variable to another but no luck.command /test:trigger:send "Debug: %{gummybeardroppersetup::*}%"on pressure plate:if event-block is crimson pressure plate:cancel eventif {packingdroppersetup::*} contains player:cancel eventif {gummybeardroppersetup::*} does not contain player:if {gummybeardroppersetup::*} contains player:cancel eventif player's balance is less than 100:send "&ayou just bought the &lGummy Bear &adropper!"add player to {gummybeardroppersetup::*}set event-block to airwait 1 tickset event-block to smooth stoneset event-block to airset {_3} to location of event-blockset {_start} to location 3 left of {_3}set {_1} to location 1 above {_start}set {_dropper} to location of {_start}set {_up} to location 1 left {_dropper}set {_temp} to location 1 right of {_start}set {_temp} to location 1 right of {_1}add player to {dropper2::*}wait 1 secondset block at location of {_dropper} to top prismarine slabwait 1 secondset block at location 1 left {_dropper} to west facing prismarine stairwait 1 secondset block at location left {_dropper} to {_up}set block at location 1 left {_dropper} to west facing prismarine stairwait 1 secondset block 1 above {_up} to prismarine blockwait 1 secondset block 2 above {_up} to west facing prismarine stairwait 1 secondset block 3 above {_dropper} to bottom prismarine slabset block 2 above {_dropper} to top prismarine slabwait 1 secondset block 2 above {_temp} to bottom prismarine slabwait 1 secondset block 1 above {_temp} to end rodset {gummybear.%player%} to location of {_temp}wait 1 secondif {gummybeardroppersetup::*} contains player:while {gummybeardroppersetup::*} contains player:wait 3 secondsdrop 1 wheat seeds named "&aGummy Bears" at location of {gummybear.%player%} without velocitywait 5 secondsadd 2.5 to player's balance Link to comment Share on other sites More sharing options...
Pryzmm Posted January 4, 2022 Share Posted January 4, 2022 15 hours ago, ZeroGaming said: after I restart my server or I relog my dropper stops working and it bugs me because I am still in the variable I looked at a thread from 2017 on skunity and it said to restart your server and run the /test command and i did and I was still in the variable but my dropper is still not dropping, I would like some help I have tried doing some stuff like saving the variable to another but no luck.command /test:trigger:send "Debug: %{gummybeardroppersetup::*}%"on pressure plate:if event-block is crimson pressure plate:cancel eventif {packingdroppersetup::*} contains player:cancel eventif {gummybeardroppersetup::*} does not contain player:if {gummybeardroppersetup::*} contains player:cancel eventif player's balance is less than 100:send "&ayou just bought the &lGummy Bear &adropper!"add player to {gummybeardroppersetup::*}set event-block to airwait 1 tickset event-block to smooth stoneset event-block to airset {_3} to location of event-blockset {_start} to location 3 left of {_3}set {_1} to location 1 above {_start}set {_dropper} to location of {_start}set {_up} to location 1 left {_dropper}set {_temp} to location 1 right of {_start}set {_temp} to location 1 right of {_1}add player to {dropper2::*}wait 1 secondset block at location of {_dropper} to top prismarine slabwait 1 secondset block at location 1 left {_dropper} to west facing prismarine stairwait 1 secondset block at location left {_dropper} to {_up}set block at location 1 left {_dropper} to west facing prismarine stairwait 1 secondset block 1 above {_up} to prismarine blockwait 1 secondset block 2 above {_up} to west facing prismarine stairwait 1 secondset block 3 above {_dropper} to bottom prismarine slabset block 2 above {_dropper} to top prismarine slabwait 1 secondset block 2 above {_temp} to bottom prismarine slabwait 1 secondset block 1 above {_temp} to end rodset {gummybear.%player%} to location of {_temp}wait 1 secondif {gummybeardroppersetup::*} contains player:while {gummybeardroppersetup::*} contains player:wait 3 secondsdrop 1 wheat seeds named "&aGummy Bears" at location of {gummybear.%player%} without velocitywait 5 secondsadd 2.5 to player's balance dont make duplicate posts please. Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 4, 2022 Author Share Posted January 4, 2022 someone told me to post here Link to comment Share on other sites More sharing options...
Wyndexx Posted January 5, 2022 Share Posted January 5, 2022 The event is 'on walk on pressure plate' not 'on pressure plate' Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 5, 2022 Author Share Posted January 5, 2022 its not that will lag the server because it checks when a player walks if i have it "on pressure plate" it will check when a pressure plate is stepped on not every time every single player walks, thanks for your comment but I have already had this discussion and that is not what i am asking about. @Gam3rBoi Link to comment Share on other sites More sharing options...
Pryzmm Posted January 5, 2022 Share Posted January 5, 2022 59 minutes ago, ZeroGaming said: its not that will lag the server because it checks when a player walks if i have it "on pressure plate" it will check when a pressure plate is stepped on not every time every single player walks, thanks for your comment but I have already had this discussion and that is not what i am asking about. @Gam3rBoi wha? Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Wyndexx Posted January 5, 2022 Share Posted January 5, 2022 (edited) It looks like you have this: if {gummybeardroppersetup::*} does not contain player: if {gummybeardroppersetup::*} contains player: If it succeeds the first check, it will ALWAYS fail the second check. You do not need the second check. Edited January 5, 2022 by Gam3rBoi Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 6, 2022 Author Share Posted January 6, 2022 the updated script doesn't have that it only has the "if [gummybear} contains player @Gam3rBoi Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 6, 2022 Author Share Posted January 6, 2022 i want it to be able to when you relog still be dropping the seeds (this would be great to have with restart too) sorry if my english is bad Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 6, 2022 Author Share Posted January 6, 2022 @AgentGamerPro basically the script will lag your server because its checking every time someone walks Link to comment Share on other sites More sharing options...
Pryzmm Posted January 6, 2022 Share Posted January 6, 2022 5 minutes ago, ZeroGaming said: @AgentGamerPro basically the script will lag your server because its checking every time someone walks "on step on crimson pressure plate:" Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 6, 2022 Author Share Posted January 6, 2022 but @AgentGamerPro, how does that help with my issue if player's relog? Link to comment Share on other sites More sharing options...
Pryzmm Posted January 6, 2022 Share Posted January 6, 2022 4 minutes ago, ZeroGaming said: but @AgentGamerPro, how does that help with my issue if player's relog? ur previous msg said nothing about a relog. Store the locations of where the seeds will spawn. For a restart or relog combine the "on load" event with a "while", then go through the stored locations from before and spawn seeds. Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 6, 2022 Author Share Posted January 6, 2022 (edited) this does @AgentGamerPro after I restart my server or I relog my dropper stops working and i dont understand what you are saying can you provide me with an example? Edited January 6, 2022 by ZeroGaming Link to comment Share on other sites More sharing options...
Wyndexx Posted January 6, 2022 Share Posted January 6, 2022 set {gummybeardropper::seedLocation} to location(0, 65, 0, world("gbworld")) then use a preiodic event to spawn the seeds at {gummybeardropper::seedLocation} Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
ZeroGaming Posted January 7, 2022 Author Share Posted January 7, 2022 periodic event meaning ex on join? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now