RealNetwork Posted June 26, 2021 Share Posted June 26, 2021 I've recently realized that when I set a variable, it gets wiped on restart. I tried to reset my server 3 times and the problem still does not go away. I have no idea why this would happen at all. Anyone know why? Thanks in advance. Have I tried searching for fixes for similar problems? Yes How long is your skript? 300+ lines. Which addons? Skript, SkRayFall, TuSKe, SkBee, SkQuery, Skellet, Tablisknu Link to comment Share on other sites More sharing options...
rigs4296 Posted June 26, 2021 Share Posted June 26, 2021 when sometimes restarting servers it erases player joins so when you join it would say something like (player joined for the first time) this would also effect your skript because you might have something that has the "on first join:" 1 Link to comment Share on other sites More sharing options...
rigs4296 Posted June 26, 2021 Share Posted June 26, 2021 also... post issues in "Help" Link to comment Share on other sites More sharing options...
RealNetwork Posted June 26, 2021 Author Share Posted June 26, 2021 Sorry, I don't think it will fix anything Link to comment Share on other sites More sharing options...
Pryzmm Posted June 26, 2021 Share Posted June 26, 2021 9 hours ago, rigs4296 said: also... post issues in "Help" skript issues go in the skript discussion page. They are in the right page 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...
StarBunnie Posted June 27, 2021 Share Posted June 27, 2021 On 6/26/2021 at 8:43 AM, RealXPvP said: I've recently realized that when I set a variable, it gets wiped on restart. I tried to reset my server 3 times and the problem still does not go away. I have no idea why this would happen at all. Anyone know why? Thanks in advance. Have I tried searching for fixes for similar problems? Yes How long is your skript? 300+ lines. Which addons? Skript, SkRayFall, TuSKe, SkBee, SkQuery, Skellet, Tablisknu what type of variables get deleted? Locations, names, integers, etc.? Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
RealNetwork Posted June 30, 2021 Author Share Posted June 30, 2021 Sorry for replying so late, but location variables from other worlds are getting deleted. Those worlds are unloaded at server start and don't work even if I load them and then teleport. Sorry for making this very confusing. Link to comment Share on other sites More sharing options...
StarBunnie Posted June 30, 2021 Share Posted June 30, 2021 4 hours ago, RealXPvP said: Sorry for replying so late, but location variables from other worlds are getting deleted. Those worlds are unloaded at server start and don't work even if I load them and then teleport. Sorry for making this very confusing. Ah yeah that explains it when a world is not loaded when skript loads the variables it just deletes them which means even after loading the world they are gone. I usually install multiverse core to load the worlds on startup so that doesn't happen anymore. Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< 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