Where did I made the mistake?

Get help using Construct 2

Post » Thu Apr 21, 2016 11:13 am

Message: Azathoth can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi guys,

I've played around a little bit with the online functions. I took the scirra-example "Pong" as the base and tryed to build on that to learn how the multiplayer works. Most parts are great explained and absolutely understandable. But somewhere I've made a bad mistake so it's more than buggy as soon as a second player joins.

Would be great if someone could help me and show me the forgotten part so my vikings finally get their ham:)

Thx for any helpful answer and sorry for the bad english.

so long

https://www DOT dropbox DOT com/s/1n4x83e9vwzjl9w/Barbarians.capx?dl=0
B
8
S
1
Posts: 3
Reputation: 406

Post » Thu Apr 21, 2016 4:14 pm

I don't see where you are actually relaying the y-coordinate to the server. The only reply from a peer that I can see if the gameState, which is a string status, not an int or float coordinate.

And you seem to be using gameState as an atomic variable, except that it is not atomic... you are probably experiencing concurrency issues.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 40 guests