Marmelada

Villager
Member
Joined
Dec 13, 2017
Messages
13
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi all,

I need a couple of plugins for a project I'm working on, but couldn't find any that do exactly what we need.

One thing we need is a way to know at what point in real time the players were in a certain area, because we need to synchronise their position with the data our other machine records. If you're not sure what I mean, this thread for the main plugin we need could provide a bit of background. What we thought is we could send a trigger to our other machine at certain points. Most importantly, we need a precise time signal when players start the game, not when the code first runs, but when they press play in the title screen or even better when the world loads and puts them in control of the character. After that we would like to have a signal sent from the machine running the game to this other machine running something else, because we need to synchronise them afterwards. For example, every minute or every five minutes, depending on what we need, the game sends a special trigger to our other machine. That way we would have a reference say at time point t=60s the player was in coordinates (x,y), that's all we need.

I found a couple of plugins that sort of seem like they could potentially help, but none of them do exactly what we need in a reliable way. E.g. ICF-Soft Time Utility seems promising. It actually might be exactly what we need for tracking real time, and maybe we wouldn't need the trigger to the parallel machine if it's reliable, but it depends if we can have it run at the precise point we need (when the game loads after pressing start in the title screen). We might need to test that, but if anyone already know how it works and whether it can fit our needs please let me know. :)

Again, any suggestions are very welcome!

TL;DR - we need a plugin that either records real time in-game starting from when the player gains control after title screen, until the software closes or they reach the game end (short game), or have a trigger repeatedly sent from the game to a parallel machine every t=x (in seconds) in which we can manipulate x.
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,641
Reaction score
1,474
First Language
French
Primarily Uses
RMMV
withOut plugin you can use a easy interval update
PHP:
var reelTimeX, reelTimeY;
setInterval(function(){
   reelTimeX = $gamePlayer._realX;
   reelTimeY = $gamePlayer._realY;
console.log('x:',reelTimeX, ' y:',reelTimeY );
 }, 100); // 1000ms = 1second

https://www.w3schools.com/jsref/met_win_setinterval.asp
 

Marmelada

Villager
Member
Joined
Dec 13, 2017
Messages
13
Reaction score
1
First Language
English
Primarily Uses
RMMV
Thanks for the link @Jonforum! It doesn't necessarily need to be a plugin, we just need the function, so code works as well. I'll try to adjust it to our ideas.
 

Latest Threads

Latest Posts

Latest Profile Posts

woootbm wrote on TheAM-Dol's profile.
On your last stream you were talking about dev's who remake or remaster the same game rather than moving on. Does this happen a lot? Me and Tony were thinking of covering a game that did this. We're baffled by the idea and wanted to investigate the game.
...Damn it has been a hot minute since I was here. How y'all doing, how's life been?
Figured I would make some edits of the enemy art pack I use (Made by SeraphCircle) and I regret my decision xD

Wendigo.png
Posted a couple more DEMO videos based on my current experiments. A longer one for my turn-based movement experiments and a super short one for the very early experiments with turn order display and turn indicator. I will post links below for anyone interested in seeing the not very pretty experiments. Progresses!
Since cats love to walk across keyboards...what would an entire RPG where all the text was written by a cat walking across the keyboard look like? Prepare for the adventures of the hero aaaaaaaaasddfghyuyhju878uiop;'[p0ol,m

Forum statistics

Threads
129,737
Messages
1,204,736
Members
170,825
Latest member
BillyGon
Top