RMMV Problem with Week day (Plugin Irina Real Time System)

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
Hi community,

I've a problem about a week day.

Normally with the plugin one is supposed to see the actual date (those on the computer). For the month, date, hour, seconds and year it works very well but not for the day. Every time I want to check the date the NPCs tell me it's Friday (but it's Sunday actually). I took some screenshoots to give you a picture of my situation. And here is the link for the plugin I used.

Thanks for your help

Capture d’écran 2021-05-16 à 18.43.03.png

Capture d’écran 2021-05-18 à 23.39.51.png
Capture d’écran 2021-05-18 à 23.40.22.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,357
Reaction score
8,390
First Language
German
Primarily Uses
RMMV
only two possibilities here:
1) you have used that variable elsewhere for a different function, that changes the value to something other than the time plugin. Most likely another plugin that uses the same variable as default, because a change with an event would not be that constant. (very likely cause)

2) incompatibility with another plugin. In that case we need screenshots of your entire plugin list (less likely)
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
what if you do \v[24], what is the number output?

most is 0 either monday or sunday.
if the output is either 4 or 5, than it would be easier to figure out where
the problem is.

I dont know if this will read the system or the ingame that you need to setup
first. what is the time if you do: \hour and \v[25] does that match?
 

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
only two possibilities here:
1) you have used that variable elsewhere for a different function, that changes the value to something other than the time plugin. Most likely another plugin that uses the same variable as default, because a change with an event would not be that constant. (very likely cause)

2) incompatibility with another plugin. In that case we need screenshots of your entire plugin list (less likely)
what if you do \v[24], what is the number output?

most is 0 either monday or sunday.
if the output is either 4 or 5, than it would be easier to figure out where
the problem is.

I dont know if this will read the system or the ingame that you need to setup
first. what is the time if you do: \hour and \v[25] does that match?
Thanks for you anwers,

I downloaded again then created a new project with just the basic plugins and Irina's (image below and it's the same thing). What drives me crazy is that it is written that this plugin is made for version 1.6.2 (the one I have) so I have very strong doubts about the incompatibility of the plugin. I also forced with the variable and did as you told me Shadow Dragon but when I do \ V [4] the number 3 comes out but it's always Friday

Capture d’écran 2021-05-16 à 19.03.51.png
Capture d’écran 2021-05-16 à 19.04.31.png
Capture d’écran 2021-05-16 à 19.07.37.png


Capture d’écran 2021-05-16 à 19.22.20.png
Capture d’écran 2021-05-16 à 19.20.39.png
Capture d’écran 2021-05-16 à 19.10.37.png
Capture d’écran 2021-05-16 à 19.04.51.png
 

Attachments

  • Capture d’écran 2021-05-16 à 19.07.10.png
    Capture d’écran 2021-05-16 à 19.07.10.png
    502.8 KB · Views: 2
  • Capture d’écran 2021-05-16 à 19.20.39.png
    Capture d’écran 2021-05-16 à 19.20.39.png
    578.4 KB · Views: 2

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
remove the parallel process and just put those in event of the dummy:

\weekday , \v[4] nothing more, nothing less.
I dont have the plugin, so I cannot see what the issue might be, because I
Event the full real time system.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,357
Reaction score
8,390
First Language
German
Primarily Uses
RMMV
is the name for the plugin file the correct one?
 

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
is the name for the plugin file the correct one?
remove the parallel process and just put those in event of the dummy:

\weekday , \v[4] nothing more, nothing less.
I dont have the plugin, so I cannot see what the issue might be, because I
Event the full real time system.
When I don't put "parallel" it puts me "Friday 0". And No I don't change the name (just a drag and drop).
I don't know if it's possible to lend you the plugin (or maybe share in my drive 10min), but since it's a paid plugin I don't have to share it but it's the only way so that you can see from your side
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
something is serious fishy, so try this first, open the plugin, is it obfuscated?
if not, there might be a problem somewhere in the plugin. but it might be a 1 liner.

EDIT:
in your event, you did: \Weekday, but would the day be the same if \WeekDay
capital D as well?

if playtest is friday, what day is the output if you do "deployed", would it be the
same as well?
 
