Search found 59 matches

by Jake-GR
25 Apr 2012, 21:52
Forum: SFS2X C# API
Topic: Error attempting multiple connections
Replies: 3
Views: 1807

Re: Error attempting multiple connections

Also if you don't have BlueBox configured correctly, the first attempt at connection uses the "socket" method. However the API does NOT reset the connection method ever, so connection attempts after the first will always use "http" (BlueBox). There are 3 solutions that I know of:...
by Jake-GR
15 Apr 2012, 09:05
Forum: SFS2X C# API
Topic: New example and latest dll
Replies: 5
Views: 2694

Re: New example and latest dll

Yay! time to test out the dll! Good job on the tutorial, I know there are many ppl here on the forums that have been wanting to know how to do something simple like this! I never even thought about using the UserVars this way to send data around without an extension, think I will need to add it into...
by Jake-GR
06 Apr 2012, 01:23
Forum: SFS2X Questions
Topic: How to auto-export .jar &&not restart server at everytime?
Replies: 2
Views: 771

Re: How to auto-export .jar &&not restart server at everytim

Im a NetBeans user, but I know Eclipse has a project setting on where it will build the .jar file to. Just set that to the right folder in your SmartFox installation. As for not restarting the server, if you have it set as a Zone extension, there is a setting that will make it automatically reload (...
by Jake-GR
05 Apr 2012, 04:47
Forum: SFS2X C# API
Topic: [Resolved] Questions Pertaining to Extensions
Replies: 4
Views: 1501

Re: Questions Pertaining to Extensions

I get all my information from this page: http://docs2x.smartfoxserver.com/
Bottom left there is a roll-out for API Documentation, C# Client API shows all the Unity methods and has great information, and Java Server API (the server docs are really bad in comparison though)
by Jake-GR
04 Apr 2012, 18:57
Forum: SFS2X C# API
Topic: [Resolved] Questions Pertaining to Extensions
Replies: 4
Views: 1501

Re: Questions Pertaining to Extensions

There are a couple overloads for sending an ExtensionRequest ExtensionRequest(String, ISFSObject) ExtensionRequest(String, ISFSObject, Room) ExtensionRequest(String, ISFSObject, Room, Boolean) String = command name ISFSObject = data to send Room = send request to the room instead of the zone Boolean...
by Jake-GR
04 Apr 2012, 03:44
Forum: SFS2X Questions
Topic: complaints about createNPC
Replies: 2
Views: 801

complaints about createNPC

I know it has been posted that NPCs take away from the CCU license, which personally I think is ludicrous. But when viewing with the Admin Tool, why would you make it so they don't show up as a CCU (when they are counted against it)? If we are going to be limited on how many NPCs can be on the serve...
by Jake-GR
28 Mar 2012, 20:39
Forum: SFS2X C# API
Topic: [RESOLVED] SFSObject and key not found
Replies: 2
Views: 1260

Re: SFSObject and key not found

If you use SFSObject.GetInt(string key), and the "key" does not exist, the C# API will return a 0 (not null and no exception). This is true with the other Get commands as well. To check the object, you can use SFSObject.ContainsKey(string key) which will return a bool (false if its not fou...
by Jake-GR
26 Mar 2012, 20:01
Forum: SFS2X C# API
Topic: [bug] 2.0.1 Lost Connection
Replies: 1
Views: 864

[bug] 2.0.1 Lost Connection

This is a recap of this thread, it has to do with Unity/C# Client API, and not the server. With the Client API that is included with 2.0.1 (all downloads), the client will not fire the following events: CONNECTION_LOST CONNECTION_RETRY CONNECTION_RESUME (the connection lost does fire if the client c...
by Jake-GR
23 Mar 2012, 06:29
Forum: SFS2X Questions
Topic: [SOLVED] Game Development Question
Replies: 3
Views: 878

Re: Game Development Question

Honestly a "gamer" is really going to have a hard time finding other to help on their project. You can get general help on forums and (sometimes) on IRC, but you will need to make sure you have done the appropriate research first, and ask your questions "intelligently". But yes y...
by Jake-GR
22 Mar 2012, 18:49
Forum: SFS2X C# API
Topic: error CS0246: The type or namespace name `SmartFoxClientAPI'
Replies: 3
Views: 2089

Re: error CS0246: The type or namespace name `SmartFoxClient

What tutorial are you following? I don't know of any SFS2X tutorials that have that "using" statement. So I'm thinking its a SmartFox Free/Pro (version 1) tutorial, which uses a different API then 2X. I have made some beginner video tutorials HERE , which are also posted on the official Vi...
by Jake-GR
21 Mar 2012, 03:43
Forum: SFS2X Questions
Topic: How to handle Socket Errors on the client?
Replies: 6
Views: 2020

Re: How to handle Socket Errors on the client?

Im having the same issue now... With RC3 it was working for me, but now with 2.0.1 its not. (C# client that comes with 2.0.1 as well) ==EDIT== I just verified this, with RC3 version of the C# API SFSEvent.CONNECTION_LOST gets fired, 2.0.1 it does not! (I have tried the 2.0.1 API that ships with Wind...
by Jake-GR
19 Mar 2012, 21:51
Forum: SFS2X C# API
Topic: Beginner Video Tutorials
Replies: 14
Views: 7011

Re: Beginner Video Tutorials

Extremely sorry for the long delay in videos, I got very sick and lost my voice. Number 6 in the series "Setup and Install Extension" is uploaded. The next couple videos may be about setting up extension logins and database integration, I haven't quite decided yet. They would be videos of ...
by Jake-GR
16 Mar 2012, 22:02
Forum: SFS2X C# API
Topic: need help with smartfox and unity
Replies: 2
Views: 1120

Re: need help with smartfox and unity

also FYI, it (SFS Admin) needs to be set to the IP the computer is on (ex 192.168.1.100) not the public IP of your router
by Jake-GR
12 Mar 2012, 08:15
Forum: SFS2X Questions
Topic: [SOLVED] Java Extension – If statement – getUtfString
Replies: 3
Views: 1037

Re: Java Extension – If statement – getUtfString

I had the same issue, and I think it has to do with the UtfString not actually being equal to a string or something like that.
The solution I used was to use the strings function equals(Object), I'm not at my dev system, so not positive if this is the fix.

Code: Select all

if (name.equals("zone1")
by Jake-GR
12 Mar 2012, 04:42
Forum: SFS2X Questions
Topic: [SOLVED] Database - Communications link failure
Replies: 5
Views: 2305

Re: Database - Communications link failure

For really simple testing, this is the program I use locally. http://www.usbwebserver.net/en/
It hosts Apache on port 8080, so that would need to be changed so it doesnt conflict with Smartfox.
MySQL is on a different port as well, but both are easily seen/changed.

Go to advanced search