Search found 83 matches

by TiagoR
02 Aug 2011, 12:49
Forum: SFS2X Questions
Topic: ISFSEvent USER null ?
Replies: 5
Views: 3199

thanks for the quick reply!
it seems the logic changed a bit from sfs pro to sfs2x but it makes sense.
thanks again.
by TiagoR
02 Aug 2011, 12:35
Forum: SFS2X Questions
Topic: ISFSEvent USER null ?
Replies: 5
Views: 3199

Then how you login a user?
by TiagoR
02 Aug 2011, 10:48
Forum: SFS2X Questions
Topic: ISFSEvent USER null ?
Replies: 5
Views: 3199

ISFSEvent USER null ?

Hi, im having a problem with my custom login handler. at the client I call the login method this.send( new LoginRequest(login, password, "twilightZone") ); but at the server when i try to get the User that sent the request public class LoginHandler extends BaseServerEventHa...
by TiagoR
13 Jun 2011, 08:19
Forum: SFS2X Questions
Topic: SFS2X database connection
Replies: 2
Views: 2118

Thanks bax,
I just notisted there's a patch for the server :oops:

And its working fine now.
by TiagoR
09 Jun 2011, 13:42
Forum: SFS2X Questions
Topic: SFS2X database connection
Replies: 2
Views: 2118

SFS2X database connection

Hi, i'm havin trouble to connect to my DB with SFS2X, in SFSPro we used the following settings: <DatabaseManager active="true"> <Driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</Driver <ConnectionString>jdbc:sqlserver://DB_IP_ADDRESS;databaseName=DB_NAME;integratedSecurity=false;;</Con...
by TiagoR
18 Nov 2010, 10:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: detect NPC user
Replies: 2
Views: 1997

Hi,
you can add a user variable to your NPCs on creation, identifying if it is a server NPC or a client NPC. And then when needed you check that variable.
by TiagoR
17 Nov 2010, 07:42
Forum: OpenSpace v2 discussions and help
Topic: Implementing Custom Cursor (URGENT!)
Replies: 11
Views: 5900

Hi
I think that for what you want to achieve you need assign a ROLLOVER trigger to your walkable tile skin in the OpenSpace Editor, and the event listener in your code that would set your custom mouse cursor.
by TiagoR
17 Nov 2010, 07:26
Forum: OpenSpace v2 discussions and help
Topic: NPC Example
Replies: 4
Views: 3522

Hi
if you check your sfs install folder/examples you got there an NPC example, its a good place to start.
by TiagoR
11 Nov 2010, 09:28
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Actions
Replies: 5
Views: 2698

read this thread viewtopic.php?p=24833
by TiagoR
29 Oct 2010, 07:53
Forum: OpenSpace v2 discussions and help
Topic: Store last known coords
Replies: 1
Views: 1908

Hi,
from what i see, on avatar movement you receive the SFSEvent.onExtensionResponse _os_move from server, on event fired you can get the avatar userVariables _os_px, os_py and os_pz and store them as you like.
by TiagoR
28 Oct 2010, 08:45
Forum: Server Side Extension Development
Topic: maxActive/ maxIdle - DB connection
Replies: 1
Views: 2235

What about reading the documentation... If you go to http://www.smartfoxserver.com/docs/ under 3. Connecting to databases you got: The following table illustrates the meaning of the those tags: MaxActive: The max. number of pooled connections MaxIdle: The max. number of idle pooled connections (-1 =...
by TiagoR
27 Oct 2010, 07:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Admintool stop working
Replies: 5
Views: 3002

I've read about this problem before, and I didn't mention but, I've got it too.
From what i see after some refreshs it shows the Zones like it should, but sometimes it requires a restart (admin tool).
by TiagoR
26 Oct 2010, 13:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Using a database for buddylist
Replies: 4
Views: 2514

Um... thanks for the fast response. :) H2 database is interesting, but I prefer MySQL (because I can't run H2?)... is there any way to use MySQL Yes, but you need to create your Persister class which handles the loading and saving of the buddy list. Go to http://www.smartfoxserver.com/docs/docPages...
by TiagoR
26 Oct 2010, 12:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sendPrivateMessage
Replies: 0
Views: 1169

sendPrivateMessage

Hi, I'm having a problem with sendPrivateMessage , the problem occurs when the sender and the receiver havent been on same room, if they are on different rooms, and never meet on screen, the onPrivateMessage listener comes with a missing param the sender ! When I try to get the sender private functi...

Go to advanced search