Search found 78 matches
- 21 Feb 2012, 00:36
- Forum: SFS2X C# API
- Topic: need help getting a return variable to send to clients
- Replies: 1
- Views: 3792
need help getting a return variable to send to clients
so far i managed to get the task shceduler to work, i see it's counting on the smartfox console, but the variable that i'm trying to send the client they only seem to get it once, i really need help getting this timer to work properly. here's the pic from the smartfox console showing that it's being...
- 20 Feb 2012, 23:39
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
here's some code, it seems that it only runs at one frame, if i increase the period nothing really happens, if i put 0 on the delay it only excecutes the task once, i can only get the delay as a variable back but it doesn't update at all, time unit changing it to seconds doesn't seems to do anything...
- 20 Feb 2012, 22:58
- Forum: SFS2X C# API
- Topic: how to retrieve a valuea from the taskscheduler?
- Replies: 4
- Views: 6166
how to retrieve a valuea from the taskscheduler?
so far i been told that in order to do a countdown timer i need to use the task scheduler, but i can't seem to be able to retrieve a value so the client sees a variable that's being updated showing how much time is left
- 19 Feb 2012, 12:30
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
I apologize if I sound rude, I'm still new to java and most of the time I try to ask a question about an issue I just get an answer pointing to the manual with no explanation at all. I have read the manual so many times and yes copied the excact code from the task scheduler. And I'm trying to figure...
- 19 Feb 2012, 12:12
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
Like I said before I just copied the manual. What I need is, somehow get a variable that I can send to the clients to show the time left. The client sends a request for starting the game the server just checks if there is more than one player do everything it says on the manual. It, lists, repeats i...
- 19 Feb 2012, 00:53
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
That's exactly what I'm trying to do, just can't seen to have a good example our snipet oh, how to do it. I did the talk scheduler but it doesn't updates the values it just rpeatedly starts the thread hogging everything
- 18 Feb 2012, 17:26
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
i implemented it like in the manual, but it doesn't seems to work for a count down it just started a tread that doesn't even chage, my smartfox console went crazy too lol. is there any other way like using java.util.timer? or something like that? i'm not shure if i'm even explaining right my questio...
- 18 Feb 2012, 16:16
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
how would i go about by showing the client how much time is left?
- 18 Feb 2012, 12:43
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
Re: how to use time from the server and the client?
task scheduler seems to be only used in thread pools, i'm pretty much trying to do more like a count down timer, anyway you can show me an example? i'm confused and thanks for the help
- 17 Feb 2012, 19:29
- Forum: SFS2X C# API
- Topic: how to use time from the server and the client?
- Replies: 21
- Views: 27177
how to use time from the server and the client?
i'm trying to make some form of a lobby and a room that ends the match by a timer so for example once the users joins let's say more than two which i can figure out lol then start a timer from the server then if the timer reaches 0 then start the match, and if in the math after let's say 10 mins the...
- 09 Feb 2012, 11:03
- Forum: SFS2X C# API
- Topic: learning user variables
- Replies: 2
- Views: 4514
- 07 Feb 2012, 14:36
- Forum: SFS2X C# API
- Topic: learning user variables
- Replies: 2
- Views: 4514
learning user variables
Anyone could give me an example of how to add user variables to a user and using them? The c# api mostly shows about getting and checking if the variable exist but not adding that I have seen yet unless I missed it.
- 03 Feb 2012, 00:02
- Forum: SFS2X C# API
- Topic: Beginner Video Tutorials
- Replies: 14
- Views: 23252
thanks a lot, i wanted to be polite about it lol, anyhow the one thing that i haven't been able to get working was the class serialization lol and yes i'm aware about the sticky that says sending and recieving classes and i did excactly everythiing verbatum and i get this error coming from unity fro...
- 02 Feb 2012, 17:39
- Forum: SFS2X C# API
- Topic: Beginner Video Tutorials
- Replies: 14
- Views: 23252
one question for you appels would be you said for a registration system you would do a second zone? i never taught about it so far i been using one and for my friend to have accounts i had to hard type them on my database lol. so im' guessing after querying the database making the account you would ...
- 02 Feb 2012, 17:37
- Forum: SFS2X C# API
- Topic: Beginner Video Tutorials
- Replies: 14
- Views: 23252
hi jake i'm the one who talked to you long time ago on youtube about the whole object classes thing, i made a tutorial too but with a friend through skype teaching him lol. so far i learned by using smartfox first withouth using an extension and in oder to proces the movement for example i use objec...