Search found 17 matches

by ransaymour
20 Apr 2021, 11:27
Forum: SFS2X Questions
Topic: remote administration v3.2.6 bug ?
Replies: 6
Views: 320

Re: remote administration v3.2.6 bug ?

Thanks for helping everyone!!, really the USER_VARIABLES_UPDATE_EVENT was on the left side in "Permissions & Events", I moved it to the right side and now everything is working perfectly, the "Disabled system events" confused me and made me think the problem was there. glad i...
by ransaymour
16 Apr 2021, 16:35
Forum: SFS2X Questions
Topic: remote administration v3.2.6 bug ?
Replies: 6
Views: 320

Re: remote administration v3.2.6 bug ?

OS: linux CantOS 8 server version : 2.17 API: ActionScript 3 API Version: 1.7.10 I want to point out that I use an extension that is at the ZONE level, when I'm in the zone and have not yet connected to room, the client-side USER_VARIABLES_UPDATE event works perfectly, But as soon as I call it from ...
by ransaymour
16 Apr 2021, 13:58
Forum: SFS2X Questions
Topic: remote administration v3.2.6 bug ?
Replies: 6
Views: 320

remote administration v3.2.6 bug ?

Hello smartfoxserver team, I noticed that the list of events in the advanced category, in the editing zone and in the creation zone. not appearing Is that okay? I try to update user values ​​and call the client-side USER_VARIABLES_UPDATE event, but the event is not running on the client side, and th...
by ransaymour
31 Mar 2021, 12:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: smartfoxserver user documentation
Replies: 2
Views: 596

smartfoxserver user documentation

hello smart fox server team, the link on https://www.smartfoxserver.com/docs/1x/ is not working properly because flash is no longer supported in browsers, i need the access to the articles for SFS-PRO. its going to be fixed soon? :?
by ransaymour
02 Jul 2018, 20:20
Forum: Server Side Extension Development
Topic: help|| Something strange with the function "_server.getSecretKey()"
Replies: 1
Views: 1430

help|| Something strange with the function "_server.getSecretKey()"

Hi there, I tried to test the example of secure login, and no matter what username or password I tried to connect to the server through the example I received an error "Authentication failed". So I went to check the extension I found that the function "_server.getSecretKey" retur...
by ransaymour
27 Jan 2018, 20:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Handling "privMsg" internal event, missing user ob
Replies: 6
Views: 5249

Re: Handling "privMsg" internal event, missing user ob

Someone got confused writing the instructions so that's why you made a mistake :?


Image
by ransaymour
05 Dec 2017, 13:29
Forum: Server Side Extension Development
Topic: help||Editing single line in txt file (on extension .as)
Replies: 1
Views: 1723

help||Editing single line in txt file (on extension .as)

Hello everyone, :wink: I need help in "_server.writeFile()" function... If I have a .txt file and I want to edit a line which already exists in the file Is there a way to do that ? for example: 1.Banana 2.Apple 3.Tomatoes I want to change the second line to something else It is possible? T...
by ransaymour
08 May 2017, 15:40
Forum: SmartFoxServer 1.x Discussions and Help
Topic: problem|| Problem using the onBuddyPermissionRequest function
Replies: 8
Views: 4769

Re: problem|| Problem using the onBuddyPermissionRequest function

Lapo wrote:Sender is a string, not an object, so there isn't a getId() method directly available.
If you want to lookup the corresponding user object you will need to search it in the Room's local list, provided the user is also in that Room.

hope it helps


Can you give me an example code?
by ransaymour
06 May 2017, 13:34
Forum: SmartFoxServer 1.x Discussions and Help
Topic: problem|| Problem using the onBuddyPermissionRequest function
Replies: 8
Views: 4769

Re: problem|| Problem using the onBuddyPermissionRequest function

I had another problem .. :cry: smartfox.onBuddyPermissionRequest = function(sender, message) { trace("bPermissionSender: " + sender); trace("myName: " + _global.myName); xxx = sender; bud_windows[xxx] = _root.attachMovie("buddy_req_got_mc", "buddy_req_got_mc"+...
by ransaymour
05 May 2017, 15:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: problem|| Problem using the onBuddyPermissionRequest function
Replies: 8
Views: 4769

Re: problem|| Problem using the onBuddyPermissionRequest function

Yes, we were able to reproduce the issue. I can suggest a workaround for this. Open your local AS2 API file and move to line 2732, you should see this code: if (xmlObj.txt != undefined) message = scope.os.decodeEntities( message ) Replace it with: if (xmlObj.txt.value != undefined) message = scope....
by ransaymour
29 Apr 2017, 11:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: problem|| Problem using the onBuddyPermissionRequest function
Replies: 8
Views: 4769

Re: problem|| Problem using the onBuddyPermissionRequest function

Lapo wrote:Hi,
are you sure the data sent as message (char_name) is actually a valid string?

Thanks


Yes, I also added trace(char_name) to check And it works but it is not sent to the client side with the function.

you can check ?
by ransaymour
27 Apr 2017, 22:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: problem|| Problem using the onBuddyPermissionRequest function
Replies: 8
Views: 4769

problem|| Problem using the onBuddyPermissionRequest function

Server version: 1.6.19 API version : I think it's 1.5.2 Server side code : if (cmd == "buddylistR") { var userVar = user.getVariable("char_name") var char_name = userVar.getValue() var name_id = params["name_id"] var tiponum = params["tiponum"] var buddy = par...
by ransaymour
20 Apr 2017, 14:55
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Help||Problem using a method "SendAndLoad"
Replies: 5
Views: 4023

Re: Help||Problem using a method "SendAndLoad"

The site is managed by me, maybe because it was sent in HTTPS protocol?
by ransaymour
11 Apr 2017, 15:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Help||Problem using a method "SendAndLoad"
Replies: 5
Views: 4023

Re: Help||Problem using a method "SendAndLoad"

Hi, can you give me the details of what you're doing? In other words the server side code that you're using and what output is generated by the remote service you're calling? Thanks server side code : function handleRequest(cmd, params, user, fromRoom) { if (cmd == "get") { var _send = ne...
by ransaymour
27 Jan 2017, 17:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SFS Pro 1.6.18 patch bug
Replies: 13
Views: 7665

Re: SFS Pro 1.6.18 patch bug

Thank you

Go to advanced search