 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Sat Sep 17, 2005 8:43 pm Post subject: Problem compiling TWCore with JCreator LE |
 |
|
|
|
This is really, really pissing me off. I went to D1st0rt's website, and followed what it says to make a basic TW bot. So I made that, compiled it, and it gave me no errors. Once I started to add more commands to it, it starts giving me these errors:
--------------------Configuration: j2sdk1.4.2_09 <Default>--------------------
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:4: package twcore.core does not exist
import twcore.core.*;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:8: cannot resolve symbol
symbol : class SubspaceBot
location: class twcore.bots.mybot.mybot
public class mybot extends SubspaceBot
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:11: cannot resolve symbol
symbol : class EventRequester
location: class twcore.bots.mybot.mybot
private EventRequester events;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:13: cannot resolve symbol
symbol : class CommandInterpreter
location: class twcore.bots.mybot.mybot
private CommandInterpreter cmds;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:15: cannot resolve symbol
symbol : class OperatorList
location: class twcore.bots.mybot.mybot
private OperatorList oplist;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:17: cannot resolve symbol
symbol : class BotSettings
location: class twcore.bots.mybot.mybot
BotSettings m_botSettings;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:21: cannot resolve symbol
symbol : class BotAction
location: class twcore.bots.mybot.mybot
public mybot(BotAction botAction)
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:43: cannot resolve symbol
symbol : class LoggedOn
location: class twcore.bots.mybot.mybot
public void handleEvent(LoggedOn event)
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:59: cannot resolve symbol
symbol : class PlayerEntered
location: class twcore.bots.mybot.mybot
public void handleEvent(PlayerEntered event)
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:82: cannot resolve symbol
symbol : class Message
location: class twcore.bots.mybot.mybot
public void handleEvent(Message event)
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:26: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction = botAction;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:27: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botSettings = m_botAction.getBotSettings();
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:29: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
events = m_botAction.getEventRequester();
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:31: cannot resolve symbol
symbol : variable EventRequester
location: class twcore.bots.mybot.mybot
events.request(EventRequester.PLAYER_ENTERED);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:33: cannot resolve symbol
symbol : variable EventRequester
location: class twcore.bots.mybot.mybot
events.request(EventRequester.MESSAGE);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:35: cannot resolve symbol
symbol : class CommandInterpreter
location: class twcore.bots.mybot.mybot
cmds = new CommandInterpreter(m_botAction);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:35: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
cmds = new CommandInterpreter(m_botAction);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:37: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
oplist = m_botAction.getOperatorList();
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:46: cannot resolve symbol
symbol : class BotSettings
location: class twcore.bots.mybot.mybot
BotSettings config = m_botAction.getBotSettings();
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:46: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
BotSettings config = m_botAction.getBotSettings();
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:49: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.joinArena(initial);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:54: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendUnfilteredPublicMessage( login + " " + bpass );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:56: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendUnfilteredPublicMessage("?chat=" + chat);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:57: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendChatMessage("I have logged in using chat(s): " + chat);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:70: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, line);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:77: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "Welcome to the SSE HQ Zone. Please type :SSE-HQ:!help for more information.");
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:92: cannot resolve symbol
symbol : variable Message
location: class twcore.bots.mybot.mybot
int ok = Message.PRIVATE_MESSAGE | Message.PUBLIC_MESSAGE | Message.TEAM_MESSAGE | Message.OPPOSING_TEAM_MESSAGE | Message. REMOTE_PRIVATE_MESSAGE;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:92: cannot resolve symbol
symbol : variable Message
location: class twcore.bots.mybot.mybot
int ok = Message.PRIVATE_MESSAGE | Message.PUBLIC_MESSAGE | Message.TEAM_MESSAGE | Message.OPPOSING_TEAM_MESSAGE | Message. REMOTE_PRIVATE_MESSAGE;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:92: cannot resolve symbol
symbol : variable Message
location: class twcore.bots.mybot.mybot
int ok = Message.PRIVATE_MESSAGE | Message.PUBLIC_MESSAGE | Message.TEAM_MESSAGE | Message.OPPOSING_TEAM_MESSAGE | Message. REMOTE_PRIVATE_MESSAGE;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:92: cannot resolve symbol
symbol : variable Message
location: class twcore.bots.mybot.mybot
int ok = Message.PRIVATE_MESSAGE | Message.PUBLIC_MESSAGE | Message.TEAM_MESSAGE | Message.OPPOSING_TEAM_MESSAGE | Message. REMOTE_PRIVATE_MESSAGE;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:92: cannot resolve symbol
symbol : variable Message
location: class twcore.bots.mybot.mybot
int ok = Message.PRIVATE_MESSAGE | Message.PUBLIC_MESSAGE | Message.TEAM_MESSAGE | Message.OPPOSING_TEAM_MESSAGE | Message. REMOTE_PRIVATE_MESSAGE;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:92: incompatible types
found : boolean
required: int
int ok = Message.PRIVATE_MESSAGE | Message.PUBLIC_MESSAGE | Message.TEAM_MESSAGE | Message.OPPOSING_TEAM_MESSAGE | Message. REMOTE_PRIVATE_MESSAGE;
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:140: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.privateMessageSpam(name,help);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:143: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:144: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "|--------------- SysOp Command List ----------------|" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:145: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !shutdown - Shuts down the bot |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:146: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !errorlist - Sends a list of errors |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:147: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !errorclear - Clears the error log |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:148: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !changelog - Sends a list of changes to bot |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:149: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !info - Sends bot information |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:150: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !chat - Sets the bots chat channels |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:151: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "|---------------------------------------------------|" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:154: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:155: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "|----------------- Smod Command List ----------------|" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:156: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !go (arena) - Makes the bot go to an arena |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:157: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !addgreet <msg> - Adds or changes greet message |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:158: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !greet - Displays current greeting |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:159: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| message |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:160: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !givenews - Sends news.txt in an arena |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:161: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| message |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:162: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !setnews - Changes the news in news.txt |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:163: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| Limited Characters |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:164: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !zone <msg> - Sends a zone-wide message |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:165: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "|----------------------------------------------------|" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:168: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:169: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "|---------------- Mod Command List ------------------|" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:170: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !ban <name> - Bans a player for days set in |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:171: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| the config file |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:172: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !say <say> - Makes the bot say something |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:173: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !kill <name> - Kicks a player from the zone |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:174: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !spec <name> - Puts a player into spectate mode |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:175: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !stfu <name> - Silence's a player |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:176: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "| !arena <msg> - Sends an arena-wide message |" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:177: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "|----------------------------------------------------|" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:186: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "Bye!" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:188: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.die();
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:196: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.changeArena(msg);
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:197: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendRemotePrivateMessage( name, "Going to " + msg + " arena " );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:198: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "Going to " + msg + "arena " );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:202: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "SSE HQ Bot Core v1.0 Contempt+ [contempt@ssihosting.com]" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:206: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "xXx! Unf! Unf! Unf! That's it!" );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:218: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, line );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:225: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "Error reading staff.txt, please try again later." );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:226: cannot resolve symbol
symbol : variable Tools
location: class twcore.bots.mybot.mybot
Tools.printStackTrace( "Error reading staff.txt", e );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:233: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendUnfilteredPublicMessage( "?ban " + "-d=" + bandays + " " + msg );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:234: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "I have banned " + msg + " for " + bandays + " day(s). Contact a level 3 operator or higher to get it removed." );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:235: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendChatMessage( name + " has banned " + msg + " for " + bandays + " days." );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:240: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPublicMessage( msg );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:256: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "Error report sent. Thank you for your help." );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:260: cannot resolve symbol
symbol : variable Tools
location: class twcore.bots.mybot.mybot
Tools.printStackTrace( e );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:261: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "Could not send error report." );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:275: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, line );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:282: cannot resolve symbol
symbol : variable m_botAction
location: class twcore.bots.mybot.mybot
m_botAction.sendPrivateMessage( name, "No errors reported." );
^
C:\Documents and Settings\Admin\Desktop\twcore-0.89\twcore\bots\mybot\mybot.java:283: cannot resolve symbol
symbol : variable Tools
location: class twcore.bots.mybot.mybot
Tools.printStackTrace( "Error reading errors.txt", e );
^
84 errors
Process completed. |
Now, the first error says that the package twcore.core.*; could not be found. When I compiled it earlier, I had "import twcore.core.*;" and it didn't give me any errors.
Does anyone have any freaking idea what's going on? _________________ SSE Network Administrator |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:42 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Sun Sep 18, 2005 12:30 am Post subject: |
 |
|
|
|
Your classpaths are fucked, and the 'SubspaceBot' class cannot be found.
Go to Project -> Properties -> Required Libraries and add the root folder where the twcore is installed. _________________ There are 7 user(s) ignoring me right now. |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Sun Sep 18, 2005 12:38 am Post subject: |
 |
|
|
|
Cerium wrote: | Your classpaths are fucked, and the 'SubspaceBot' class cannot be found.
Go to Project -> Properties -> Required Libraries and add the root folder where the twcore is installed. | Umm, what program are you talking about? Cause I have JCreator LE, and I looked around and didn't find 'Required Libraries'.
Anymore help? |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:42 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Sun Sep 18, 2005 12:46 am Post subject: |
 |
|
|
|
Well, since were talking about JCreator, I gave you directions for JCreator.
Look on your menu bar, click Project
In the project menu, click Properties
In the properties window, click Required Library
Add the root folder where youve got the TWCore installed.
I cant make it any clearer than that. |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Sun Sep 18, 2005 1:00 am Post subject: |
 |
|
|
|
Yay! Thanks man. It works!!!!! |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Sun Sep 18, 2005 12:55 pm Post subject: |
 |
|
|
|
Ok, now I've got a question.
When a player types !help to it, it gives them the player commands only, which is what I want. But when a SysOp types !help to it, it gives it the player commands, as well as the Operator commands.
Is there a way to get it so that it doesn't show the player commands for the operators? |
|
Back to top |
|
 |
xsp0rtsfanx Seasoned Helper

Age:36 Gender: Joined: Dec 27 2004 Posts: 168 Location: California Offline
|
Posted: Sun Sep 18, 2005 2:41 pm Post subject: |
 |
|
|
|
i dont think thats possible. you'll see the player commands regardless since you're a higher up to them it'll just organize it so it says what your highest possible commands are. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sun Sep 18, 2005 3:22 pm Post subject: |
 |
|
|
|
Contempt, you need to use the OperatorList to check their level.
_________________
 |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Sun Sep 18, 2005 4:45 pm Post subject: |
 |
|
|
|
I've got that, and when a mod does !help, it shows just the player and mod commands. When a Smod does !help, it shows Player, Smod, and Mod commands. And when a Sysop does !help, it shows all.
I was wondering if you could get it so that the operators don't see the player commands. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sun Sep 18, 2005 5:48 pm Post subject: |
 |
|
|
|
Not the way the TWCore oplist is structured, it uses numerical values and does comparisons with >= |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 113 page(s) served in previous 5 minutes.
|