Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • PlayStream /
avatar image
Question by dwojda · Sep 15, 2016 at 04:17 PM · Player InventoryPlayStream

PlayStream Event Action doesn't work

I have created an Action with Event type: com.playfab.player_added_title, no conditions and one action: granting an item to the user. I would like to use it to grant a starter bundle to new users. But I have already created 3 new accounts and neither of them got the bundle. If you want to test my title, go ahead. My title id is C938 and there is only one PlayStream Action.

Comment

People who like this

0 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dwojda · Sep 15, 2016 at 02:05 PM 0
Share

You can also create a new user if you want

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Sep 15, 2016 at 04:19 PM

Update: This should be fixed for all titles now (the issue being that actions without conditions weren't firing). If you are still seeing the issue, please re-save your Actions in the Game Manager, to make sure the definition for your Actions are up-to-date.

Your Action is defined as adding ItemId BUNDLE_0 to the player, but that ItemId does not exist in your catalog currently. Did you delete the item, perhaps?

Comment
dwojda

People who like this

1 Show 16 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dwojda · Sep 15, 2016 at 06:09 PM 0
Share

No, this item definitely exists in my catalog. It is one of my bundles with a display name "Starter bundle". I have even chosen this bundle from the list of all of my items while creating the Action.

avatar image dwojda · Sep 15, 2016 at 06:10 PM 0
Share

Sorry, it is called "Starter Bundle" not "Starter bundle".

avatar image Brendan ♦♦ dwojda · Sep 15, 2016 at 07:46 PM 2
Share

Hmm... That's odd - I'm not sure why I wasn't seeing those earlier. That said, thanks for calling this out - it helped us to find an issue.

The problem is that an Event Action without a Condition isn't being evaluated. We'll have the fix for that rolled out shortly (checking it in now, and then we'll be running the full battery of regression tests). I'll update here when the fix has been released to live.

avatar image dwojda Brendan ♦♦ · Sep 15, 2016 at 08:55 PM 0
Share

Great :) Is there any condition that is always true for a new user for a temporary walkaround? I tried with comparing my virtual currency to 0 but that didn't work.

It would also be great to know now if the item I am going to grant will be visible in the response of the first login request so I can create my system with that assumption in mind.

Can you also let me know when I can delete the account you have created?

Show more comments
avatar image Kain · Sep 17, 2017 at 07:55 PM 0
Share

I have gotten this working for PlayFab events, but I am still having this issue for our custom event at the time of this post. TitleID is EC18. Feel free to use the account with "Kain" in the DisplayName for testing as I'm constantly deleting that account. Or you can make a new one, if you wish.

The custom event is 'QtnMissionStart'. It shows up in the Playstream, but there seems to be no evidence of associated actions getting triggered. I've tried adding an always true condition based on EventName. Since I am using this for the first time, there is a good chance this is user error.

Another point of data with this is that I am using client WriteCharacterEvent to trigger this.

avatar image Brendan ♦♦ Kain · Sep 17, 2017 at 09:42 PM 0
Share

For custom events, you need to have the fully qualified event name - I've updated your Rule for this, but the full event name in this case is "title.EC18.mission_start".

avatar image Kain Brendan ♦♦ · Sep 17, 2017 at 10:13 PM 0
Share

Thanks, Brendan... on a Sunday, too.

Sadly, I am still getting the same result. Is there any way to send Playstream events from the admin console the same way we can "Run Cloudscript"?

Show more comments
avatar image adam · Jan 30, 2018 at 05:51 PM 0
Share

hi, my Action (grant VC) in rule did not call, but playstream call..

i use PlayFabClientAPI.WritePlayerEvent

pls help

,

hi, i use PlayFabClientAPI.WritePlayerEvent on client,

to call costum event,

in rule, i add Action to grant VC on it..

the playstream show, but action not called..

pls help

avatar image Brendan ♦♦ adam · Jan 30, 2018 at 06:40 PM 0
Share

What is the Title ID, the PlayFab ID of the user you're testing, and the name of the custom event?

avatar image adam · Jan 30, 2018 at 10:24 PM 0
Share

@Brendan, ok

Title ID = D04D

Playfab ID = 78DF1BAA3A86BD50

and custom event name = player_skill0

display custom event name = Player skill0

avatar image Brendan ♦♦ adam · Jan 30, 2018 at 10:44 PM 1
Share

Please see my post above, from Sept 17. You must specify the fully-qualified event name for the custom event. Right now, you have it defined in the action as "player_skill0". You're missing the "title.{TitleId}" part of the name.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Duplicated Event Problem 2 Answers

    Item expiration and events 1 Answer

    Is it possible to have PlayStream event when an inventory item expires? 1 Answer

    How to revoke player inventory item from the console and automatically update the player data 1 Answer

    Passing custom data in player_inventory_item_added event 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges