- Joined
- Apr 7, 2025
- Posts
- 33
As the title says, this is an issue that I recently started to experience. Quick background: Based on Essentials Overworld Time, morning ends at 10a, but afternoon doesn't start until 12, leaving a 2 hour gap between. This is something that I was never a fan of back when the original G/S/C came out, so after a while of learning some Essentials, I decided to change this.
Here's where I'm stumped: After changing the morning time to run until 12p, I was still getting Overworld morning encounters for a day or two before it stopped. In response, I modded the script, I had removed "day" where it said morning and from the other "mornings" as well and everything was working fine. A few days ago, I installed the Overworld Wild Encounters script by derFischae and everything was still working. Yesterday during a playtest, there was a wild encounter on the map, but ended up having to battle my rival on the Route. AFTER the battle, all of my morning encounters stopped working. Afternoon/Evening/Night all work except that I'm not running into any "tile" encounters; just the ones that show up in the overworld, which I was able to do the night before. Nothing was changed from that previous night to the next morning, so I'm not sure. Also, all my versions are set to 0 for each encounter map. Any help appreciated. I don't know how to post a screenshot on here as it's just giving me a place to put an internet link, so here's the rough code:
Day and night system
#===============================================================================
def pbGetTimeNow
return Time.now
end
#===============================================================================
#
#===============================================================================
module PBDayNight
HOURLY_TONES = [
Tone.new(-70, -90, 15, 55), # Night # Midnight
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-60, -70, -5, 50), # Night
Tone.new(-40, -50, -35, 50), # Day/morning
Tone.new(-40, -50, -35, 50), # Day/morning # 6AM
Tone.new(-40, -50, -35, 50), # Day/morning
Tone.new(-40, -50, -35, 50), # Day/morning
Tone.new(-20, -25, -15, 20), # Day/morning
Tone.new(-20, -25, -15, 20), # Day/morning
Tone.new(-20, -25, -15, 20), # Day/morning
Tone.new( 0, 0, 0, 0), # Day/afternoon # Noon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( -5, -30, -20, 0), # Day/evening # 6PM
Tone.new(-15, -60, -10, 20), # Day/evening
Tone.new(-15, -60, -10, 20), # Day/evening
Tone.new(-40, -75, 5, 40), # Night
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-70, -90, 15, 55) # Night
Here's where I'm stumped: After changing the morning time to run until 12p, I was still getting Overworld morning encounters for a day or two before it stopped. In response, I modded the script, I had removed "day" where it said morning and from the other "mornings" as well and everything was working fine. A few days ago, I installed the Overworld Wild Encounters script by derFischae and everything was still working. Yesterday during a playtest, there was a wild encounter on the map, but ended up having to battle my rival on the Route. AFTER the battle, all of my morning encounters stopped working. Afternoon/Evening/Night all work except that I'm not running into any "tile" encounters; just the ones that show up in the overworld, which I was able to do the night before. Nothing was changed from that previous night to the next morning, so I'm not sure. Also, all my versions are set to 0 for each encounter map. Any help appreciated. I don't know how to post a screenshot on here as it's just giving me a place to put an internet link, so here's the rough code:
Day and night system
#===============================================================================
def pbGetTimeNow
return Time.now
end
#===============================================================================
#
#===============================================================================
module PBDayNight
HOURLY_TONES = [
Tone.new(-70, -90, 15, 55), # Night # Midnight
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-60, -70, -5, 50), # Night
Tone.new(-40, -50, -35, 50), # Day/morning
Tone.new(-40, -50, -35, 50), # Day/morning # 6AM
Tone.new(-40, -50, -35, 50), # Day/morning
Tone.new(-40, -50, -35, 50), # Day/morning
Tone.new(-20, -25, -15, 20), # Day/morning
Tone.new(-20, -25, -15, 20), # Day/morning
Tone.new(-20, -25, -15, 20), # Day/morning
Tone.new( 0, 0, 0, 0), # Day/afternoon # Noon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( 0, 0, 0, 0), # Day/afternoon
Tone.new( -5, -30, -20, 0), # Day/evening # 6PM
Tone.new(-15, -60, -10, 20), # Day/evening
Tone.new(-15, -60, -10, 20), # Day/evening
Tone.new(-40, -75, 5, 40), # Night
Tone.new(-70, -90, 15, 55), # Night
Tone.new(-70, -90, 15, 55) # Night