Do you mean ebe12b1? I'm using that one. I'm going to use Crowley for a v13 server. It's stable enough for that right?
EDIT: I've got it to compile by removing those 2 GenericDAO files but I still can't run the jar with "java -cp server.jar net.hybridcore.crowley.Crowley" while I'm in the target folder with cmd. I'm again getting the NoClassDefFoundError. But this time the class it can't find is different I just noticed. It seems to be org.jboss.netty.channel.ChannelException.
Last edited by Near; 06-03-12 at 06:15 PM.
You can copy the contents of target/dependency into your classpath or specifying it at runtime or try
however you may get errors about mapping files.mvn exec:java -Dexec.mainClass="net.hybridcore.crowley.Crowley"
It should be very stable :)
I know what's up with resources i'll fix it in a few minutes
Pushed changes use that maven command to run the server.
Woot, I got it running. Now on to making it v13..
Jordan, I'm trying to work with it, but I don't understand everything. Would you mind answering some of the questions I have on Skype/MSN? If you would like to help me out, please send me a PM with your details as I can't send you a PM.
Last edited by Near; 06-03-12 at 09:46 PM.
What do you mean with that?
I'm actually starting to understand everything! This feels good, haha. On to bed, I'll continue tomorrow!
Last edited by Near; 06-03-12 at 10:24 PM.
Jordan:
View HuI6gN.png on ScreenSnapr
Took an idea on using the hotel view.![]()
Could you give me some information about how the messages work? What are those handlers in the MessageHandler class used for? Could I use the RC4 from the v13 version? Man.. I need to have some help!
Thanks mate, I'm understanding more and more.
How would I start a new thread to start the PingCheckListener? Just by doing new Thread()? Because you're using Netty I'm not sure.
Last edited by Near; 09-03-12 at 01:01 PM.
Add something like to SessionManager (change it to extend Runnable):
And this to GameSession:PHP Code:private boolean pongThread;
public void run() {
pongThread = true;
while (pongThread) {
for (GameSession gameSession : this.habbos.values()) {
if (gameSession.hasPonged()) {
// ponged
} else {
// not replied to pong d/c
}
}
}
}
Then you can just "Crowley.getHabbo().getSessions().start()"PHP Code:private boolean ponged;
public boolean hasPonged() {
return ponged;
}
public void setPonged(boolean ponged) {
this.ponged = ponged;
}
Thanks, seem to have implemented that. But, where would I put the thread start?
Also, I can't even get the server to get to the register screen.. Those packets are f*ckn me over...PHP Code:Thread thread = new Thread(Crowley.getHabbo().getSessions());
thread.start();
You just need to call tge function I mentioned above as it extends Runnable.