Not Able to get the onStartGameDone on client sdk with Unity

+1 vote

I am calling the method to start game from the AppwarpS2 server with the below snippet and the Game is Turnbased


    public void onTimerTick(long time){


    ArrayList<IUser> players = (ArrayList<IUser>) turnRoom.getJoinedUsers();


          readyToStart = false;







Now I am unable to get the callback in the listener under client sdk for the starting the game. Is there any way that we can get the players indicated to start the game?

Also the onStopGameDone() is not getting any call back so that we can identify for the game to be stopped at a particular point

asked Apr 25, 2014 in AppWarpS2 by marine.modi (62 points)

1 Answer

0 votes
Best answer

public boolean startGame(String senderName)

Can you check what is the return value you are getting when you call startGame? true is success, false otherwise.

On the client-side, it should trigger on your registered NotifyListener

void onGameStarted(String senderString roomIdString nextTurn);

Please verify that you've added your NotifyListener and that the client has joined the room before it expects to receive the onGameStarted event.

answered Apr 26, 2014 by dhruvc (1,099 points)
selected Apr 28, 2014 by marine.modi
it started Working thank you @dhruv
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on