Hello,
I have been trying to use pydao http://aplikacja.info/PyDAO.html, which depends on the python module: MySQLdb ( http://mysql-python.sourceforge.net/MySQLdb.html#mysqldb ).
MySQLdb installs using a build script, and installs the missing _mysql module to /usr/lib/python2.4/site-packages ...
Search found 13 matches
- 11 Aug 2008, 01:12
- Forum: Server Side Extension Development
- Topic: using an egg module in a python (jython) server extension?
- Replies: 1
- Views: 5427
- 19 Apr 2008, 19:12
- Forum: Server Side Extension Development
- Topic: [TUTORIAL] Debug Smartfox at runtime
- Replies: 32
- Views: 200664
- 19 Apr 2008, 06:35
- Forum: Server Side Extension Development
- Topic: serverside warning
- Replies: 4
- Views: 9076
Re: serverside warning
when we test DB Example Advanced, connected with mySQL.we can read data from mySQL by datamanager. but when we want to add some data into mySQL,we get following msg in serverside.
16:48:39.890 - [ WARNING ] > Exception in ExtensionHandler: java.lang.ClassCastException: java.lang.String cannot be ...
16:48:39.890 - [ WARNING ] > Exception in ExtensionHandler: java.lang.ClassCastException: java.lang.String cannot be ...
- 10 Apr 2008, 09:14
- Forum: Server Side Extension Development
- Topic: [TUTORIAL] Debug Smartfox at runtime
- Replies: 32
- Views: 200664
- 09 Apr 2008, 21:52
- Forum: Server Side Extension Development
- Topic: how do I get the room from a "userLost" InternalEv
- Replies: 4
- Views: 9336
- 09 Apr 2008, 20:33
- Forum: Server Side Extension Development
- Topic: Java extension deleted from the server, but still visible...
- Replies: 4
- Views: 8571
Re: Java extension deleted from the server, but still visibl
Hi,
I started using java class for my extension. I made my extension, putted it in the javaExtension folder and configured the config.xml.
All worked perfectly, when i made change to my extension, i compiled it again and i remplaced the file in the javaExtension. The changes that i had made wasn ...
I started using java class for my extension. I made my extension, putted it in the javaExtension folder and configured the config.xml.
All worked perfectly, when i made change to my extension, i compiled it again and i remplaced the file in the javaExtension. The changes that i had made wasn ...
- 09 Apr 2008, 19:50
- Forum: Server Side Extension Development
- Topic: [TUTORIAL] Debug Smartfox at runtime
- Replies: 32
- Views: 200664
- 07 Apr 2008, 20:14
- Forum: Server Side Extension Development
- Topic: [TUTORIAL] Debug Smartfox at runtime
- Replies: 32
- Views: 200664
- 06 Apr 2008, 22:27
- Forum: Server Side Extension Development
- Topic: [TUTORIAL] Debug Smartfox at runtime
- Replies: 32
- Views: 200664
I connected to it fine using the "suspend=y" method posted above.
The console thing came up in eclipse, but it was blank and stayed blank through the execution of my program. The cmd window had output in it as usual, but nothing was in eclipse. What should I be seeing? Does this only work for java ...
The console thing came up in eclipse, but it was blank and stayed blank through the execution of my program. The cmd window had output in it as usual, but nothing was in eclipse. What should I be seeing? Does this only work for java ...
- 26 Mar 2008, 21:12
- Forum: Server Side Extension Development
- Topic: Help using Scheduler in python (I almost got it...)
- Replies: 8
- Views: 13460
Scheduler in python, how to:
Sorry it took so long, but we were working on other aspects of the poker game that I am building. It is done now, and I am adding in the scheduler to handle server based timing (new hand, count down each player turn, etc..)
Here's a working python version of scheduler:
Outside init:
from it ...
Here's a working python version of scheduler:
Outside init:
from it ...
- 13 Mar 2008, 08:22
- Forum: Server Side Extension Development
- Topic: Help using Scheduler in python (I almost got it...)
- Replies: 8
- Views: 13460
Help using Scheduler in python (I almost got it...)
Hello,
I have tried to port over the code in "8.18 Server side scheduler" to python, and came very close, but can't get past a certain part.
I can't make a ITaskHandler class... it gives me error:
Traceback (innermost last):
File "<string>", line 863, in init
TypeError: can't instantiate ...
I have tried to port over the code in "8.18 Server side scheduler" to python, and came very close, but can't get past a certain part.
I can't make a ITaskHandler class... it gives me error:
Traceback (innermost last):
File "<string>", line 863, in init
TypeError: can't instantiate ...
- 09 Mar 2008, 21:40
- Forum: Server Side Extension Development
- Topic: calling java Packages from python...
- Replies: 3
- Views: 7460
- 09 Mar 2008, 10:07
- Forum: Server Side Extension Development
- Topic: calling java Packages from python...
- Replies: 3
- Views: 7460
calling java Packages from python...
Hello,
I have done good reading the documentation so far, or searching the forums for most of my answers, but I can not find the answer to this one anywhere:
I read in http://www.smartfoxserver.com/docs/docPages/tutorials_pro/18_scheduler/index.htm and also in 8.7 Tutorials: using Java classes in ...
I have done good reading the documentation so far, or searching the forums for most of my answers, but I can not find the answer to this one anywhere:
I read in http://www.smartfoxserver.com/docs/docPages/tutorials_pro/18_scheduler/index.htm and also in 8.7 Tutorials: using Java classes in ...