Search found 13 matches

by jeff_o
29 Jan 2009, 17:31
Forum: Server Side Extension Development
Topic: python interoperability array help
Replies: 3
Views: 5810

If it is not too much trouble, an example of how to do this would be really helpful!
by jeff_o
28 Jan 2009, 18:01
Forum: Server Side Extension Development
Topic: python interoperability array help
Replies: 3
Views: 5810

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!
by jeff_o
06 Jan 2009, 21:23
Forum: .Net / Unity3D API
Topic: GetUserList() not returning users?
Replies: 7
Views: 16138

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()); }...
by jeff_o
06 Jan 2009, 19:13
Forum: .Net / Unity3D API
Topic: GetUserList() not returning users?
Replies: 7
Views: 16138

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...
by jeff_o
06 Jan 2009, 00:11
Forum: .Net / Unity3D API
Topic: Error in GetRoomList example?
Replies: 2
Views: 6846

Works, thanks =] I will let you know of any other errors I come across!
by jeff_o
05 Jan 2009, 17:48
Forum: .Net / Unity3D API
Topic: Error in GetRoomList example?
Replies: 2
Views: 6846

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...
by jeff_o
17 Dec 2008, 23:40
Forum: .Net / Unity3D API
Topic: Accessing the data object in ExtensionResponse event
Replies: 4
Views: 10556

I have one more related question...is it possible to access an actionscript array sent back in the data object of the extensionresponse? I saw that in your example you did a dataObject.Get("board"). This looks like it might be what I am trying to do, however when I attempted to do this I g...
by jeff_o
16 Dec 2008, 21:00
Forum: .Net / Unity3D API
Topic: Accessing the data object in ExtensionResponse event
Replies: 4
Views: 10556

Awesome that works, thank you!
by jeff_o
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...
by jeff_o
08 Dec 2008, 21:51
Forum: Server Side Extension Development
Topic: cannt find kickUser function
Replies: 2
Views: 5240

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...
by jeff_o
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!
by jeff_o
07 Oct 2008, 18:59
Forum: .Net / Unity3D API
Topic: sendxt not working
Replies: 3
Views: 8763

Okay so after futher investigation I have found that an error occurs even before I try to send the xt msg. public Form1() { InitializeComponent(); sfc = new SmartFoxClient(); sfc.debug = true; SFSEvent.onLogin += onLogin; SFSEvent.onConnection += OnConnection; sfc.Connect("10.116.66.251", ...
by jeff_o
03 Oct 2008, 21:07
Forum: .Net / Unity3D API
Topic: sendxt not working
Replies: 3
Views: 8763

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"...

Go to advanced search