- Joined
- Apr 9, 2008
- Messages
- 92
- Reaction score
- 0
Can't compile =/
Edit: I think you just updated it, let me try again.
Edit: I think you just updated it, let me try again.
init:
deps-clean:
Deleting directory C:\Documents and Settings\xxxxxxx\Desktop\Serverbuild\build
clean:
init:
deps-jar:
Created dir: C:\Documents and Settings\James\Desktop\Serverbuild\build\classes
Compiling 311 source files to C:\Documents and Settings\James\Desktop\Serverbuild\build\classes
C:\Documents and Settings\James\Desktop\ZalaMsv2\ZalaMs\ZalaMs\src\net\sf\odinms\client\InternCommandProccessor.java:112: class InternCommandProcessor is public, should be declared in a file named InternCommandProcessor.java
public class InternCommandProcessor implements CommandProcessorMBean {
C:\Documents and Settings\James\Desktop\ZalaMsv2\ZalaMs\ZalaMs\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:14: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
import com.sun.imageio.plugins.png.PNGImageReaderSpi;
C:\Documents and Settings\James\Desktop\ZalaMsv2\ZalaMs\ZalaMs\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:47: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
ImageReaderSpi readerSpi = iioRegistry.getServiceProviderByClass(PNGImageReaderSpi.class);
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
2 warnings
BUILD FAILED (total time: 10 seconds)
Code:init: deps-clean: Deleting directory C:\Documents and Settings\xxxxxxx\Desktop\Serverbuild\build clean: init: deps-jar: Created dir: C:\Documents and Settings\James\Desktop\Serverbuild\build\classes Compiling 311 source files to C:\Documents and Settings\James\Desktop\Serverbuild\build\classes C:\Documents and Settings\James\Desktop\ZalaMsv2\ZalaMs\ZalaMs\src\net\sf\odinms\client\InternCommandProccessor.java:112: class InternCommandProcessor is public, should be declared in a file named InternCommandProcessor.java public class InternCommandProcessor implements CommandProcessorMBean { C:\Documents and Settings\James\Desktop\ZalaMsv2\ZalaMs\ZalaMs\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:14: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release import com.sun.imageio.plugins.png.PNGImageReaderSpi; C:\Documents and Settings\James\Desktop\ZalaMsv2\ZalaMs\ZalaMs\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:47: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release ImageReaderSpi readerSpi = iioRegistry.getServiceProviderByClass(PNGImageReaderSpi.class); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error 2 warnings BUILD FAILED (total time: 10 seconds)
i get a error on this
public class InternCommandProcessor implements CommandProcessorMBean {
return false;
Newton is the first creator of Interns, please add him to your credits.
And add me for my sql script.
mike look at the repack hes using
You have to change the declaration at the top.
public class InternCommandProcessor implements CommandProcessorMBean {
private static InternCommandProcessor instance = new InternCommandProcessor();
private static final Logger log = LoggerFactory.getLogger(GeneralchatHandler.class);
private static List<Pair<MapleCharacter,String>> gmlog = new LinkedList<Pair<MapleCharacter,String>>();
private static Runnable persister;
public class InternCommandProcessor implements CommandProcessorMBean {
private static InternCommandProcessor instance = new InternCommandProcessor();
private InternCommandProcessor() {
// hidden singleton so we can become managable
}
at the top, do you see this?
Code:public class InternCommandProcessor implements CommandProcessorMBean { private static InternCommandProcessor instance = new InternCommandProcessor(); private static final Logger log = LoggerFactory.getLogger(GeneralchatHandler.class); private static List<Pair<MapleCharacter,String>> gmlog = new LinkedList<Pair<MapleCharacter,String>>(); private static Runnable persister;
Make sure:
Code:public class InternCommandProcessor implements CommandProcessorMBean { private static InternCommandProcessor instance = new InternCommandProcessor();
Also, find:
Code:private InternCommandProcessor() { // hidden singleton so we can become managable }
Make sure that matches.
That should be your declaration. Mine builds perfectly![]()
this is basically copy paste of alcove ms's donator island release..
You said write return false; at the bottm below wat?
return false;
THIS IS AN EXAMPLE, IT IS MOST LIKELY NOT IN THE SCRIPT, SEARCH THE BOTTEM OF THE SCRIPT AND FIND SOMETHING GENERALLY LIKE IT.
}
return true;
}
} <--- add "return false;" here (without "")
}
}
}