Jump to content
Evgenij

Mail System

Recommended Posts

Mail System

 

mail2-548x444.jpg

 

Description:

This script adds an email scene to your game, you need to predefine

senders and emails in the script and after that you can send them

to the player via a script call.

 

Download:

Here

 

If you have some suggestions or need some changes feel free to say.

 

mfg.

Share this post


Link to post
Share on other sites

Thanks, I have updated the script:

# 25.09.2014 - V. 1.1:
#   - bugfixes
#   - added gold to attachments
#   - new feature: custom windowskin
#   - new feature: run common_event when reading mail
#   - new scriptcall: $game_system.attachments_claimed?(:symbol)

Share this post


Link to post
Share on other sites

works like a charm but can you make it so it lets you put space's in the senders name and make it so that the Letters that you caps in the script comes as caped and not just the first letter.

 

also when i mark something as read with a attachment it keeps saying script error line 554:   @mails[@index].symbol 

Share this post


Link to post
Share on other sites

I need the full error messages to fix the bugs.

 

For the sender name: I change it, so that you can make the name you like and it dont take the senders symbol as name.

 

@amber

How does your mail config look like? 

 

There are some possibilities for your error:

You use an old save file.

You dont have defined the email witht he symbol :mail.

 

I change the script so that it will be compatible with old saves. 

 

 

I add all those things in the next update.

Edited by Evgenij

Share this post


Link to post
Share on other sites

Okay so firstly, this script is pretty awesome :D , but yea i ran into 2 bugs which ill try to explain as detailed as possible.

 

So when im on the unread tab like this :

 

 

17781759de.jpgx

 

 

 

and i open the first mail with the items. But what happens is it opens the second mail , (it marks the first one as read but opens the second one)

 

And when i open the second mail from Unread i get this Error :

 

 

4e3ab94982.jpg

 

 

 

Everything else works fine i think , i havent run into any other issues yet and this doesnt happen in any other tab , just the unread one :c.Hope that helps you understand whats wrong :3 , if u try that in ur demo , it happens as well.

Edited by Wingflame

Share this post


Link to post
Share on other sites

Small Nitpick: when you read an email from "All" or "Unread" and it has rewards, and you claim them, you can then to go "Read" and claim the rewards again (it doesn't actually give you the reward twice, but you can still click on "claim rewards" when it shouldn't be there).

Share this post


Link to post
Share on other sites

Thanks for your feedback.

 

New Version released(1.1b, need to update the demo and german version at a later time too)

 

Now it wont take the capitlized symbols as Sender Name but you need to define your own names for your Senders, so the structure of the Sender Config changed.

The Bug reported by William C is fixed.

 

mfg.

 

*edit*

@Amber

You can make a common event, which will perform a scriptcall and add it to the config of the mail:

    :mail1 => {
       :sender => :eric,
       :name => "Hey whats up",
       :text => "You can visit my home from now on.",
       :read_ce => 12,
     },

this will call the common event 12 when the mail is read, you could turn on a switch there or make a scriptcall.

When your mail have attachments and you want to call a common event when attachments are claimed you could do this:

    :mail3 => {
       :sender => :me,
       :name => "Some rewards for ya!",
       :text => "Blabalbabla",
       :attachments => [:w2, :i2, :a13, :i4, :i6],
       :attach_ce => 13,
     },

This would call common event 13 when the player claims attachments, but there need to be attachments in the mail to make this work.

 

So use :read_ce => common_event_id,

when the mail doesnt have attachments

and :attach_ce => common_event_id,

when the mail has attachments.

Edited by Evgenij

Share this post


Link to post
Share on other sites

This is an EXTREMELY old post, but I was wondering if anyone still had the original script? The website is down, and no online archive has the ability to go back to when the website was still up. I would absolutely love to use this, as I've tried a multitude of mail scripts and none of them work exactly the way this one does.

Share this post


Link to post
Share on other sites

A quick heads up for anyone using this script, some of the script calls in the header of the script are incorrect, and will cause a crash. Namely, the script calls that say "email" has to be changed to just "mail". For example:

 

$game_system.add_email(:mail2)

 

would crash, unless you changed it to

 

$game_system.add_mail(:mail2)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×