Search found 103 matches

by Skills07
19 Jul 2018, 14:42
Forum: SFS2X Questions
Topic: Matchmaking help
Replies: 4
Views: 90

Re: Matchmaking help

Okay. Solo play match is rather simple because you don't have to make teams. Everyone fights against everyone else. How are you planning to match players in teams of 2,3 or 4 people? Randomly? By some kind of rank? Factions? Something else? cheers the first option is i can play with one of my frien...
by Skills07
19 Jul 2018, 09:16
Forum: SFS2X Questions
Topic: Matchmaking help
Replies: 4
Views: 90

Re: Matchmaking help

Hi, it's a very generic question. It depends on how you want the matchmaking in your game to work. Besides the server code how is the server supposed to match players? What are the parameters that put players together in the same game? Once you have that clear in mind, then you can proceed implemen...
by Skills07
18 Jul 2018, 08:53
Forum: SFS2X Questions
Topic: Matchmaking help
Replies: 4
Views: 90

Matchmaking help

Hello smart forum & friends i need to ask a question. I have done a procedure that after login move all the players in a room called lobby. Now i want to create the logic about matchmaking. What i have to do when a player press play button? I need to move 100 players to start a match(yeah it's a...
by Skills07
02 Jul 2018, 08:25
Forum: SFS2X Questions
Topic: read sfsobject on login extension client side
Replies: 4
Views: 572

Re: read sfsobject on login extension client side

From client side, in the SFSEvent.LOGIN event you get a " data " object represent the data you've sent from the server. (see the doc for that event if you need more details) Cheers Sorry Lapo, but i have always done Server side parts, but in this project i need to do client and server par...
by Skills07
02 Jul 2018, 07:22
Forum: SFS2X Questions
Topic: read sfsobject on login extension client side
Replies: 4
Views: 572

read sfsobject on login extension client side

Hello everybody i've done a login extension integrated with my db and all works properly. But i have a question: on my server extension i create this object : ISFSObject outData = (ISFSObject) event.getParameter(SFSEventParam.LOGIN_OUT_DATA); while(res.next()) { int id_user = res.getInt("id_use...
by Skills07
01 Jul 2018, 17:42
Forum: SFS2X Questions
Topic: Public IP Server
Replies: 4
Views: 74

Re: Public IP Server

ok thanks Lapo now i can try it.
by Skills07
29 Jun 2018, 14:27
Forum: SFS2X Questions
Topic: Public IP Server
Replies: 4
Views: 74

Re: Public IP Server

I have just done all of this,

but i want to know how can i set IP, the ports are open because are the same of a teamspeak server.

because in unity client now i set ip 127.0.0.1.

if my ip is 90.10.22.87 (public ip of my internet connection) i think i need to set it into smartfox
by Skills07
29 Jun 2018, 09:59
Forum: SFS2X Questions
Topic: Public IP Server
Replies: 4
Views: 74

Public IP Server

Hello guys

i need to try something with my collaborator.

I need to set smartfox server with a public ip and then set my unity client to connect to this ip.

How can i do this?

Thanks for All.
by Skills07
27 Jun 2018, 08:47
Forum: SFS2X Questions
Topic: SQL server microsoft Login error.
Replies: 1
Views: 324

Re: SQL server microsoft Login error.

solved... modified the code in this String SQL = "SELECT ID_User, Username," + "Password, Email, mkoin, profile_img " + "FROM [dbo].[Downfall_users] " + "where Username = '" + userName + "' or Email = '" + userName + "'"; stmt = connection....
by Skills07
26 Jun 2018, 20:04
Forum: SFS2X Questions
Topic: SQL server microsoft Login error.
Replies: 1
Views: 324

SQL server microsoft Login error.

Hello Lapo and friends today i have configured all things to use smartfox server with Unity 3D, because we're creating a battle royale game. I have wrote this handler to do a login from client, reading my datas on table. package mainScreen_package; import java.sql.Connection; import java.sql.Prepare...
by Skills07
26 Jun 2018, 07:28
Forum: SFS2X Questions
Topic: SmartFox server with sql server
Replies: 7
Views: 159

Re: SmartFox server with sql server

I have solved with a reinstall of smartfox.
Something was broken.
I have resetted my game zone, with same parameters and all works.
The problem was when i have clicked sfs2x-service instead of sfs2x-standalone.

Now i can work well.
Thanks
by Skills07
25 Jun 2018, 10:24
Forum: SFS2X Questions
Topic: SmartFox server with sql server
Replies: 7
Views: 159

Re: SmartFox server with sql server

Hi, this is likely an issue with MSSQL, probably how it is configured. I am not an expert of this database, but searching a bit returned this page: https://stackoverflow.com/questions/11335797/problems-logging-into-mssql-server-from-java Read the first reply in that page and see if your current con...
by Skills07
25 Jun 2018, 09:31
Forum: SFS2X Questions
Topic: SmartFox server with sql server
Replies: 7
Views: 159

Re: SmartFox server with sql server

hello Lapo i'm setting up smartfox to use microsoft sql server see the smartfox attachment but i have this error in console: 25 giu 2018 | 11:41:39,431 | ERROR | main | v2.db.SFSDBManager | | com.microsoft.sqlserver.jdbc.SQLServerException: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::...
by Skills07
11 Jun 2018, 08:33
Forum: SFS2X Questions
Topic: SmartFox server with sql server
Replies: 7
Views: 159

Re: SmartFox server with sql server

yes Lapo i need to try to connect Smartfox with Microsoft SQL Server

Go to advanced search