diff --git a/src/UserInterface/PythonNetworkStreamPhaseGame.cpp b/src/UserInterface/PythonNetworkStreamPhaseGame.cpp index 6bd5af06..5eb4b38b 100644 --- a/src/UserInterface/PythonNetworkStreamPhaseGame.cpp +++ b/src/UserInterface/PythonNetworkStreamPhaseGame.cpp @@ -4250,7 +4250,7 @@ bool CPythonNetworkStream::RecvTargetCreatePacket() //#ifdef _DEBUG // char szBuf[256+1]; -// _snprintf(szBuf, sizeof(szBuf), "\xC5\xB8\xB0\xD9\xC0\xCC \xBB\xFD\xBC\xBA \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9 [%d:%s]", kTargetCreate.lID, kTargetCreate.szTargetName); +// _snprintf(szBuf, sizeof(szBuf), "Target created [%d:%s]", kTargetCreate.lID, kTargetCreate.szTargetName); // CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf); // Tracef(" >> RecvTargetCreatePacket %d : %s\n", kTargetCreate.lID, kTargetCreate.szTargetName); //#endif @@ -4279,7 +4279,7 @@ bool CPythonNetworkStream::RecvTargetCreatePacketNew() //#ifdef _DEBUG // char szBuf[256+1]; -// _snprintf(szBuf, sizeof(szBuf), "\xC4\xB3\xB8\xAF\xC5\xCD \xC5\xB8\xB0\xD9\xC0\xCC \xBB\xFD\xBC\xBA \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9 [%d:%s:%d]", kTargetCreate.lID, kTargetCreate.szTargetName, kTargetCreate.dwVID); +// _snprintf(szBuf, sizeof(szBuf), "Character Target created [%d:%s:%d]", kTargetCreate.lID, kTargetCreate.szTargetName, kTargetCreate.dwVID); // CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf); // Tracef(" >> RecvTargetCreatePacketNew %d : %d/%d\n", kTargetCreate.lID, kTargetCreate.byType, kTargetCreate.dwVID); //#endif @@ -4302,7 +4302,7 @@ bool CPythonNetworkStream::RecvTargetUpdatePacket() //#ifdef _DEBUG // char szBuf[256+1]; -// _snprintf(szBuf, sizeof(szBuf), "\xC5\xB8\xB0\xD9\xC0\xC7 \xC0\xA7\xC4\xA1\xB0\xA1 \xB0\xBB\xBD\xC5 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9 [%d:%d/%d]", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY); +// _snprintf(szBuf, sizeof(szBuf), "The target's location has been updated [%d:%d/%d]", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY); // CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf); // Tracef(" >> RecvTargetUpdatePacket %d : %d, %d\n", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY); //#endif diff --git a/src/UserInterface/PythonPlayerModule.cpp b/src/UserInterface/PythonPlayerModule.cpp index f20dd23d..c786ebbe 100644 --- a/src/UserInterface/PythonPlayerModule.cpp +++ b/src/UserInterface/PythonPlayerModule.cpp @@ -1051,13 +1051,13 @@ PyObject * playerGetItemLink(PyObject * poSelf, PyObject * poArgs) if( GetDefaultCodePage() == CP_ARABIC ) { if (isAttr) - //"item:\xB9\xF8\xC8\xA3:\xC7\xC3\xB7\xA1\xB1\xD7:\xBC\xD2\xC4\xCF0:\xBC\xD2\xC4\xCF1:\xBC\xD2\xC4\xCF2" + //item:item:number:flags:socket0:socket1:socket2" snprintf(buf, sizeof(buf), " |h|r[%s]|cffffc700|H%s|h", pItemData->GetName(), itemlink); else snprintf(buf, sizeof(buf), " |h|r[%s]|cfff1e6c0|H%s|h", pItemData->GetName(), itemlink); } else { if (isAttr) - //"item:\xB9\xF8\xC8\xA3:\xC7\xC3\xB7\xA1\xB1\xD7:\xBC\xD2\xC4\xCF0:\xBC\xD2\xC4\xCF1:\xBC\xD2\xC4\xCF2" + //item:item:number:flags:socket0:socket1:socket2" snprintf(buf, sizeof(buf), "|cffffc700|H%s|h[%s]|h|r", itemlink, pItemData->GetName()); else snprintf(buf, sizeof(buf), "|cfff1e6c0|H%s|h[%s]|h|r", itemlink, pItemData->GetName());