question

yehor avatar image
yehor asked

server.DeletePlayer is not a method

Hi. I currently work on deleting inactive users from title. The method in cloudscript is called by task, it should delete a player by ID using server.DeletePlayer, but instead it returns this:

"Error": {
            "Error": "JavascriptException",
            "Message": "JavascriptException",
            "StackTrace": "TypeError: server.DeletePlayer is not a function\n    at handlers.CheckPlayerLastLoginDate (CAED-main.js:570:11)"
        }

I've enabled checkbox "Allow server to delete player accounts" and it worked yesterday, but not today. What could cause a problem?

CloudScripttasks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Thanks, we've reproduced this and opened a high-pri bug to get it resolved ASAP.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

frostdamage avatar image frostdamage commented ·

Hi, Brendan. What's the progress on this bug?

0 Likes 0 ·
brendan avatar image brendan frostdamage commented ·

It has been prioritized for a fix - we'll be addressing it this sprint.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.