Page 1 of 1

Huge server error

Posted: 02 Jun 2010, 16:51
by Sharkguy95
Hello, I have this MMO I am making with a couple of friends, and well my server worked fine for a while, but all of the sudden, when I try to login I get this weird error. I have tried re-downloading SFS pro but it made no difference, I looked at a lot of the files, and there is nothing wrong with them. Please help me, because I need my server fixed or my game is doomed.

Please note, the server starts up fine, but when I press "Login" on my login for the game, the highlighted area below shows up and does not allow me to login.

|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.6 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
| www.smartfoxserver.com |
| www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|

::::::::::: { BlueBox INITED } ::::::::::::
: :
: Version 1.0.5 -- (c) 2008 gotoAndPlay() :
: :
:::::::::::::::::::::::::::::::::::::::::::
10:32:33.050 - [ INFO ] > Starting h2 engine...


--- [ System Info ] ------------------------------------------

System CPU(s): 2
VM Max memory: 517 MB

os.name: Windows XP
os.arch: x86
os.version: 5.1
java.version: 1.6.0_13
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.version: 11.3-b02
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Server VM


--- [ Network Cards ] -----------------------------------------

Card:MS TCP Loopback interface
-> 127.0.0.1
Card:NETGEAR WG111v3 Wireless-G USB Adapter #2 - Symantec Network Security Minip
ort
-> 192.168.0.14
Card:Broadcom NetXtreme 57xx Gigabit Controller - Symantec Network Security Mini
port
-> 192.168.0.3


--- [ Licence Loaded ] ------------------------------------

License Type -> PRO
License Owner -> --== Free Demo Licence ==--
Max. Clients -> 20
BlueBox Type -> Demo Version

--- [ Zones & Rooms ] -------------------------------------

10:32:36.332 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: simpleChat

The Hall (id: 1, max: 50, pass:N)
The Kitchen (id: 2, max: 50, pass:N)
The Garden (id: 3, max: 50, pass:N)
The Bathroom (id: 4, max: 50, pass:N)
The Garage (id: 5, max: 50, pass:N)
The Living Room (id: 6, max: 50, pass:Y)

10:32:36.347 - [ INFO ] > Default Buddy List Persister <INITED>
DB Manager Activated ( com.mysql.jdbc.Driver )
Zone: TurtleUS

The Cinema (id: 7, max: 50, pass:N)
Cinema Entrance (id: 8, max: 50, pass:N)
The Lobby (id: 9, max: 50, pass:N)
Shell (id: 10, max: 50, pass:N)
Arcade (id: 11, max: 50, pass:N)
Mod Room (id: 12, max: 50, pass:Y)
10:32:38.675 - [ INFO ] > Zone Extension [ json ] created, for zone:TurtleUS
[jsonSample.as]: JSON Example initialized
10:32:39.160 - [ INFO ] > Zone Extension [ dbLogin ] created, for zone:TurtleUS

10:32:39.207 - [ INFO ] > Directory './buddyLists/547572746c65554b' created
10:32:39.238 - [ INFO ] > Default Buddy List Persister <INITED>
DB Manager Activated ( com.mysql.jdbc.Driver )
Zone: TurtleUK

Shop (id: 13, max: 10, pass:N)
PetShop (id: 14, max: 10, pass:N)
10:32:40.488 - [ INFO ] > Zone Extension [ dbTest ] created, for zone:TurtleUK
[dbExtension.as]: Initing dbExtension
10:32:41.519 - [ INFO ] > Zone Extension [ dbTestAdv ] created, for zone:TurtleU
K
10:32:41.613 - [ INFO ] > Zone Extension [ dbLogin ] created, for zone:TurtleUK

Zone: Turtle Login Test

Mall (id: 15, max: 50, pass:N)
Beach (id: 16, max: 10, pass:N)
Pet Shop (id: 17, max: 10, pass:N)
10:32:42.253 - [ INFO ] > Zone Extension [ loginEx ] created, for zone:Turtle Lo
gin Test

Zone: mazeGame

The Entrance (id: 18, max: 50, pass:N)

Zone: loginZone

The Hall (id: 19, max: 50, pass:N)
10:32:42.394 - [ INFO ] > Zone Extension [ loginEx ] created, for zone:loginZone


Zone: multiChat

Main Lobby (id: 20, max: 50, pass:N)

Zone: yahtzee

The Entrance (id: 21, max: 50, pass:N)

Zone: slogin

The Lobby (id: 22, max: 50, pass:N)
The Garden (id: 23, max: 50, pass:N)
The Swimming Pool (id: 24, max: 50, pass:N)
10:32:42.597 - [ INFO ] > Zone Extension [ slogin ] created, for zone:slogin

Zone: pixel

The Basement (id: 25, max: 4, pass:N)
10:32:43.363 - [ INFO ] > Zone Extension [ pixel ] created, for zone:pixel
[pixelGame.as]: PixelGame extension started!

Zone: letters

Main (id: 26, max: 50, pass:N)
10:32:44.035 - [ INFO ] > Zone Extension [ Letters ] created, for zone:letters
[Letters.as]: Letters script running.

10:32:44.113 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: messenger

Main (id: 27, max: 40, pass:N)
10:32:44.269 - [ INFO ] > Zone Extension [ smsg ] created, for zone:messenger

Zone: imgMan

MainLobby (id: 28, max: 50, pass:N)
10:32:44.582 - [ INFO ] > Zone Extension [ imgman ] created, for zone:imgMan
[imageManager.as]: Image Manager extension starts...

Zone: bomberman

Lobby (id: 29, max: 50, pass:N)

DB Manager Activated ( org.h2.Driver )
Zone: h2dbzone

Lobby (id: 30, max: 10, pass:N)
10:32:45.300 - [ INFO ] > Zone Extension [ h2db_ext ] created, for zone:h2dbzone

[internalDbDemo.as]: Initing dbExtension

Zone: advBuddyList

Lobby (id: 31, max: 10000, pass:N)

Zone: sloader

Lobby (id: 32, max: 10000, pass:N)
10:32:45.488 - [ INFO ] > Zone Extension [ loader ] created, for zone:sloader
[ it.gotoandplay.extensions.examples.SocketFileLoader ]: Socket File Loader -- S
tarted!

Zone: SmartVideoClipPlayer

The Lobby (id: 33, max: 50, pass:N)
10:32:45.503 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tVideoClipPlayer
10:32:45.550 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
10:32:45.691 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (4 clips found)
10:32:45.691 - [ INFO ] > [RedBox] Extension initialized

10:32:45.707 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: SmartMessengerAV

Main (id: 34, max: 40, pass:N)
10:32:45.722 - [ INFO ] > Zone Extension [ smsg ] created, for zone:SmartMesseng
erAV
10:32:45.738 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tMessengerAV
10:32:45.738 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
10:32:45.753 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (0 clips found)
10:32:45.753 - [ INFO ] > [RedBox] Extension initialized

Zone: SmartChatAV

The Hall (id: 35, max: 50, pass:N)
The Kitchen (id: 36, max: 50, pass:N)
The Garden (id: 37, max: 50, pass:N)
The Bathroom (id: 38, max: 50, pass:N)
The Garage (id: 39, max: 50, pass:N)
10:32:45.785 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tChatAV
10:32:45.800 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
10:32:45.800 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (0 clips found)
10:32:45.800 - [ INFO ] > [RedBox] Extension initialized

Zone: SmartVideoConference

Conference hall 1 (id: 40, max: 10, pass:N)
Conference hall 2 (id: 41, max: 10, pass:N)
Conference hall 3 (id: 42, max: 10, pass:N)

Zone: openspace

Ranch (inside) (id: 43, max: 50, pass:N)
Ranch (outside) (id: 44, max: 50, pass:N)
Slopes area (id: 45, max: 50, pass:N)



--- [ Server Starting ] ---------------------------------

Server address: All
Server port : 9339

10:32:45.910 - [ INFO ] > [TaskScheduler] ... started ::
10:32:45.910 - [ INFO ] > [BlueBoxHandler]... started ::
10:32:45.910 - [ INFO ] > [EventWriter] ..... started :: 1 thread(s)
10:32:45.910 - [ INFO ] > [SystemHandler] ... started :: 1 thread(s)
10:32:45.910 - [ INFO ] > [ExtensionHandler]. started :: 1 thread(s)
10:32:45.910 - [ INFO ] > [DeadChannelsPolicy: strict]
10:32:45.925 - [ INFO ] > Server is up and running!
[dbExtension.as]: Event received: serverReady
10:32:45.957 - [ INFO ] > [RedBox] Internal event received: serverReady
10:32:45.957 - [ INFO ] > [RedBox] Internal event received: serverReady
10:32:46.066 - [ INFO ] > [RedBox] Internal event received: serverReady
10:34:28.253 - [ WARNING ] > Exception during msg reading: java.lang.NullPointer
Exception
java.lang.NullPointerException
at it.gotoandplay.smartfoxserver.SmartFoxServer.readIncomingMessages(Sma
rtFoxServer.java:1047)
at it.gotoandplay.smartfoxserver.EventReader.run(EventReader.java:32)
at java.lang.Thread.run(Thread.java:619)

Posted: 03 Jun 2010, 07:02
by Lapo
It's nothing very huge, it's probably a network error. Have you tried restarting the server?

Posted: 03 Jun 2010, 17:48
by Sharkguy95
Yes many times. The error only happens when I try to login, and I cant find the file that has the problem with it. Its not like its only my game that has the error, when I use the examples it still has the problem. So something must be wrong with my config file right?

Posted: 03 Jun 2010, 19:29
by Lapo
This is a very particular and rare error that is caused by network issues. If it's happening on every login you have probably something like a firewall or packet filter messing up your communication.

Does the problem happen all the times?
Also you said that everything worked ok for a while and all of a sudden there is this problem... very odd. If the problem persists and there's no firewall issue you should reinstall the server.

Posted: 05 Jun 2010, 03:39
by Sharkguy95
I found out I had a huge virus and my whole computer crashed, the virus is now gone and I am starting the server up now. I will start another topic if it still doesnt work. Thanks for the help!