Last edited:

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
something is serious fishy, so try this first, open the plugin, is it obfuscated?
if not, there might be a problem somewhere in the plugin. but it might be a 1 liner.

EDIT:
in your event, you did: \Weekday, but would the day be the same if \WeekDay
capital D as well?

if playtest is friday, what day is the output if you do "deployed", would it be the
same as well?
"open the plugin, is it obfuscated" You mean to plugin manager or code editor like visual studio code ?

When I deployed it's the same date "friday".
I tried \WeekDay Weekday but it's the same (same for variable name)
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
open in visiocode, notepad++, atom, etc, and see if the code is readable,
that way, you can check if it's obfuscated, but you may edit the code, but
not redistribute, so it would be harder.

if the variable \v[x] = 7, it should be good, so far I can read, the plugin
starts with "1. Monday", but if it doesn't show a value, it's weird.

and really strange as well.

you can try to report tomorrow back, so see if it change to "saturday",
if it's not, there is probably a tiny mistake in the plugin function.

if it's still friday by than, than it's really weird.
 

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
open in visiocode, notepad++, atom, etc, and see if the code is readable,
that way, you can check if it's obfuscated, but you may edit the code, but
not redistribute, so it would be harder.

if the variable \v[x] = 7, it should be good, so far I can read, the plugin
starts with "1. Monday", but if it doesn't show a value, it's weird.

and really strange as well.

you can try to report tomorrow back, so see if it change to "saturday",
if it's not, there is probably a tiny mistake in the plugin function.

if it's still friday by than, than it's really weird.
I may have a track, I used your technique of "\ WeekDay \ V [30]" (I change the variable number) and then I voluntarily change the date of my laptop. and here is what i have :

Monday -> Friday 1
Tuesday -> Friday 2
Wednesday -> Friday 3
Thursday -> Friday 4
Friday -> Friday 5
Saturday -> Friday 6
Sunday -> Friday 0

It's weird that there is a 0 instead of 7
The variable figure is good but I still have the word "friday"
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
if weekday = variable 30, and it outputs that, it's something.
but the question only is, why does i out "friday".

that is something I cannot tell or why.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,357
Reaction score
8,390
First Language
German
Primarily Uses
RMMV
is there any place in the plugin where you can name the weekdays?
because usually - to allow for different languages - any text in plugins is made to be configured by the user, to enable translating and renaming it.

and from that description it simply looks as if that was set wrong, resulting in all days displaying the same textstring.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,883
Reaction score
14,992
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.

 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,502
Reaction score
728
First Language
indonesian
something is serious fishy, so try this first, open the plugin, is it obfuscated?
if not, there might be a problem somewhere in the plugin. but it might be a 1 liner.

EDIT:
in your event, you did: \Weekday, but would the day be the same if \WeekDay
capital D as well?

if playtest is friday, what day is the output if you do "deployed", would it be the
same as well?
if i remember correctly... most Irina's plugin is obfuscated... so peeking on the code might not help...
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
I figure that out, but it seems it reads weekdays - 2 or -3 somewhere,
but renaming the weekdays of "Friday" -> Sunday and continue from there
is probably only a workaround, but hard to tell if the day is the same if you
have 6 hours different or 9 and you are 1 day in front/behind.

I event the full system, and seems to work flawless, the plugin seems nice,
but the terms say "you are allowed to edit the code", how would you do that,
if the code is obfuscated?
 

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
is there any place in the plugin where you can name the weekdays?
because usually - to allow for different languages - any text in plugins is made to be configured by the user, to enable translating and renaming it.

and from that description it simply looks as if that was set wrong, resulting in all days displaying the same textstring.
I figure that out, but it seems it reads weekdays - 2 or -3 somewhere,
but renaming the weekdays of "Friday" -> Sunday and continue from there
is probably only a workaround, but hard to tell if the day is the same if you
have 6 hours different or 9 and you are 1 day in front/behind.

I event the full system, and seems to work flawless, the plugin seems nice,
but the terms say "you are allowed to edit the code", how would you do that,
if the code is obfuscated?
if i remember correctly... most Irina's plugin is obfuscated... so peeking on the code might not help...
SOLVED :
I found a way around it, it's not really aesthetic but it fixes the problem and I hope people who had the same problem as me will see how to get around it:

