Search found 19 matches

by Soleil
15 Mar 2010, 23:20
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

Here's what I get with ./start.sh:

Exception in thread "main" java.lang.NoClassDefFoundError: java.util.concurrent.atomic.AtomicLong
at it.gotoandplay.smartfoxserver.SmartFoxServer.<init>(SmartFoxServer.java:270)
at it.gotoandplay.smartfoxserver.SmartFoxServer.main(SmartFoxServer.java:237)
me ...
by Soleil
15 Mar 2010, 17:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

Like I mentioned up above, my server is 64bit Linux, and that is the SFS version I downloaded and installed.

Here is the result of uname -a:

Code: Select all

Linux host310.hostmonster.com 2.6.28-10.7.intel.IGB.BHsmp #1 SMP Thu Aug 13 21:52:24 MDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Any other suggestions?
by Soleil
15 Mar 2010, 06:11
Forum: Server Side Extension Development
Topic: Send response to all users in a room (AS)
Replies: 10
Views: 18750

Send response to all users in a room (AS)

Seems like a common thing to do...

In my extension code I have this:

var users = _server.getRoom(fromRoom).getUserList();
_server.sendResponse(res, -1, user, users, "str");

Error in extension [ simpleExt.as ]: TypeError: Cannot find function getRoom. (simpleExt.as#1676) Internal: 101 -- Line ...
by Soleil
15 Mar 2010, 00:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Where is the default server config.xml?
Replies: 2
Views: 6747

Thanks, I started to figure that out when I saw that you can reload extensions in the admin tool. Restarting the server from the admin tool doesn't work quite as well though... started a new thread for that.
by Soleil
15 Mar 2010, 00:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Errors when restarting the server from admin tool
Replies: 1
Views: 4479

Errors when restarting the server from admin tool

I'd like to be able to restart the server from the Admin tool, but here's what happens:

Server Restarting ...


17:29:42.847 - [ WARNING ] > Generic Exception in acceptNewConnections():java.nio.channels.ClosedSelectorException
Exception in thread "restarterThread" java.lang.NoSuchMethodError: org ...
by Soleil
14 Mar 2010, 23:26
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

Here's what I get:

Running SmartFoxServer PRO...
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 1 | wrapper | Unable to start JVM: No such file or directory (2)

Not sure why it can't find the JVM -
"Since version 1.5 ...
by Soleil
13 Mar 2010, 07:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Where is the default server config.xml?
Replies: 2
Views: 6747

Where is the default server config.xml?

According to the docs:

The server configuration is saved in an XML file called "config.xml", located in the Server/ folder.

My client config is set to zone simpleChat, and when I log in, I am auto-joined into "The Hall" (running the server locally because I still can't get it working online ...
by Soleil
13 Mar 2010, 06:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

I determined that my server is running Linux 64bit, so I downloaded that version of SmartFox, uploaded it to my domain, logged in via SSH, and ran the installer:

+-----------------------------------------------+
+ +
+ SmartFoxServer :: Linux Simple Installer +
+ version 1.2.0 -- (c) 2004 -2006 ...
by Soleil
12 Mar 2010, 04:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

I found out from my hosting service that my public ip is this (changing a couple numbers for anonymity):

http://74.220.512.011/~ccc/

So I tried putting this in the config.xml:

<ip>74.220.512.011</ip>

But it still doesn't work.

I also tried this:
<ip>74.220.512.011/~ccc/</ip>

but I get 404 not ...
by Soleil
11 Mar 2010, 16:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

ok, here's what I did.

I connected to my host via ftp and uploaded all the contents of the /Server folder to www.mydomain.com/smartfoxtest/, and also uploaded my swf and html files to the same location.

And, it works, but only on the same computer where I have SmartFox running locally. I'm ...
by Soleil
11 Mar 2010, 06:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to install on a live domain
Replies: 11
Views: 21971

How to install on a live domain

Is there documentation for getting SmartFox running on a live server? I have done lots of testing locally and things are working. Now I want to put it online and test. I don't understand how SmartFox gets started when its on a live server and I can't start the server running myself.

Which files to ...
by Soleil
10 Mar 2010, 05:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: onUserEnterRoom question - avatarChat
Replies: 1
Views: 4293

onUserEnterRoom question - avatarChat

Please see my comments in the code below.

function onUserEnterRoom( evt:SFSEvent ):void
{
var user:User = evt.params[ "user" ]
var userId:Number = user.getId()
var userName:String = user.getName()
var uVars:Object = user.getVariables()
var mc:Avatar = Avatar( avatarMC.getChildByName( "avatar ...
by Soleil
08 Mar 2010, 07:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Can't create room because room list is empty?
Replies: 2
Views: 6081

I figured out that I can wait for "onRoomListUpdate", then do _smartFox.autoJoin();

Then, after I'm in the default room I can createRoom(), which automatically puts me in the new room I create.

So do users always have to put in a room first before they can create a room?
by Soleil
08 Mar 2010, 04:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Can't create room because room list is empty?
Replies: 2
Views: 6081

Can't create room because room list is empty?

I have successfully connected and logged in. Now just trying to create a room.

Here's the code I'm using, straight from the docs:

var roomObj:Object = new Object();
roomObj.name = "The Test Room";
roomObj.isGame = true;
roomObj.maxUsers = 15;

_smartFox.createRoom(roomObj);

And here is the ...
by Soleil
06 Mar 2010, 20:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Mac OSX Installataion - SmartFox wont start
Replies: 5
Views: 8447

I did the installation the same way on my Mac Pro and it works. Came back to my MacBook Pro, deleted everything and tried again. No luck. Still flashes up for a split second then dies. Would there be an error log somewhere? I checked Server/logs but didn't see anything new.

I can piece together the ...