JK Mail System

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,357
Reaction score
454
First Language
Dutch
Primarily Uses
RMMV
@Pirobi my PC resolution is 1920 x 1080.
Also I forgot the mention in your demo, there is a NPC that use a variable after reading the mail, but it says 0.

Also, I want to see if I can use this instead of the editor, if I know exacly how to update the kills in a variable
or how to make a switch ON.

This can than be used as a Memoso the player gain mail when variable reach x (which i think that is controlled in an event)
 

cirdian

Villager
Member
Joined
Feb 28, 2014
Messages
14
Reaction score
8
First Language
Brazil
Primarily Uses
Hey, love the plugin it's really fun.

But the link in the op is redirecting for the 2.21 version of the plugin, not the 2.3 wich I suppose it should be directing.

Thanks for the word, @Pirobi
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
Hey, love the plugin it's really fun.

But the link in the op is redirecting for the 2.21 version of the plugin, not the 2.3 wich I suppose it should be directing.

Thanks for the word, @Pirobi
I just updated the plugin - let me know if there's still an issue. I'll be releasing version 2.4 soon, so be on the lookout for that as well!
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
~Update to 2.4~

  • Added compatibility with MOG custom background plugin.
    • Will look into further compatibility with other MOG menu plugins
    • Not sure about compatibility with other menu plugins.
  • Added ability to open the mailbox scene from the menu, using plugins such as YEP MenuManager
  • Updated the demo
    • Changed the demo map
    • Added new characters to the demo to reflect changes made in 2.3/2.4
    • Fixed issues reported in previous versions of the demo

@ShadowDragon I re-uploaded a new JKMailEditor to the demo/on the OP. I am not sure if it fixes the issues you've been seeing, but please let me know if it looks any different when you get a chance!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,357
Reaction score
454
First Language
Dutch
Primarily Uses
RMMV
@Pirobi
the new version didn't fix teh UI editor though, Im not sure if the above broke too.
while I dont how its made or how to fix it.

But you can figure it out where it gone wrong?
the spacing need on the top and probably the same for below, also avatar tab isn't correct.

needfix.png

while it does it job, there is 1 thing so far I notice that should be fixed:
the mail "addMailAll send a mail to all boxex (mailbox 0, 1, 2 (main menu)), but you can get 3x 4x the same item.
it would be nice IF you read it from main menu or out of 1 of the mail boxes, that you cant claim it or its attachment
is removed if you take it. (if read it, all boxes should be white) so the item can be claimed only ones instead multiple times.
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
@Pirobi
the new version didn't fix teh UI editor though, Im not sure if the above broke too.
while I dont how its made or how to fix it.

But you can figure it out where it gone wrong?
the spacing need on the top and probably the same for below, also avatar tab isn't correct.

View attachment 124907

while it does it job, there is 1 thing so far I notice that should be fixed:
the mail "addMailAll send a mail to all boxex (mailbox 0, 1, 2 (main menu)), but you can get 3x 4x the same item.
it would be nice IF you read it from main menu or out of 1 of the mail boxes, that you cant claim it or its attachment
is removed if you take it. (if read it, all boxes should be white) so the item can be claimed only ones instead multiple times.

The mail sent to each mailbox is treated as its own instance of mail. I could add an option to share the attachment and have this configurable per message.

I'll continue to look into the editor issues.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,357
Reaction score
454
First Language
Dutch
Primarily Uses
RMMV
the share option is nice, but once readed whereever should be treated as 1 unless stated otherwise (true / false)
if they use multiple mailboxes.

only from main menu is treated as 1, but multiple should be choses (personal opinion)
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
~Update to 2.41~
  • Updated how scrolling works in the messages to be much smoother.
    • As a result, I removed the multiple pages option, and the allow scroll options. If multiple pages are still desired, I can put them back in a future update
  • Added new plugin commands to add the same instance of mail to multiple mailboxes. If the mail is read in one mailbox and/or attachments/triggers are called, they will not be called again when looking at that mail from another mailbox. See the op for these plugin commands.
 

TakashiKumuro

Warper
Member
Joined
Apr 5, 2018
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMVXA
I get this weird error when I try opening a mailbox using a common event ingame. Any way to fix it?
btw, this plugin is so great! awesome work.
 

Attachments

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
I get this weird error when I try opening a mailbox using a common event ingame. Any way to fix it?
btw, this plugin is so great! awesome work.
So I think what happened was you ran the MailBoxOpen plugin command, but did not specify a mailbox number. I could make a fix so that it opens the last opened mailbox, but the fix for you for now is to put the id of the mailbox you want to open:

MailBoxOpen x
 
Last edited:

bcarey13

