|
|
@ -13,6 +13,7 @@ package engine.net.client.handlers; |
|
|
|
import engine.exception.MsgSendException; |
|
|
|
import engine.exception.MsgSendException; |
|
|
|
import engine.gameManager.ChatManager; |
|
|
|
import engine.gameManager.ChatManager; |
|
|
|
import engine.gameManager.DbManager; |
|
|
|
import engine.gameManager.DbManager; |
|
|
|
|
|
|
|
import engine.loot.WorkOrder; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.mbEnums.GameObjectType; |
|
|
|
import engine.mbEnums.GameObjectType; |
|
|
|
import engine.mbEnums.ItemType; |
|
|
|
import engine.mbEnums.ItemType; |
|
|
@ -75,6 +76,10 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
if (msg.unknown03 != 0 && msg.pToken == 0 && msg.sToken == 0) |
|
|
|
if (msg.unknown03 != 0 && msg.pToken == 0 && msg.sToken == 0) |
|
|
|
isRandom = true; |
|
|
|
isRandom = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Create new work order
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WorkOrder workOrder = new WorkOrder(); |
|
|
|
|
|
|
|
|
|
|
|
//Create Multiple Item Function.. Fill all empty slots
|
|
|
|
//Create Multiple Item Function.. Fill all empty slots
|
|
|
|
|
|
|
|
|
|
|
|
if (msg.size > 0) { |
|
|
|
if (msg.size > 0) { |
|
|
|