New Packets!
I was thinking about the new login reward system and was trying to figure out how in the world they would add that with the existing packets, since the packetIds didnt change. Well i just double checked and there are 3 new packets.
They sort of hid these packets instead of putting them with the rest, not sure of the reason for that since it takes 2 seconds to find out where they are are.
Im not too familiar with the protocol for these yet as i havent logged in to play with them. From what i can gather you send the QUEST_ROOM_MSG packet (which is blank) to get the LOGIN_REWARD_MSG packet when you talk to the npc, then you send back the CLAIM_LOGIN_REWARD_MSG packet to claim the item. Though im not sure what the claimKey is yet.
- CLAIM_LOGIN_REWARD_MSG
- LOGIN_REWARD_MSG
- QUEST_ROOM_MSG
They sort of hid these packets instead of putting them with the rest, not sure of the reason for that since it takes 2 seconds to find out where they are are.
CLAIM_LOGIN_REWARD_MSG
Code:
package kabam****tmg.dailyLogin.message
{
import flash.utils.IDataOutput;
import kabam****tmg.messaging.impl.outgoing.OutgoingMessage;
public class ClaimDailyRewardMessage extends OutgoingMessage
{
public var claimKey:String;
public var type:String;
public function ClaimDailyRewardMessage(param1:uint, param2:Function)
{
super(param1,param2);
}
override public function writeToOutput(param1:IDataOutput) : void
{
param1.writeUTF(this.claimKey);
param1.writeUTF(this.type);
}
override public function toString() : String
{
return "type";
}
}
}
LOGIN_REWARD_MSG
Code:
package kabam****tmg.dailyLogin.message
{
import flash.utils.IDataInput;
import kabam****tmg.messaging.impl.incoming.IncomingMessage;
public class ClaimDailyRewardResponse extends IncomingMessage
{
public var itemId:int;
public var quantity:int;
public var gold:int;
public function ClaimDailyRewardResponse(param1:uint, param2:Function)
{
super(param1,param2);
}
override public function parseFromInput(param1:IDataInput) : void
{
this.itemId = param1.readInt();
this.quantity = param1.readInt();
this.gold = param1.readInt();
}
override public function toString() : String
{
return formatToString("CLAIMDAILYREWARDRESPONSE","itemId","quantity","gold");
}
}
}
QUEST_ROOM_MSG
Code:
package kabam****tmg.messaging.impl.outgoing
{
import flash.utils.IDataOutput;
public class GoToQuestRoom extends OutgoingMessage
{
public function GoToQuestRoom(param1:uint, param2:Function)
{
super(param1,param2);
}
override public function writeToOutput(param1:IDataOutput) : void
{
}
override public function toString() : String
{
return formatToString("GoToQuestRoom");
}
}
}
Im not too familiar with the protocol for these yet as i havent logged in to play with them. From what i can gather you send the QUEST_ROOM_MSG packet (which is blank) to get the LOGIN_REWARD_MSG packet when you talk to the npc, then you send back the CLAIM_LOGIN_REWARD_MSG packet to claim the item. Though im not sure what the claimKey is yet.


password]