Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Mongo seems to connect faster, a lot faster. Gonna run a few benchmarks at home with queries and stuff. Will work on messages as well.
This will be fun :D
Posted via Mobile Device
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Good luck with this!
Looking forward to seeing what becomes of it.
Will
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Livar offered to code a cms for this ^^
When I do get home, I'm working on a cms for another project. Will update this though (probably more network stuff and MySQL stuff will be done)
Posted via Mobile Device
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Quote:
Originally Posted by
Caustik
Mongo seems to connect faster, a lot faster. Gonna run a few benchmarks at home with queries and stuff. Will work on messages as well.
This will be fun :D
Posted via Mobile Device
There has been loads of benchmarks for the Mongo driver.
It has been proving to be faster.
But it has also been proven to be highly unstable at times.
Also not a lot of people use Mongo so it may be unique!
Goodluck Adil.
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Quote:
Originally Posted by
Zak©
There has been loads of benchmarks for the Mongo driver.
It has been proving to be faster.
But it has also been proven to be highly unstable at times.
Also not a lot of people use Mongo so it may be unique!
Goodluck Adil.
Thanks Zak :D
MySQL does look like the choice here, cause I ran another small benchmark and it only came out ~150ms slower than Mongo.
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Quote:
Originally Posted by
Caustik
Livar offered to code a cms for this ^^
When I do get home, I'm working on a cms for another project. Will update this though (probably more network stuff and MySQL stuff will be done)
Posted via Mobile Device
Yeah, good-luck with this Adil. :thumbup:
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Just adding some bits to the Encoder.java class, will do Decoder tomorrow or today (depends if I can be bothered).
Decoder will be using Netty's frameDecoder, of course.
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Quote:
Originally Posted by
Caustik
Just adding some bits to the Encoder.java class, will do Decoder tomorrow or today (depends if I can be bothered).
Decoder will be using Netty's frameDecoder, of course.
Sorry but, this is basically all you need..?
Code:
package indigo.network;
import indigo.communication.messages.ServerMessage;
import java.nio.charset.Charset;
import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.Channels;
import org.jboss.netty.channel.MessageEvent;
import org.jboss.netty.channel.SimpleChannelHandler;
public class NetworkEncoder extends SimpleChannelHandler {
@Override
public void writeRequested(ChannelHandlerContext ctx, MessageEvent e) {
try {
if (e.getMessage() instanceof String)
{
Channels.write(ctx, e.getFuture(), ChannelBuffers.copiedBuffer((String) e.getMessage(), Charset.forName("UTF-8")));
}
else
{
ServerMessage msg = (ServerMessage) e.getMessage();
Channels.write(ctx, e.getFuture(), msg.get());
}
}
catch (Exception ex) {
Logging.writeLine("Error occrured in the 'NetworkDecoder' + ex);
}
}
}
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Development might slow down for a bit, working on a web framework for cms's and stuff.
I'll update though.
(Integrating DataNucleus (persistence))
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Been working on a web framework, finding the realm of habbo a bit 'confusing' :S
Anyway,
http://i.imgur.com/tQQNi.png
(paint is open cause I tried making my own logo.)
Posted via Mobile Device
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Really really really hate that design... :(
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Quote:
Originally Posted by
Caustik
Been working on a web framework, finding the realm of habbo a bit 'confusing' :S
Anyway,
http://i.imgur.com/tQQNi.png
(paint is open cause I tried making my own logo.)
Posted via Mobile Device
Isn't this a v1 server? :D
Re: jEMU - jokerEMU [v1][Java][Netty & BoneCP]
Quote:
Originally Posted by
PowahAlert
Isn't this a v1 server? :D
Went a bit overboard... I know V1 is just a layout, but meh :blush: