Search found 21 matches

by luoruize
29 Sep 2014, 08:45
Forum: SFS2X C# API
Topic: System.Net without Unity Pro
Replies: 3
Views: 2131

Re: System.Net without Unity Pro

Thanks. It might be me, but I haven't seen anywhere in SmartFox's documentation that in order to use it with Unity on mobile, the Unity Pro license is required. It was my mistake not to test this right away (because it took me a short while to set up a server running SmartFox), but I definitely woul...
by luoruize
28 Sep 2014, 21:40
Forum: SFS2X C# API
Topic: System.Net without Unity Pro
Replies: 3
Views: 2131

System.Net without Unity Pro

I've been working on a multiplayer game, and today I tried, for the first time, to compile the game and run it on my Android device. Unfortunately, Unity tells me I need the Unity Pro license in order to use System.Net, which is required for SmartFox. I have seen this in the asset store: https://www...
by luoruize
05 Sep 2014, 14:14
Forum: SFS2X Questions
Topic: Java and JSON serialization
Replies: 3
Views: 1880

Re: Java and JSON serialization

Wow, thanks!!! Only after reading your post did I recall that __lib__ library... I copied the .jar there, and everything worked well... :) I was not aware of the JSON library provided by SFS, and it doesn't have to be compatible with my C# code, since I'm only using it to read data from the DB. If i...
by luoruize
03 Sep 2014, 19:58
Forum: SFS2X Questions
Topic: Java and JSON serialization
Replies: 3
Views: 1880

Java and JSON serialization

Hi, I'm trying to add a JSON serializer / deserializer to the java project, so that I will be able to better handle the data I retrieve from the server (most of it is stored in JSON format). I need something that works similarly to Newtonsoft.json in c#. So far, I came across google's GSON. I downlo...
by luoruize
31 Aug 2014, 19:53
Forum: SFS2X Questions
Topic: Add a parameter to user object on login
Replies: 4
Views: 2236

Re: Add a parameter to user object on login

Hey Lapo,

Thank you for the reply.
How do I transmit the outData back to the client?
by luoruize
31 Aug 2014, 06:23
Forum: SFS2X Questions
Topic: Add a parameter to user object on login
Replies: 4
Views: 2236

Add a parameter to user object on login

I'm using custom login in my game, and there are some parameters I would like to send back to the client when the user logs in, to avoid an extra call to the DB. This is my login code in java: public void handleServerEvent(ISFSEvent event) throws SFSException { String name = (String) event.getParame...
by luoruize
28 Aug 2014, 06:05
Forum: SFS2X Questions
Topic: Database connection issue
Replies: 2
Views: 1094

Re: Database connection issue

SOLVED!

I had to comment out the skip_networking rule in the my.cf file, and everything worked, all of the sudden...
by luoruize
27 Aug 2014, 21:47
Forum: SFS2X Questions
Topic: Database connection issue
Replies: 2
Views: 1094

Database connection issue

Screen Shot 2014-08-27 at 23.56.56.png I'm trying to connect to mysql for the first time with sfs2x. I'm using a macbook pro, running with MAMP pro. I have the DB set up, there're a couple of tables in there and everything looks fine. I am able to connect to the DB with PHP, and query it. When I st...
by luoruize
21 Oct 2009, 09:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: socket connection issue
Replies: 1
Views: 1480

socket connection issue

When I'm trying to connect to the server, I get the following error: Error #2044: Unhandled ioError:. text=Error #2031: Socket Error. URL: XX.XXX.XXX.XX The client always connects using the blue box, and it takes a long time for the connection to be established. What could prevent a socket connectio...
by luoruize
04 Oct 2009, 21:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: info sending method
Replies: 1
Views: 1075

info sending method

Hey, I'm in the final stages of developing a turn-based game. Once a turn ends, each player has to send all the accumulated data to all the other players. There's a pretty large amount of data, and apparently it's too much for SFS to handle (I'm getting an error message after some time). Right now, ...
by luoruize
19 Sep 2009, 14:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: port already in use problem
Replies: 9
Views: 7695

I thought that that was the problem, but I checked the processes running in the background, and SFS wasn't one of them. I also tried running the admin tool to see if maybe I'm process-blind, but it also couldn't connect... I had to change the ports on which SFS and the embedded DB are running on, an...
by luoruize
18 Sep 2009, 09:06
Forum: SmartFoxServer 1.x Discussions and Help
Topic: port already in use problem
Replies: 9
Views: 7695

port already in use problem

About a couple of weeks ago I managed to successfully install SFS on my server, and it worked well. Today I tried to check something on the server, but now SFS won't run. Checking the console, I receive several errors. Strangely, the exact same errors are received when trying to run a SFS server a s...
by luoruize
10 Sep 2009, 17:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: setUserVariables error
Replies: 6
Views: 2424

I think I know where the problem lies. The room I'm creating is a game room (it has to be one). I noticed, after tracing the events received by the server, that it first joins the new room, and only then sends a userExit event to the server, which means that for a moment the player is in more than o...
by luoruize
10 Sep 2009, 08:36
Forum: SmartFoxServer 1.x Discussions and Help
Topic: setUserVariables error
Replies: 6
Views: 2424

I know, but that's the thing - the player is logged... I can check it both in the admin tool, and when I get the room list. I tried assigning the relevant data to both myUserId and myUserName, but nothing worked. In the end, I just created an extension command that does this, and it works perfectly....
by luoruize
09 Sep 2009, 21:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Create room in zone without default rooms fails
Replies: 3
Views: 1955

I had the same problem, and it seem to be impossible to create rooms without being logged into a room first. If someone will correct me on this one, I'd be happy to hear. What I did was to create a room called "lobby" in the config.xml file, set it as limbo, and just automatically log ever...

Go to advanced search