Human 19 Posted November 3, 2017 Share Posted November 3, 2017 (edited) Hi there, I recently added Okey card system which is working fine but when i scanned the exe it is showing virus which is blocked by windows defender https://metin2.download/picture/5tkiiUhlgLQcU5i7Y48n0z72WI6xJt7g/.png mainly in this line when i disabled its not showing virus but once i enable it and compiled exe is with 2 virus..which is win32.trojan else if ("info" == TokenVector[1]) { if (14 != TokenVector.size()) { TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %s", c_szCommand); return; } DWORD card_in_hand_1 = atoi(TokenVector[2].c_str()); DWORD card_in_hand_1_v = atoi(TokenVector[3].c_str()); DWORD card_in_hand_2 = atoi(TokenVector[4].c_str()); DWORD card_in_hand_2_v = atoi(TokenVector[5].c_str()); DWORD card_in_hand_3 = atoi(TokenVector[6].c_str()); DWORD card_in_hand_3_v = atoi(TokenVector[7].c_str()); DWORD card_in_hand_4 = atoi(TokenVector[8].c_str()); DWORD card_in_hand_4_v = atoi(TokenVector[9].c_str()); DWORD card_in_hand_5 = atoi(TokenVector[10].c_str()); DWORD card_in_hand_5_v = atoi(TokenVector[11].c_str()); DWORD cards_left = atoi(TokenVector[12].c_str()); DWORD points = atoi(TokenVector[13].c_str()); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_Cards_UpdateInfo", Py_BuildValue("(iiiiiiiiiiii)", card_in_hand_1, card_in_hand_1_v, card_in_hand_2, card_in_hand_2_v, card_in_hand_3, card_in_hand_3_v, card_in_hand_4, card_in_hand_4_v, card_in_hand_5, card_in_hand_5_v, cards_left, points)); } the total addition in pythonNetworkStreamCommand.cpp is attached if not i post here else if (!strcmpi(szCmd, "cards")) { if (TokenVector.size() < 2) { TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %s", c_szCommand); return; } if ("open" == TokenVector[1]) { DWORD safemode = atoi(TokenVector[2].c_str()); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_Cards_Open", Py_BuildValue("(i)", safemode)); } else if ("info" == TokenVector[1]) { if (14 != TokenVector.size()) { TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %s", c_szCommand); return; } DWORD card_in_hand_1 = atoi(TokenVector[2].c_str()); DWORD card_in_hand_1_v = atoi(TokenVector[3].c_str()); DWORD card_in_hand_2 = atoi(TokenVector[4].c_str()); DWORD card_in_hand_2_v = atoi(TokenVector[5].c_str()); DWORD card_in_hand_3 = atoi(TokenVector[6].c_str()); DWORD card_in_hand_3_v = atoi(TokenVector[7].c_str()); DWORD card_in_hand_4 = atoi(TokenVector[8].c_str()); DWORD card_in_hand_4_v = atoi(TokenVector[9].c_str()); DWORD card_in_hand_5 = atoi(TokenVector[10].c_str()); DWORD card_in_hand_5_v = atoi(TokenVector[11].c_str()); DWORD cards_left = atoi(TokenVector[12].c_str()); DWORD points = atoi(TokenVector[13].c_str()); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_Cards_UpdateInfo", Py_BuildValue("(iiiiiiiiiiii)", card_in_hand_1, card_in_hand_1_v, card_in_hand_2, card_in_hand_2_v, card_in_hand_3, card_in_hand_3_v, card_in_hand_4, card_in_hand_4_v, card_in_hand_5, card_in_hand_5_v, cards_left, points)); } else if ("finfo" == TokenVector[1]) { if (9 != TokenVector.size()) { TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %s", c_szCommand); return; } DWORD hand_1 = atoi(TokenVector[2].c_str()); DWORD hand_1_v = atoi(TokenVector[3].c_str()); DWORD hand_2 = atoi(TokenVector[4].c_str()); DWORD hand_2_v = atoi(TokenVector[5].c_str()); DWORD hand_3 = atoi(TokenVector[6].c_str()); DWORD hand_3_v = atoi(TokenVector[7].c_str()); DWORD points = atoi(TokenVector[8].c_str()); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_Cards_FieldUpdateInfo", Py_BuildValue("(iiiiiii)", hand_1, hand_1_v, hand_2, hand_2_v, hand_3, hand_3_v, points)); } else if ("reward" == TokenVector[1]) { if (9 != TokenVector.size()) { TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %s", c_szCommand); return; } DWORD hand_1 = atoi(TokenVector[2].c_str()); DWORD hand_1_v = atoi(TokenVector[3].c_str()); DWORD hand_2 = atoi(TokenVector[4].c_str()); DWORD hand_2_v = atoi(TokenVector[5].c_str()); DWORD hand_3 = atoi(TokenVector[6].c_str()); DWORD hand_3_v = atoi(TokenVector[7].c_str()); DWORD points = atoi(TokenVector[8].c_str()); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_Cards_PutReward", Py_BuildValue("(iiiiiii)", hand_1, hand_1_v, hand_2, hand_2_v, hand_3, hand_3_v, points)); } else if ("icon" == TokenVector[1]) { if (2 != TokenVector.size()) { TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %s", c_szCommand); return; } PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_Cards_ShowIcon", Py_BuildValue("()")); } } any solution ? Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Ayaka 300 Posted November 3, 2017 Share Posted November 3, 2017 From what I see, i would say the detection on Baidu is false positive. F E E L - T H E - A W E S O M E N E S S Link to comment Share on other sites More sharing options...
Human 19 Posted November 3, 2017 Author Share Posted November 3, 2017 2 hours ago, Ayaka said: From what I see, i would say the detection on Baidu is false positive. thanks for reply and yes how to overcome it ? Link to comment Share on other sites More sharing options...
Premium Speachless 766 Posted November 3, 2017 Premium Share Posted November 3, 2017 18 minutes ago, Human said: thanks for reply and yes how to overcome it ? Send them an email. Or pack with enigma protector. Link to comment Share on other sites More sharing options...
Premium tierrilopes 453 Posted November 3, 2017 Premium Share Posted November 3, 2017 Contact the company regarding the false positive. They should have a file submit for those situations. Link to comment Share on other sites More sharing options...
Human 19 Posted November 3, 2017 Author Share Posted November 3, 2017 1 hour ago, Dobrescu Sebastian said: Send them an email. Or pack with enigma protector. 57 minutes ago, tierrilopes said: Contact the company regarding the false positive. They should have a file submit for those situations. thanks guys i will contact them and ask about it Link to comment Share on other sites More sharing options...
Premium tierrilopes 453 Posted November 3, 2017 Premium Share Posted November 3, 2017 Here's the link btw: This is the hidden content, please Sign In or Sign Up 5 1 1 4 Link to comment Share on other sites More sharing options...
Human 19 Posted November 6, 2017 Author Share Posted November 6, 2017 thankyou very much guys i appreciate this Link to comment Share on other sites More sharing options...
birender 2 Posted November 6, 2017 Share Posted November 6, 2017 On 11/3/2017 at 11:31 PM, tierrilopes said: Here's the link btw: This is the hidden content, please Sign In or Sign Up My Symantec Antivirus and even Windows Defender is deleting the Immortals2.exe even though on Virustotal.com it shows as clean.For temporary solution I have to added the exe to exclusion list and disabled my antivirus and windows defender. Any other advice or solution you can give? Link to comment Share on other sites More sharing options...
Premium tierrilopes 453 Posted November 6, 2017 Premium Share Posted November 6, 2017 The best way is contacting the companies so they can manually check the file, see that it was a false positive and then whitelist them on their software: https://submit.symantec.com/false_positive/ https://www.microsoft.com/en-us/wdsi/filesubmission Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now