Page 1 of 1

War game for iOS problem.

Posted: 20 Sep 2013, 17:42
by Dok
Hi
I'm creating a war game for iOS where you can attack other players etc. and i've chosen smartfoxserver as my server. One problem im having is how to attack one specific person. I understand what I would do when the attack goes through but what is the code to attack one specific person and then destroy their troops if one integer is bigger than the other. I've only started smartfoxserver so please tell me if ive left any details.
Thank You :D

Re: War game for iOS problem.

Posted: 20 Sep 2013, 23:43
by rjgtav
Hi,

I suggest you to start by reading the official documentation, at http://docs2x.smartfoxserver.com/, in order to better understand how SmartFoxServer works and how to interact with other clients.

Cheers

Re: War game for iOS problem.

Posted: 21 Sep 2013, 12:41
by Dok
Hi,

I suggest you to start by reading the official documentation, at http://docs2x.smartfoxserver.com/, in order to better understand how SmartFoxServer works and how to interact with other clients.

Cheers


Thanks for the advice but that doesnt quite cover my problem even while trying to apply it. If anyone has the correct code or a good tutorial for a war game that would be great