Search found 13 matches
- 29 Jan 2009, 17:31
- Forum: Server Side Extension Development
- Topic: python interoperability array help
- Replies: 3
- Views: 5811
- 28 Jan 2009, 18:01
- Forum: Server Side Extension Development
- Topic: python interoperability array help
- Replies: 3
- Views: 5811
python interoperability array help
I am trying to send an internal request from an actionscript extension to a python extension. I want to send an array to the python extension and could not find any documentation on how to do this. Any help would be much appreciated!
- 06 Jan 2009, 21:23
- Forum: .Net / Unity3D API
- Topic: GetUserList() not returning users?
- Replies: 7
- Views: 16143
Here is my relevant code: public void OnRoomListUpdate(Hashtable roomList) { rooms = roomList; // rooms is just a hashtable to hold the list of rooms which i can access later on // Populate the room list on the rooms tab foreach (Room room in roomList.Values) roomListBox.Items.Add(room.GetName()); }...
- 06 Jan 2009, 19:13
- Forum: .Net / Unity3D API
- Topic: GetUserList() not returning users?
- Replies: 7
- Views: 16143
GetUserList() not returning users?
Heya, so I have a room object called r, and r.GetUserList() seems to return an empty hashtable which I called users (as verified by doing users.Count which gave me 0) BUT if i do r.GetUserCount() this returns 2 as was expected...
- 06 Jan 2009, 00:11
- Forum: .Net / Unity3D API
- Topic: Error in GetRoomList example?
- Replies: 2
- Views: 6849
- 05 Jan 2009, 17:48
- Forum: .Net / Unity3D API
- Topic: Error in GetRoomList example?
- Replies: 2
- Views: 6849
Error in GetRoomList example?
In the example usage for GetRoomList: SFSEvent.onRoomListUpdate += OnRoomListUpdate; smartFox.GetRoomList() public void OnRoomListUpdate(Hashtable roomList) { // Dump the names of the available rooms in the current zone foreach (Room room in roomList) Trace.WriteLine(room.GetName()) } I get an error...
- 17 Dec 2008, 23:40
- Forum: .Net / Unity3D API
- Topic: Accessing the data object in ExtensionResponse event
- Replies: 4
- Views: 10556
- 16 Dec 2008, 21:00
- Forum: .Net / Unity3D API
- Topic: Accessing the data object in ExtensionResponse event
- Replies: 4
- Views: 10556
- 15 Dec 2008, 22:06
- Forum: .Net / Unity3D API
- Topic: Accessing the data object in ExtensionResponse event
- Replies: 4
- Views: 10556
Accessing the data object in ExtensionResponse event
Hello, I am trying to access the data object, as done in the API Documentation example: SFSEvent.onExtensionResponse += OnExtensionResponse; public void OnExtensionResponse(object data, string type) { string command = data._cmd; .... } However, this throws an error: Error 1 'object' does not contain...
- 08 Dec 2008, 21:51
- Forum: Server Side Extension Development
- Topic: cannt find kickUser function
- Replies: 2
- Views: 5243
cannt find kickUser function
Hello, I am using sfspro 1.6.1 with an actionscript extension. I am attempting to call the kickUser function like this: _server.kickUser(userToKick, 1, "test") with userToKick being a user object. It then gives me the following error: [ WARNING ] > Error in extension [ myExtension.as ]: Ty...
- 16 Oct 2008, 17:21
- Forum: Server Side Extension Development
- Topic: How to get buddy list with Actionscript?
- Replies: 1
- Views: 4237
How to get buddy list with Actionscript?
I see that there are functions for adding/deleting buddies with the Actionscript API, but nothing for listing a users buddylist as far as I can see. Any assistance with this would be much appreciated, thanks!
- 07 Oct 2008, 18:59
- Forum: .Net / Unity3D API
- Topic: sendxt not working
- Replies: 3
- Views: 8764
- 03 Oct 2008, 21:07
- Forum: .Net / Unity3D API
- Topic: sendxt not working
- Replies: 3
- Views: 8764
sendxt not working
I am trying to send an extension message, which does not seem to be working :( I have verified that my connection to the smartfox server does indeed work, and I have tested the extension from director using Lingo, doing _server.sendXtMessage("extname", "func", obj, "str"...