Search found 16 matches

by gringo
19 Nov 2007, 17:22
Forum: Server Side Extension Development
Topic: extension architecture
Replies: 4
Views: 8682

My question is exactly the other way round: how can I write a real time multiplayer game without doing that? And if I can, is it correct to think about it that way?
by gringo
19 Nov 2007, 12:31
Forum: Server Side Extension Development
Topic: extension architecture
Replies: 4
Views: 8682

extension architecture

Hi, I was thinking: Writing a game is done by specifying a function which will be called every tick of the game, something like a 'WorldUpdate' function and every game I know works this way.

What is the idea on writing Smartfox server side games because we can write events only when an user send us ...
by gringo
16 Nov 2007, 19:47
Forum: The Bug Trap
Topic: reload ext. doesn't work in python extensions
Replies: 6
Views: 210

Thank you Lapo! It worked!
by gringo
16 Nov 2007, 13:32
Forum: The Bug Trap
Topic: reload ext. doesn't work in python extensions
Replies: 6
Views: 210

When I use my extension that refers to a python package, if I change something in the package it doesn't get updated until I restart the service.
by gringo
29 Oct 2007, 13:51
Forum: Server Side Extension Development
Topic: writing packages in python
Replies: 3
Views: 7136

I tried a complete new test, and it seems to be working to load a package on an extension. I wonder why it didn't work before, I must have forgotten something, I don't know.

What I still couldn't get to work is to use _server.trace in my package code. It seems like _server is a namespace that is ...
by gringo
26 Oct 2007, 17:33
Forum: Server Side Extension Development
Topic: writing packages in python
Replies: 3
Views: 7136

writing packages in python

Hi, I am trying to separate my extensions' code written in python in different folders. I have created a new folder with __init__.py exporting a function and a class. In the class constructor I wrote _server.trace("hello") so I could find out if it is being loaded or not.

It didn't work so I tried ...
by gringo
26 Oct 2007, 14:31
Forum: The Bug Trap
Topic: reload ext. doesn't work in python extensions
Replies: 6
Views: 210

You're right. I found out that I was missing the last patch that it has a file named jysfs so I guess it has something to do with jython. Anyway I updated my SmartFox version and now it works ok.
by gringo
25 Oct 2007, 18:48
Forum: The Bug Trap
Topic: reload ext. doesn't work in python extensions
Replies: 6
Views: 210

I'm unsure on this... Now it seems to check if the syntax is correct but the other day I changed the code and it didn't get refreshed
by gringo
23 Oct 2007, 19:16
Forum: The Bug Trap
Topic: reload ext. doesn't work in python extensions
Replies: 6
Views: 210

reload ext. doesn't work in python extensions

I changed an extension written in Python, clicked reload ext. and when I try it I get the same effect as if I hadn't clicked on it (it doesn't get reloaded)
by gringo
16 Oct 2007, 13:07
Forum: Server Side Extension Development
Topic: java performance
Replies: 5
Views: 9174

I'm used to develop all the logic inside the clients. For the games I made, this worked ok because none of them required server side code.

I am going to start working on the server. To debug in the clients for me is very easy because (but not until to) Flash CS3 has good debugging tools that let ...
by gringo
12 Oct 2007, 18:06
Forum: Server Side Extension Development
Topic: java performance
Replies: 5
Views: 9174

We have agreed to use Python for the games and porting CPU intensive classes to Java as you adviced. My main concern now is that I won't be able to use the nice and pretty debugger Flash CS3 has given me to quickly develop the games, since we will be adding them as an extension.

I didn't find any ...
by gringo
10 Oct 2007, 18:23
Forum: Features Wish List
Topic: smart real time api
Replies: 6
Views: 14317

I wrote a pool game, where when one player is aiming at the ball, the other player is looking at how the player is aiming.

Each player sends the strike when it is done and both clients reproduce the strike, it was a pain to make the sync to work all right because of rounding errors, and sometimes ...
by gringo
10 Oct 2007, 18:05
Forum: Server Side Extension Development
Topic: java performance
Replies: 5
Views: 9174

java performance

Hello, I was looking for information on how fast would be to program the games in Java using smart fox server rather than implementing a new 'smartfox like' program in order to be sure that I was fully using all the resources available of my servers.

My question was reduced to the following, I ...
by gringo
29 Jun 2007, 14:04
Forum: Features Wish List
Topic: smart real time api
Replies: 6
Views: 14317

I'm sorry, I know I didn't write it very clear.. I will try to explain it better.


If I try to develop a turn based game, it is enough for me to use the sendobject function that converts the object in xml and transmits it, because I don't need any efficient way to transmit data. However, once I ...
by gringo
28 Jun 2007, 17:26
Forum: Features Wish List
Topic: smart real time api
Replies: 6
Views: 14317

smart real time api

It would be great to have a direct way to transmit data in stream mode as it is now, but without implementing any extensions.. I'm writing a forwarder extension so that one client can send a string to another object through the string protocol and not the xml protocol so that it saves xml overhead ...