@@ -111,8 +111,6 @@ void Server::handleCommand_Init(NetworkPacket* pkt)
111
111
112
112
if (depl_serial_v == SER_FMT_VER_INVALID) {
113
113
actionstream << " Server: A mismatched client tried to connect from " <<
114
- addr_s << std::endl;
115
- infostream << " Server: Cannot negotiate serialization version with " <<
116
114
addr_s << " client_max=" << (int )client_max << std::endl;
117
115
DenyAccess (peer_id, SERVER_ACCESSDENIED_WRONG_VERSION);
118
116
return ;
@@ -902,8 +900,8 @@ bool Server::checkInteractDistance(RemotePlayer *player, const f32 d, const std:
902
900
actionstream << " Player " << player->getName ()
903
901
<< " tried to access " << what
904
902
<< " from too far: "
905
- << " d=" << d <<" , max_d=" << max_d
906
- << " . ignoring." << std::endl;
903
+ << " d=" << d << " , max_d=" << max_d
904
+ << " ; ignoring." << std::endl;
907
905
// Call callbacks
908
906
m_script->on_cheat (player->getPlayerSAO (), " interacted_too_far" );
909
907
return false ;
@@ -956,7 +954,7 @@ void Server::handleCommand_Interact(NetworkPacket *pkt)
956
954
}
957
955
958
956
if (playersao->isDead ()) {
959
- actionstream << " Server: NoCheat: " << player->getName ()
957
+ actionstream << " Server: " << player->getName ()
960
958
<< " tried to interact while dead; ignoring." << std::endl;
961
959
if (pointed.type == POINTEDTHING_NODE) {
962
960
// Re-send block to revert change on client-side
@@ -1145,7 +1143,7 @@ void Server::handleCommand_Interact(NetworkPacket *pkt)
1145
1143
playersao->noCheatDigEnd ();
1146
1144
// If player didn't start digging this, ignore dig
1147
1145
if (nocheat_p != p_under) {
1148
- infostream << " Server: NoCheat: " << player->getName ()
1146
+ infostream << " Server: " << player->getName ()
1149
1147
<< " started digging "
1150
1148
<< PP (nocheat_p) << " and completed digging "
1151
1149
<< PP (p_under) << " ; not digging." << std::endl;
@@ -1169,9 +1167,9 @@ void Server::handleCommand_Interact(NetworkPacket *pkt)
1169
1167
}
1170
1168
// If can't dig, ignore dig
1171
1169
if (!params.diggable ) {
1172
- infostream << " Server: NoCheat: " << player->getName ()
1170
+ infostream << " Server: " << player->getName ()
1173
1171
<< " completed digging " << PP (p_under)
1174
- << " , which is not diggable with tool. not digging."
1172
+ << " , which is not diggable with tool; not digging."
1175
1173
<< std::endl;
1176
1174
is_valid_dig = false ;
1177
1175
// Call callbacks
@@ -1195,7 +1193,7 @@ void Server::handleCommand_Interact(NetworkPacket *pkt)
1195
1193
}
1196
1194
// Dig not possible
1197
1195
else {
1198
- infostream << " Server: NoCheat: " << player->getName ()
1196
+ infostream << " Server: " << player->getName ()
1199
1197
<< " completed digging " << PP (p_under)
1200
1198
<< " too fast; not digging." << std::endl;
1201
1199
is_valid_dig = false ;
0 commit comments