diff options
author | KingPin <none@none> | 2008-11-11 14:01:02 -0600 |
---|---|---|
committer | KingPin <none@none> | 2008-11-11 14:01:02 -0600 |
commit | b9c7086f056feb10d86ed76bdbfe356050455276 (patch) | |
tree | 57a05481413a9c7e06ab71b1c6aee730c109b634 /src | |
parent | 655d86275b2178d13bc215033d2c6ada4b0e39e2 (diff) |
[svn] Added player latency reading to Characters DB. Patch by Biglad.
*** Latency readouts provided by Trollz Inc. For all your cheap yet effective statistics please come to Trollz Inc... Now with more murloc blood added for more accuracy.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index a659eb5c550..0119d1ee0db 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -15097,7 +15097,7 @@ void Player::SaveToDB() "taximask, online, cinematic, " "totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, " "trans_x, trans_y, trans_z, trans_o, transguid, extra_flags, stable_slots, at_login, zone, " - "death_expire_time, taxi_path) VALUES (" + "death_expire_time, taxi_path, latency) VALUES (" << GetGUIDLow() << ", " << GetSession()->GetAccountId() << ", '" << sql_name << "', " @@ -15196,6 +15196,8 @@ void Player::SaveToDB() ss << ", '"; ss << m_taxi.SaveTaxiDestinationsToString(); + ss << "', '"; + ss << GetSession()->GetLatency(); ss << "' )"; CharacterDatabase.Execute( ss.str().c_str() ); |