Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (732)
Games in Android Showcase (222)
games submitted by our members
Games in WIP (806)
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]
 
Sralse (16 views)
2017-07-25 17:13:48

Archive (414 views)
2017-04-27 17:45:51

buddyBro (595 views)
2017-04-05 03:38:00

CopyableCougar4 (1058 views)
2017-03-24 15:39:42

theagentd (1089 views)
2017-03-24 15:32:08

Rule (1059 views)
2017-03-19 12:43:22

Rule (1046 views)
2017-03-19 12:42:17

Rule (1038 views)
2017-03-19 12:36:21

theagentd (1179 views)
2017-03-16 05:07:07

theagentd (1141 views)
2017-03-15 22:37:06
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!