Originally Posted by
`Dell
Whenever I log in, I get disconnected right away and with this message in the server cmd:
Aug 10, 2016 11:30:50 AM org.apollo.network.ApolloHandler channelDisconnected
INFO: Channel disconnected: [id: 0xa0db2afa, /127.0.0.1:55527 :> /127.0.0.1:43594]
Aug 10, 2016 11:30:50 AM org.apollo.game.model.World unregister
INFO: Unregistered player: org.apollo.game.model.Player [username=Test, privilegeLevel=STANDARD] [online=0]
And this message from the client:
Error: client:805 client:2405 Class_ej:183 Class_ej:147 Thread:745 | java.lang.RuntimeException: 262,52 | 129,56,56,52,3210,3424,-128,31,-4,16,-47,0,0,0,3,0,49,56,3,54,3,53,3,52,3,51,3,55,3,40,3 ,0,0,0,0,0,10,1,42,1,33,1,0,1,36,1,26,1,0,18,1,0,0 ,0,0,-1,
Any ideas?
Also, when compiling the client I get this:
src\LoginHandler.java:245: warning: non-varargs call of varargs method with inexact argument type for last parameter;
JSObject.getWindow(var_client).call("zap", null);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
src\LoginHandler.java:252: warning: non-varargs call of varargs method with inexact argument type for last parameter;
JSObject.getWindow(var_client).call("unzap", null);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
src\Class_g.java:242: warning: non-varargs call of varargs method with inexact argument type for last parameter;
JSObject.getWindow(applet).call("loggedout", null);
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
Press any key to continue . . .
After compiling with -Xlint:unchecked I am now getting this:
Information:Using javac 1.8.0_65 to compile java sources
Information:10/08/2016 11:46 - Compilation completed successfully with 18 warnings in 7s 565ms
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\LoginHandler.java
Warning: (227, 105) java: unchecked call to put(K,V) as a member of the raw type java.util.HashMap
Warning: (245, 116) java: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
Warning: (252, 118) java: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\Class_ai.java
Warning: (182, 57) java: unchecked call to put(K,V) as a member of the raw type java.util.Map
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\Class_hq.java
Warning: (27, 49) java: unchecked method invocation: method sort in class java.util.Collections is applied to given types
required: java.util.List<T>,java.util.Comparator<? super T>
found: java.util.List,java.util.Comparator
Warning: (27, 50) java: unchecked conversion
required: java.util.List<T>
found: java.util.List
Warning: (27, 64) java: unchecked conversion
required: java.util.Comparator<? super T>
found: java.util.Comparator
Warning: (29, 88) java: unchecked method invocation: method reverseOrder in class java.util.Collections is applied to given types
required: java.util.Comparator<T>
found: java.util.Comparator
Warning: (29, 89) java: unchecked conversion
required: java.util.Comparator<T>
found: java.util.Comparator
Warning: (29, 49) java: unchecked method invocation: method sort in class java.util.Collections is applied to given types
required: java.util.List<T>,java.util.Comparator<? super T>
found: java.util.List,java.util.Comparator
Warning: (29, 50) java: unchecked conversion
required: java.util.List<T>
found: java.util.List
Warning: (29, 88) java: unchecked conversion
required: java.util.Comparator<? super T>
found: java.util.Comparator
Warning: (48, 41) java: unchecked call to add(E) as a member of the raw type java.util.List
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\Class_a.java
Warning: (50, 72) java: unchecked call to put(K,V) as a member of the raw type java.util.HashMap
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\Class_g.java
Warning: (242, 86) java: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\Class_dd.java
Warning: (63, 57) java: unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
C:\Users\conta\Desktop\OSRS Private Server\ContaScape\83 Client\src\com\jagex\AppletStubContext.java
Warning: (130, 25) java: getStreamKeys() in com.jagex.AppletStubContext implements getStreamKeys() in java.applet.AppletContext
return type requires unchecked conversion from java.util.Iterator to java.util.Iterator<java.lang.String>
Warning: (89, 28) java: getApplets() in com.jagex.AppletStubContext implements getApplets() in java.applet.AppletContext
return type requires unchecked conversion from java.util.Enumeration to java.util.Enumeration<java.applet.Applet>