Killerbot Posted November 5, 2007 Report Posted November 5, 2007 So.. I have this problem when I try to compile my module for Multibot: http://img228.imageshack.us/img228/3124/errorde2.jpg and uhm.. this is what the source looks like (a part):http://img337.imageshack.us/img337/1420/srcnv5.jpg I don't see how this can be wrong.. please help me out Many thanks in advantage, - Killerbot
»D1st0rt Posted November 5, 2007 Report Posted November 5, 2007 That would be because you didnt add the classpath where the MultiModule class is located. There is an ant script that comes with TWCore that makes the build process a lot easier, but if you still want to use javac, I would imagine something along the lines of javac -cp path/to/twcore.jar sniper.java would work, since I believe I changed the jar file to include things like TWBotExtension and MultiModule.
»Maverick Posted November 6, 2007 Report Posted November 6, 2007 What was the problem with TWCore.org's forums?
Killerbot Posted November 6, 2007 Author Report Posted November 6, 2007 (edited) It gave me an error when I tried to post a topic. I tried it logged in as public, and with my own account. And I've had problems setting up Eclipse so that's why I still use javac ;p (http://www.twcore.org/discussion/1/9) It might be slower but it works fine:) - Killlerbot Edited November 6, 2007 by Killerbot
»Maverick Posted November 6, 2007 Report Posted November 6, 2007 (edited) The forum works fine for me, even tested it on a new test account.EDIT: I figured that this might be caused by a bad configuration concerning notification which I fixed last night. Everything should be good now. Eclipse isn't absolutely necessary for that build file, you only need Ant. However, using javac in combination with the twcore.jar as D1st0rt pointed out should work aswell. Edited November 6, 2007 by Maverick
Killerbot Posted November 8, 2007 Author Report Posted November 8, 2007 (edited) I tried to compile with ant bots (installed everything.)still gave me this error cannot find symbol, symbol: MultiModule.classeven though it's there. http://img443.imageshack.us/img443/1334/error2cj0.jpg Edited November 9, 2007 by Killerbot
»D1st0rt Posted November 11, 2007 Report Posted November 11, 2007 Try building the core first then bots again
Recommended Posts