mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-17 17:34:37 +01:00
Limit recipients of party chat messages
Add vendor to gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,7 @@
|
|||||||
www/tw/
|
www/tw/
|
||||||
www/jp/
|
www/jp/
|
||||||
|
|
||||||
|
vendor/
|
||||||
bin/*.bin
|
bin/*.bin
|
||||||
bin/quests/*.bin
|
bin/quests/*.bin
|
||||||
bin/scenarios/*.bin
|
bin/scenarios/*.bin
|
||||||
|
|||||||
@@ -344,10 +344,12 @@ func handleMsgSysCastBinary(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
case CHAT_TYPE_LOCAL:
|
case CHAT_TYPE_LOCAL:
|
||||||
s.stage.BroadcastMHF(resp, s)
|
s.stage.BroadcastMHF(resp, s)
|
||||||
case CHAT_TYPE_PARTY:
|
case CHAT_TYPE_PARTY:
|
||||||
// Party messages seem to work partially when a party member starts the quest
|
if s.reserveStage != nil {
|
||||||
// In town it is not working yet
|
// Party messages seem to work partially when a party member starts the quest
|
||||||
// TODO Send to party members only
|
// In town it is not working yet, the client now sends the chat packets
|
||||||
s.stage.BroadcastMHF(resp, s)
|
// however the other member does not accept it.
|
||||||
|
s.reserveStage.BroadcastMHF(resp, s)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user