Posts: 4,606
Threads: 543
Joined: Dec 2009
How many times have I told you that its lead developer hates Ruby? Plus calling the Time class methods is time consuming according to some commentators' or knowledgeable rubyists' statements, IIRC...
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 11,229
Threads: 648
Joined: May 2009
BASTICHES!!!! THEY TOOK MILLISECONDS OUT OF THE TIME CLASS!
EnterBrainless stripped down the Time Class for use in their engines, so you cannot compare different TIME calls down to the millisecond. JERKS! But ReGaL's not using a stripped down version.
Still, if a replacement for the old Wait system is wanted, it would take a lotta work n research.... dangit.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 11,229
Threads: 648
Joined: May 2009
(06-04-2018, 03:11 AM)DerVVulfman Wrote: BASTICHES!!!! THEY TOOK MILLISECONDS OUT OF THE TIME CLASS!
I GOT IT!!!!! THEY HID IT!!!!
Code: time = Time.now
ms = time.to_f.to_s.split(".").last[0..2]
p time.strftime("%H:%M:%S.#{ms}")
They disabled the tv_usec and usec properties which made immediate calls to retrieve the Milliseconds from the time class. BUT... the above code shows that the milliseconds STILL EXIST!!! I can still retrieve the data!
Now the fun part is to see about making the most UBER accurate wait system for RPGMaker which can be set to the millisecond!!! Um... wait... Erm, to 1/1000th of a second may be too much. So instead of the millisecond, how does a centisecond (1/100th) sound?
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 4,606
Threads: 543
Joined: Dec 2009
Pffffft, PC's or OS's need milliseconds not centiseconds to make calculations... Don't try to break anything, wulfo!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 11,229
Threads: 648
Joined: May 2009
RPGMaker's own wait system is nothing more than a counter timer system which can be slowed down by a lotta processes running in the game. And it assumes the odd 40 or 60 units per second.
Using a means to read the system time down to 1/100th of a second in this way means a lot more accuracy. And I'm reading the timer, not setting it.
Trust me, setting the timer with a Win32API in Ruby is hella hard (if not near impossible). And trust me, I did research on it.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 4,606
Threads: 543
Joined: Dec 2009
Win32API for Ruby 2.x has been deprecated and should not be used anymore...
On the article below, it might not be clear who would be first, the chicken or the egg, from a programming point of view.
https://www.quora.com/In-a-game-program-...y-a-bullet
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 11,229
Threads: 648
Joined: May 2009
Deprecation or depressed? Bored. Still, some things are still only available this way.
Entertaining topic. In the RPGMaker lines, you actually send attack data to the 'Target/Victim' and check its stats to see if the attack data hit the victim. So you do see the victim get hit first. Even the ABSs gotta run a test based on the victim, though hits are usually guaranteed if on target.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 494
Threads: 9
Joined: Sep 2013
Has anyone else encountered this annoying bug in RMXP?
I try to test my game but when booting the project my characters are stuck walking up north. It's like the up arrow is permanently pressed.
It's really bothersome to say the least. It gets fixed once I reboot my computer, though. Thinking about that, perhaps it's just my PC that's acting...
Posts: 11,229
Threads: 648
Joined: May 2009
06-06-2018, 03:46 AM
(This post was last modified: 06-06-2018, 03:48 AM by DerVVulfman.)
Wow.... It's been a long time since I heard of that issue.... my old days in RMXP.Org (circa 2005-2006). But it turned out to be her PC too. Hell, I gotta admit that I encountered it myself. But I was running a copy of RMXP on a Pentium III laptop I used for traveling/temporary purposes. Yes, I said Pentium III. Don't let the 'minimum requirements' discourage you.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 494
Threads: 9
Joined: Sep 2013
06-06-2018, 02:46 PM
(This post was last modified: 06-06-2018, 02:48 PM by Steel Beast 6Beets.)
My computer is like 7 or 8 years old. Which in technology time is, like, a century more or less. I reckon. I'm still running Windows 7 for Christ's sake. But again, from what I've heard/read about the latest Windows entries, methinks that's for the best...
I haven't been hit with his bug in years. I had actually forgotten about it until yesterday when I remembered "yeah, that is a thing that used to happen quite a lot back in the day". I don't know what could have triggered it again.
|