Error in pixelGame.as

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
bill
Posts: 11
Joined: 12 Oct 2005, 22:35

Error in pixelGame.as

Post by bill »

When I bootup the beta version of SmartFox 1.4.0 I get this message:

Zone: pixel

The Basement (id: 27, max: 4, pass:N)
12:46:42.125 - [ INFO ] > Zone Extension [ pixel ] created, for zone:pixel
[pixelGame.as]: PixelGame extension started!
12:46:42.203 - [ WARNING ] > Error in extension [ pixelGame.as ]: TypeError: Can
not call method "put" of null (pixelGame.as#1158) Line: 243
ASCIISkull
Posts: 4
Joined: 08 Dec 2005, 08:10

Post by ASCIISkull »

What version of flash are you using?
bill
Posts: 11
Joined: 12 Oct 2005, 22:35

Post by bill »

MX 2004 Pro
bill
Posts: 11
Joined: 12 Oct 2005, 22:35

Post by bill »

But I don't think Flash version should matter as the error message I receive is in the SmartFox Server console window when the server starts up.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

I can't reproduce this problem... Did you update the mainLib.as in the lib/ folder?
Lapo
--
gotoAndPlay()
...addicted to flash games
bill
Posts: 11
Joined: 12 Oct 2005, 22:35

Post by bill »

yes, I followed all the instructions to inatall the beta version
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

humm... could you please copy and paste here the output produced in the console when the server starts?
Lapo
--
gotoAndPlay()
...addicted to flash games
bill
Posts: 11
Joined: 12 Oct 2005, 22:35

Post by bill »

Ok, here is the output when the server starts:

+------------------------------------------------------------+
+ SmartFoxServer - Multiuser Server +
+ version 1.2.5 +
+ +
+ +
+ (c) 2005 gotoAndPlay() - www.smartfoxserver.com +
+------------------------------------------------------------+

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

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

os.name: Windows XP
os.arch: x86
os.version: 5.1
java.version: 1.4.2
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.version: 1.4.2-b28
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Client VM

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

Licence Type: PRO
Licenced to : --== Free Demo Licence ==--
Max. Clients: 20


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

DB Manager Activated ( org.gjt.mm.mysql.Driver )
Zone: dbZone

MainRoom (id: 1, max: 10, pass:N)
The Hall (id: 2, max: 50, pass:N)
The Kitchen (id: 3, max: 50, pass:N)
The Garden (id: 4, max: 50, pass:N)
The Bathroom (id: 5, max: 50, pass:N)
The Garage (id: 6, max: 50, pass:N)
The Living Room (id: 7, max: 50, pass:Y)
11:11:59.312 - [ INFO ] > Zone Extension [ loginUser ] created, for zone:dbZone
[loginExample.as]: init login example 1
11:11:59.468 - [ INFO ] > Zone Extension [ userData ] created, for zone:dbZone
[dbExtensionUserData.as]: Hello from the Simple Extension Example!

Zone: simpleChat

The Hall (id: 8, max: 50, pass:N)
The Kitchen (id: 9, max: 50, pass:N)
The Garden (id: 10, max: 50, pass:N)
The Bathroom (id: 11, max: 50, pass:N)
The Garage (id: 12, max: 50, pass:N)
The Living Room (id: 13, max: 50, pass:Y)

Zone: sftris

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

Zone: mazeGame

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

Zone: loginZone

The Hall (id: 16, max: 50, pass:N)
11:11:59.546 - [ INFO ] > Zone Extension [ loginEx ] created, for zone:loginZone


Zone: multiChat

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

Zone: yahtzee

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

Zone: TheoChat

Lobby (id: 19, max: 10, pass:N)
The Dance Room (id: 20, max: 10, pass:N)
The Atrium (id: 21, max: 10, pass:N)
The Garden (id: 22, max: 10, pass:N)
The Lounge (id: 23, max: 10, pass:N)

Zone: slogin

The Lobby (id: 24, max: 50, pass:N)
The Garden (id: 25, max: 50, pass:N)
The Swimming Pool (id: 26, max: 50, pass:N)
11:11:59.640 - [ INFO ] > Zone Extension [ slogin ] created, for zone:slogin

Zone: pixel

The Basement (id: 27, max: 4, pass:N)
11:11:59.781 - [ INFO ] > Zone Extension [ pixel ] created, for zone:pixel
[pixelGame.as]: PixelGame extension started!
11:11:59.875 - [ WARNING ] > Error in extension [ pixelGame.as ]: TypeError: Can
not call method "put" of null (pixelGame.as#1158) Line: 243


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

Server address: 127.0.0.1
Server port : 9339

[EventWriter] started (1 threads)

11:11:59.906 - [ INFO ] > [SystemHandler] ... started
11:11:59.906 - [ INFO ] > [ExtensionHandler]. started
11:11:59.906 - [ INFO ] > SmartFoxServer running
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Isn't this...
+------------------------------------------------------------+
+ SmartFoxServer - Multiuser Server +
+ version 1.2.5 +
... telling you something?

As stated in the beta page, SmartFoxServer 1.3.0 is required to use the 1.4.0 beta :D

That's why! :)
Lapo
--
gotoAndPlay()
...addicted to flash games
bill
Posts: 11
Joined: 12 Oct 2005, 22:35

Post by bill »

Hmmm, not sure how that happened, but it's fixed now. Thanks for your help.
Post Reply