[RELEASE] GM Interns

Status
Not open for further replies.
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)
 
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)

You have to change the declaration at the top.

i get a error on this
public class InternCommandProcessor implements CommandProcessorMBean {

I used to have that, add a return statement to the bottem
Code:
return false;
 
Newton is the first creator of Interns, please add him to your credits.

And add me for my sql script.

Candy gave me the SQL script, thats where I PERSONALLY got it from, so im giving him credits for giving it to me.

I didnt use any of newtons scripts, neither did he take this very far. This is my own coding, so no credits to him are needed.

mike look at the repack hes using

Hes using a Fail Pack! >:O NOOB MUST DIE!
 
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 o.O
 
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 o.O

I still get the same error. Everything is fine and I followed every instruction. Also you repeated "MapleClient.java" 2 times in your instructions
 
this is basically copy paste of alcove ms's donator island release..

Considering:

1. I dont USE donators on my server
2. Ive never even see "donator island" release

That would make it pretty hard for me to copy n paste....but y'know, whatever floats your boat buddy?

I told you, i wrote all this up myself, and found out where to put it all myself, i copy n pasted from NOWHERE and i used NOBODYs guides.

You said write return false; at the bottm below wat?

Idk in net beans, but if u use eclipse:

Hold your mouse over the error spot (the line with the error), and it will show "add return statement" or something. Click that, and change it to:
Code:
return false;

If it is not already. Otherwise, look at the bottem by the other return statements, add it down there in a bracket below the last 1. i.e.
Code:
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 "")
}
} 
}

But like i said, eclipse method = hella easier.
 
MapleClient.java

Under:

Code:

public boolean isGM() {
return gm;
}

Add:

Code:

public boolean isIntern() {
return Intern;
}


In MapleClient.java:


You miss-wrote your damn release. You never stated anything about MapleCharacter.java
 
Status
Not open for further replies.
Back