Thinking about maki...
 
Notifications
Clear all

Thinking about making a Playmaker actions package

28 Posts
4 Users
0 Reactions
2,485 Views
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

Skared Creations said
Your feature request has been already annotated, anyway in the documentation check out the menu RELATED PAGES since it contains sections for all features 🙂  

Awesome, thanks! I'll keep you (and anyone interested) posted as I make progress. Maybe I'll post some screenshots next.

 
Posted : 24/05/2016 4:58 pm
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

One more feature request: the ability to load a message via its ID. I want to easily be able to check if a message is read without doing the whole pages and message number thing.

 
Posted : 25/05/2016 7:44 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

Ok, I am now fairly certain that all forms of Mail.Read are broken. I've tried everything on the documentation page you've shown me, even stepping completely out of playmaker back into regular old C# scripts for testing, and no matter what happens I get an error saying "Failed: An error occurred" . I tried individual messages with group 0 first, then I tried all messages for Group 0 (theoretically marking every message on my server as read) and still I get the same error with no further information. Here is the function I've used most recently:

 

public void MarkMessageReadFunction ( long checkOneID){

// Mark as Read by Mail ID
Mail.Read( new long[] { checkOneID }, new long[0], (bool success, string error) => {
if (success)
Debug.Log("Mail ID " + ((int)checkOneID).ToString() + "'s mark read status is Success");
else
Debug.Log("Mail ID " + ((int)checkOneID).ToString() + "'s mark read status is Failed: " + error);
});

}

Last note: I haven't used arrays with the {} before, but I'm following your examples so I thought this should work.

 
Posted : 28/05/2016 10:58 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

Two things!

One: I'm still waiting to hear about the Mail.Read function probably being bugged.

Two: I've put up some pictures and an explanation to show the progress I've made so far. I'm over half done with what I plan to release as the basic 1.0 release before moving on to all the other features Combu can do, as well as convert the other demo scenes (probably). I've put up a website, since apparently I needed one for the Unity store to let me register to sell assets, so you can see the pictures and more explanation on my site:  http://www.twistedwebbe.com/viewtopic.php?f=9&t=9&p=9

 
Posted : 09/06/2016 4:30 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

If you really look at the documentation, you will see that the overload you're using is asking for an array id "idSenders" (all messages sent from a list of users) or array of "idGroups" (all messages sent from a list of groups). There's one only way to mark a single message as read currently: use the non-static overload of Read, calling it after you load a list of messages.

As alternative you can add the following overload function in Mail.cs (it will be added to the next update):

public static void Read (long idMail, Action<bool, string> callback)
{
   Read(idMail, new long[0], new long[0], (bool success, string error) => {
      if (callback != null)
         callback(success, error);
   });
}

To use:

Mail.Read( mailId, (bool success, string error) => { Debug.Log("Success: " + success); } );

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 11/06/2016 12:38 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

Worked like a charm! Thank you very much!

 
Posted : 11/06/2016 6:31 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

Just a little update. I'm going to have to push back the ETA on this, as I've had to take a side job to help pay the bills each month. I'm still working on it, but it'll probably take a month or two longer than I originally planned for the initial release. 

 
Posted : 18/07/2016 11:18 am
(@hopeful)
Posts: 5
Active Member
 

@Webbstre - If you get back on track with the Playmaker pack, maybe you can also add a couple forum actions. wink

 
Posted : 23/07/2016 9:32 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

I'm alive! Seriously though, I would feel bad if I didn't leave an update here. Until this very moment I haven't had time to work on this since whenever the last time I posted on here that I finished something. Even my nice long 12 day summer vacation got taken over by losing half a tooth, getting a minor surgery, and then having my 2-year old daughter get a high fever for a week. Now that's all over and I'm going back to my actual job, which ironically means I'll have more time to work on this again. I'm currently in the process of upgrading to the most recent versions of Unity, Combu and Playmaker, and then I'll get into the remaining sets of actions. Once I'm to the final set I'll ask for a few people to help test it, so if you have Playmaker AND Combu and want a chance to try the actions early, let me know.

That said, here's what is basically done so far:

  • Contacts/Friends - Add Contact, RemoveContact, and LoadContactList
  • Messaging - Get Message Count, Mark Message Read, Message User, and Receive Message
  • Login, Logout, Register

What remains before I release the first version:

  • News Loading [Currently in progress] - Currently having trouble deciding on the best way to store multiple arrays of related data without making it too complicated for users to implement, and whether to download and load live or to download everything in advance.
  • Custom Data - Started and I think it was essentially functional but needs a rewrite and to be cleaned up still.
  • Achievements - Haven't started but looks potentially less annoying than News
  • Leaderboards - Same status as Achievements.

If you notice, that is essentially all the functionality in the Vanilla CombuDemo scene, but with more advanced examples to show you how to build an Inbox, etc. Once those are done I'm going to look over what I can do with the other Vanilla demo scenes from Combu. I also need to do a new Scene to implement file management (this is actually what I originally needed to do for my own project anyways).

I'll put the pack in the store once it's been tested with the bullet points above, then all additional functionality will be free upgrades for as long as the functions continue to work in Combu (so if a completely new Combu 3 comes out someday that requires a heavy rewrite it may require a lot more time).

If you want to request some specific actions to be released before others, you'll be able to do that here or on my website.

 
Posted : 21/08/2016 10:46 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

It's been a while, and I'm slowly getting small chunks of time to work on this. I have a new question for the master of Combu:

 

Is there a way to mark a message as Unread?

 
Posted : 06/10/2016 6:16 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Webbstre said
Is there a way to mark a message as Unread?  

No, but I like this idea so it has been added to the TODO list for the next release.

Thanks

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/10/2016 10:56 am
(@webbstre)
Posts: 21
Eminent Member
Topic starter
 

Thank you! I'll let you know when I finish the first version of the Playmaker Action Pack... it's not far now, finally.

Skared Creations said

No, but I like this idea so it has been added to the TODO list for the next release.

Thanks  

 
Posted : 07/10/2016 6:50 am
(@planetearthlings)
Posts: 1
New Member
 

Any update on those Playmaker actions for Combu? Please let us know as soon as possible. Thanks, Greg

 
Posted : 28/09/2017 6:49 pm
Page 2 / 2
Share: