Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Problem compiling TWCore with JCreator LE

 
Post new topic   Reply to topic Printable version
 View previous topic  Silence Bot Post :: Post Custom CTF Bot/MervPlugin (Flag starts...  View next topic  
Author Message
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sat Sep 17, 2005 8:43 pm    Post subject: Problem compiling TWCore with JCreator LE Reply to topic Reply with quote

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:

Code: Show/Hide
--------------------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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sun Sep 18, 2005 12:30 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Sep 18, 2005 12:38 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sun Sep 18, 2005 12:46 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Sep 18, 2005 1:00 am    Post subject: Reply to topic Reply with quote

Yay! Thanks man. It works!!!!!
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Sep 18, 2005 12:55 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
xsp0rtsfanx
Seasoned Helper


Age:36
Gender:Gender:Male
Joined: Dec 27 2004
Posts: 168
Location: California
Offline

PostPosted: Sun Sep 18, 2005 2:41 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Sep 18, 2005 3:22 pm    Post subject: Reply to topic Reply with quote

Contempt, you need to use the OperatorList to check their level.

Code: Show/Hide
if(oplist.isSysop(name))

_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Sun Sep 18, 2005 4:45 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Sep 18, 2005 5:32 pm    Post subject: Reply to topic Reply with quote

You could use nested ifs, like this:

Code: Show/Hide
if(oplist.isMod(name))
{
    //Mod commands
    if(oplist.isSmod(name))
    {
        //Smod commands
        if(oplist.isSysop(name))
        {
            //Sysop commands
        }
    }
}
else
{
    //Player commands
}
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Sep 18, 2005 5:42 pm    Post subject: Reply to topic Reply with quote

I'd rather use
Code: Show/Hide
if (oplist.isSysop(name))
{
    // Sysop commands
}
else if (oplist.isSmod(name))
{
    // SMod commands
}
else if (oplist.isMod(name))
{
    // Moderator commands
}
else
{
    // Player commands
}

Edit: Sorry, I figured you meant you wanted an op to only see his own level's commands.


Last edited by Solo Ace on Sun Sep 18, 2005 5:47 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sun Sep 18, 2005 5:44 pm    Post subject: Reply to topic Reply with quote

D1st0rt wrote:
You could use nested ifs, like this:

Code: Show/Hide
if(oplist.isMod(name))
{
    //Mod commands
    if(oplist.isSmod(name))
    {
        //Smod commands
        if(oplist.isSysop(name))
        {
            //Sysop commands
        }
    }
}
else
{
    //Player commands
}


Wouldn't that require a sysop's name to be on 3 different lists?
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Sep 18, 2005 5:48 pm    Post subject: Reply to topic Reply with quote

Not the way the TWCore oplist is structured, it uses numerical values and does comparisons with >=
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 113 page(s) served in previous 5 minutes.

phpBB Created this page in 0.519764 seconds : 37 queries executed (90.4%): GZIP compression disabled