×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    1

    Problem executing Maze Racer

    Hi,

    I've downloaded SNAP SDK 1.2 and I've tried to check the online features of Maze Racer using the Nokia Emulation Environment embedded in the SDK.

    I followed the pdf documentation and I'm stucked at step 2.3.6: I've got the message of the day displayed, but the "OK" doesn't seem to work at all. I also noticed a difference in the screenshot in the documentation, as I don't have any "exit" button on this screen.

    I checked the parameters in the JAD/Manifest and I also found some differences from the parameters/values found in step 2.3.1:
    - first, the value of the parameter Small-Maze is true by default. If you want to follow the document and put the parameter to false (in both JAD and Manifest), the launch of the game crashes the WTK 2.2 !
    - then, the parameter Min-Players is not present by default in the JAD or in the Manifest. Does it need to be added?

    Could someone help me? Thanks in advance.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    4

    Re: Problem executing Maze Racer

    Here is how I did it and it worked:
    1. I downloaded and installed SNAP Mobile SDK 1.2 posted in this discussion board. It installed to this directory: C:\Program Files\Nokia\SNAPMobile.
    2. I started the emulator from the directory where the jar file is installed: C:\Program Files\Nokia\SNAPMobile\tools\ServerEmulator.
    3. In the emulator application I started the server in menu item Server - Start Emulator.

    Note that I increased the heapsize for the MIDlet emulator to 2M and that I start both the server emulator and the MIDlet emulator in their respective directories. I use Java version 1.5.0_08 and WTK2.2.

    Good luck!

    --- Here is emulator command shell:

    C:\Program Files\Nokia\SNAPMobile\tools\ServerEmulator>java -version
    java version "1.5.0_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)

    C:\Program Files\Nokia\SNAPMobile\tools\ServerEmulator>java -jar "C:\Program Fil
    es\Nokia\SNAPMobile\tools\ServerEmulator\sm-emu.jar"
    INFO [09/22 08:56:36.182] Nokia verification application starting.
    INFO [09/22 08:56:36.526] Error generation off.
    INFO [09/22 08:56:36.526] Will not generate SNAP errors.
    INFO [09/22 08:56:36.526] Will not generate IMPS errors.
    INFO [09/22 08:56:36.526] Will not generate SERVER errors.
    INFO [09/22 08:56:36.526] Will not generate NETWORK errors.
    INFO [09/22 08:56:40.057] [new user] id = 536870913, name = Server Friend
    INFO [09/22 08:56:44.073] Error generation off.
    INFO [09/22 08:56:44.073] Will not generate SNAP errors.
    INFO [09/22 08:56:44.073] Will not generate IMPS errors.
    INFO [09/22 08:56:44.073] Will not generate SERVER errors.
    INFO [09/22 08:56:44.073] Will not generate NETWORK errors.
    INFO [09/22 08:56:44.073] [SERVER started] protocol = http, port = 8080
    INFO [09/22 08:56:44.073] [new user] id = 536870914, name = test1
    INFO [09/22 08:56:44.073] [new user] id = 536870915, name = test2
    INFO [09/22 08:56:44.073] [new user] id = 536870916, name = test3
    INFO [09/22 08:56:44.073] [new user] id = 536870917, name = test4
    INFO [09/22 08:56:44.073] [new user] id = 536870918, name = test5
    INFO [09/22 08:56:44.073] [new user] id = 536870919, name = test6
    INFO [09/22 08:56:44.088] [new user] id = 536870920, name = test7
    INFO [09/22 08:56:44.088] [new user] id = 536870921, name = test8
    INFO [09/22 08:56:44.088] [new user] id = 536870922, name = test9
    INFO [09/22 08:56:44.088] [new user] id = 536870923, name = test10
    INFO [09/22 08:56:44.088] [new game class]: name = Test Game, id = 49152
    INFO [09/22 08:56:44.104] [new lobby] name = Random
    INFO [09/22 08:56:44.104] [new lobby] name = Sort
    INFO [09/22 08:56:44.104] [new lobby] name = Join
    INFO [09/22 08:56:44.104] [new lobby] name = Challenge
    INFO [09/22 08:56:44.104] [new game class]: name = MazeRacer, id = 49721
    INFO [09/22 08:56:44.104] [new lobby] name = Random
    INFO [09/22 08:56:44.104] [new lobby] name = Sort
    INFO [09/22 08:56:44.104] [new lobby] name = Challenge
    INFO [09/22 08:56:44.104] [new lobby] name = Lobby
    INFO [09/22 08:56:44.104] [new game class]: name = GamePacket, id = 32270
    INFO [09/22 08:56:44.104] [new lobby] name = Lobby1
    INFO [09/22 08:56:44.104] [new game class]: name = BuddyChat, id = 16111
    INFO [09/22 08:56:44.104] [new lobby] name = Lobby1
    INFO [09/22 08:56:44.104] [new game class]: name = Presence, id = 17513
    INFO [09/22 08:56:44.104] [new lobby] name = Lobby1
    INFO [09/22 08:56:44.104] [sessionreaper] started
    INFO [09/22 08:58:01.449] [webserver] added new session: [id = 918DE1BEA36B35F3D
    1A7D4C3F82E5DBA.emu001, user id = 536870914]
    INFO [09/22 08:58:01.480] [snapserver] added session 60000001
    INFO [09/22 08:58:01.512] Delaying unifiedLogin[1] command for 605ms.
    INFO [09/22 08:58:02.152] Delaying unifiedLogin[1] command for 831ms.
    INFO [09/22 08:58:03.027] Command unifiedLogin[1] returned VscSuccess[200]
    INFO [09/22 08:58:03.262] Command retrieveAllEvents[3] received for user test1
    INFO [09/22 08:58:03.262] event count for user 'test1': 0
    INFO [09/22 08:58:18.809] Command unifiedLogout[2] received for user test1
    INFO [09/22 08:58:18.840] Delaying retrieveAllEvents[3] command for 987ms.
    INFO [09/22 08:58:18.856] Delaying unifiedLogout[2] command for 602ms.
    INFO [09/22 08:58:19.465] Delaying unifiedLogout[2] command for 624ms.
    INFO [09/22 08:58:19.824] Delaying retrieveAllEvents[3] command for 746ms.
    INFO [09/22 08:58:20.090] Command unifiedLogout[2] returned VscSuccess[200] for
    user test1
    INFO [09/22 08:58:20.574] Command retrieveAllEvents[3] returned VscSuccess[200]
    for user test1
    INFO [09/22 08:58:54.106] Emulator shutting down...
    INFO [09/22 09:08:26.225] exiting virtual machine.

    C:\Program Files\Nokia\SNAPMobile\tools\ServerEmulator>

    -- Here is the MIDlet command shell:

    C:\Program Files\Nokia\SNAPMobile\samples\SnapMobileSample\dist>C:\WTK22\bin\emulator.exe -Xdescriptor:"C:\Program Files\Nokia\SNAPMobile\samples\SnapMobileSample\dist\SnapMobileSample.jad" -Xheapsize:2M
    Running with storage root DefaultColorPhone
    Loading font: /Font1
    Loading font: /7pt-proportional
    server url:localhost
    server port:8080
    protocol:http
    *** Note: Set 'Small-Maze' parameter in .jad file to 'true' to play with a smal
    ler (faster) maze.
    Community.run(), cmd = extendedLogin
    Community.run(), cmd = unifiedLogout
    EXITING MIDLET
    Execution completed.
    6932210 bytecodes executed
    1649 thread switches
    810 classes in the system (including system classes)
    23281 dynamic objects allocated (2021544 bytes)
    93 garbage collections (1294720 bytes collected)

    C:\Program Files\Nokia\SNAPMobile\samples\SnapMobileSample\dist>

Similar Threads

  1. About 6230 Bt Problem
    By eerkek in forum Bluetooth Technology
    Replies: 17
    Last Post: 2005-02-08, 12:33
  2. Problem in Executing application on Series60 V1.2
    By mishrasaurabh in forum Symbian
    Replies: 0
    Last Post: 2004-11-04, 09:17
  3. CodeWarrior EPOCROOT problem
    By splinecl in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-10-01, 09:47
  4. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36
  5. PJava runtime problem within Nokia 9210, Hrlp~!
    By Nokia_Archive in forum PersonalJava
    Replies: 1
    Last Post: 2002-05-28, 13:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×