Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2017-05-07 00:47:37

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

how to get gems of player

you can get energy by looking at player object
but gems?

Offline

#2 2017-05-07 09:01:57

Processor
Member
Joined: 2015-02-15
Posts: 2,246

Re: how to get gems of player

Login on their userid with public connection and refresh their vault.


I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.

Offline

#3 2017-05-07 21:37:43

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: how to get gems of player

Processor wrote:

Login on their userid with public connection and refresh their vault.

I can't find gems. Or maybe I do something wrong?

Offline

#4 2017-05-07 22:02:36, last edited by Priddle (2017-05-07 22:03:10)

Priddle
Member
From: The Netherlands
Joined: 2015-02-15
Posts: 454

Re: how to get gems of player

capasha wrote:
Processor wrote:

Login on their userid with public connection and refresh their vault.

I can't find gems. Or maybe I do something wrong?

This works fine for me, based on Processor's answer:

var arguments = new Dictionary<string, string>
{
     { "userId", "simple1299854374781x44" }
};

var client = PlayerIO.Authenticate("everybody-edits-su9rn58o40itdbnw69plyw", "Public", arguments, null);

client.PayVault.Refresh(() => {
     Console.WriteLine(client.PayVault.Coins);
});

Offline

#5 2017-05-07 22:20:43

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: how to get gems of player

NVD wrote:
capasha wrote:
Processor wrote:

Login on their userid with public connection and refresh their vault.

I can't find gems. Or maybe I do something wrong?

This works fine for me, based on Processor's answer:

var arguments = new Dictionary<string, string>
{
     { "userId", "simple1299854374781x44" }
};

var client = PlayerIO.Authenticate("everybody-edits-su9rn58o40itdbnw69plyw", "Public", arguments, null);

client.PayVault.Refresh(() => {
     Console.WriteLine(client.PayVault.Coins);
});

I was reading from items. The reason I didn't find it :/

Offline

Wooted by:
capasha1494192043658836

Board footer

Powered by FluxBB

[ Started around 1732395656.6703 - Generated in 0.025 seconds, 12 queries executed - Memory usage: 1.43 MiB (Peak: 1.54 MiB) ]