Search found 1297 matches

by ThomasLund
03 Jul 2012, 09:49
Forum: SFS2X C# API
Topic: Type initializer exception thrown by System.Net.Dns
Replies: 1
Views: 4647

Re: Type initializer exception thrown by System.Net.Dns

Never tried building for NaCl yet myself. And neither Flash.

Can you post your connect code? Are you connecting via hostname or ip? Try to do the opposite.

/Thomas
by ThomasLund
03 Jul 2012, 09:46
Forum: SFS2X C# API
Topic: Trouble with FPS Demo
Replies: 6
Views: 11120

Re: Trouble with FPS Demo

Googling WSACancelBlockingCall it seems to be something that is not SFS related. MS even removed it from their Socket 2.0 specs: http://msdn.microsoft.com/en-us/library/windows/desktop/ms741547%28v=vs.85%29.aspx So totally guessing - but sounds like firewall software not behaving as it should on you...
by ThomasLund
03 Jul 2012, 09:39
Forum: SFS2X C# API
Topic: Can I hardcode the config.xml to connect in browser?
Replies: 2
Views: 5957

Re: Can I hardcode the config.xml to connect in browser?

Prefetch is required for webplayer builds (only) by Unity. In the editor you can run your game in e.g. standalone and it would not have to fetch the policy file and can safely remove that isEditor part. If you run webplayer editor mode, you can also in the editor have it fake fetch policy files some...
by ThomasLund
03 Jul 2012, 09:38
Forum: SFS2X Questions
Topic: Unity Client freezing on connect
Replies: 13
Views: 19034

Re: Unity Client freezing on connect

Emailed you directly as well, but just to respond here as well. Yes - seeing the issue as well, and it seems to be an issue that was identified some weeks ago by Unity guys as a "feature" in Mono. Seems Mono doesnt always detect thread termination and then waits indefinitely for an already...
by ThomasLund
19 Jun 2012, 09:15
Forum: SFS2X C# API
Topic: Creating a new object?
Replies: 4
Views: 9298

Re: Creating a new object?

Yeah - the object movement example is a good place to start.

Once you've got that running and understand it, you can move to the FPS example that uses server side code. But its much more complex as well

/T
by ThomasLund
19 Jun 2012, 09:13
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 16111

Re: Extension not working

Yeah - nothing otherwise obviously wrong from just looking at the code.

Otherwise try to grab the FPS example and work from there - removing a lot of things start adding your code. But otherwise as said - looks sane enough.

/Thomas
by ThomasLund
19 Jun 2012, 09:10
Forum: SFS2X C# API
Topic: UDP failed to initiialize
Replies: 6
Views: 10375

Re: UDP failed to initiialize

Will need more info and a repro - not seen this happen in my end.

/Thomas
by ThomasLund
19 Jun 2012, 09:09
Forum: SFS2X C# API
Topic: problems with BlueBox and the Unity API
Replies: 5
Views: 9126

Re: problems with BlueBox and the Unity API

Yep - definitely alive. Are you sending transforms ever 30 ms via bluebox/http? Without any further optimizations, that will definitely go wrong performance wise. Bluebox is not a high performance real time solution, but a backup for people behind firewalls that do not allow the binary protocol. /Th...
by ThomasLund
19 Jun 2012, 09:07
Forum: SFS2X C# API
Topic: how to implement a Npc or Ai character?
Replies: 13
Views: 21049

Re: how to implement a Npc or Ai character?

I would definitely simply have an extension running off a scheduler on server side to handle NPCs. You only really need to either send waypoints to the clients (if cheating is not an issue - can run pathfinding on Unity) - or send NPC positions bundled/compact to clients every 200-300 ms and interpo...
by ThomasLund
19 Jun 2012, 09:03
Forum: SFS2X C# API
Topic: Question SFSEvent.EXTENSION_RESPONSE
Replies: 2
Views: 5352

Re: Question SFSEvent.EXTENSION_RESPONSE

Can be several things wrong - seeing that you are trying to make a login handler. First up you should try to look at overriding the existing login functionality. See more here - especially in the bottom. http://docs2x.smartfoxserver.com/DevelopmentBasics/login-phase If this is what you try to do alr...
by ThomasLund
19 Jun 2012, 08:55
Forum: SFS2X C# API
Topic: TypeLoadException Sfs2X.SmartFox
Replies: 1
Views: 4340

Re: TypeLoadException Sfs2X.SmartFox

Hi,

I'm running 3.5.2 here with SFS2X and dont have an error.

Can you give more info? Anyone else with this problem?

Try to remove the dll, restart unity and copy the dll in again (might be some cache that Unity has)

/Thomas
by ThomasLund
01 Jun 2012, 11:43
Forum: SFS2X C# API
Topic: Will SFS2X still work if I export my game to a Flash build?
Replies: 4
Views: 7705

Re: Will SFS2X still work if I export my game to a Flash bui

I've actually not tried the Flash export yet myself (our own game in development doesnt build with the Flash export - Unitys fault).

BB is fully expected to work. And when you deploy to iOS/Android it definitely should work - tested!

/Thomas
by ThomasLund
01 Jun 2012, 11:40
Forum: SFS2X Questions
Topic: Negative lag values in LagMonitor
Replies: 8
Views: 9018

Re: Negative lag values in LagMonitor

Uncertain - never seen it myself, but not dug into this in detail.

Will put it on the "to investigate list" for next update.

Best
Thomas
by ThomasLund
30 May 2012, 05:43
Forum: SFS2X C# API
Topic: Question about HostName/Dynamic IP
Replies: 2
Views: 5020

Re: Question about HostName/Dynamic IP

Your server switches IP? Thats a very shitty setup to be honest.

Anyways - server side questions are best asked here: viewforum.php?f=18

I dont know the answer if you can use hostnames in server config.

/Thomas
by ThomasLund
30 May 2012, 05:41
Forum: SFS2X Java / Android API
Topic: BUG login by error user name bug in android client sfs2x
Replies: 3
Views: 9235

Re: BUG login by error user name bug in android client sfs2x

Pretty sure I know whats wrong!

But need to investigate and take a look.

Certain that you are running latest jar? (Just checking, so I do not look in the API code for something that has been fixed already)

/Thomas

Go to advanced search