From what the plugin does there are several things:

Monday = 1
Tuesday = 2
Wednesday = 3
Thursday = 4
Friday = 5
Saturday = 6
Sunday = 0

Step 1: I have created a common event in parallel (image 1) with a switch (check image 3)
Capture d’écran 2021-05-17 à 11.55.22.png
where I have set conditions. Under these conditions I replaced the variables with "text" strings. (image 2).
Capture d’écran 2021-05-17 à 12.21.50.png
Here is a video that shows how to change its variables to text (from 1min 14 to 3min 06). Create a switch (in my case # 0170Enable WeekDay) (image 3)
Capture d’écran 2021-05-17 à 12.17.31.png

Normally with the plugin if we write the text "\ WeekDay" the day appears. Replace this just by the number of the variable "in my case \ V [24]" for the rest write as indicated on the plugin (\ Year \ Month, etc ...) (image 4).
Capture d’écran 2021-05-17 à 12.07.05.png
And There you go :biggrin:
Capture d’écran 2021-05-17 à 12.04.47.png
I have voluntarily modified every day of the week and it works perfectly. It's a bit boring to do it knowing that it's up to the plugin to do it but it's better than nothing :biggrin:
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,156
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
Nice and better work around I had in mind, but I'm glad you found a nice
working solution :)

good luck on your project further :)
 

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
Nice and better work around I had in mind, but I'm glad you found a nice
working solution :)

good luck on your project further :)
Thank you for your help et good luck too :)
 

belhadi

Villager
Member
Joined
Aug 7, 2019
Messages
15
Reaction score
2
First Language
French
Primarily Uses
RMMV
SOLVED :
I found a way around it, it's not really aesthetic but it fixes the problem and I hope people who had the same problem as me will see how to get around it:

From what the plugin does there are several things:

Monday = 1
Tuesday = 2
Wednesday = 3
Thursday = 4
Friday = 5
Saturday = 6
Sunday = 0

Step 1: I have created a common event in parallel (image 1) with a switch (check image 3)
View attachment 189524
where I have set conditions. Under these conditions I replaced the variables with "text" strings. (image 2).
View attachment 189525
Here is a video that shows how to change its variables to text (from 1min 14 to 3min 06). Create a switch (in my case # 0170Enable WeekDay) (image 3)
View attachment 189526

Normally with the plugin if we write the text "\ WeekDay" the day appears. Replace this just by the number of the variable "in my case \ V [24]" for the rest write as indicated on the plugin (\ Year \ Month, etc ...) (image 4).
View attachment 189527
And There you go :biggrin:
View attachment 189528
I have voluntarily modified every day of the week and it works perfectly. It's a bit boring to do it knowing that it's up to the plugin to do it but it's better than nothing :biggrin:
Update :
While trying to create a quest on a specific day I noticed that it also changes the script if you ever want to do an event only on Fridays for example.

Here is how to do it: since previously we changed the variable to string: the text must also be put in the condition so that it works it will not work if you put a number (example 5 for Friday). In my case "24" is my variable number"
Capture d’écran 2021-05-17 à 13.02.52.png
If you want to put it in the page conditions here is an interesting plugin created by Yanfly which will allow you to do it (just do the same thing)
 

Latest Threads

Latest Profile Posts

I have made 60 new skills! ''after test'' I have made 3 new skills!

Made a new battleback this week! How's it look?
"This is the real secret to life - To be completely engaged with what you are doing in the here and now. And instead of calling it work, realize it is play."
Me: "I don't to use other engines because I'd have to do a lot of coding."

Also my desktop right now....
mycurrentdesktop.jpg

...I literally spend more time using VS Code than MZ. :kaoswt:
actually, are there any JRPG type games (I guess turn based, so not ARPGs like say, Vagrant Story) where you have only one party member for the majority of the game? (I wonder if I'm forgetting something obvious.)

Forum statistics

Threads
113,802
Messages
1,077,587
Members
147,856
Latest member
trz21
Top