#MapReset

1 messages · Page 1 of 1 (latest)

wheat mountain
#

Day 1

So far i have done this:

every 4 hours in "world":
    loop all players:
         teleport all loop-players to spawn
    send "&c&lKits Ago&8&l: &7&lThe map is resetting." to all players
    execute console command "/schem load Mapr.schem"
    wait 1 second
    paste schem "plugins/WorldEdit/schematics/Mapr.schem" at location -1 121 1 including air true
    wait 5 seconds
    send "&c&lKits Ago&8&l: &7&lThe map has reset." to all players

many have helped me to try and fix the errors, and im making this post so that we could continue the discussion without interrupting others
my current problem is that loop-player doesnt have a loop apparently

#

wait i can send images in the forum

#

hold on i will send image of errors if i can

#

Day 2
so this is the only error that shows,

wheat mountain
#

i will try to remove the if loop player where[player is in region Mapr]' and see if something changes

#

ok so i have made progress

#

i get this now

#

maybe if i changed line 3 to loop-players?

#

it gives the same error

#

ig it isnt recognising line 2

#

i will try to move the loop all players to an on load event

#

it is now giving me truckloads of errors...

#

most of which are indent errors

#

ok i undid that

#

i wont be able to continue testing till i get home

#

what if i added % to loop-players?

#

i will remove the s aswell

flat pulsar
flat pulsar
#

you got another error right?

wheat mountain
#

well currently i cant try it out cause im not at home

wheat mountain
#

alright i am back home, so i will try it out

#

so we are back to this error now

#

wait it reloaded sucsessfully

#

i removed all from teleport all loop-players to spawn and it worked??

#

ok im gonna test it out after i eat

flat pulsar
wheat mountain
#

ah ok

wheat mountain
#

which is the main part...

flat pulsar
#

if you do the commands right it will work

wheat mountain
#

alright, i will try something

#

would adding an at in execute console command "//paste -1 121 1 in world" work?

#

cause i did that and will test it

#

that did not work...

flat pulsar
#

idk if in world would work in a command like that

wheat mountain
#

i will remove it and try

flat pulsar
#

i dont remember the worldedit commands, but dont you have to load, then copy, then paste? not load, then paste?

wheat mountain
#

it is just load and paste in the code

#

but for some reason it doesnt paste

flat pulsar
#

yeah in your code yes, but when you do it by hand dont you have to load, then copy then paste it?

wheat mountain
#

yea you dont need to do that

flat pulsar
#

ok

wheat mountain
#

if its in ur schem list you can load and paste it

flat pulsar
#

so send your code

#

of the progress

wheat mountain
flat pulsar
#

ah but you need to indent it right tho

#

or nvm

#

i just dumnb

#

but do you get errors?

wheat mountain
#

no it reloads successfully

#

tho, i do get a WE error in console

#

cause "too many arguements" when it tries pasting

flat pulsar
#

idk if you can just paste it at a location

wheat mountain
#

thats what im not sure how to do
//paste -1 121 1 doesnt work (maybe cause its only 1 set of coords?)
is there a skript version of the paste command? like paste schematic at the location (location)?

willow marsh
#

You can use Skematic or SkUtils for pasting schematics. If the map is smaller than a certain dimension you can use SkBee's place structure effect.

wheat mountain
#

shouldnt paste schem "plugins/WorldEdit/schematics/Mapr.schem" at location -1 121 1 including air true work?

#

wait do i have to add home before plugins?

#

nope, it just doesnt understand it

wheat mountain
#

Day 3

alright, i need to figure out what i did wrong that made it not understand the condition

#

maybe its cause of the execute console command "/schem load Mapr.schem"?

#

i dont think it needs to have that execute part

flat pulsar
#

try not to use execute console command, try to figure another way to load a schematic automaticly, or you can just make a skript that removes all placed blocks by players each hour or however long you want it to be

wheat mountain
#

alright

#

i will try to remove the execute console command and see if it would work

wheat mountain
#

so i have made absolutley 0 progress on that cause ive been working on other stuff
cya in day 4

#

wait it is day 4

#

Day 4

flat pulsar
flat pulsar