mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Fixed bug where BecomeTrader packets were only being sent to the Trader, not all other clients in the bazaar.
This commit is contained in:
parent
07979ce2de
commit
23b2b599a7
@ -2,6 +2,8 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
|||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
== 02/17/2013 ==
|
== 02/17/2013 ==
|
||||||
Derision: Added optional guildid and minstatus parameters to quest::gmsay(<messsage>, [color], [toworld], [guildid], [minstatus])
|
Derision: Added optional guildid and minstatus parameters to quest::gmsay(<messsage>, [color], [toworld], [guildid], [minstatus])
|
||||||
|
Derision: Client version is now returned by the stream proxy as a number.
|
||||||
|
Derision: Fixed bug where BecomeTrader packets were only being sent to the Trader, not all other clients in the bazaar.
|
||||||
|
|
||||||
== 02/16/2013 ==
|
== 02/16/2013 ==
|
||||||
demonstar55: Fix AA reuse timer calc
|
demonstar55: Fix AA reuse timer calc
|
||||||
|
|||||||
@ -769,7 +769,22 @@ void Client::Trader_StartTrader() {
|
|||||||
safe_delete(outapp);
|
safe_delete(outapp);
|
||||||
|
|
||||||
// Notify other clients we are now in trader mode
|
// Notify other clients we are now in trader mode
|
||||||
SendTraderPacket(this, 0);
|
|
||||||
|
outapp= new EQApplicationPacket(OP_BecomeTrader, sizeof(BecomeTrader_Struct));
|
||||||
|
|
||||||
|
BecomeTrader_Struct* bts = (BecomeTrader_Struct*)outapp->pBuffer;
|
||||||
|
|
||||||
|
bts->Code = 1;
|
||||||
|
|
||||||
|
bts->ID = this->GetID();
|
||||||
|
|
||||||
|
strn0cpy(bts->Name, GetName(), sizeof(bts->Name));
|
||||||
|
|
||||||
|
entity_list.QueueClients(this, outapp, false);
|
||||||
|
|
||||||
|
_pkt(TRADING__PACKETS, outapp);
|
||||||
|
|
||||||
|
safe_delete(outapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::Trader_EndTrader() {
|
void Client::Trader_EndTrader() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user