Jump to content
  • 0
Sign in to follow this  
shershah1

Compiling error

Question

Anybody knows how i can fix these errors?

[QUOTE]
src\com\rs\net\Session.java:42: error: cannot find symbol
public final ChannelFuture write(ChannelBuffer outStream) {
^
symbol: class ChannelBuffer
location: class Session
src\com\rs\net\Session.java:42: error: cannot find symbol
public final ChannelFuture write(ChannelBuffer outStream) {
^
symbol: class ChannelFuture
location: class Session
src\com\rs\net\Session.java:53: error: cannot find symbol
public final Channel getChannel() {
^
symbol: class Channel
location: class Session
src\com\rs\net\encoders\LoginPacketsEncoder.java:6: error: package org.jboss.net
ty.channel does not exist
import org.jboss.netty.channel.ChannelFuture;
^
src\com\rs\net\encoders\LoginPacketsEncoder.java:7: error: package org.jboss.net
ty.channel does not exist
import org.jboss.netty.channel.ChannelFutureListener;
^
src\com\rs\net\encoders\GrabPacketsEncoder.java:7: error: package org.jboss.nett
y.buffer does not exist
import org.jboss.netty.buffer.ChannelBuffer;
^
src\com\rs\net\encoders\GrabPacketsEncoder.java:8: error: package org.jboss.nett
y.buffer does not exist
import org.jboss.netty.buffer.ChannelBuffers;
^
src\com\rs\net\encoders\GrabPacketsEncoder.java:9: error: package org.jboss.nett
y.channel does not exist
import org.jboss.netty.channel.ChannelFuture;
^
src\com\rs\net\encoders\GrabPacketsEncoder.java:10: error: package org.jboss.net
ty.channel does not exist
import org.jboss.netty.channel.ChannelFutureListener;
^
src\com\rs\net\encoders\GrabPacketsEncoder.java:56: error: cannot find symbol
public final ChannelBuffer getArchivePacketData(int indexId, int archiveId,
^
symbol: class ChannelBuffer
location: class GrabPacketsEncoder
src\com\rs\net\ServerChannelHandler.java:8: error: package org.jboss.netty.boots
trap does not exist
import org.jboss.netty.bootstrap.ServerBootstrap;
^
src\com\rs\net\ServerChannelHandler.java:9: error: package org.jboss.netty.buffe
r does not exist
import org.jboss.netty.buffer.ChannelBuffer;
^
src\com\rs\net\ServerChannelHandler.java:10: error: package org.jboss.netty.chan
nel does not exist
import org.jboss.netty.channel.*;
^
src\com\rs\net\ServerChannelHandler.java:11: error: package org.jboss.netty.chan
nel.group does not exist
import org.jboss.netty.channel.group.ChannelGroup;
^
src\com\rs\net\ServerChannelHandler.java:12: error: package org.jboss.netty.chan
nel.group does not exist
import org.jboss.netty.channel.group.DefaultChannelGroup;
^
src\com\rs\net\ServerChannelHandler.java:13: error: package org.jboss.netty.chan
nel.socket.nio does not exist
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
^
src\com\rs\net\ServerChannelHandler.java:17: error: cannot find symbol
public final class ServerChannelHandler extends SimpleChannelHandler {
^
symbol: class SimpleChannelHandler
src\com\rs\net\ServerChannelHandler.java:19: error: cannot find symbol
private static ChannelGroup channels;
^
symbol: class ChannelGroup
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:20: error: cannot find symbol
private static ServerBootstrap bootstrap;
^
symbol: class ServerBootstrap
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:48: error: cannot find symbol
public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) {
^
symbol: class ChannelHandlerContext
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:48: error: cannot find symbol
public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) {
^
symbol: class ChannelStateEvent
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:53: error: cannot find symbol
public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) {
^
symbol: class ChannelHandlerContext
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:53: error: cannot find symbol
public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) {
^
symbol: class ChannelStateEvent
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:58: error: cannot find symbol
public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)
{
^
symbol: class ChannelHandlerContext
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:58: error: cannot find symbol
public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)
{
^
symbol: class ChannelStateEvent
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:63: error: cannot find symbol
public void channelDisconnected(ChannelHandlerContext ctx,
^
symbol: class ChannelHandlerContext
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:64: error: cannot find symbol
ChannelStateEvent e) {
^
symbol: class ChannelStateEvent
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:76: error: cannot find symbol
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {
^
symbol: class ChannelHandlerContext
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:76: error: cannot find symbol
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {
^
symbol: class MessageEvent
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:101: error: cannot find symbol
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent ee)
^
symbol: class ChannelHandlerContext
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:101: error: cannot find symbol
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent ee)
^
symbol: class ExceptionEvent
location: class ServerChannelHandler
src\com\rs\Launcher.java:182: error: cannot find symbol
for (Index index : Cache.STORE.getIndexes())
^
symbol: class Index
location: class Launcher
src\com\rs\cache\Cache.java:20: error: cannot find symbol
STORE = new Store(Settings.CACHE_PATH);
^
symbol: class Store
location: class Cache
src\com\rs\cache\Cache.java:24: error: cannot find symbol
OutputStream stream = new OutputStream();
^
symbol: class OutputStream
location: class Cache
src\com\rs\cache\Cache.java:24: error: cannot find symbol
OutputStream stream = new OutputStream();
^
symbol: class OutputStream
location: class Cache
src\com\rs\cache\Cache.java:40: error: cannot find symbol
OutputStream hashStream = new OutputStream(65);
^
symbol: class OutputStream
location: class Cache
src\com\rs\cache\Cache.java:40: error: cannot find symbol
OutputStream hashStream = new OutputStream(65);
^
symbol: class OutputStream
location: class Cache
src\com\rs\cache\Cache.java:42: error: cannot find symbol
hashStream.writeBytes(Whirlpool.getHash(archive, 0, archive.length));
^
symbol: variable Whirlpool
location: class Cache
src\com\rs\cache\loaders\ItemDefinitions.java:123: error: cannot find symbol
byte[] data = Cache.STORE.getIndexes()[Constants.ITEM_DEFINITIONS_INDEX]
.getFile(getArchiveId(), getFileId());
^
symbol: variable Constants
location: class ItemDefinitions
src\com\rs\net\Session.java:33: error: cannot find symbol
ChannelBuffer buffer = ChannelBuffers.copiedBuffer(
^
symbol: class ChannelBuffer
location: class Session
src\com\rs\net\Session.java:33: error: cannot find symbol
ChannelBuffer buffer = ChannelBuffers.copiedBuffer(
^
symbol: variable ChannelBuffers
location: class Session
src\com\rs\net\encoders\WorldPacketsEncoder.java:1109: error: cannot find symbol

ChannelFuture future = session.write(stream);
^
symbol: class ChannelFuture
location: class WorldPacketsEncoder
src\com\rs\net\encoders\WorldPacketsEncoder.java:1111: error: cannot find symbol

future.addListener(ChannelFutureListener.CLOSE);
^
symbol: variable ChannelFutureListener
location: class WorldPacketsEncoder
src\com\rs\net\encoders\LoginPacketsEncoder.java:24: error: cannot find symbol
ChannelFuture future = session.write(stream);
^
symbol: class ChannelFuture
location: class LoginPacketsEncoder
src\com\rs\net\encoders\LoginPacketsEncoder.java:26: error: cannot find symbol
future.addListener(ChannelFutureListener.CLOSE);
^
symbol: variable ChannelFutureListener
location: class LoginPacketsEncoder
src\com\rs\net\encoders\GrabPacketsEncoder.java:31: error: cannot find symbol
ChannelFuture future = session.write(stream);
^
symbol: class ChannelFuture
location: class GrabPacketsEncoder
src\com\rs\net\encoders\GrabPacketsEncoder.java:33: error: cannot find symbol
future.addListener(ChannelFutureListener.CLOSE);
^
symbol: variable ChannelFutureListener
location: class GrabPacketsEncoder
src\com\rs\net\encoders\GrabPacketsEncoder.java:69: error: cannot find symbol
ChannelBuffer buffer = ChannelBuffers.dynamicBuffer();
^
symbol: class ChannelBuffer
location: class GrabPacketsEncoder
src\com\rs\net\encoders\GrabPacketsEncoder.java:69: error: cannot find symbol
ChannelBuffer buffer = ChannelBuffers.dynamicBuffer();
^
symbol: variable ChannelBuffers
location: class GrabPacketsEncoder
src\com\rs\net\ServerChannelHandler.java:34: error: cannot find symbol
channels = new DefaultChannelGroup();
^
symbol: class DefaultChannelGroup
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:35: error: cannot find symbol
bootstrap = new ServerBootstrap(new NioServerSocketChannelFactory(
^
symbol: class ServerBootstrap
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:35: error: cannot find symbol
bootstrap = new ServerBootstrap(new NioServerSocketChannelFactory(
^
symbol: class NioServerSocketChannelFactory
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:47: error: method does not override or
implement a method from a supertype
@Override
^
src\com\rs\net\ServerChannelHandler.java:52: error: method does not override or
implement a method from a supertype
@Override
^
src\com\rs\net\ServerChannelHandler.java:57: error: method does not override or
implement a method from a supertype
@Override
^
src\com\rs\net\ServerChannelHandler.java:62: error: method does not override or
implement a method from a supertype
@Override
^
src\com\rs\net\ServerChannelHandler.java:77: error: cannot find symbol
if (!(e.getMessage() instanceof ChannelBuffer))
^
symbol: class ChannelBuffer
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:84: error: cannot find symbol
ChannelBuffer buf = (ChannelBuffer) e.getMessage();
^
symbol: class ChannelBuffer
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:84: error: cannot find symbol
ChannelBuffer buf = (ChannelBuffer) e.getMessage();
^
symbol: class ChannelBuffer
location: class ServerChannelHandler
src\com\rs\net\ServerChannelHandler.java:75: error: method does not override or
implement a method from a supertype
@Override
^
src\com\rs\net\ServerChannelHandler.java:100: error: method does not override or
implement a method from a supertype
@Override
^
src\com\rs\game\player\content\Commands.java:31: error: package org.Vote does no
t exist
import org.Vote.VoteReward;
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
78 errors
Compiled.
Druk op een toets om door te gaan. . .
[/QUOTE]

Any responses greatly appriciated.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
[quote name='shershah1']Anybody knows how i can fix these errors?



Any responses greatly appriciated.[/QUOTE]

Remove all that vote crap and try a better one. The one you copied was only half the code needed. OR just simply remove al the vote stuff cuz it looks like ur missing a few files.

Share this post


Link to post
Share on other sites
  • 0
Deleted the vote, and still got 77 errors.

Share this post


Link to post
Share on other sites
  • 0
[quote name='shershah1']Deleted the vote, and still got 77 errors.[/QUOTE]

You just typed something wrong in the files that cannot connect to the other file.
I got it sometimes on my 667 RSPS.
Do you have a backup of your files that you used?

Share this post


Link to post
Share on other sites
  • 0
[quote name='shershah1']Deleted the vote, and still got 77 errors.[/QUOTE]

This is when you should think about using an IDE, it'll make your coding life so much easier :)

Share this post


Link to post
Share on other sites
  • 0
[quote name='OblivionRSPS']You just typed something wrong in the files that cannot connect to the other file.
I got it sometimes on my 667 RSPS.
Do you have a backup of your files that you used?[/QUOTE]

Please add me on skype for these errors:
my name syclonepk

Share this post


Link to post
Share on other sites
  • 0
[quote name='shershah1']Please add me on skype for these errors:
my name syclonepk[/QUOTE]

I added you.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×