mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Change default settings and removal of unacked packets for now
This commit is contained in:
parent
de777fc90f
commit
9750d09635
@ -35,6 +35,7 @@ typedef enum {
|
|||||||
BT_Greater_Akheva = 14,
|
BT_Greater_Akheva = 14,
|
||||||
BT_Khati_Sha = 15,
|
BT_Khati_Sha = 15,
|
||||||
BT_Seru = 16, //not confirmed....
|
BT_Seru = 16, //not confirmed....
|
||||||
|
BT_Draz_Nurakk = 18,
|
||||||
BT_Zek = 19,
|
BT_Zek = 19,
|
||||||
BT_Luggald = 20,
|
BT_Luggald = 20,
|
||||||
BT_Animal = 21,
|
BT_Animal = 21,
|
||||||
|
|||||||
@ -212,21 +212,21 @@ namespace EQ
|
|||||||
resend_delay_ms = 300;
|
resend_delay_ms = 300;
|
||||||
resend_delay_factor = 1.5;
|
resend_delay_factor = 1.5;
|
||||||
resend_delay_min = 50;
|
resend_delay_min = 50;
|
||||||
resend_delay_max = 2000;
|
resend_delay_max = 1000;
|
||||||
connect_delay_ms = 500;
|
connect_delay_ms = 500;
|
||||||
stale_connection_ms = 60000;
|
stale_connection_ms = 90000;
|
||||||
connect_stale_ms = 5000;
|
connect_stale_ms = 5000;
|
||||||
crc_length = 2;
|
crc_length = 2;
|
||||||
max_packet_size = 512;
|
max_packet_size = 512;
|
||||||
encode_passes[0] = DaybreakEncodeType::EncodeNone;
|
encode_passes[0] = DaybreakEncodeType::EncodeNone;
|
||||||
encode_passes[1] = DaybreakEncodeType::EncodeNone;
|
encode_passes[1] = DaybreakEncodeType::EncodeNone;
|
||||||
port = 0;
|
port = 0;
|
||||||
hold_size = 448;
|
hold_size = 384;
|
||||||
hold_length_ms = 25;
|
hold_length_ms = 10;
|
||||||
simulated_in_packet_loss = 0;
|
simulated_in_packet_loss = 0;
|
||||||
simulated_out_packet_loss = 0;
|
simulated_out_packet_loss = 0;
|
||||||
tic_rate_hertz = 60.0;
|
tic_rate_hertz = 60.0;
|
||||||
resend_timeout = 60000;
|
resend_timeout = 90000;
|
||||||
connection_close_time = 2000;
|
connection_close_time = 2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -81,10 +81,7 @@ void EQ::Net::EQStream::QueuePacket(const EQApplicationPacket *p, bool ack_req)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ack_req)
|
m_connection->QueuePacket(out);
|
||||||
m_connection->QueuePacket(out);
|
|
||||||
else
|
|
||||||
m_connection->QueuePacket(out, 0, false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -447,7 +447,7 @@ int main(int argc, char** argv) {
|
|||||||
if (!eqsf_open && Config->ZonePort != 0) {
|
if (!eqsf_open && Config->ZonePort != 0) {
|
||||||
Log.Out(Logs::General, Logs::Zone_Server, "Starting EQ Network server on port %d", Config->ZonePort);
|
Log.Out(Logs::General, Logs::Zone_Server, "Starting EQ Network server on port %d", Config->ZonePort);
|
||||||
|
|
||||||
EQ::Net::EQStreamManagerOptions opts(Config->ZonePort, false, true);
|
EQ::Net::EQStreamManagerOptions opts(Config->ZonePort, false, false);
|
||||||
eqsm.reset(new EQ::Net::EQStreamManager(opts));
|
eqsm.reset(new EQ::Net::EQStreamManager(opts));
|
||||||
eqsf_open = true;
|
eqsf_open = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user