Eclipse Eclipse Problem

B

Biwo

Gast
Hallo, habe dieses Forum bei der Suche nach einem Fehler gefunden, aber hier auch nicht wirklich eine Lösung gefunden..
Ich habe ein Problem mit Eclipse sdk, habe damit einen Server geschrieben, aber sobal ich mich mit meinem Acc dort einlogge friert das Spiel ein und die Eclipse Console gibt folgenen Fehler aus:

Started Remote Admin
S_Server start
com.googlecode.reunion.jreunion.server.S_Database connection established
done loading: data/areas/LaglamiaPlayerArea.bmp
done loading: data/areas/LaglamiaMobArea.bmp
done loading: data/areas/LaglamiaPvpArea.bmp
Got connection from Socket[addr=/127.0.0.1,port=49829,localport=4001] assigned to id: 0
Client(0) sends:
"100"
login
Test
test
Parsing "100" command on Client(0) with state: 0
S_Server stop
com.googlecode.reunion.jreunion.server.S_Database connection terminated
net stop
java.lang.NumberFormatException: For input string: ""100""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.googlecode.reunion.jreunion.server.S_PacketParser.HandleMessage(S_PacketParser.java:57)
at com.googlecode.reunion.jreunion.server.S_PacketParser.Parse(S_PacketParser.java:30)
at com.googlecode.reunion.jreunion.server.S_Network.processInput(S_Network.java:297)
at com.googlecode.reunion.jreunion.server.S_Network.CheckInbound(S_Network.java:153)
at com.googlecode.reunion.jreunion.server.S_Network.Work(S_Network.java:75)
at com.googlecode.reunion.jreunion.server.S_ClassModule.DoWork(S_ClassModule.java:67)
at com.googlecode.reunion.jreunion.server.S_Network.DoWork(S_Network.java:1)
at com.googlecode.reunion.jreunion.server.S_ClassModule.DoWork(S_ClassModule.java:69)
at com.googlecode.reunion.jreunion.server.S_Server.DoWork(S_Server.java:1)
at com.googlecode.reunion.jreunion.server.S_Server.main(S_Server.java:99)


Ich hoffe Ihr könnt mir weiterhelfen :)
 

Marco13

Top Contributor
Aus dem String "[c]"100"[/c]" kann man keine 100 parsen, aber auf dem String "[c]100[/c]" würde es gehen. Wenn man weiß, dass die Anführungzeichen immer dabei sind, kann man sowas machen wie
String a = "\"100\""; // [c]"100"[/c]
String s = a.substring(1,a.length()-1); // Ergibt [c]100[/c]
Integer i = Integer.parseInt(s);
 
B

Biwo

Gast
Vielen Dank :)
Habe den Fehler jetzt gefunden. Hatte "100" im Parameter stehen, musste aber nur 100 rein^^
 
B

Biwo

Gast
Hallo.. ich bin es nochmal^^
Nun habe ich ein neues Problem und hoffe mir kann nochmal so schnell geholfen werden :)
Kann nun im Spiel einloggen, aber sobald ich etwas kaufe bekomm ich einen disconnect und die Console gibt folgendes aus:

Cannot create class:G_Sword
java.lang.ClassNotFoundException: game.G_Sword
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.reunion.jreunion.server.S_ItemFactory.loadItem(S_ItemFactory.java:69)
at com.googlecode.reunion.jreunion.server.S_DatabaseUtils.getEquipment(S_DatabaseUtils.java:221)
at com.googlecode.reunion.jreunion.server.S_Command.loginChar(S_Command.java:83)
at com.googlecode.reunion.jreunion.server.S_PacketParser.HandleMessage(S_PacketParser.java:150)
at com.googlecode.reunion.jreunion.server.S_PacketParser.Parse(S_PacketParser.java:30)
at com.googlecode.reunion.jreunion.server.S_Network.processInput(S_Network.java:297)
at com.googlecode.reunion.jreunion.server.S_Network.CheckInbound(S_Network.java:153)
at com.googlecode.reunion.jreunion.server.S_Network.Work(S_Network.java:75)
at com.googlecode.reunion.jreunion.server.S_ClassModule.DoWork(S_ClassModule.java:67)
at com.googlecode.reunion.jreunion.server.S_Network.DoWork(S_Network.java:1)
at com.googlecode.reunion.jreunion.server.S_ClassModule.DoWork(S_ClassModule.java:69)
at com.googlecode.reunion.jreunion.server.S_Server.DoWork(S_Server.java:1)
at com.googlecode.reunion.jreunion.server.S_Server.main(S_Server.java:99)

Vielen Dank schonmal :)
 

Marco13

Top Contributor
Ich weiß nicht genau, was du da gebastelt hast... aber viel mehr, als dass er die Klasse "game.G_Sword" von der "S_ItemFactory.loadItem"-Methode in Zeile 69 nicht findet, kann man dazu nicht sagen...
 
L

Littlebeatmaus

Gast
Er hat da nichts gebastelt das ist ein Projekt
Von aidamina für ein Emu Server von dem spiel
Biosfear=laghaim=savageeden=eternalchaos
Wenn du Probleme hast es zum laufen zu bringen
Meld dich dich im googlecode reunion unter Forum
Wo alle draus lernen die sich
mit dem Emu beschäftigen
Und da ist dir auch mehr Hilfe geboten denk ich mal.

