mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-16 17:05:03 +01:00
Clients in stage are now notified when player chooses a quest
This commit is contained in:
@@ -58,6 +58,9 @@ func (s *Session) Start() {
|
||||
|
||||
// QueueSend queues a packet (raw []byte) to be sent.
|
||||
func (s *Session) QueueSend(data []byte) {
|
||||
fmt.Printf("Sending To CharID: '%x'\n", s.charID)
|
||||
fmt.Printf("Sent Data:\n%s\n", hex.Dump(data))
|
||||
|
||||
s.sendPackets <- data
|
||||
}
|
||||
|
||||
@@ -144,6 +147,7 @@ func (s *Session) handlePacketGroup(pktGroup []byte) {
|
||||
opcode != network.MSG_SYS_NOP &&
|
||||
opcode != network.MSG_SYS_TIME &&
|
||||
opcode != network.MSG_SYS_EXTEND_THRESHOLD {
|
||||
fmt.Printf("CharID: '%x'\n", s.charID)
|
||||
fmt.Printf("Opcode: %s\n", opcode)
|
||||
fmt.Printf("Data:\n%s\n", hex.Dump(pktGroup))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user