Search found 9 matches

by MaxHammer
30 Aug 2013, 04:53
Forum: SFS2X Questions
Topic: Accessing returned values in SFSOBJECT
Replies: 1
Views: 753

Accessing returned values in SFSOBJECT

I'm attempting to read from a MySQL table from within a sfs extension, which works as I've viewed the hex dump and the dump contains the data I expect: Here's my server side code: IDBManager dbManager = getParentExtension().getParentZone().getDBManager(); String sql = "SELECT NAME AS FROM USERS...
by MaxHammer
20 Sep 2011, 00:02
Forum: SFS2X Questions
Topic: SFS2X & mySQL
Replies: 3
Views: 1791

Solved - all it took was a crash course on SFSObject and SFSArray.

There wasn't actually only one error - there were many problems with the code...

If anyone has a similar issue please pm me and I'll post code.

MaxHammer
by MaxHammer
11 Sep 2011, 04:26
Forum: SFS2X Questions
Topic: SFS2X & mySQL
Replies: 3
Views: 1791

SFS2X & mySQL

Im using Unity 3.3, mySQL and SFS2X. I'd like to view the results of a simple database query. The query is simply returning the record count of a table. The following is my server-side extension: public void handleClientRequest(User player, ISFSObject params) { IDBManager dbManager = ge...
by MaxHammer
12 Sep 2010, 22:44
Forum: .Net / Unity3D API
Topic: Sending a request for data from within Unity
Replies: 7
Views: 6352

It sure helps to read and read and read some more... I came across this thread http://www.smartfoxserver.com/forums/viewtopic.php?t=7435 which was answered by Kiyaku and shows me that I was missing a vital piece of code. I was never adding the OnServerResponse listener. Once I added the following li...
by MaxHammer
12 Sep 2010, 13:18
Forum: .Net / Unity3D API
Topic: Sending a request for data from within Unity
Replies: 7
Views: 6352

Well, I am making progress, but I feel kind of foolish because it's not working 100% and I know the solution is probably something very simple. Note that all other aspects of SFS work. I am able to connect to zones and rooms with multiple users. The only issue I am having difficulty with is receivin...
by MaxHammer
11 Sep 2010, 09:53
Forum: .Net / Unity3D API
Topic: Sending a request for data from within Unity
Replies: 7
Views: 6352

Thanks Thomas!

I'm going to work at this for the next few days. I'll let you know how it goes.

Kelly
by MaxHammer
11 Sep 2010, 00:55
Forum: .Net / Unity3D API
Topic: Sending a request for data from within Unity
Replies: 7
Views: 6352

Sending a request for data from within Unity

Hello. I've made it quite far without having to ask any questions, but after a few nights of research I'm at a loss. I'm using Unity3D, and am building off the Islands Demo. I have sfs installed and running. I have mysql installed and running. I created a database and a table named USERS. All I woul...
by MaxHammer
10 Jul 2010, 11:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Authoritative Server
Replies: 3
Views: 6242

Lapo, Thanks so much for the reply. This is fantastic news! I certainly don't mind learning the process behind coding the server side - but it was very important to ensure that sfs could do what I needed before i committed too much time to it. I did look over the specific Unity3D API's and Extension...
by MaxHammer
08 Jul 2010, 00:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Authoritative Server
Replies: 3
Views: 6242

Authoritative Server

Hello. I'm about to begin development of a small scale virtual community and have decided to use SmartFoxServer, Unity3D & Cheetah3D. I've been looking over and evaluating many tools over the past few weeks, and have decided on these tools primarily due to favourable user feedback, and each havi...

Go to advanced search