Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Networking & Multiplayer / Re: [KryoNet] - Incorrect Number of Bytes on: 2011-11-25 16:06:39
I have tested it now with the standard code same Error...

Must the Applet be signed??
My Applet isn´t signed..^^
2  Game Development / Networking & Multiplayer / Re: [KryoNet] - Incorrect Number of Bytes on: 2011-11-23 20:21:36
Hello Nate!
I will test the Example tomorrow. Smiley

But, what does the Error exactly means?

For me he says that any of the registered Classes are different.
But I have 100% the same registered Classes in Client and Server...
3  Game Development / Networking & Multiplayer / [KryoNet] - Incorrect Number of Bytes on: 2011-11-22 19:54:50
Hello Community!

I´m very new in things with Networking.
A few week ago i started to develop a mulitplayer Online Game.
I began this game as an Application but yesterday i changed it to an Applet.
Since the Change i become the following Error from KryoNet: (Sorry for my English...)


1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
00:00  INFO: Connecting: /81.88.24.240:13030
00:00 ERROR: [kryonet] Error updating connection.
com.esotericsoftware.kryo.SerializationException: Incorrect number of bytes (1 remaining) used to deserialize object: com.esotericsoftware.kryonet.FrameworkMessage$RegisterTCP@d75415
   at com.esotericsoftware.kryonet.TcpConnection.readObject(TcpConnection.java:148)
   at com.esotericsoftware.kryonet.Client.update(Client.java:254)
   at com.esotericsoftware.kryonet.Client.run(Client.java:332)
   at java.lang.Thread.run(Unknown Source)
Exception in thread "Client" com.esotericsoftware.kryo.SerializationException: Incorrect number of bytes (1 remaining) used to deserialize object: com.esotericsoftware.kryonet.FrameworkMessage$RegisterTCP@d75415
   at com.esotericsoftware.kryonet.TcpConnection.readObject(TcpConnection.java:148)
   at com.esotericsoftware.kryonet.Client.update(Client.java:254)
   at com.esotericsoftware.kryonet.Client.run(Client.java:332)
   at java.lang.Thread.run(Unknown Source)
java.net.SocketTimeoutException: Connected, but timed out during TCP registration.
Note: Client#update must be called in a separate thread during connect.
   at com.esotericsoftware.kryonet.Client.connect(Client.java:178)
   at com.esotericsoftware.kryonet.Client.connect(Client.java:115)
   at de.liquidz.poke2d.state.LoadScreen.init(LoadScreen.java:41)
   at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171)
   at org.newdawn.slick.AppletGameContainer$Container.initApplet(AppletGameContainer.java:272)
   at org.newdawn.slick.AppletGameContainer$ContainerPanel.initGL(AppletGameContainer.java:229)
   at org.newdawn.slick.AppletGameContainer$ContainerPanel.start(AppletGameContainer.java:216)
   at org.newdawn.slick.AppletGameContainer$1.run(AppletGameContainer.java:92)



You can try it yourself at http://forum.projects-dw.de/lala/game/ Smiley

Pls help me ^^
Greetz Liquidz
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (45 views)
2014-11-29 21:32:03

toopeicgaming1999 (113 views)
2014-11-26 15:22:04

toopeicgaming1999 (100 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!