First , i thought i did modify my post , seems like i forgot.
i solved my problem by putting a wait(1);
Quote: if ((event_type == event_join) && (people_connected < MAX_CONNECTIONS)) { wait(1); ifdef server; people_connected += 1; // another person connected send_var(people_connected); // send number of people connected server_says_start = TRUE; // send it's ok to go to newest client send_var(server_says_start); // send start message endif; // ifdef server }
Thanks for your reply fastlane....
For the true and false , its just me who prefer true's and false's than 1's and 0's.
I never done multiplayer coding , so im finding it quite hard but i love it.
Im not intending to have dozens of people on this game lol , so i dosnt really matter , but you are right im gonna have to change my code to allow people to come in one by one.
Just a la last question : Where'nt you doing a mmorpg? some sort of mmorpg kit?