Max W. 18 Posted September 10, 2012 (edited) Oh I see what the problem was I think it was placing whatever the month was with the minute I believe and if I am wrong oh well it works hurray. Edit: I tried setting the blinky dots to true but it doesn't work and I have tried on 2 different computers oh well also what do you mean reserve time? And is their a way to make an internal battery I believe it called to where it will keep time flowing even when the game is not on. is turned off? Like in pokemon games I guess is the best reference off the top of my mind. Edited September 10, 2012 by Letsgo12 Share this post Link to post Share on other sites
Da_GPer 4 Posted September 10, 2012 Im curious, how do you use the reverse time? Also, I noticed in the script, something about variables for seconds and minutes. Is that part of it and if so, how do I use it? Share this post Link to post Share on other sites
Vlue 271 Posted September 10, 2012 Oh I see what the problem was I think it was placing whatever the month was with the minute I believe and if I am wrong oh well it works hurray. Edit: I tried setting the blinky dots to true but it doesn't work and I have tried on 2 different computers oh well also what do you mean reserve time? And is their a way to make an internal battery I believe it called to where it will keep time flowing even when the game is not on. is turned off? Like in pokemon games I guess is the best reference off the top of my mind. Only reason I can see blinkymcblinkydots not working is if you're using a custom clock? I'm sure there is a way to do the battery thing, we'll find out someday! Im curious, how do you use the reverse time? Also, I noticed in the script, something about variables for seconds and minutes. Is that part of it and if so, how do I use it? GameTime.set("remmin", 50) would reverse time by 50 minutes GameTime.set("remday", 2) would reverse time (and day of the week) by two days The variables for seconds and minutes don't have anything to do with reverse time Share this post Link to post Share on other sites
Da_GPer 4 Posted September 11, 2012 Im curious, how do you use the reverse time? Also, I noticed in the script, something about variables for seconds and minutes. Is that part of it and if so, how do I use it? GameTime.set("remmin", 50) would reverse time by 50 minutes GameTime.set("remday", 2) would reverse time (and day of the week) by two days The variables for seconds and minutes don't have anything to do with reverse time You should consider changing the name of this script to Perfect Game Time because this script is considered 100% perfect now and pure awesome! Now, if only I can get one other bug, not related to this script solved, I can be able to continue work on my game. By the way, because of all the nice work you have done for all of us, not only will you have a special thanks in my game's credits, but Im going to add you in my game too! Consider it as my personal way of saying thanks. 1 Share this post Link to post Share on other sites
Da_GPer 4 Posted September 12, 2012 Im sorry about the double post, but I did manage to find a bug. Yes, I do know about the edit button, but I just didnt want to ruin the nice comment I mentioned to Vlue earlier. Anyways, I found that if you are at 12 midnight or around any time where the hour is 12 AM, if you go back an hour, the game crashes. Im sure it would be a small fix for our buddy, Vlue. Share this post Link to post Share on other sites
Vlue 271 Posted September 12, 2012 Well that's good, because I'm not notified if you just edit a post and wouldn't respond until someone does post something new or mentions it! Anywho, new version that fixes that, whee. Share this post Link to post Share on other sites
Da_GPer 4 Posted September 13, 2012 Well that's good, because I'm not notified if you just edit a post and wouldn't respond until someone does post something new or mentions it! Anywho, new version that fixes that, whee. It still crashes. Heres the error. Script 'Advanced Game Time + Night/Day v1.2.3' line 454: NoMethodError occurred. undefined method 'red' for nil:NilClass Share this post Link to post Share on other sites
Vlue 271 Posted September 13, 2012 Yah, that's the one I swore I fixed! Try grabbing it from the pastebin again (Updated a line) Share this post Link to post Share on other sites
Da_GPer 4 Posted September 13, 2012 Yah, that's the one I swore I fixed! Try grabbing it from the pastebin again (Updated a line) Its fixed. Thanks! 1 Share this post Link to post Share on other sites
Tammsyn 8 Posted September 13, 2012 ok all works great for me the only issue is that KHAS scripts tints the clock aswell anyway to fix this? Share this post Link to post Share on other sites
george yockachonis 0 Posted September 14, 2012 Is there a way to make some things only happen at night? Like using switches or variables with the script to change an event? Share this post Link to post Share on other sites
Vlue 271 Posted September 14, 2012 You can use conditional branches! They have a script box option and if you put oh say...: GameTime.hour? > 21 or GameTime.hour < 6 Then the branch will only activate when the time is between 9pm and 6am! Share this post Link to post Share on other sites
trogador2005 0 Posted November 2, 2012 (edited) Hey Vlue is there any way i could do a conditional branch like that, only with days of the week? like.... GameTime.day_week? = sunday Sunday switch = on saturday switch = off Branch end something like that? Thanks, -T Edited November 2, 2012 by trogador2005 Share this post Link to post Share on other sites
Vlue 271 Posted November 3, 2012 Yah, dayweek is an integer and not a string, so GameTime.dayweek returns a number based on the current day (0 = sunday, 1 = monday, etc) Share this post Link to post Share on other sites
trogador2005 0 Posted November 3, 2012 Not quite sure I know what you mean.... so like... Conditional branch Script:GameTime.dayweek = 0 all the crap i want Branch end? -T Share this post Link to post Share on other sites
dbchest2 11 Posted November 3, 2012 good lord Vlue! i've been creating my project for years now and i haven't actually included any scripts from outside sources so far. you have some great stuff and i can't help but want to use it...i may break down and include a few of your scripts. p.s. is this particular script still free for non-commercial games? 1 Share this post Link to post Share on other sites
Vlue 271 Posted November 3, 2012 good lord Vlue! i've been creating my project for years now and i haven't actually included any scripts from outside sources so far. you have some great stuff and i can't help but want to use it...i may break down and include a few of your scripts. p.s. is this particular script still free for non-commercial games? All my scripts are free for non-commercial use, always. That will never change. As it does say in my signature though, I would like to hear from anyone who releases a game, commercial or not, that uses my scripts, because I like to check them out. 1 Share this post Link to post Share on other sites
dbchest2 11 Posted November 3, 2012 if your scripts find their way into my main project i will personally PM you a link. i feel like we have common interests in our needs. i really take to your scripts because they seem like they do exactly what i need and never have extra bulk that i find useless. everything seems to be relative, thought out, and coded well. you're a good RM programmer in my opinion. 1 Share this post Link to post Share on other sites
trogador2005 0 Posted November 3, 2012 (edited) Hey there, sorry to post again so soon but I'm using Khas and I cant seem to get the tint to pause with the "@<Comment: GameTime.pause_tint = true" command to work. if I put notint in the map notes the tint turns off but then i can't set my own tint on the map. am I doing something wrong? -T Edited November 3, 2012 by trogador2005 Share this post Link to post Share on other sites
Vlue 271 Posted November 3, 2012 Hey there, sorry to post again so soon but I'm using Khas and I cant seem to get the tint to pause with the "@<Comment: GameTime.pause_tint = true" command to work. if I put notint in the map notes the tint turns off but then i can't set my own tint on the map. am I doing something wrong? -T Yes! The functions have to be called via the script command and not embedded in a comment. It's on page 3, bottom right. Share this post Link to post Share on other sites
trogador2005 0 Posted November 3, 2012 I originally was using it as a script. Script:GameTime.pause_tint = true and i get Game_interpreter line 1409: no method undefined method 'pause_tint=' for gameTIme:Module -T Share this post Link to post Share on other sites
Vlue 271 Posted November 3, 2012 I originally was using it as a script. Script:GameTime.pause_tint = true and i get Game_interpreter line 1409: no method undefined method 'pause_tint=' for gameTIme:Module -T It's GameTime.pause_tint(true) or GameTime.pause_tint(false) Share this post Link to post Share on other sites
trogador2005 0 Posted November 3, 2012 Oh wow I feel dumb haha. It was staring me in the face in the instructions! thanks! But I think I may have found a bug....If i have an event move time forward with the Script:GameTime.set("addhour",x) command the screen will change the tint to whatever time that command makes it. so like if I have Script:GameTime.set("addhour",3) and the time is midnight, and the tint is paused, it will change the tint to the 9am tint but still keep it paused there unless I have another time change. Or i could be doing something way wrong again lol. Share this post Link to post Share on other sites
Vlue 271 Posted November 3, 2012 Nope, not wrong, the command was there but it didn't do anything anyways. Fixed up in the recent version. Share this post Link to post Share on other sites
Lapine Ninja 0 Posted November 4, 2012 I was trying to change the game time using a script call, but every time I do I get "Script 'Game_Interpreter' line 1411: ArgumentError occurred. wrong number of arguments (7 for 6)" I tried googling it, and messing around with the call. I know next to nothing about scripting, though, so there's a good chance I'm messing up something little. I used the button under "Advanced" on page three, and inserted the "GameTime.change(nil,30,4,1,1,1,2012)" thing, thinking that maybe the numbers I had put in where wrong in some way. I still got the same thing. Any clue as to how to fix this? Share this post Link to post Share on other sites