Search found 464 matches

by appels
15 Oct 2010, 18:23
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

actualy i'm able to set the vars from the client but reading them back out is somthing i havent figured out yet : 1. the player needs to be in a room to be able to set them. 2. once your in a room you can create a hashtable and send it: string male = "male"; Hashtable avatarInfo = new Hash...
by appels
15 Oct 2010, 13:45
Forum: .Net / Unity3D API
Topic: unity3 and smartfox user variables
Replies: 3
Views: 5940

unity3 and smartfox user variables

Hi, I'm trying to use user variables in SmartFox to spawn my player's avatar type but it's working for now. what i have is this : void onUserEnterRoom(int roomId, User user) { Hashtable uVars = new Hashtable(); uVars = user.GetVariables(); aTypes.Add(user.GetId(&...
by appels
14 Oct 2010, 20:17
Forum: .Net / Unity3D API
Topic: login doesnt work :(
Replies: 23
Views: 9808

server farm in the US.
by appels
14 Oct 2010, 13:53
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

awesome, thanks Thomas :)
by appels
14 Oct 2010, 12:27
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

Thomas, How would i change a remote player's avatar when it spawns ? What i'm trying ( but not succeeding :( ) is a user selects his avatar when he is logged on, then gets spawned in the room. It's easy for the localplayerobject... in my localplayer spawn function i check what is selected and spawn ...
by appels
14 Oct 2010, 11:30
Forum: Server Side Extension Development
Topic: extension to get users info
Replies: 5
Views: 1953

in the documentation, SFS Pro - Simple extension. It's all explained there.
by appels
14 Oct 2010, 11:26
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

ok, i'll try it out. Thanks :)
by appels
13 Oct 2010, 21:16
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

i just found out that if i send the variables to the server before i joined the room, i don't get them back.
Is that the way to handle it?
When i send them after joining a room, i do get them back.
by appels
13 Oct 2010, 20:51
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

in my OnConnection function i have : Hashtable avatarInfo = new Hashtable(); avatarInfo.Add("avatarType", "type1"); smartFox.SetUserVariables(avatarInfo); SmartFox.Connection = smartFox; in my UserEnterRoom function : Hashtable uVars = new Hashtable(&#...
by appels
13 Oct 2010, 18:34
Forum: .Net / Unity3D API
Topic: login doesnt work :(
Replies: 23
Views: 9808

sent it again :)
by appels
13 Oct 2010, 18:13
Forum: .Net / Unity3D API
Topic: user variables
Replies: 11
Views: 4790

user variables

Hi,

I'm trying to set user variables for my players at login and retrieve them when a player gets spawned. I get a 'null' value back.
Anyone have ideas ?
by appels
13 Oct 2010, 10:51
Forum: .Net / Unity3D API
Topic: login doesnt work :(
Replies: 23
Views: 9808

Robbilie wrote:Can u send me the file again?

i never sent you a file

No, I just made a 3D chat for now with outfit sync over smartfox. I will add more later.
by appels
13 Oct 2010, 10:48
Forum: Server Side Extension Development
Topic: extension to get users info
Replies: 5
Views: 1953

the databaseManager in the config xml is the config for smartfox to be able to access the database. In your extension you can just query the database.
by appels
13 Oct 2010, 00:30
Forum: .Net / Unity3D API
Topic: <PAID> Need Unity/SFS Help Badly, and Quickly.
Replies: 7
Views: 4103

no problem, i still have alot to work on :)
by appels
12 Oct 2010, 23:08
Forum: Server Side Extension Development
Topic: extension to get users info
Replies: 5
Views: 1953

in your extension you can build a database query to get all the info you need and put all the info into an object and send that to the client/clients. to get all the users of a room : var zone = _server.getCurrentZone(); var userList = zone.getRoom(fromRoom).getAllUsers(); th...

Go to advanced search