Search found 298 matches

by Carl Lydon
27 Jul 2016, 17:48
Forum: SFS2X Questions
Topic: Any way of interacting sfs2x using php?
Replies: 6
Views: 9512

Re: Any way of interacting sfs2x using php?

Also, has anything changed on this subject in the past 2 years?

Are there any recent tutorials or posts that you would recommend, that outline the best practice for doing secure transactions using the Facebook payment system communicating directly or indirectly with the SF extension or the database?
by Carl Lydon
27 Jul 2016, 17:37
Forum: SFS2X Questions
Topic: Any way of interacting sfs2x using php?
Replies: 6
Views: 9512

Re: Any way of interacting sfs2x using php?

How does the extension communicate directly with fb? Or indirectly?
by Carl Lydon
26 Jul 2016, 02:43
Forum: SFS2X Java / Android API
Topic: Question about group ids
Replies: 13
Views: 42816

Re: Question about group ids

Awesome!
by Carl Lydon
22 Jul 2016, 12:36
Forum: SFS2X Questions
Topic: In reference of data transfer via handleInternalMessage()
Replies: 4
Views: 6540

Re: In reference of data transfer via handleInternalMessage()

Thanks, your explanation helped.

I had my receiving function set up to receive SFSObject instead of Java Object, which was causing the function to not work.

I switched it to receive Java Object, then cast it to SFSObject, and it worked.
by Carl Lydon
22 Jul 2016, 02:06
Forum: SFS2X Questions
Topic: In reference of data transfer via handleInternalMessage()
Replies: 4
Views: 6540

Re: In reference of data transfer via handleInternalMessage()

Hi Lappo Based on the OP question, I thought it might be possible to use a SFSObject for parameters, since you didn't say anything about it. The Manual indicates that handleInternalMessage() receives a String cmd and Java Object for parameters, but I have yet to find a single example of a Java objec...
by Carl Lydon
21 Jul 2016, 19:13
Forum: SFS2X Java / Android API
Topic: Question about group ids
Replies: 13
Views: 42816

Re: Question about group ids

How? I see a display in the admin tool under zone-->runtime zone settings, but no ability to select a room group

The only way I've seen so far is to restart the server, which I try to avoid doing...
by Carl Lydon
08 Feb 2016, 18:24
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 20
Views: 26177

Re: How to access room extension variables from another clas

Great! Thanks. I'm enumerating my commands so they're only 1 or 2 characters long, so that should also help.
by Carl Lydon
07 Feb 2016, 22:59
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 20
Views: 26177

Re: How to access room extension variables from another clas

Thanks Lapo! My concerns were based on topics such as this: http://stackoverflow.com/questions/16503735/is-number-comparison-faster-than-string-comparison But I assume there might be something going on under the hood of SFS2X that would make String comparisons as fast as int comparisons in this case.
by Carl Lydon
06 Feb 2016, 03:19
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 20
Views: 26177

Re: How to access room extension variables from another clas

I'm using handleInternalMessage to communicate between different game rooms. It seems to work fine, but I'm wondering if there is a performance hit given that I have to send a String cmd to the recipient extension, then check the cmd to see what it matches. To keep the match condition check fast, I ...
by Carl Lydon
05 Feb 2016, 18:51
Forum: SFS2X Java / Android API
Topic: Question about group ids
Replies: 13
Views: 42816

Re: Question about group ids

It would be nice if you could remove them though, just for the sake of organization. They show up in the admin tool and if there are a lot of "dead" ones cluttering up the dropdown isn't so nice, and also if you you have code that searches rooms by roomGroup, it would be nicer to not loop ...
by Carl Lydon
05 Feb 2016, 18:22
Forum: SFS2X Questions
Topic: Problems with Zone.getRoomListFromGroup()
Replies: 4
Views: 7488

Re: Problems with Zone.getRoomListFromGroup()

This works for me:

Code: Select all

List<Room> roomList = pZone.getRoomListFromGroup(groupName);
by Carl Lydon
26 Jan 2016, 00:05
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 20
Views: 26177

Re: How to access room extension variables from another clas

So, there is no way to directly access a function within a room extension? You have to use "handleInternalMessage" and there is no other way? GameRoomExtension gameExt = (GameRoomExtension) room.getExtension(); Doesn't work to communicate because we're not allowed to cast ISFSExtension to ...
by Carl Lydon
14 Jan 2016, 14:52
Forum: SFS2X Questions
Topic: Accessing the Admin Tool
Replies: 10
Views: 14712

Re: Accessing the Admin Tool

Thanks, I will use that in the future. I was able to stop all the Smartfox instances by restarting the machine, which one might not always want to do.
by Carl Lydon
14 Jan 2016, 01:05
Forum: SFS2X Questions
Topic: Accessing the Admin Tool
Replies: 10
Views: 14712

Re: Accessing the Admin Tool

Today I tried to create a new zone using the admin tool and assign an extension to the zone. I find this always to be a dangerous thing to do as any little error and my SF won't restart... Although my extension shows no errors in eclipse, maybe the extension caused SF to fail to restart. I suspect i...
by Carl Lydon
24 Nov 2015, 22:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: trace() in extension not appearing in admintool log
Replies: 12
Views: 19833

Re: trace() in extension not appearing in admintool log

whats' the new url for that Lapo?

Your current link is dead.

Go to advanced search