Search found 36 matches

by sharingan
21 Apr 2010, 03:20
Forum: Server Side Extension Development
Topic: Java Object in Actionscript Extension
Replies: 2
Views: 5559

Hi Lapo,

Ok! I managed to fix the error... My own carelessness on stating the wrong package at the top of the Java class file :oops: . Thanks for the help!
by sharingan
20 Apr 2010, 10:59
Forum: Server Side Extension Development
Topic: Java Object in Actionscript Extension
Replies: 2
Views: 5559

Java Object in Actionscript Extension

Hi,

I have been reading the documentation chapters 6.6 and 8.7 and am interested in creating my own Java classes in my actionscript extension. However I haven't had much success. Hope someone can help me:

My Java Class code:
public class ClassName {
private varType var;

public ClassName ...
by sharingan
26 Jan 2010, 08:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: how to do smartFox and terracotta integration?
Replies: 69
Views: 117715

Hi Lapo!

Would appreciate a reply on my question above! I couldn't quite get the ClusterDemo to create the game rooms so I couldn't check if users will disconnect from their previous node when they joined the game room.

Thanks in advance!
by sharingan
25 Jan 2010, 04:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: how to do smartFox and terracotta integration?
Replies: 69
Views: 117715

Hi Lapo,

I just have a very quick question regarding Terracotta and SmartFox integration and the ClusterLobbyDemo kindly provided by you. Given the following configurations:

lobby config (cluster-lobby1.xml to cluster-lobby6.xml)
IP: localhost
gates: 9339, 9338 etc.

and game config (cluster-game1 ...
by sharingan
10 Nov 2009, 10:15
Forum: Server Side Extension Development
Topic: Checking if the user is a mod
Replies: 5
Views: 11010

Thanks for replying, Lapo! Hmmm now it kinda works if I put the names in the config file, then just call User.setAsModerator(true) after logging in but during loading of user data from the database.

However, what I need to do is actually get whether the user is a moderator from the database. So the ...
by sharingan
10 Nov 2009, 02:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: TypeError: Error #1088 SFS error?
Replies: 1
Views: 4732

TypeError: Error #1088 SFS error?

I get this error quite often, and I've also encountered this error on other products using SFS (I'm using a debugger version of Flash Player 10). But because of the error, my entire flash game hangs and I'm unable to enter the room. What is the cause of this error?

Below is the error I get with the ...
by sharingan
09 Nov 2009, 04:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Bad word filter problem
Replies: 17
Views: 23876

bad words filter

Thanks for reply

We have added blank space on both side but when we type "ho" its not counting as badword.

We are using SmartfoxserverPRO 1.4. in this <StripCharacters> parameter not support. can we can use any other parameter instant of <StripCharacters> parameter or some other code.



Thanks ...
by sharingan
06 Nov 2009, 08:20
Forum: Server Side Extension Development
Topic: Checking if the user is a mod
Replies: 5
Views: 11010

Hi Thunder (and anyone in the SFS team)!
I am also using an extension to add moderators to my zone, instead of putting them in the config file. The moderators are added after the user logs in, then I call an actionscript extension that checks the database to see if the user is a moderator. If he is ...
by sharingan
05 Oct 2009, 10:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Connect to a specific zone
Replies: 11
Views: 16215

You have two logins here.
One happens via PHP and the other one via SFS.
You will need to use a database flag of some sort to coordinate the two.

The simplest thing to do looks like this:

1- check user credentials via PHP, if they are correct mark the User on the database as logged in

2- proceed ...
by sharingan
01 Oct 2009, 04:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Connect to a specific zone
Replies: 11
Views: 16215

1. Implement secure login as you outlined in http://www.smartfoxserver.com/docs/index.htm?http://www.smartfoxserver.com/docs/docPages/tutorials_pro/09_secureLogin/index.htm at the Login page. How do I do that if the smartfox.connect is only called later at the Gateway selection page? I cannot call ...
by sharingan
25 Sep 2009, 06:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Connect to a specific zone
Replies: 11
Views: 16215

Hi Lapo,

Would really appreciate your help! Before my game is released and it gets hacked!

Thanks!
by sharingan
24 Sep 2009, 03:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Connect to a specific zone
Replies: 11
Views: 16215

Smartfox application security issues

Hi Lapo,

My problem is slightly different rjgtav's so hope you can help me out. Currently I'm doing a virtual world type game. The order of going into the game is as such.

1. Login page - user types in his username and password. Login details are sent via PHP to be verified against details in ...
by sharingan
06 Mar 2009, 06:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Implementing ClusterDemo: phyton to Actionscript
Replies: 3
Views: 6675

Re:

Ok got it! Thanks Lapo! :D Managed to work out the problem.

Just one more question about the clustering. Right now inside each of the cluster-lobby[n].xml files, I added some other rooms other than the Lobby room. However the smartfox client in actionscript returns only the Lobby as the room when I ...
by sharingan
03 Mar 2009, 01:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Implementing ClusterDemo: phyton to Actionscript
Replies: 3
Views: 6675

Re:

Hi,

Am still stuck, would really appreciate any help or suggestions. When I traced my Flash file, it is accessing the correct .py file, and am currently using the ClusterAccess.py file given in your demo. I have started up the Terracotta server and start-monitor does indicate the connections when I ...
by sharingan
02 Mar 2009, 09:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Implementing ClusterDemo: phyton to Actionscript
Replies: 3
Views: 6675

Implementing ClusterDemo: phyton to Actionscript

Hi,

I am trying to implement my own version of the Terracotta with Smartfox Server based on your demo. I was able to run the demo fine, but ran into some problems when I implemented my own code. From Actionscript, I used the URLLoader as per your code to access ClusterAccess.py, but the data ...