Xabache Posted July 19, 2019 Share Posted July 19, 2019 For years I enjoyed a moon and star free server. For years I made no changes to my server. Why do I now have a moon? setMoonSize(0) The above, in the past two months or so, now does nothing. Link to comment
0 yasin0 Posted July 19, 2019 Share Posted July 19, 2019 (edited) put in meta <min_mta_version server="1.3.1-9.05063" client="1.3.1-9.05063" /> and test it Edited July 19, 2019 by yasin0 Link to comment
0 MTA Team ccw Posted July 19, 2019 MTA Team Share Posted July 19, 2019 Do you use a custom timecyc.dat ? Link to comment
0 King12 Posted July 20, 2019 Share Posted July 20, 2019 (edited) On 19/07/2019 at 22:53, ccw said: Do you use a custom timecyc.dat ? This happened after recent updates. I see some stars, and the moon too. Edited July 20, 2019 by King12 Link to comment
0 MTA Team ccw Posted July 21, 2019 MTA Team Share Posted July 21, 2019 A recent update included blocking customised timecyc.dat Do you use a custom timecyc.dat ? Link to comment
0 King12 Posted July 21, 2019 Share Posted July 21, 2019 10 hours ago, ccw said: A recent update included blocking customised timecyc.dat Do you use a custom timecyc.dat ? I don't know about the thread poster, but I tried installing a fresh GTA:SA and they still appear. Link to comment
0 MTA Team ccw Posted July 22, 2019 MTA Team Share Posted July 22, 2019 12 hours ago, King12 said: I don't know about the thread poster, but I tried installing a fresh GTA:SA and they still appear. I don't think setMoonSize(0) removes the moon and stars If the stars and moon was removed via a custom timecyc.dat, then that will no longer work Link to comment
0 King12 Posted July 22, 2019 Share Posted July 22, 2019 12 hours ago, ccw said: I don't think setMoonSize(0) removes the moon and stars If the stars and moon was removed via a custom timecyc.dat, then that will no longer work Actually they weren't showing before the update (even with a default timecyc.dat), but now they do. There has to be an option to enable/disable them. Link to comment
0 MTA Team ccw Posted July 22, 2019 MTA Team Share Posted July 22, 2019 Test using an older version of MTA https://nightly.multitheftauto.com/mtasa-1.5.6-rc-16588-20190310.exe Link to comment
0 Xabache Posted July 27, 2019 Author Share Posted July 27, 2019 On Friday, July 19, 2019 at 10:26, yasin0 said: <min_mta_version server="1.3.1-9.05063" client="1.3.1-9.05063" /> @yasin0Placing the above in my meta file, at the top, just above the client and/or server Lua file that contains set moon, this does not fix this in a fresh test server. @King12 Thanks for confirming you have this too! It has been many years since I wrote my live server from modified mta community assets leaving me to ask... @ccwHow would I check if I am using a custom timecyc.dat ? But I can say, I had not modified my server in several years. There had never been moon or stars in that time. From my in game screenshots I can verify that prior to June 26, 2019 there were no stars or moon in my night sky, and by the latest of July 02, 2019 the moon and stars are large and in charge. There is no known change of my code in that time. And regardless of the stars roll in this. it must be said if setMoonSize(0) is to function as intended, then this does not function at all at current. Where setSunSize(0) does work fine. And to the stars, that are definitely not the moon, I hope setStarSize(0) will soon follow. Link to comment
0 MTA Team ccw Posted July 27, 2019 MTA Team Share Posted July 27, 2019 5 hours ago, Xabache said: How would I check if I am using a custom timecyc.dat ? Upload data\timecyc.dat from your GTA install directory to https://upload.mtasa.com/ and give link here Link to comment
0 Xabache Posted July 31, 2019 Author Share Posted July 31, 2019 On Saturday, July 27, 2019 at 09:47, ccw said: and give link here https://upload.mtasa.com/u/631516260/timecyc.dat_ dated 01/07/2005 likely stock Link to comment
0 MTA Team ccw Posted July 31, 2019 MTA Team Share Posted July 31, 2019 5 minutes ago, Xabache said: dated 01/07/2005 likely stock Yes it is. Try with the previous version of MTA: https://nightly.multitheftauto.com/mtasa-1.5.6-rc-16588-20190310.exe Link to comment
0 MTA Anti-Cheat Team Dutchman101 Posted July 31, 2019 MTA Anti-Cheat Team Share Posted July 31, 2019 On 22/07/2019 at 04:48, ccw said: I don't think setMoonSize(0) removes the moon and stars I think that if he's not actually talking about this function, then people have gotten used to the incorrect removal of the moon by setCloudsEnabled, which changed to expected behavior after this recent change: https://github.com/multitheftauto/mtasa-blue/commit/d78847d9a310fbc05566362966444c7b4688653b Which leads to the realisation something is different (the moon is no longer incorrectly being removed) and the assumption it's a bug. Even more so, people may have been using setMoonSize(0) together with setCloudsEnabled, under the belief that setMoonSize would actually remove the moon, while setCloudsEnabled was actually doing that. So because the latter changed, and setMoonSize(0) wouldn't really remove the moon, they are facing a moon again. So, again, it's probably just accustomization to something that shouldn't have been the case in the first place, instead of a bug. Even though having a scripting function to actually remove the moon can be desirable in future, for now here's an alternative removal shader: https://community.multitheftauto.com/index.php?p=resources&s=details&id=16132 Link to comment
0 Xabache Posted July 31, 2019 Author Share Posted July 31, 2019 @Dutchman101 The moon was being removed by a bug, now fixed, leaving the moon, now removed by a shader, you just wrote. Thank you, it works perfectly. However, setSunSize(0) removes the Sun's disk, if not the godray, and sunlight direction. Which is nice! but.. setMoonSize(0) will never remove the Moon's disk? This seems inconsistent with both the previous sun function, and the meaning of 0 itself. I have setCloudsEnabled(false), but the stars, and Venus the big bright star, still exist. Could you create a shader or function to remove them also? And someday, setStarSize(0) or setStarsEnabled(false) might also do this ;-) @ccwYup, your old version gives me a starless, moonless night! Link to comment
Question
Xabache
For years I enjoyed a moon and star free server. For years I made no changes to my server. Why do I now have a moon?
setMoonSize(0)
The above, in the past two months or so, now does nothing.
Link to comment
15 answers to this question
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