Jump to content
SSForum.net is back!

Recommended Posts

Posted

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 smile.gif

 

Many thanks in advantage,

 

- Killerbot

Retired
Posted

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.

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

Posted (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 by Maverick

Check out your zone population statistics at stats.sshq.net!

 

 

Maverick

Subspace Statistics Administrator

Retired SSCU Trench Wars Super Moderator

TWCore Coordinator Administrator

Posted (edited)

I tried to compile with ant bots (installed everything.)

still gave me this error cannot find symbol, symbol: MultiModule.class

even though it's there.

 

http://img443.imageshack.us/img443/1334/error2cj0.jpg

Edited by Killerbot
Retired
Posted
Try building the core first then bots again

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

Guest
This topic is now closed to further replies.
×
×
  • Create New...