Most visitors online was 8830 , on 6 Feb 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!@ chusski02
Try other "XC"
Try thisYou must be registered to see links
if (this.itemExchangeSourceT != null) {
int defaultWorkTime = 600000; // ToClient_getNpcWorkingBaseTime()
if (npcWorker.getNpcWork().getWorkType() == ENpcWorkingType.PlantRentHouse
|| npcWorker.getNpcWork().getWorkType() == ENpcWorkingType.PlantRentHouseLargeCraft)
defaultWorkTime = 300000; // ToClient_getNpcWorkingBaseTimeForHouse()
double workSpeed = npcWorker.getWorkerSpeed() + 50;
int workVolume = itemExchangeSourceT.getCraftingTime() / 1000;
double totalWorkTime = Math.ceil(workVolume / workSpeed) * (defaultWorkTime / 1000); // + distance [404] / (worker.getMovementSpeed() / 100) * 2;
if (Double.isNaN(totalWorkTime) || Double.isInfinite(totalWorkTime))
totalWorkTime = 60;
if (System.currentTimeMillis() / 1000 < npcWorker.getStartTime() + totalWorkTime) {
if (player != null) {
log.warn("Player {} tried to potentially skip worker time.", player.getName());
log.warn("[{}] Character={}, Speed={}, TotalWorkTime={}, Remaining={}, WorkStartTime={} CraftKey={}",
player.getName(),
npcWorker.getCharacterKey(),
workSpeed,
totalWorkTime,
(npcWorker.getStartTime() + totalWorkTime - System.currentTimeMillis() / 1000),
npcWorker.getStartTime(),
itemExchangeSourceT.getIndex());
player.sendPacketNoFlush(new SMNak(EStringTable.eErrNoCantSecurityModule, CMQuickCompleteNpcWork.class));
player.sendPacket(new SMSetGameTime());
}
491 is the current most stable public release of BDO emu.Well, I could offer a great knowledge about server programming, but I need a stable version to get into the overall structure of the client, extracting opcodes and such.
I have not tracked the progression of which revision is currently validated and running properly / perfect, so I had no clue that 491 was abandoned after all, despite having read half of this thread.
@Kraikkonen11 is the r.795 currently working as it should, or did you tweaked yours?