Search found 20 matches

by geekedatbirth
07 Nov 2011, 22:35
Forum: SFS2X C# API
Topic: wrong password for user on custom login
Replies: 10
Views: 19072

It works, just not very often. Take this for instance : A log file, from when the login worked, then I clicked to stop the unity test, clicked play again and it told me it was the wrong password. The password being sent from Unity is always the same in the code, but tracing the password in smartfox ...
by geekedatbirth
07 Nov 2011, 17:29
Forum: SFS2X C# API
Topic: wrong password for user on custom login
Replies: 10
Views: 19072

my Custom Login Script : package sfs2x.extension.login.src; import java.sql.SQLException; import java.sql.Connection; import java.sql.ResultSet; import java.sql.PreparedStatement; import com.smartfoxserver.bitswarm.sessions.ISession; import com.smartfoxserver.v2.entities.data.SFSArray; import com.sm...
by geekedatbirth
06 Nov 2011, 20:38
Forum: SFS2X C# API
Topic: wrong password for user on custom login
Replies: 10
Views: 19072

So, I created a new temporary database with just a username, id and password. I swapped my zone file to point to the new database... worked perfectly the first time. As soon as I stop the program in Unity and then click Play again, it says the password is now wrong... how can the password go from co...
by geekedatbirth
06 Nov 2011, 18:06
Forum: SFS2X C# API
Topic: wrong password for user on custom login
Replies: 10
Views: 19072

That isn't the issue at all.. I have a cross domain policy and the program connects just fine. I can turn off my custom login script and I have no issues whatsoever, so I know the crossdomain policy I have in place is working.
by geekedatbirth
06 Nov 2011, 06:17
Forum: SFS2X C# API
Topic: wrong password for user on custom login
Replies: 10
Views: 19072

Alright, it's not my code at all... something isn't right with the lobby tutorial I downloaded or something. When I click play in Unity while the SmartFox server is stopped, I get this looped over and over, EVEN AFTER I click the play button in unity again to stop the project from running... just ke...
by geekedatbirth
06 Nov 2011, 04:22
Forum: SFS2X C# API
Topic: wrong password for user on custom login
Replies: 10
Views: 19072

wrong password for user on custom login

I am building a custom login for my Unity application. I have everything working on my local server perfectly.... system checks my username and password against the database and logs me in if the password is correct. So far so good.... I have the same exact database structure with the same exact dat...
by geekedatbirth
05 Nov 2011, 23:50
Forum: SmartFoxServer 1.x Discussions and Help
Topic: MYSQL connector errors
Replies: 3
Views: 11834

You've probably already found the answer you were looking for, i did too now, if anyone stumbles upon this topic, this was the solution for me. Download the mysql, jdbc connector and extract it in the following directory: SmartFoxServerPRO_1.6.6\jre\lib\ext in your server config.xml change the type...
by geekedatbirth
04 Nov 2011, 20:36
Forum: SFS2X C# API
Topic: Help setting up Unity with SmartFox
Replies: 4
Views: 7830

What I ended up doing was reverting the current Project I was working on back to the original example files.... oddly enough after that it worked fine (even though I barely changed any code to begin with). Since then everything seems to be working great.
by geekedatbirth
03 Nov 2011, 21:29
Forum: SFS2X C# API
Topic: Help setting up Unity with SmartFox
Replies: 4
Views: 7830

another very odd note...

I figured that maybe getting Flash to connect would be easier, so I went to the example chats they have for Flash. I changed the IP address sfs-config.xml to match my servers IP and went to this address on my server : http://xxx.xxx.xxx.xxx:8080/examples/Flash-AdvancedChat/ and that is still connect...
by geekedatbirth
03 Nov 2011, 20:31
Forum: SFS2X C# API
Topic: Help setting up Unity with SmartFox
Replies: 4
Views: 7830

Help setting up Unity with SmartFox

I'm at a loss here... I cannot seem to get Unity to connect to my remote SF server UNLESS I hit the play button from within Unity itself. Building as either an exe or for the web player yields no results whatsoever. I've added IP address to the list in server configuration for SFS and added a crossd...
by geekedatbirth
01 Jun 2011, 17:20
Forum: SFS2X ActionScript 3 API
Topic: Major bug with SFS2X_Redbox.swc
Replies: 4
Views: 7249

That did it, but it was very intuitive to locate. At least in the version that I downloaded, the API AS3 SWC was not located in the Client folder alongside the RedBox SWC, had to find it in the following location. Posting this for anyone else who has this problem : Sources\Examples_AS3\VideoChat\lib...
by geekedatbirth
31 May 2011, 19:54
Forum: SFS2X ActionScript 3 API
Topic: Major bug with SFS2X_Redbox.swc
Replies: 4
Views: 7249

The RedBox SWC doesn't replace the AS3 API SWC. The reason is that the RedBox doesn't use all the SmartFox classes (for example it doesn't use the PublicMessageRequest), so when the compiler creates the SWC, it only imports the classes it needs. In other words you have to keep both SWCs referenced ...
by geekedatbirth
28 May 2011, 21:50
Forum: SFS2X ActionScript 3 API
Topic: Major bug with SFS2X_Redbox.swc
Replies: 4
Views: 7249

Major bug with SFS2X_Redbox.swc

As far as I know this is a bug with the Redbox.swc After receiving the error that PublicMessageRequest is an undefined method, I went and looked in the catalog.xml file for the Redbox.swc and compared it to the xml for the standard AS3API swc. The Redbox.swc is missing the PublicMessageRequest metho...
by geekedatbirth
28 May 2011, 01:58
Forum: SFS2X ActionScript 3 API
Topic: undefined method PublicMessageRequest when using Redbox SWC
Replies: 4
Views: 8639

Re: undefined method PublicMessageRequest when using Redbox

Quick update : still same issue. The following code still throws an error when I use the redbox SWC instead of the standard SFS API SWC. It's the only error that is thrown. sfs.send(new PublicMessageRequest(msg, null, curSFSRoom)); I have since imported all the classes I need for the...
by geekedatbirth
27 May 2011, 23:16
Forum: SFS2X ActionScript 3 API
Topic: undefined method PublicMessageRequest when using Redbox SWC
Replies: 4
Views: 8639

Re: undefined method PublicMessageRequest when using Redbox

GameIslandz wrote:
geekedatbirth wrote:"Call to a possibly undefined method PublicMessageRequest".

Funny because I just posted a post about the same exact error


Same error but for a different reason... I just posted a reply to help you find the Library Paths section in Flash

Go to advanced search