Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / network commands allows return 0 for results.

Author
Message
3d point in space
15
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 28th May 2012 06:55 Edited at: 28th May 2012 08:56
Hi I dont know what the problem is I tried several solutions.
. It sends data for the first commands then sends 0's.

here is code


client side


Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps.
Developed the tiled map engine seen on the showcase.
Veterian for the military.
3d point in space
15
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 28th May 2012 15:33
opps i solved the problem it is right here networkID is the id of the network.

int sentinfo2=agk::GetNetworkMessageInteger(networkID);

that is a big mistake! That will return a 0. instead it should be the message.

Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps.
Developed the tiled map engine seen on the showcase.
Veterian for the military.

Login to post a reply

Server time is: 2024-11-23 14:01:52
Your offset time is: 2024-11-23 14:01:52