Search found 15 matches

by ThierryStiegler
02 Apr 2009, 08:05
Forum: Features Wish List
Topic: SmartFoxClient.send in public access.
Replies: 0
Views: 5470

SmartFoxClient.send in public access.

Switch the SmartFoxClient.send() private to public so we can send directly Message to the server, like getting the zone count.

So we can reus the connect Bit and the SmartFoxClient :)
by ThierryStiegler
01 Apr 2009, 11:56
Forum: SmartFoxBits for SFS 1.x
Topic: Can't add a custom listener for BitEvent.ROOM_CHANGE
Replies: 2
Views: 27627

little typo, roomsList and not usersList ;)
by ThierryStiegler
01 Apr 2009, 09:04
Forum: SmartFoxBits for SFS 1.x
Topic: Can't add a custom listener for BitEvent.ROOM_CHANGE
Replies: 2
Views: 27627

Can't add a custom listener for BitEvent.ROOM_CHANGE

I want to create a specific frame who the user choose the room.

After he click on the RoomList instance (roombox), he go to the chat.

In the chat frame, there is a button to go back to my "room" frame.

Here the code of my "room" frame:

import it.gotoandplay.smartfoxbits.events.*
stop ...
by ThierryStiegler
24 Mar 2009, 06:48
Forum: Server Side Extension Development
Topic: Python documentation is not up to date :)
Replies: 18
Views: 25806

okay :)
by ThierryStiegler
24 Mar 2009, 06:14
Forum: Server Side Extension Development
Topic: Python documentation is not up to date :)
Replies: 18
Views: 25806

:)

Why passing None ? Maybe this should be an optionnal arg ? no ?
by ThierryStiegler
23 Mar 2009, 15:04
Forum: Server Side Extension Development
Topic: Python documentation is not up to date :)
Replies: 18
Views: 25806

I continue here :)

I convert the Server Scheduler example in python. But I got a really little problem with a call of Scheduler.destroy().

It need one argument.

Here my fix :


scheduler.destroy( object() )

So it works :)
by ThierryStiegler
18 Mar 2009, 22:56
Forum: Server Side Extension Development
Topic: Python documentation is not up to date :)
Replies: 18
Views: 25806

hmmm normaly you have to set at the first line the right script interpreter #!/bin/bash

Myabe this an old spec of Python 2.2, don't forget that SFS use Jython 2.2 so...

I will try tomorow at office :)

Thnaks for sharing :)

Thierry.
by ThierryStiegler
18 Mar 2009, 21:04
Forum: Server Side Extension Development
Topic: Python documentation is not up to date :)
Replies: 18
Views: 25806

I get the same issue, I use the latest version 1.6.5.
by ThierryStiegler
04 Mar 2009, 15:15
Forum: Server Side Extension Development
Topic: Python documentation is not up to date :)
Replies: 18
Views: 25806

Python documentation is not up to date :)

Hi,

The example given in the documentation ( http://www.smartfoxserver.com/docs/index.htm?http://www.smartfoxserver.com/docs/docPages/sfsPro/python.htm ) about "importing module" and the destroy method does not work.

I get a NameError.

Because we do the import in the local scope of init() so we ...
by ThierryStiegler
26 Feb 2009, 11:25
Forum: Server Side Extension Development
Topic: jython 2.5 ?
Replies: 10
Views: 15965

Okay, I will retry when a new beta release.

My adventure continue yeah :)

Thanks for taking time to reply.
by ThierryStiegler
25 Feb 2009, 12:14
Forum: Server Side Extension Development
Topic: jython 2.5 ?
Replies: 10
Views: 15965

Without the source file in pycore I can't do anything more...
by ThierryStiegler
25 Feb 2009, 09:52
Forum: Server Side Extension Development
Topic: jython 2.5 ?
Replies: 10
Views: 15965


Exception in thread "main" Traceback (most recent call last):
File "<string>", line 12, in <module>
ImportError: No module named main


Shutting down server...

Appuyez sur une touche pour continuer...


Ok I generate the standard installation and I correct the ntpath curdir wath not in __alll ...
by ThierryStiegler
25 Feb 2009, 09:26
Forum: Server Side Extension Development
Topic: jython 2.5 ?
Replies: 10
Views: 15965


Exception in thread "main" Traceback (most recent call last):
File "<string>", line 6, in <module>
File "C:\Program Files\SmartFoxServerPRO_1.6.2\Server\lib\jython.jar\Lib\os.py", line 142, in <module>
ImportError: cannot import name curdir


Shutting down server...

Appuyez sur une touche pour ...
by ThierryStiegler
24 Feb 2009, 21:55
Forum: Server Side Extension Development
Topic: jython 2.5 ?
Replies: 10
Views: 15965

I will try tomorrow to switch the jar file.

There is some unit tests or operations you want to be execute with jython 2.5 ?
by ThierryStiegler
24 Feb 2009, 13:05
Forum: Server Side Extension Development
Topic: jython 2.5 ?
Replies: 10
Views: 15965

jython 2.5 ?

Hello,

I'am developping multiplayer games and we have a legacy leaderboard system written in python/django.

Django integrate well with jython 2.5, but Smart Fox Server provide jython 2.2. Is it possible to update the jython version ?

I'm new with Java technology, so don't hesitate to share with ...