Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Miles Akkadius

  • Minneapolis, MN
View GitHub Profile
View peq-dodh-dump-import.log
+--------------+---------------+-----------------------------------------------------------+---------+-------------+-----------+------------+
| zoneidnumber | short_name | long_name | version | spawn_count | npc_count | door_count |
+--------------+---------------+-----------------------------------------------------------+---------+-------------+-----------+------------+
| 365 | corathus | Corathus Creep | 0 | 270 | 129 | 111 |
| 366 | corathusa | Sporali Caverns | 0 | 91 | 20 | 1 |
| 367 | corathusb | The Corathus Mines | 0 | 144 | 48 | 14 |
| 354 | drachnidhive | The Hive | 0 | 314 | 121 | 10 |
| 355 | drachnidhivea
View ldon-peq-import.log
#############################################
# 7/31/2020 LDON import
#############################################
docker@workspace:/var/www/code$ php artisan zonetools:dump-import gukc 1 all -s
Reading file 'gukc_651_Zone_2020-02-16-15-56-52.csv' time: 2020-02-16-15-56-52
Reading file 'gukc_651_NPC_2020-02-16-15-56-52.csv' time: 2020-02-16-15-56-52
Reading file 'gukc_651_Door_2020-02-16-15-56-52.csv' time: 2020-02-16-15-56-52
Reading file 'gukc_651_GroundItem_2020-02-16-15-56-52.csv' time: 2020-02-16-15-56-52
Reading file 'gukc_651_Objects_2020-02-16-15-56-52.csv' time: 2020-02-16-15-56-52
View packet_report_before
######################################################################
#::: Below example, 46 clients, 1 NPC target - 64 seconds
######################################################################
.------------------------------------------------------------.
| Packet Totals (Log Duration (64s)) |
+--------------+------------+--------------------------------+
| Packet Count | Bytes | Packet Type |
+--------------+------------+--------------------------------+
| 466,533 | 11,196,792 | OP_ClientUpdate - 0x005b |
View netcode_revert.diff
diff --git a/common/net/daybreak_connection.cpp b/common/net/daybreak_connection.cpp
index 19b5ee5..68fc24a 100644
--- a/common/net/daybreak_connection.cpp
+++ b/common/net/daybreak_connection.cpp
@@ -277,7 +277,7 @@ EQ::Net::DaybreakConnection::DaybreakConnection(DaybreakConnectionManager *owner
m_encode_passes[1] = owner->m_options.encode_passes[1];
m_hold_time = Clock::now();
m_buffered_packets_length = 0;
- m_rolling_ping = 900;
+ m_rolling_ping = 500;
View stop return
sub stop_return {
use Time::HiRes qw(time);
my $client = plugin::val('$client');
$client->SetEntityVariable("Stop_Return", time());
}
sub return_items {
my $hashref = plugin::var('$itemcount');
my $client = plugin::val('$client');
my $npc = plugin::val('$npc');