Server Help

Bot Questions - problem logging in with NEW TWCore

Anonymous - Thu Dec 28, 2006 3:18 pm
Post subject: problem logging in with NEW TWCore
When I run runbots.bat I get this error that just keeps going until i close the .exe



C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)

C:\twcore-0.9>GOTO Start

C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)

C:\twcore-0.9>GOTO Start

C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)

C:\twcore-0.9>GOTO Start

C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)

C:\twcore-0.9>GOTO Start

C:\twcore-0.9>java -Xmx386m -cp twcore.jar;googleapi.jar;mysql-connector-java-3.
1.10-bin.jar twcore.core.Start
Exception in thread "main" java.lang.NoClassDefFoundError: twcore/core/util/Inte
rProcessCommunicator
at twcore.core.CoreData.<init>(CoreData.java:35)
at twcore.core.Start.startHub(Start.java:42)
at twcore.core.Start.main(Start.java:23)

Any idea?

Thanks
Bak - Thu Dec 28, 2006 3:21 pm
Post subject:
looks like it can't find the class "twcore/core/util/InterProcessCommunicator"

do you have the InterProcessCommunicator.class file in the twcore/core/util/ directory?
Anonymous - Thu Dec 28, 2006 3:36 pm
Post subject:
yes icon_sad.gif
Maverick - Thu Dec 28, 2006 5:22 pm
Post subject:
but you haven't compiled it. Try rebuilding the core.
Bak - Thu Dec 28, 2006 5:38 pm
Post subject:
the .class IS the compiled file. The .java file is the uncompiled one.

Out of what directory are you running the .bat file out of (with relation to the .class file's directory)?
D1st0rt - Fri Dec 29, 2006 4:16 am
Post subject:
What is the size of your twcore.jar?

I don't think it can find compiled core classes in their folders
Maverick - Fri Dec 29, 2006 6:47 am
Post subject:
Bak wrote:
the .class IS the compiled file. The .java file is the uncompiled one.
I'm not a moron, Bak.
The NoClassDefFoundError means that java can't find the specified class file(s).
Bak - Fri Dec 29, 2006 10:03 am
Post subject:
Bak wrote:
do you have the InterProcessCommunicator.class file in the twcore/core/util/ directory?
Guest wrote:
yes
Maverick wrote:
but you haven't compiled it.
don't take it so personally


You can extract the .jar file in search of class files using 7zip or "jar x <jarfile>" if you have the jar utility.
Anonymous - Fri Dec 29, 2006 5:42 pm
Post subject:
twcore.jar is 40 KB

the .bat file is in twcore-0.9 and the InterProcessCommunicator.class file is in twcore-0.9\twcore\core\util right where it is looking for it at. I just d/l'ed the precompiled bots and extracted them, then compiled them.
D1st0rt - Sat Dec 30, 2006 6:09 pm
Post subject:
Anonymous wrote:
twcore.jar is 40 KB

That would appear to be your problem right there, it's most likely missing those classes because the size should be in the 160-170KB range. Try either rebuilding or getting the jar from the precompiled distribution.
Anonymous - Sun Dec 31, 2006 10:23 am
Post subject:
Yes I got it to actually build last night, I can't remember what I did to get it to work but its 189 KB now. But now it is giving me wrong password error and I KNOW the password is right. I even tried another username/password (very simple password) and it still gives the same error.
D1st0rt - Sun Dec 31, 2006 2:36 pm
Post subject:
189 is a good size, that's probably with debug information included. I'm going to see if I can recreate that problem because I've had other people tell me about it. I'll be able to start on Tuesday icon_sad.gif
D1st0rt - Thu Jan 04, 2007 8:12 pm
Post subject:
Not to double post or anything but I may have found a solution depending on the cause of your problem. Could you provide some way to be contacted in-game so I can talk to you about it?
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group