@@ -343,7 +343,7 @@ void Server::handleCommand_Init_Legacy(NetworkPacket* pkt)
343
343
* respond for some time, your server was overloaded or
344
344
* things like that.
345
345
*/
346
- infostream << " Server::ProcessData(): Cancelling : peer "
346
+ infostream << " Server::ProcessData(): Canceling : peer "
347
347
<< pkt->getPeerId () << " not found" << std::endl;
348
348
return ;
349
349
}
@@ -826,7 +826,7 @@ void Server::handleCommand_PlayerPos(NetworkPacket* pkt)
826
826
827
827
Player *player = m_env->getPlayer (pkt->getPeerId ());
828
828
if (player == NULL ) {
829
- errorstream << " Server::ProcessData(): Cancelling : "
829
+ errorstream << " Server::ProcessData(): Canceling : "
830
830
" No player for peer_id=" << pkt->getPeerId ()
831
831
<< " disconnecting peer!" << std::endl;
832
832
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -842,7 +842,7 @@ void Server::handleCommand_PlayerPos(NetworkPacket* pkt)
842
842
843
843
PlayerSAO *playersao = player->getPlayerSAO ();
844
844
if (playersao == NULL ) {
845
- errorstream << " Server::ProcessData(): Cancelling : "
845
+ errorstream << " Server::ProcessData(): Canceling : "
846
846
" No player object for peer_id=" << pkt->getPeerId ()
847
847
<< " disconnecting peer!" << std::endl;
848
848
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -904,7 +904,7 @@ void Server::handleCommand_InventoryAction(NetworkPacket* pkt)
904
904
{
905
905
Player *player = m_env->getPlayer (pkt->getPeerId ());
906
906
if (player == NULL ) {
907
- errorstream << " Server::ProcessData(): Cancelling : "
907
+ errorstream << " Server::ProcessData(): Canceling : "
908
908
" No player for peer_id=" << pkt->getPeerId ()
909
909
<< " disconnecting peer!" << std::endl;
910
910
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -913,7 +913,7 @@ void Server::handleCommand_InventoryAction(NetworkPacket* pkt)
913
913
914
914
PlayerSAO *playersao = player->getPlayerSAO ();
915
915
if (playersao == NULL ) {
916
- errorstream << " Server::ProcessData(): Cancelling : "
916
+ errorstream << " Server::ProcessData(): Canceling : "
917
917
" No player object for peer_id=" << pkt->getPeerId ()
918
918
<< " disconnecting peer!" << std::endl;
919
919
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1074,7 +1074,7 @@ void Server::handleCommand_ChatMessage(NetworkPacket* pkt)
1074
1074
1075
1075
Player *player = m_env->getPlayer (pkt->getPeerId ());
1076
1076
if (player == NULL ) {
1077
- errorstream << " Server::ProcessData(): Cancelling : "
1077
+ errorstream << " Server::ProcessData(): Canceling : "
1078
1078
" No player for peer_id=" << pkt->getPeerId ()
1079
1079
<< " disconnecting peer!" << std::endl;
1080
1080
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1155,7 +1155,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt)
1155
1155
1156
1156
Player *player = m_env->getPlayer (pkt->getPeerId ());
1157
1157
if (player == NULL ) {
1158
- errorstream << " Server::ProcessData(): Cancelling : "
1158
+ errorstream << " Server::ProcessData(): Canceling : "
1159
1159
" No player for peer_id=" << pkt->getPeerId ()
1160
1160
<< " disconnecting peer!" << std::endl;
1161
1161
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1164,7 +1164,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt)
1164
1164
1165
1165
PlayerSAO *playersao = player->getPlayerSAO ();
1166
1166
if (playersao == NULL ) {
1167
- errorstream << " Server::ProcessData(): Cancelling : "
1167
+ errorstream << " Server::ProcessData(): Canceling : "
1168
1168
" No player object for peer_id=" << pkt->getPeerId ()
1169
1169
<< " disconnecting peer!" << std::endl;
1170
1170
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1189,7 +1189,7 @@ void Server::handleCommand_Breath(NetworkPacket* pkt)
1189
1189
1190
1190
Player *player = m_env->getPlayer (pkt->getPeerId ());
1191
1191
if (player == NULL ) {
1192
- errorstream << " Server::ProcessData(): Cancelling : "
1192
+ errorstream << " Server::ProcessData(): Canceling : "
1193
1193
" No player for peer_id=" << pkt->getPeerId ()
1194
1194
<< " disconnecting peer!" << std::endl;
1195
1195
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1209,7 +1209,7 @@ void Server::handleCommand_Breath(NetworkPacket* pkt)
1209
1209
1210
1210
PlayerSAO *playersao = player->getPlayerSAO ();
1211
1211
if (playersao == NULL ) {
1212
- errorstream << " Server::ProcessData(): Cancelling : "
1212
+ errorstream << " Server::ProcessData(): Canceling : "
1213
1213
" No player object for peer_id=" << pkt->getPeerId ()
1214
1214
<< " disconnecting peer!" << std::endl;
1215
1215
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1254,7 +1254,7 @@ void Server::handleCommand_Password(NetworkPacket* pkt)
1254
1254
1255
1255
Player *player = m_env->getPlayer (pkt->getPeerId ());
1256
1256
if (player == NULL ) {
1257
- errorstream << " Server::ProcessData(): Cancelling : "
1257
+ errorstream << " Server::ProcessData(): Canceling : "
1258
1258
" No player for peer_id=" << pkt->getPeerId ()
1259
1259
<< " disconnecting peer!" << std::endl;
1260
1260
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1291,7 +1291,7 @@ void Server::handleCommand_Password(NetworkPacket* pkt)
1291
1291
} else {
1292
1292
actionstream << player->getName () << " tries to change password but "
1293
1293
<< " it fails" << std::endl;
1294
- SendChatMessage (pkt->getPeerId (), L" Password change failed or inavailable ." );
1294
+ SendChatMessage (pkt->getPeerId (), L" Password change failed or unavailable ." );
1295
1295
}
1296
1296
}
1297
1297
@@ -1302,7 +1302,7 @@ void Server::handleCommand_PlayerItem(NetworkPacket* pkt)
1302
1302
1303
1303
Player *player = m_env->getPlayer (pkt->getPeerId ());
1304
1304
if (player == NULL ) {
1305
- errorstream << " Server::ProcessData(): Cancelling : "
1305
+ errorstream << " Server::ProcessData(): Canceling : "
1306
1306
" No player for peer_id=" << pkt->getPeerId ()
1307
1307
<< " disconnecting peer!" << std::endl;
1308
1308
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1311,7 +1311,7 @@ void Server::handleCommand_PlayerItem(NetworkPacket* pkt)
1311
1311
1312
1312
PlayerSAO *playersao = player->getPlayerSAO ();
1313
1313
if (playersao == NULL ) {
1314
- errorstream << " Server::ProcessData(): Cancelling : "
1314
+ errorstream << " Server::ProcessData(): Canceling : "
1315
1315
" No player object for peer_id=" << pkt->getPeerId ()
1316
1316
<< " disconnecting peer!" << std::endl;
1317
1317
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1329,7 +1329,7 @@ void Server::handleCommand_Respawn(NetworkPacket* pkt)
1329
1329
{
1330
1330
Player *player = m_env->getPlayer (pkt->getPeerId ());
1331
1331
if (player == NULL ) {
1332
- errorstream << " Server::ProcessData(): Cancelling : "
1332
+ errorstream << " Server::ProcessData(): Canceling : "
1333
1333
" No player for peer_id=" << pkt->getPeerId ()
1334
1334
<< " disconnecting peer!" << std::endl;
1335
1335
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1345,7 +1345,7 @@ void Server::handleCommand_Respawn(NetworkPacket* pkt)
1345
1345
<< PP (player->getPosition ()/BS) << std::endl;
1346
1346
1347
1347
// ActiveObject is added to environment in AsyncRunStep after
1348
- // the previous addition has been succesfully removed
1348
+ // the previous addition has been successfully removed
1349
1349
}
1350
1350
1351
1351
void Server::handleCommand_Interact (NetworkPacket* pkt)
@@ -1377,7 +1377,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt)
1377
1377
1378
1378
Player *player = m_env->getPlayer (pkt->getPeerId ());
1379
1379
if (player == NULL ) {
1380
- errorstream << " Server::ProcessData(): Cancelling : "
1380
+ errorstream << " Server::ProcessData(): Canceling : "
1381
1381
" No player for peer_id=" << pkt->getPeerId ()
1382
1382
<< " disconnecting peer!" << std::endl;
1383
1383
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1386,7 +1386,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt)
1386
1386
1387
1387
PlayerSAO *playersao = player->getPlayerSAO ();
1388
1388
if (playersao == NULL ) {
1389
- errorstream << " Server::ProcessData(): Cancelling : "
1389
+ errorstream << " Server::ProcessData(): Canceling : "
1390
1390
" No player object for peer_id=" << pkt->getPeerId ()
1391
1391
<< " disconnecting peer!" << std::endl;
1392
1392
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1778,7 +1778,7 @@ void Server::handleCommand_NodeMetaFields(NetworkPacket* pkt)
1778
1778
1779
1779
Player *player = m_env->getPlayer (pkt->getPeerId ());
1780
1780
if (player == NULL ) {
1781
- errorstream << " Server::ProcessData(): Cancelling : "
1781
+ errorstream << " Server::ProcessData(): Canceling : "
1782
1782
" No player for peer_id=" << pkt->getPeerId ()
1783
1783
<< " disconnecting peer!" << std::endl;
1784
1784
m_con.DisconnectPeer (pkt->getPeerId ());
@@ -1787,7 +1787,7 @@ void Server::handleCommand_NodeMetaFields(NetworkPacket* pkt)
1787
1787
1788
1788
PlayerSAO *playersao = player->getPlayerSAO ();
1789
1789
if (playersao == NULL ) {
1790
- errorstream << " Server::ProcessData(): Cancelling : "
1790
+ errorstream << " Server::ProcessData(): Canceling : "
1791
1791
" No player object for peer_id=" << pkt->getPeerId ()
1792
1792
<< " disconnecting peer!" << std::endl;
1793
1793
m_con.DisconnectPeer (pkt->getPeerId ());
0 commit comments