Dry fuer die Rechtschreibfehler iPhone tippen ist doof
MfG littlebeatmaus
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
U Problem mit Eclipse - WindowBuilder - memoryLeak? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
B Eclipse Problem mit jar Datei? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Splayfer Problem mit der Eclipse Autovervollständigung... IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
R Eclipse Cursor Problem bei Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
V Eclipse:Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Eclipse Luna SR2 (4.4.2)- Problem bei hinzufügen von Software IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse Eclipse-Problem unter Debian IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
E Eclipse Eclipse building workspace Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
V Eclipse Eclipse Problem beim erstellen einer JAR IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M Eclipse Problem mit Mac und Windows IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
B Eclipse SVN Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
S Problem mit javacc-Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
V Eclipse Galileo und Visual Editor Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 20
G Schon mal dieses Problem bei Eclipse gehabt? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
A Eclipse 3.4 Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
G Eclipse unter Ubuntu --- Problem mit deutschen Buchstaben IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
G eclipse problem beim ausführen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Y Eclipse 3.3 Problem mit Subversive(SVN) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse u. CVS - Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
F Problem mit eclipse formatter, javadoc und generics. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
der JoJo [eclipse]Kommunikations Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
B eclipse problem beim öffnen einer datei absturz IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Problem mit Integer.parseInt bei Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
V Problem mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C Problem mit eclipse 3.2.1 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
D Problem mit Eclipse (throws java.io.I0Exception will nicht) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T Eclipse 3.2 mag mich net (import problem) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
A Eclipse 3.1.2 Refresh Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
O Eclipse Linux Start Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Problem mit Eclipse .deployable- Aktualisierung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Problem mit dem Visual Editor in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
M Eclipse content assist PROBLEM IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Icewind Problem mit Eclipse 3.1 und kompillierung für java 1.4 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
C Problem mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
R screenhandling-problem unter eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
DaRolla Problem: Eclipse Plugins IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Wildcard Eclipse Problem bei Hot Code Replace IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Y Eclipse 3.0 Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
I Eclipse: Debugging-Problem IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
N Debugging-Problem mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
C Eclipse: Problem mit Slime unter Linux IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
H Problem mit dem Debugger von Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
R Eclipse beim Ausführen zur Eingabe in die Konsole springen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
T Eclipse Java Projekt funktioniert in Eclipse, aber nach export kein Dateizugriff IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Eclipse oder IntelliJ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
JonasM Gibt es eine Libary in Eclipse mit der ich Daten per USB an einen Microkontroller Senden kann? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Erstellen einer ausführbaren jar Datei in Eclipse (Linux Mint) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
O Eclipse stürzt beim Autovervollständigen ab IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
C In Eclipse Einrückung im Java-Editor einstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Avalon html ist nicht html in eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A Docker im Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Robertop Eclipse resolved Target-Platform nicht wegen automatischem HTTPS IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C Eclipse englisch, deutsche Kommentare leider rot unterkringelt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse von Java 1.8 auf 17 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S [Eclipse] Zwei verschiedene Konfigurationen erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
A Eclipse Projekt-Umzug mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
D Eclipse Eclipse und OpenGL IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Ausführbares Programm aus Eclipse exportieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
Java00User00 Eclipse Theme IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
F Eclipse für Java 1.8 ARM einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
D Crawler funktioniert in intellij aber in Eclipse nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
F Eclipse - Änderung am Code ohne Applikation Neustart IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
E Hilfe mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Eclipse version control System das ohne Internet funktioniert/nur lokal auf Computer? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
N Eclipse erzeugt plötzlich keine (default package) mehr IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 24
F alle Eclipse Projekte auf git hochladen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
O Java Eclipse Umlaute werden nicht richtig dargestellt in Konsole IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
B .exe Datei für Eclipse Java Programm erstellen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
Eclipse Build path duplication entry IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
B Wie nicht-java Datei mit Eclipse benutzen (Excel Datei einlesen)? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 16
T GlassFish mit Eclipse, Dynamic Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
nbergmann Eclipse Eclipse-Concole: Ergebnis-Zahlenfolge erscheint kurz und verschwindet dann wieder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 21
berserkerdq2 Eclipse Eclipse führt nicht dei Klasse aus, bei der ich bin, muss das immer manuell ändern, was tun? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
MiHimbert Eclipse + Wildfly26 + primefaces11 + openjdk18 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
S Eclipse Umlaute IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
S Fehlermeldung bei Nutzung Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
LimDul IDEA IntelliJ Tipps für den Umstieg von Eclipse auf intelliJ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Robertop Maven Warnung "'version' contains an expression but should be a constant" in Eclipse verstecken IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J Eclipse - kein Server verfügbar zum ausführen meines Java Projektes IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
P PHP Skript wird nicht mit highlights markiert(Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B Eclipse Autovervollständigung zeigt nicht alle Methoden einer Klasse an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse- Zip Datei als Prgramm IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T Eclipse scheint awt Libary nicht zu besitzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
G eclipse mit neuestem JDK einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Cucumber Plugin Installation . Eclipse Warnmeldung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Eclipse CDT Library einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Javac File generieren Eclipse oder IntellJ (JNI) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
sham5 Eclipse-Remote-Debugging von Java mit mehreren Prozessen oder Ports oder Netzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
Eichi1979 Eclipse Fehler in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
Arita wie kann man die automatische erstellte Ordner von Eclipse in D Drive ziehen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
nonickatall paho.client.mqttv3 in Eclipse installieren/einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
A Einbindung von FXML-Dateien in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A JavaFX in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
nonickatall Remote Debugging Eclipse/Raspberry IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
H Outline Fenster (Gliederung) wird mit deutschem Sprachpaket nicht angezeigt, Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M Kann EGit nicht auf Eclipse installieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Tobero Eclipse Eclipse zeigt mir alles als Warnung an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
B Versionen kontrollieren / dokumentieren mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
keinLebenNurCode Eclipse Eclipse: Gelbes Hilfsfenster für Funktionen und Methoden anzeigen lassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2

Ähnliche Java Themen

Neue Themen


Oben