Search found 21244 matches

by Lapo
23 Mar 2006, 07:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: unique username??
Replies: 1
Views: 1742

No,
two same names cannot exist in the same Zone. You will need to find a way to differentiate them with a number or another character.
by Lapo
23 Mar 2006, 06:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Does Server Restart Envoke User Lost
Replies: 1
Views: 1563

Now if I restart the server, will the user lost function execute?? No, if you restart the server all the extensions are destroyed. However, before that happens, you have a last chance to save your data. When the server is restarted the destroy method of your extension is called so you can save all ...
by Lapo
23 Mar 2006, 06:32
Forum: Features Wish List
Topic: One username One ID, very interesting..!!
Replies: 7
Views: 7965

i hope you can do this because this is very usefull.....

that each name has different ID, for example:

John - Id = 143
Tom - Id = 435
Jessica - Id = 245


Each user logged in the server already has its own unique ID

:)
by Lapo
22 Mar 2006, 21:27
Forum: SmartFoxServer 1.x Discussions and Help
Topic: they have stole my game HELP i need security!
Replies: 3
Views: 2507

In the root folder of the web server, if you can access it.
by Lapo
22 Mar 2006, 16:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: moving on as well
Replies: 5
Views: 3527

onJoinRoom() handler set up the 2 user-vars and onUserEnterRoom() read them this way: I guess this is the problem. When the onUserEnterRoom is fired the user has just arrived and you don't have guarantees that those variables already exist. You should handle them in the onUserVariablesUpdates()
by Lapo
22 Mar 2006, 15:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: moving on as well
Replies: 5
Views: 3527

Why not? It's not clear what the problem is exactly.
If the onUserEnterRoom would not work, the "Avatar Chat" example would show it too, but it doesn't.

It's likely that the problem is in your code.
Did you study the Avatar Chat example?
Can you provide an example of your current problem?

:)
by Lapo
22 Mar 2006, 10:12
Forum: Server Side Extension Development
Topic: Get user's ip address
Replies: 1
Views: 3796

try this:

Code: Select all

chan.socket().getInetAddress().getHostAddress()


chan is an instance of java.nio.channels.SocketChannel
You can read the javadoc here
by Lapo
21 Mar 2006, 15:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: can't find the solution to my localhost problem
Replies: 4
Views: 2834

humm... not sure if I understand. Now that you've changed the settings it is working from the web server but not from the local file?
by Lapo
21 Mar 2006, 15:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: teamspeak vs ventrilo
Replies: 1
Views: 1824

Hello, sorry for the delay in responding. Took me a while to read through your post :) 1) What do you put as a room variable and what as a user variable? Room Variables are used to store values that are necessary to the game room. Like the number of players, the status of the game board etc... User ...
by Lapo
21 Mar 2006, 15:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Insert/Update Issues. Please help! :)
Replies: 10
Views: 5444

I am going to think up a sql statement for INSERT, but for now here's one for UPDATE : UPDATE highscores SET score = 100 WHERE 0 = 1; So this update command will not fail, but it updated nothing. How can I tell with SFS when a query doesn't update any rows? I see what you mean. However this problem...
by Lapo
21 Mar 2006, 15:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: can't find the solution to my localhost problem
Replies: 4
Views: 2834

I fear that the problem you're experiencing is due to the latest Flash Player 8 security "enhacements". The latest player security system is totally wicked! :shock: I've been banging my head for hours trying to solve a similar problem and then I stumbled upon a number of articles by other flash deve...
by Lapo
21 Mar 2006, 10:58
Forum: Server Side Extension Development
Topic: Reload java extension
Replies: 33
Views: 21611

I have no problem reloading AS extensions. :) I don't get any error messages when reloading java extension either, it's looks fine except it's reloading the old version of the class. Radz you're right. The problem is with the Java default classloader which does not load newly compiled classes. Than...
by Lapo
20 Mar 2006, 12:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: banning and sending messages like admins
Replies: 17
Views: 8442

I am sorry but I don't know how to help. The problem with the scope of your variables isn't something I can solve for you. That's just part of how you have designed your flash application. We can provide specific help for SmartFoxServer, but unfortunately we can't provide generic Actionscript remote...
by Lapo
20 Mar 2006, 10:11
Forum: Server Side Extension Development
Topic: Reload java extension
Replies: 33
Views: 21611

one moment... Reloading AS extensions has always been working :) If you can't reload an extension, probably a compilation error is being thrown. Check your console, or the wrapper logs if you run it as a service. Probably the Java extension issue noticed by radz is similar, I will do a test soon and...
by Lapo
19 Mar 2006, 23:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Some questions about security
Replies: 2
Views: 2614

1)How can I hide the address of connection to SmartFoxServer in my swf ? - try encrypting the IP string with a simple or not so simple ecryption system (there are various open source implementations of different encryption/decryption algorithms for flash) - Use external SWFs to make your swf more m...

Go to advanced search