def getPreviousRefreshDate(date)
pokeMartTracker = $ArckyGlobal.pokeMartTracker[@map_id][@event_id]
return 0 if pokeMartTracker.empty?
return (getDateFromString(date) - getDateFromString(pokeMartTracker[:date].to_s)) / (24 * 60 * 60)
end
def getDateFromString(date)
dateArray = date.split('-')
return Time.local(dateArray[0], dateArray[1], dateArray[2])
end
with one "return Time.local", could be it?
The script is here on this community, Arcky made a complete guide (a cool one), but the only way to see the entire script is download it.
I don't "return Time.local" is the issue. I don't know the issue looking at these codes, so I contacted Arcky and he gonna take a look. He also tell me to contact him directly for futher questions about this bug.
Thank you for doing that for me, i just hoping it was some single line changing that could fix that (‘cause i’m no expert)… of course I was ready to contact him too if it turned out a more complex problem of compatibility.
Thanks for your help and time
Thank you for doing that for me, i just hoping it was some single line changing that could fix that (‘cause i’m no expert)… of course I was ready to contact him too if it turned out a more complex problem of compatibility.
Thanks for your help and time
Arcky told me today that is an error at his script. He also told me that he might either release a small update later today or tomorrow that'll include the fix.
Hey! Nice work, I love using this script. For those interested, I recommend adding the Camping Gear Item as a way to advance the clock. I have it set to 8 hours.
#-------------------------------
[CAMPINGGEAR]
Name = Camping Gear
NamePlural = Camping Gears
Pocket = 8
Price = 0
FieldUse = Direct
Flags = KeyItem
Description = Everything you need to set up a tent and rest up for 8 hours.
#-------------------------------
Code for v21.1. Add to the bottom of the Unreal Time System script.
This section is for the discussion of the tutorials and resources on Eevee Expo. To find tutorials and resources, check out the Tutorial and Resource Manager for optimal navigation.