What's up, RMers?
How many times have I told you that its lead developer hates Ruby? Tongue sticking out 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.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

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! Laughing + Tongue sticking out

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
Reply }
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. Winking

Still, if a replacement for the old Wait system is wanted, it would take a lotta work n research.... dangit. Sad
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
(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...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
Pffffft, PC's or OS's need milliseconds not centiseconds to make calculations... Sarcasm Don't try to break anything, wulfo!  Laughing + Tongue sticking out
"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.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

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! Laughing + Tongue sticking out

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
Reply }
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. Winking
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
Win32API for Ruby 2.x has been deprecated and should not be used anymore... Tongue sticking out

On the article below, it might not be clear who would be first, the chicken or the egg, from a programming point of view. Confused

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.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

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! Laughing + Tongue sticking out

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
Reply }
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...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
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...
Reply }
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. Tongue sticking out
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
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.
Reply }




Users browsing this thread: 169 Guest(s)