DragonetMC / Dragonet-Legacy

Old version of the Dragonet Server Software.
http://dragonet.org/
Other
101 stars 28 forks source link

Raknet #100

Closed RazvanDu closed 8 years ago

RazvanDu commented 8 years ago

You could change some of the functions in the jraklib library to make it more tailored for your project which would result in a better performance.

DefinitlyEvil commented 8 years ago

Such as?

RazvanDu commented 8 years ago

I'll make a PR as soon as I manage to import the project lol

RazvanDu commented 8 years ago

Btw, I found another issue, the client crashes every once in a while.

DefinitlyEvil commented 8 years ago
  1. Thanks.
  2. That problem didn't happened to me using iPhone 4s.
RazvanDu commented 8 years ago
  1. I've had the issue when I was working on my server and I'm pretty sure it's the raklib not splitting the packets corretly, I'll also fix that.
  2. I still can't get the project imported ;c
DefinitlyEvil commented 8 years ago

First you have to clone this repo with its submodules. Then you need NetBeans, just open this repo as a Maven project. No need further changes. Before build you have to build the dependencies in GlowstonePlusPlus folder (i.e. Bukkit API).

RazvanDu commented 8 years ago

Meh, too late, I've already figured it out like 30mins ago, lol, btw I'm using InteliiJ not NetBeans

RazvanDu commented 8 years ago

I've rewritten a huge chunk of the raknet library already, lol.

DefinitlyEvil commented 8 years ago

@SenanYT I used @MagicDroidX 's port of RakLib it works incredibly nice!

alejzeis commented 8 years ago

Yeah sorry I couldnt help, I'm really busy.

DefinitlyEvil commented 8 years ago

@jython234 Okay, dude. xD

RazvanDu commented 8 years ago

I know what library you've used, it's actually very similar to jython's raknet library, just slightly differnet lol

DefinitlyEvil commented 8 years ago

@SenanYT They are all ported from PocketMine's work.

RazvanDu commented 8 years ago

@DefinitlyEvil Yea, I know.

RazvanDu commented 8 years ago

I'm getting a ton of errors of already loaded chunks trying to be loaded when a PE player joins, have I caused that or is it a known thing?

RazvanDu commented 8 years ago

I've made a pullrequest which removed a ton of bulk from the raklib which in my opinion is completly useless, keep in mind it still needs some testing and tweaking!

RazvanDu commented 8 years ago

Nvm the pull request I've made although the performance is better I don't think it would work well with huge amounts of players, anyways, I would like to contribute to the project as much as I can from now on.

RazvanDu commented 8 years ago

Actually I think it won't make a difference for huge amounts of players.

DefinitlyEvil commented 8 years ago

Probably. xD

DefinitlyEvil commented 8 years ago

I guess this issue can be closed now?