mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
-Exp update almost works, but inital at zonein is broken
-MoveItem has opcode now but is not translating correctly.
This commit is contained in:
@@ -2671,6 +2671,17 @@ namespace Laurion
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_ExpUpdate)
|
||||
{
|
||||
SETUP_DIRECT_ENCODE(ExpUpdate_Struct, structs::ExpUpdate_Struct);
|
||||
|
||||
//later we should change the underlying server to use this more accurate value
|
||||
//and encode the 330 in the other patches
|
||||
eq->exp = emu->exp * 100000 / 330;
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
// DECODE methods
|
||||
|
||||
DECODE(OP_EnterWorld)
|
||||
|
||||
@@ -31,6 +31,7 @@ E(OP_Damage)
|
||||
E(OP_Animation)
|
||||
E(OP_Death)
|
||||
E(OP_MoveItem)
|
||||
E(OP_ExpUpdate)
|
||||
//list of packets we need to decode on the way in:
|
||||
D(OP_EnterWorld)
|
||||
D(OP_ZoneEntry)
|
||||
|
||||
Reference in New Issue
Block a user