Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

9 Pages V  « < 2 3 4 5 6 > »   
Reply to this topicStart new topic
> ~[Kylock's Time System VX 1.5]~
Solaris
post Jul 27 2008, 04:43 PM
Post #61


Level 1
Group Icon

Group: Member
Posts: 6
Type: None
RM Skill: Beginner




QUOTE (Kathrinchen @ Jul 24 2008, 06:07 PM) *
This may be a newbie question, but well... wink.gif
Where exactly do I put the script? I mean, okay, I have the 'Script Editor', but where in there? Like, under 'main'...?
Thanks for help!

Anyone?

Please?


Yeah mate i had the same problem (noob), open your script editor, and put it in the "materials" section
then it will work fine
Go to the top of the page
 
+Quote Post
   
dndproductions
post Jul 27 2008, 06:59 PM
Post #62


Level 1
Group Icon

Group: Member
Posts: 10
Type: None
RM Skill: Undisclosed




I'm getting an EOFE error (end of file reached) on line 444 whenever I try to load a saved file. Is this because I added the script after already working on parts of my game?

EDIT: Oh, heh, this was already answered earlier in the thread. Oops.

This post has been edited by dndproductions: Aug 3 2008, 03:10 PM
Go to the top of the page
 
+Quote Post
   
Joosu
post Aug 9 2008, 10:37 AM
Post #63


Level 1
Group Icon

Group: Member
Posts: 12
Type: Developer
RM Skill: Undisclosed




Haven't tested it yet but I think this is what i am looking for.


__________________________
Currently making a game.
Go to the top of the page
 
+Quote Post
   
VerifyedRasta
post Aug 9 2008, 08:50 PM
Post #64


Level 20
Group Icon

Group: Revolutionary
Posts: 407
Type: Musician
RM Skill: Advanced




No idea why this is happening ... but anytime i go into the Debug menu <F9> and i go to the variables that should contain the calculations for time. I get this error



Could it have something to do with the Variable names? I really don't know ... and need help sad.gif


__________________________
Go to the top of the page
 
+Quote Post
   
Twilight27
post Aug 21 2008, 11:09 PM
Post #65


Level 19
Group Icon

Group: Revolutionary
Posts: 371
Type: Event Designer
RM Skill: Beginner




Wow, there are a lot of problems...is Kylock away?

QUOTE (kiberkiller @ Jul 24 2008, 04:58 AM) *
Could someone make this script to work on RPG Maker XP? please


I believe, he created one for XP already; he said so in the first post. Try looking for it in the XP section.


Anyway...anyone knows if he's checking this site often or is there a contact for him? I have a few questions for him...


__________________________

Fall to the power of the Emo!
We have cookies!


Notice!! Check out my topic (http://www.rpgrevolution.com/forums/index.php?showtopic=45736&st=0#entry454175) if you're interested in helping me make a script that limits the number of characters & items you use in battle AND also an item durability feature! Thanks for any help in advance!
Go to the top of the page
 
+Quote Post
   
zen03y
post Aug 31 2008, 07:58 AM
Post #66


Level 4
Group Icon

Group: Member
Posts: 52
Type: None
RM Skill: Skilled




Can I use this for just normal time to keep track of hour many hours you played the game in total? If so, how?
Go to the top of the page
 
+Quote Post
   
OniChild
post Aug 31 2008, 01:46 PM
Post #67



Group Icon

Group: Member
Posts: 4
Type: Artist
RM Skill: Advanced




might be kind of pointless, but, do you have a demo of this? i know you can customize tones and all that, but, could you make a demo of this using like... "default tones" or whatever you would call it? tongue.gif

thanks!
Go to the top of the page
 
+Quote Post
   
nobodyreal
post Sep 9 2008, 07:16 PM
Post #68


Level 4
Group Icon

Group: Member
Posts: 56
Type: None
RM Skill: Advanced




When I use this script and it turns night, the new NPCs and events that only appear at night, don't appear unless i open Menu, exit Menu. I remember reading some else here having the same problem, but it can't be fixed since its a part of RPG Maker VX that it only reads the conditions for events when you enter a place or activate it or something.

Is it possible to modify this script to use variables, so like, it turns night time and it will automatically refresh the map by using variables to remember the location you are standing at, then transfering you to that same location using the variables. That way, it will "refresh" the map so that the events that weren't there, are now there.

Is it possible?
Go to the top of the page
 
+Quote Post
   
originalwij
post Sep 10 2008, 09:35 AM
Post #69


... 42 ...
Group Icon

Group: Revolutionary
Posts: 214
Type: Scripter
RM Skill: Masterful




@nobodyreal

If I remember correctly, the script composer said that this done on purpose to prevent NPC's from magically appearing out of nowhere.

However, there is a work-around.

What I did was put the update-switch-call in the update section of the "core":

Change this:

CODE
# Computes current time and updates variables if used
  def update
    if !@kts_stop
      @total_seconds = (Graphics.frame_count * KTS::SPEED / 60) + @event_offset
      @seconds = (@total_seconds) % 60
      @minutes = (@total_seconds / 60) % 60
      @hours   = (@total_seconds / 3600) % 24
      @days    = (@total_seconds / 86400)
      update_tint
      if KTS::DATABASE_OUTPUT
        $game_variables[KTS::TIME]    = getTime
      end
    end
  end


to this:


CODE
# Computes current time and updates variables if used
  def update
    if !@kts_stop
      @total_seconds = (Graphics.frame_count * KTS::SPEED / 60) + @event_offset
      @seconds = (@total_seconds) % 60
      @minutes = (@total_seconds / 60) % 60
      @hours   = (@total_seconds / 3600) % 24
      @days    = (@total_seconds / 86400)
      update_tint
      update_switches
      if KTS::DATABASE_OUTPUT
        $game_variables[KTS::TIME]    = getTime
      end
    end
  end


The events will still not auto-update, but you can use events to check if the switches are on/off and then launch your events accordingly.


__________________________




Go to the top of the page
 
+Quote Post
   
nobodyreal
post Sep 11 2008, 04:22 AM
Post #70


Level 4
Group Icon

Group: Member
Posts: 56
Type: None
RM Skill: Advanced




@Originalwij

That's perfect! That's just what I wanted; the events to automatically update, and that's what the edit did. The magically popping out of nowhere doesn't bother me really. I can probably fix that by making an event that fades out the screen a second before the switch turns on using the variables and fades in when it turns night or something. I just didn't want the player waiting forever for an event to appear, when it wont until they refresh somehow.
Thank you so much Originalwij! smile.gif

This post has been edited by nobodyreal: Sep 11 2008, 04:30 AM
Go to the top of the page
 
+Quote Post
   
Shadonn
post Sep 16 2008, 02:53 PM
Post #71


Level 6
Group Icon

Group: Member
Posts: 81
Type: Writer
RM Skill: Undisclosed




Ok I don't know if I'm the only one experiencing this problem, the problem is that when I save in a map that doesn't have KTS in it's name and I load it, it works fine. However, if the map has KTS in it's name and I save it there and then load it I get this messge

Ignore the above please I pasted the wrong URL

This is the right one. Any ideas?

This post has been edited by Shadonn: Sep 16 2008, 02:55 PM


__________________________
Go to the top of the page
 
+Quote Post
   
xionreaver
post Sep 16 2008, 05:54 PM
Post #72


Level 1
Group Icon

Group: Member
Posts: 10
Type: Event Designer
RM Skill: Beginner




Is there a way to get the day of the week displayed below the time in the menu?
Go to the top of the page
 
+Quote Post
   
lomastul
post Sep 19 2008, 11:48 AM
Post #73


Level 7
Group Icon

Group: Member
Posts: 95
Type: Artist
RM Skill: Advanced




can you somehow modify it so it ill make the TDS reflection sprites fade too when the night/sunset/sunrise comes?


__________________________
Working On: Tears Of Destiny


Go to the top of the page
 
+Quote Post
   
Thanatos
post Sep 23 2008, 04:41 AM
Post #74


Level 8
Group Icon

Group: Revolutionary
Posts: 112
Type: None
RM Skill: Beginner




I got an error messages it say

Script 'Kylock Time System VX 1.5' line 237: TypeError occurred.
nil can't be coerced into Fixnum

please help me...
Go to the top of the page
 
+Quote Post
   
Lov3L3tt3r
post Sep 27 2008, 06:30 PM
Post #75


Level 2
Group Icon

Group: Member
Posts: 22
Type: None
RM Skill: Beginner




My map is not tinting ... what happen? how do i fix this? (i'm very new to rpgmakervx and i know nothing about scripting
can anyone help me out?

hehe silly me i didn't put [kts'
I got another question ... is there anyway i can make some monster to appear only at night? like in kgc's day/night system?

This post has been edited by Lov3L3tt3r: Oct 2 2008, 08:57 PM
Go to the top of the page
 
+Quote Post
   
Wolftor
post Dec 10 2008, 06:53 PM
Post #76



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Undisclosed




I'm pretty nooby at scripting, never tried it before but, my Time Bar Majigger isn't showing. Is there anyway to fix this problem? I would appreciate if you could reply on this. Thanks happy.gif


__________________________
Night Strikes, The Moon Rises. It's Werewolf Time >:)
Go to the top of the page
 
+Quote Post
   
Versus_Shin
post Dec 13 2008, 05:46 PM
Post #77


Level 2
Group Icon

Group: Member
Posts: 28
Type: Developer
RM Skill: Advanced




Kylock, contratulations on this great script!
Thanks for posting.

One doubt: Is there a way to set diferent enemy groups for different times of the day? For example, stronger monsters only apear at night. Something like that?


__________________________
- BLOGSHIN -
RPG Maker Resources
Go to the top of the page
 
+Quote Post
   
eugene222
post Dec 17 2008, 10:28 AM
Post #78


Level 1
Group Icon

Group: Member
Posts: 13
Type: None
RM Skill: Undisclosed




This is very cool. I want to use this, but it have Problems with your Light Effects Skript. I hope he will fix it.

mfg. eugene
Go to the top of the page
 
+Quote Post
   
SowS
post Dec 18 2008, 05:09 AM
Post #79


The Lazy Guy
Group Icon

Group: Revolutionary
Posts: 292
Type: Scripter
RM Skill: Undisclosed




hello guys! i just wanted to help you here. If you want to make the day of the week be seen with the time in the menu, change line 397-414 to make it look like something like this:
[Show/Hide] lines 397-414
class Window_KTS < Window_Base
def initialize(x, y)
super(x, 286, 160, WLH + 50)
refresh
end
def refresh
self.contents.clear
self.contents.draw_text(4, 12, 120, 32, $kts.getDayName, 2)
self.contents.draw_text(4, -6, 120, 32, $kts.getTime, 2)
end
def update
super
$kts.update
self.contents.clear
self.contents.draw_text(4, 12, 120, 32, $kts.getDayName, 2)
self.contents.draw_text(4, -6, 120, 32, $kts.getTime, 2)
end
end

now, if you want to change the position of the window, change x or y in:

CODE
super(x, 286, 160, WLH + 50)


x ranges from 0-640 while y ranges from 0-480....

there! have fun using this great script! thumbsup.gif

This post has been edited by SowS: Dec 18 2008, 05:11 AM


__________________________

QUOTE
Better off lazy, at least I'm not exhausted.
Go to the top of the page
 
+Quote Post
   
Kylock
post Dec 20 2008, 05:04 AM
Post #80


Level 6
Group Icon

Group: Member
Posts: 85
Type: Scripter
RM Skill: Advanced




QUOTE (Twilight27 @ Aug 22 2008, 02:09 AM) *
Wow, there are a lot of problems...is Kylock away?

QUOTE (kiberkiller @ Jul 24 2008, 04:58 AM) *
Could someone make this script to work on RPG Maker XP? please


I believe, he created one for XP already; he said so in the first post. Try looking for it in the XP section.


Anyway...anyone knows if he's checking this site often or is there a contact for him? I have a few questions for him...



The problems people are having are mostly related to people setting variables by hand or other scripts modifying variables that this script uses. I will eventually update this script and idiot-proof the default settings so that this won't happen.

If you have questions, a PM is fine, but if you want support for a script, its better to post to the topic.


__________________________
Go to the top of the page
 
+Quote Post
   

9 Pages V  « < 2 3 4 5 6 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 09:09 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker