Hello there, I've been wracking my brain over this for a bit, so I thought I would try asking other people for some insight.
I'm working on a project, where there's gladiatorial combat with a certain number of fights you can do in a certain amount of time, real world time. So, let's say you can do up to 15 fights before you need to wait and do other things for a bit before the timer resets your fights. If you only one fight, you still need to wait until the timer runs out before you get that fight back. I hope this is a comprehensive explanation.
I'm using Visustella's Date/Time system, set it to real world time, and I have variable set for all the relevant measures of time, so that if I do like, 3 fights and walk away from the game for an extended period, they would reset because at least an hour had passed.
The problem is that The Visustella date/time system measures the variables as YYYYMMDDHHMMSS, which means that if I finish all 15 of my fights at 11:59, then at 12:00 the fights will reset. I'm not sure how to overcome this? I know it's a limitation of the plugin because that's how it's set up, and I know I can't make it in game time, because it would be super annoying to leave the game on for however long you need to wait. I would be open to any suggestions to make it work, help much appreciated.
TL;DR: My real-world fight timer finishes because of the way the variables are set up, and I don't know how to fix it.
Thanks!
I'm working on a project, where there's gladiatorial combat with a certain number of fights you can do in a certain amount of time, real world time. So, let's say you can do up to 15 fights before you need to wait and do other things for a bit before the timer resets your fights. If you only one fight, you still need to wait until the timer runs out before you get that fight back. I hope this is a comprehensive explanation.
I'm using Visustella's Date/Time system, set it to real world time, and I have variable set for all the relevant measures of time, so that if I do like, 3 fights and walk away from the game for an extended period, they would reset because at least an hour had passed.
The problem is that The Visustella date/time system measures the variables as YYYYMMDDHHMMSS, which means that if I finish all 15 of my fights at 11:59, then at 12:00 the fights will reset. I'm not sure how to overcome this? I know it's a limitation of the plugin because that's how it's set up, and I know I can't make it in game time, because it would be super annoying to leave the game on for however long you need to wait. I would be open to any suggestions to make it work, help much appreciated.
TL;DR: My real-world fight timer finishes because of the way the variables are set up, and I don't know how to fix it.
Thanks!