Change default settings and removal of unacked packets for now

This commit is contained in:
KimLS 2017-04-01 17:25:48 -07:00
parent de777fc90f
commit 9750d09635
4 changed files with 8 additions and 10 deletions

View File

@ -35,6 +35,7 @@ typedef enum {
BT_Greater_Akheva = 14,
BT_Khati_Sha = 15,
BT_Seru = 16, //not confirmed....
BT_Draz_Nurakk = 18,
BT_Zek = 19,
BT_Luggald = 20,
BT_Animal = 21,

View File

@ -212,21 +212,21 @@ namespace EQ
resend_delay_ms = 300;
resend_delay_factor = 1.5;
resend_delay_min = 50;
resend_delay_max = 2000;
resend_delay_max = 1000;
connect_delay_ms = 500;
stale_connection_ms = 60000;
stale_connection_ms = 90000;
connect_stale_ms = 5000;
crc_length = 2;
max_packet_size = 512;
encode_passes[0] = DaybreakEncodeType::EncodeNone;
encode_passes[1] = DaybreakEncodeType::EncodeNone;
port = 0;
hold_size = 448;
hold_length_ms = 25;
hold_size = 384;
hold_length_ms = 10;
simulated_in_packet_loss = 0;
simulated_out_packet_loss = 0;
tic_rate_hertz = 60.0;
resend_timeout = 60000;
resend_timeout = 90000;
connection_close_time = 2000;
}

View File

@ -81,10 +81,7 @@ void EQ::Net::EQStream::QueuePacket(const EQApplicationPacket *p, bool ack_req)
break;
}
if (ack_req)
m_connection->QueuePacket(out);
else
m_connection->QueuePacket(out, 0, false);
}
}

View File

@ -447,7 +447,7 @@ int main(int argc, char** argv) {
if (!eqsf_open && Config->ZonePort != 0) {
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));
eqsf_open = true;