Warper
Member
Joined
Jul 23, 2019
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
I just found this, and I saw earlier in the thread that you were looking into Mac compatibility. Just wondering, will it work on Mac yet? Because I'm trying and I keep getting a message whenever I start my game that says "Unexpected token f in JSON at position 433." All I have in my Mail.json is the example that you provided. Thanks!
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
I just found this, and I saw earlier in the thread that you were looking into Mac compatibility. Just wondering, will it work on Mac yet? Because I'm trying and I keep getting a message whenever I start my game that says "Unexpected token f in JSON at position 433." All I have in my Mail.json is the example that you provided. Thanks!
The plugin itself should be compatible with Mac as far as I'm aware. It's possible the example is outdated (in which case I'll update it to be more current).

I recommend trying to load the demo and see if that works for you
 

bcarey13

Warper
Member
Joined
Jul 23, 2019
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hey, sorry, another question... I'm sure I'm just missing something really simple, but I can't seem to get the editor to open/work on my Mac. I have everything in my game's file the same way as it is in the demo file, and it still just won't work for some reason.
 

Batfleck2016

Warper
Member
Joined
Mar 9, 2014
Messages
4
Reaction score
0
Primarily Uses
I don't know why, but I can't get the word wrap to work. It just appears as <warp> in the game, plain text...
 

SoSick.

Veteran
Veteran
Joined
Jun 29, 2016
Messages
224
Reaction score
190
First Language
english
Primarily Uses
RMMV
Hey there!
now starting to implement this plugin into my project! love how it looks with the mogbackground, although my cursor isn't showing at all in the mail box scene anymore, im having some trouble with making the mails in notepad++
below is how you say it should be set up...but i get error's with this. ERROR uncaught SyntaxError: Unexpected token f in JSON. even using the Editor i get this message.

[
{
"id":1,"sender":"Dad","subject":"Test","attachment":"0","trigger":"0",
"message":"Hello!"
},
{
"id":2,"sender":"Mom","subject":"Test2","attachment":"g100","trigger":"0",
"message":"Hi! Here's some money to help you out!"
},
{
"id":3,"sender":"Pirobi","subject":"Updates!","attachment":"i1","trigger":"c,30",
"message":"Here's a potion for your trouble!"
},
{
"id":4,"sender":"Dad","subject":"2.1!","attachment":"0","trigger":"0",flag:"s15",
"message":"Here's a message with a flag in it! It can only be deleted if switch 15 is ON"
}
]


The only way i can get the mail's to work is by having the code above in 1 whole long line in notepad++ lol which makes it very hard to add/edit the mail's. Just wanna know if anyone else is experiencing any of these issue's
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,357
Reaction score
454
First Language
Dutch
Primarily Uses
RMMV
@SoSick. there is a JK editor at the download which is mostly required to build up the mails.
there is also a DEMO to see how it works if you didn't downloaded it yet.
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
Sorry people, I haven't been on recently due to events, but I do have some updates coming within the next few days so bear with me!

Hey, sorry, another question... I'm sure I'm just missing something really simple, but I can't seem to get the editor to open/work on my Mac. I have everything in my game's file the same way as it is in the demo file, and it still just won't work for some reason.
We are working on getting a Mac-compatible version of the editor running, but this will unfortunately require us to rewrite our editor so may take a while :(

I don't know why, but I can't get the word wrap to work. It just appears as <warp> in the game, plain text...
Can I see what word wrap plugin are you using and how you have the mail plugin params and your mail set up? You can pm me this if it's easier.

Hey there!
now starting to implement this plugin into my project! love how it looks with the mogbackground, although my cursor isn't showing at all in the mail box scene anymore, im having some trouble with making the mails in notepad++
below is how you say it should be set up...but i get error's with this. ERROR uncaught SyntaxError: Unexpected token f in JSON. even using the Editor i get this message.

[
{
"id":1,"sender":"Dad","subject":"Test","attachment":"0","trigger":"0",
"message":"Hello!"
},
{
"id":2,"sender":"Mom","subject":"Test2","attachment":"g100","trigger":"0",
"message":"Hi! Here's some money to help you out!"
},
{
"id":3,"sender":"Pirobi","subject":"Updates!","attachment":"i1","trigger":"c,30",
"message":"Here's a potion for your trouble!"
},
{
"id":4,"sender":"Dad","subject":"2.1!","attachment":"0","trigger":"0",flag:"s15",
"message":"Here's a message with a flag in it! It can only be deleted if switch 15 is ON"
}
]


The only way i can get the mail's to work is by having the code above in 1 whole long line in notepad++ lol which makes it very hard to add/edit the mail's. Just wanna know if anyone else is experiencing any of these issue's
I definitely need to update the sample json in the original post. There may be some syntax things that have changed that aren't reflected.


And finally, @ShadowDragon we made some more tweaks to the editor that *should* fix your resolution issue. When we post our updated editor could you test it out and let me know how it looks?
 

Pirobi

Veteran
Veteran
Joined
Oct 25, 2015
Messages
63
Reaction score
82
First Language
English
Primarily Uses
Never mind, I can push the updates now (and anything more if there are bugs):

~Update to 2.42~
  • Adjusted sizing mode for buttons on the mail editor, other small tweaks
  • Cleaned up the demo map
  • Added fix that should prevent game from crashing if plugin is called without specifying a mailbox id (will default to the last opened mailbox)
  • The example json provided in the original post and in the plugin description should work out of the box.
Known issues/bugs/items:
  • Mail editor still has the option to insert a page break even though this is no longer supported by the plugin.
  • Still no mac support - we are evaluating our options with regards to a full rewrite vs trying to leverage what we have
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,357
Reaction score
454
First Language
Dutch
Primarily Uses
RMMV
@Pirobi unfortunately, its still the same as the image above. I dont know why though or why
it happen or why it does that. cheanging screen resolution did no good either.

I cant rescale the interface as well. but I wonder why the overlapping is there though.
the rest is working find.
 

Users Who Are Viewing This Thread (Users: 1, Guests: 5)

Latest Threads

Latest Profile Posts

I've developed a habit of thanking cleaning ladies for their work.
Sorry Aerith... I will abandon your shoes... :guffaw:
Spent a whole bunch of time today reworking the area in the video because someone said it was too illusory. So I reworked it so it changes less, moved the grass up to the same level as the player.... And found enough extra resources to make the grass moves when the player touches it. Also lots more water, because it looks amazing. I'll probably put up a short updated video later today.
I never noticed how NOISY birds can be in the morning..
The worst part of writing the thesis is getting to a point where it's nearly done and you feel like an 8th-grader could've written something on that level.

Forum statistics

Threads
95,766
Messages
931,715
Members
126,169
Latest member
Stearen
Top