Search found 74 matches

by mariana
28 Apr 2009, 13:11
Forum: SmartFoxServer 1.x Discussions and Help
Topic: getActiveRoom problem
Replies: 12
Views: 14693

I am having room trouble too; trying to join a Room using this code trace("9:112 "+zone+" "+ _global.myName) this.joinRoom("GameLobby", "") I get 9:112 h2db MARIANA SmartFoxError: requested room to join does not exist! The room is properly (I think) defined in...
by mariana
31 Mar 2009, 11:04
Forum: Server Side Extension Development
Topic: Using h2 date/time functions in AS extensions
Replies: 9
Views: 18721

Lapo: I changed all the date fields to varchar, just to be able to continue working until you explain how to use the date functions in h2. but now I have an error in the extension that I cannot find. This is the code: function iniciarSesion(nombre){ trace("iniciar sesion"&...
by mariana
31 Mar 2009, 06:07
Forum: Server Side Extension Development
Topic: Using h2 date/time functions in AS extensions
Replies: 9
Views: 18721

Lapo: can you PLEASE send me an example extension code with an INSERT or an UPDATE statement using any one of the date/time functions? none of the examples in the documentation (sections 8.4 , 8.19) show how to use these functions, and I am stuck for several days trying to use the H2 database with s...
by mariana
31 Mar 2009, 05:34
Forum: Server Side Extension Development
Topic: Using h2 date/time functions in AS extensions
Replies: 9
Views: 18721

It is the syntax of the H2 database for the current timestamp, see

http://www.h2database.com/html/function ... ttimestamp

Mariana
by mariana
27 Mar 2009, 20:49
Forum: Server Side Extension Development
Topic: Using h2 date/time functions in AS extensions
Replies: 9
Views: 18721

Using h2 date/time functions in AS extensions

I'm trying to use the H2 database, and when I try to add a record that contains dates or timestamps to a table I get errors. This is the code I'm using: sql = "INSERT INTO SESIONES (NAME,FECHA, STARTTIME,STOPTIME,USOLINK,VIVA) VALUES (" sql += "'" + _server.escapeQuot...
by mariana
21 Mar 2009, 10:11
Forum: Server Side Extension Development
Topic: h2 embedded database error codes
Replies: 3
Views: 5285

Thanks, Lapo.

Too bad, I wanted to pass it on to the user

Mariana
by mariana
20 Mar 2009, 12:38
Forum: Server Side Extension Development
Topic: Need a little architecture help ...
Replies: 7
Views: 11903

I have a similar problem, several games each running in their own zone and they need to share a database. Each zone has, of course, its serverside game extension. Do I have to declare the database manager in each one of the zones? will the database remain consistent? Should I use the same serverside...
by mariana
20 Mar 2009, 09:30
Forum: Server Side Extension Development
Topic: h2 embedded database error codes
Replies: 3
Views: 5285

h2 embedded database error codes

I'm following your H2 database tutorial (Documentation sec 8.4). The tutorial is all about a search, and assumes the result is successful, but I'm doing an update, which may fail: var success = dbase.executeCommand(sql) if (success) { var response = {} response._cmd = ...
by mariana
19 Mar 2009, 15:44
Forum: Server Side Extension Development
Topic: h2 embedded database properties file
Replies: 2
Views: 4683

you're right, Lapo, the file gets created when you start the H2 admin console and it's not there.... so all I had to do was remove the defective file and restart the console and it magically rewrote it(':?')
by mariana
17 Mar 2009, 17:55
Forum: Server Side Extension Development
Topic: h2 embedded database properties file
Replies: 2
Views: 4683

h2 embedded database properties file

by mistake, ':(' I erased the H2 Generic line from the .h2.server.properties file, placed by the SFS installer in my Documents and Settings directory, so I cannot open the h2 database from the console... Can somebody please send me a copy of the line? (it should look something like: 0=Generic H2|......
by mariana
17 Mar 2009, 06:25
Forum: Server Side Extension Development
Topic: { NEW } The Java Extensions CookBook
Replies: 27
Views: 85178

AS3 and Server-Side extensions

I moved recently from AS2 to AS3 and am looking for examples, tutorials, etc, in server-side AS3 extensions, but I find none.....

am I right in assuming that from here onwards server-side extensions will always be JavaScript?

It IS true that they are VERY similar.

Thanks,

Mariana
by mariana
03 Oct 2008, 05:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Creating more secure SWF(s)
Replies: 14
Views: 44184

Amayeta

I tried Amayeta, and frankly, it didn't work. The test version, which the vendor says is not 100% effective, leaves a water mark on your screens, but at least it does not introduce BUGS in your code, which the full version does. I tried it last July, and after a lot of trouble , managed to get Amaye...
by mariana
13 Jul 2008, 12:21
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Docs stuff missing
Replies: 2
Views: 4870

Docs stuff missing

What is "MaxWriterQueue"? It shows up in the Config.xml template that comes with version 1.6, but I could not find it in the docs. Its probably easy to guess.... Also, as long as you're looking at Docs, there is a broken link in Section 6.1.3 (Programming|java|multithreading): Quick overvi...
by mariana
10 Jul 2008, 21:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Keep losing connection after 5 seconds!
Replies: 10
Views: 14247

I was having the same problem, check this topic: http://www.smartfoxserver.com/forums/viewtopic.php?t=2878 until I followed the advice of Soupman, and make every connected client periodically send a CHAT (dont ask why chat, it just works...) message to the server, who just ignores it. the frequency ...
by mariana
01 Jul 2008, 06:19
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Ghost users - Bad disconnections
Replies: 22
Views: 33325

Lapo: I still dont have answers to my questions: I talked about it with Soupman (he's sent messages to this thread), and he told me the SFS extension needs to send every user a (chat?) message every x seconds (mSeconds?) for the user not to die. Is this the case? He says its worked fine for them for...

Go to advanced search