The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page RTC script event

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old October 7th, 2016 (3:01 AM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Guys i installed RTC in my hack and i am planning to make some Time based event(executed on the basis of day) what will happen if the game is played on a emulator that supports no RTC??
Answers pls....
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 7th, 2016 (4:52 AM).
NewDenverCity's Avatar
NewDenverCity NewDenverCity is offline
 
Join Date: Apr 2014
Location: Antarctica
Gender: Male
Nature: Calm
Posts: 326
Quote:
Originally Posted by The_learner View Post
Guys i installed RTC in my hack and i am planning to make some Time based event(executed on the basis of day) what will happen if the game is played on a emulator that supports no RTC??
Answers pls....
You won't get that event to happen more than once on an emulator with no RTC.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 7th, 2016 (4:55 AM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Quote:
Originally Posted by NewDenverCity View Post
You won't get that event to happen more than once on an emulator with no RTC.
So,
If i set an event to happen every sunday, how would it be executed in emulator with no rtc???

anyways thanks for the reply :)c
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 7th, 2016 (5:23 AM).
Logan's Avatar
Logan Logan is offline
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 28
Gender: Male
Nature: Sassy
Posts: 10,414
Quote:
Originally Posted by The_learner View Post
So,
If i set an event to happen every sunday, how would it be executed in emulator with no rtc???

anyways thanks for the reply :)c
It can't... if the emulator doesn't know it is Sunday how can it be expected to act like so?
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 7th, 2016 (5:31 AM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Quote:
Originally Posted by Harry View Post
It can't... if the emulator doesn't know it is Sunday how can it be expected to act like so?
So do you mean that the event will never happen in the game??? :(
That is actually so sad for me atleast.
.
.
I was planning to make a event such that a person will gift a pokemon in the occasion of new year, but seems like thats never gonna happen :( ;-; ~_~
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old October 7th, 2016 (5:36 AM).
Logan's Avatar
Logan Logan is offline
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 28
Gender: Male
Nature: Sassy
Posts: 10,414
Quote:
Originally Posted by The_learner View Post
So do you mean that the event will never happen in the game??? :(
That is actually so sad for me atleast.
.
.
I was planning to make a event such that a person will gift a pokemon in the occasion of new year, but seems like thats never gonna happen :( ;-; ~_~
An event based on a RTC isn't go to work properly without a RTC.
__________________
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old October 7th, 2016 (5:41 AM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Quote:
Originally Posted by Harry View Post
An event based on a RTC isn't go to work properly without a RTC.
Its so bad.
.
still thanks for your reply.
:)
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old October 7th, 2016 (6:22 PM).
NewDenverCity's Avatar
NewDenverCity NewDenverCity is offline
 
Join Date: Apr 2014
Location: Antarctica
Gender: Male
Nature: Calm
Posts: 326
Well if you use the DNS set up already with Shinyquasire's implementation or something like that then without an RTC emulator, you'll have one of two things happen. For whatever reason, the RTC routine actually writes something to the RAM regardless of RTC being enabled in the emulator. The difference is that it writes the wrong info in only once. So it's possible for your event to happen once and only once. The second possibility is that the day it writes won't be Sunday and it won't happen at all. Either way sucks, and is too bad.

(also note i used vba and shinyquagsire's modded routine to get this info)
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old October 7th, 2016 (6:51 PM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
Quote:
Originally Posted by NewDenverCity View Post
Well if you use the DNS set up already with Shinyquasire's implementation or something like that then without an RTC emulator, you'll have one of two things happen. For whatever reason, the RTC routine actually writes something to the RAM regardless of RTC being enabled in the emulator. The difference is that it writes the wrong info in only once. So it's possible for your event to happen once and only once. The second possibility is that the day it writes won't be Sunday and it won't happen at all. Either way sucks, and is too bad.

(also note i used vba and shinyquagsire's modded routine to get this info)
Thanks for the info :)
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:21 AM.