summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-11 01:08:52 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-11 01:08:52 +0000
commit06c3e2cbf10034bd348376632ccc30de9da97e5d (patch)
treeb17a6f6dd71571aa8192003ecdc976ebb717027f /src/gui/char_select.cpp
parent2a964c1fa537e58daee14af6a68a3ef0224c8d65 (diff)
downloadmana-client-06c3e2cbf10034bd348376632ccc30de9da97e5d.tar.gz
mana-client-06c3e2cbf10034bd348376632ccc30de9da97e5d.tar.bz2
mana-client-06c3e2cbf10034bd348376632ccc30de9da97e5d.tar.xz
mana-client-06c3e2cbf10034bd348376632ccc30de9da97e5d.zip
Removed Allegro dependency on logger, which now also produces timestamped
categorized messages instead of using the configuration file approach.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 76a2d01d..1a109836 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -144,10 +144,11 @@ void server_char_select() {
WFIFOSET(3);
while((in_size<3)||(out_size>0))flush();
- log_hex("Char_Select_Packet", "Packet_ID", RFIFOW(0));
- log_int("Char_Select_Packet", "Packet_length", get_length(RFIFOW(0)));
- log_int("Char_Select_Packet", "Packet_in_size", RFIFOW(2));
- log_int("Char_Select_Packet", "In_size", in_size);
+ log("CharSelect", "Packet ID: %x, Length: %d, Packet_in_size %d",
+ RFIFOW(0),
+ get_length(RFIFOW(0)),
+ RFIFOW(2));
+ log("CharSelect", "In_size: %d", in_size);
if(RFIFOW(0)==0x0071) {
while(in_size<28)flush();
@@ -158,9 +159,8 @@ void server_char_select() {
map_port = RFIFOW(26);
state = GAME;
- log("Player", "map", map_name);
- log("Char_Select_packet", "server_address", iptostring(map_address));
- log_int("Char_Select_packet", "server_port", map_port);
+ log("CharSelect", "Map: %s", map_name);
+ log("CharSelect", "Server: %s:%d", iptostring(map_address), map_port);
RFIFOSKIP(28);
close_session();
} else if(RFIFOW(0)==0x006c) {