[Plugin] Photon Cloud

Post your completed addons to share with the community

Post » Thu Jan 05, 2017 4:06 am

I can't even install the plug-in. I have the newest version of C2 and yet I can't drag and drop the C2Addon files.
B
7
S
1
Posts: 39
Reputation: 511

Post » Thu Jan 05, 2017 7:09 am

Do I need to register to download?

I registered to download but I do not receive the password :(
CODE FOR FUN
B
22
S
8
G
2
Posts: 74
Reputation: 2,349

Post » Fri Jan 06, 2017 2:07 pm

talqvist wrote:I can't even install the plug-in. I have the newest version of C2 and yet I can't drag and drop the C2Addon files.

Does other plugins work for you?
B
7
S
2
Posts: 168
Reputation: 1,019

Post » Fri Jan 06, 2017 2:10 pm

Zonacas wrote:Do I need to register to download?

I registered to download but I do not receive the password :(

Yes, you need to be logged into photonengine.com to download.
Contact support via developer(at)photonengine.com to get help with registration.
B
7
S
2
Posts: 168
Reputation: 1,019

Post » Sun Jan 08, 2017 5:22 pm

When I launch the pool example all I get is an empty pool. No fish whatsoever... any ideas?

The test example does show different players but it works terribly bad when two players connect with the same name or leave the session... I can't even join the same room unless it is the default one.

Could someone help me out? I have no idea on how to fix this.
If you need more info on my issue please ask away.
Thanks!
B
11
S
3
Posts: 51
Reputation: 1,251

Post » Sun Jan 08, 2017 5:30 pm

vila4480 wrote:When I launch the pool example all I get is an empty pool. No fish whatsoever... any ideas?

The test example does show different players but it works terribly bad when two players connect with the same name or leave the session... I can't even join the same room unless it is the default one.

Could someone help me out? I have no idea on how to fix this.
If you need more info on my issue please ask away.
Thanks!


Nevermind I figured it out: the region was set by default to EU and apparently that does not work. I set it to US and it works perfectly now, thank you.

Image
B
11
S
3
Posts: 51
Reputation: 1,251

Post » Mon Jan 09, 2017 9:03 am

When something wrong happens, please see log in browser console to find more info on error.

We finally fixed this nasty typo in demo project. The package updated,
B
7
S
2
Posts: 168
Reputation: 1,019

Post » Tue Jan 17, 2017 12:12 pm

hi @ThePhotons

How can I receive photon server time?
B
18
S
6
G
2
Posts: 37
Reputation: 1,887

Post » Tue Jan 17, 2017 3:40 pm

Photon Javascript SDK and Scirra plugin do not provide server time feature.
You can implement something similar by pinging master client, measuring round trip time to master and adding half of this rtt to local time returned by master. Between such updates, increase the value according to local time change. The result should be synchronous on all clients even if pings are different.
B
7
S
2
Posts: 168
Reputation: 1,019

Post » Tue Jan 17, 2017 5:28 pm

I'm getting this error:

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Could not find object's combo property index

Condition: index >= 0
File: Projects\ObjectInstance.cpp
Line: 704
Function: class cr::pod<class std::vector<struct era::InstanceProperty,class std::allocator<struct era::InstanceProperty> > > __cdecl ObjectInstanceERACallback::GetProperties(void) const
Build: release 231 (64-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abort Retry Ignore
---------------------------
B
17
S
7
Posts: 277
Reputation: 2,514

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests