Search found 20 matches

by NM
21 Mar 2012, 00:16
Forum: SFS2X Questions
Topic: Pre-populated bad words list?
Replies: 4
Views: 1408

Re: Pre-populated bad words list?

Oh, it seems to be working fine now. My file "config/wordsFile[Zone].txt" is being read (in the same directory as the default wordsFile,txt). I'm not sure why it wasn't working earlier, there must be some caching involved somewhere. Anyway, I'd still be interested in how the wordsFile is l...
by NM
20 Mar 2012, 23:54
Forum: SFS2X Questions
Topic: Pre-populated bad words list?
Replies: 4
Views: 1408

Re: Pre-populated bad words list?

I'm not sure where to save the wordsFile[ZONE].txt nor how the file loaded. It looks like the it should go server side in the private config file next to the wordsFile.txt that already exists. But this doesn't seem to work - is that correct, or am I doing something wrong? If not, then I'd have to pu...
by NM
24 Feb 2012, 20:04
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

OK thanks. I'll get on with something else for now.
by NM
24 Feb 2012, 17:33
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

Hi again, I looked at the game lobby example. Mine is slightly different because I'm not using "settings.searchableRooms = ["default"]" as I only want a game between two players, the invitee and invited. So I don't want random others to be invited.
by NM
24 Feb 2012, 17:07
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

In the Admin Tool, it says I'm using Server Version: 2.0.1

EDIT
The swc says it is version: 1.0.2

Is that right? Should the swc be 2.0.1 too?
by NM
24 Feb 2012, 17:04
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

Here is the error I was getting when inviting only one person (and not myself) 24 Feb 2012 | 16:59:33,711 | WARN | com.smartfoxserver.v2.controllers.SystemController-1 | v2.controllers.SystemController | | com.smartfoxserver.v2.exceptions.SFSCreateGameException: Invited players (size = 1) are not en...
by NM
24 Feb 2012, 16:57
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

I invite myself because when I invited one user, I got an server error/warning saying not enough users, min users is 2 only 1 user invited (or something).

So I added myself to the invite to stop this log message. And this also auto joined me to the join while I waited for the reply.
by NM
24 Feb 2012, 16:52
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

Oh yeah, and if I send a normal InviteUsersRequest then I get the INVITATION_REPLY event. So I'm not sure if this is an actual bug or not - is it the expected behaviour to not get INVITATION_REPLY events when creating an invite via the SFSGameSettings? I could send a "normal invite" and wa...
by NM
24 Feb 2012, 16:33
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

Re: SFSGameSettings with private game and invites not dispat

Yes, I'm accepting and or refusing the invitation like that. I'm not sure which Games Lobby Example you mean, can you send me a link so I can look at it? I'm seeing this in my server log: 24 Feb 2012 | 15:32:28,572 | INFO | com.smartfoxserver.v2.controllers.SystemController-1 | v2.api.SFSApi | | Roo...
by NM
24 Feb 2012, 06:13
Forum: SFS2X Questions
Topic: SFSGameSettings with private game and invites not dispatch..
Replies: 11
Views: 1660

SFSGameSettings with private game and invites not dispatch..

Hi, I've been working on my first invite system for a game. I played around with the invitations and they seemed to be working fine. I then moved the invitations to the SFSGameSettings for a private game with password protection on the game room. This works great as the invited players join the game...
by NM
21 Feb 2012, 23:48
Forum: SFS2X Questions
Topic: User name case sensitivity
Replies: 6
Views: 1746

Re: User name case sensitivity

BUMP, I'm having this problem. As this is over a year old and there have been many changes since - is there now a way to do case insensitive searches for users? I would like to be able to stop users having similar names like 'ken' and 'Ken'. The solution suggested here isn't ideal, I hope someone ha...
by NM
21 Feb 2012, 20:49
Forum: SFS2X Questions
Topic: Default Username Login Behaviour Issue
Replies: 3
Views: 1385

Re: Default Username Login Behaviour Issue

I could auto login as a guest and then do the 'actual' user login after - so I can make FindUsersRequests in the login section. But this seems like a silly way of doing it.
by NM
21 Feb 2012, 20:40
Forum: SFS2X Questions
Topic: Default Username Login Behaviour Issue
Replies: 3
Views: 1385

Default Username Login Behaviour Issue

Hi, I was planning to just use the standard login procedure for a game I'm making. I wanted to allow the user to enter their name and login without password. The problem is that when a user logs in with the same username as someone who is already logged in, the logged in user is disconnected. To sol...
by NM
21 Feb 2012, 03:07
Forum: SFS2X Questions
Topic: SFSServer doesn't auto start after VPS reboots
Replies: 2
Views: 783

Re: SFSServer doesn't auto start after VPS reboots

Looks like I got it working. I added it as a daemon, but the code in the SFS2X installation instructions didn't work for me on CentOS 6. I used symlinks to the sfs2x-service file from /etc/rc.d/init.d (as sfs2X) and /etc/rc.d/rc5.d (as S99sfs2X). After rebooting the VPS, sfs2x automatically started ...
by NM
20 Feb 2012, 18:27
Forum: SFS2X Questions
Topic: SFSServer doesn't auto start after VPS reboots
Replies: 2
Views: 783

Re: SFSServer doesn't auto start after VPS reboots

Also, when I check the status (./sfs2x-service status) of the service, it says: "The daemon is stopped (or running)". I installed it as a "Service" rather than a daemon as I was told this is better. Is it normal for it to be calling itself a daemon when running as a service? Or s...

Go to advanced search