Search the Community
Showing results for tags 'Problem with resolution'.
Found 1 result
-
Hi i change resolution of 640x480 on 800x600 and i have bug hm. look: after vertical red line are dummy but i cant see it. i think it is the problem on HG side but i dont know where HG side i change only this: in function :: iClientMotion_Move_Handler find: sp = (short *)cp; *sp = (short)(dX - 10); cp += 2; sp = (short *)cp; *sp = (short)(dY - 7); cp += 2; replace sp = (short *)cp; *sp = (short)(dX - 12); cp += 2; sp = (short *)cp; *sp = (short)(dY - 9); cp += 2; find: iSize = iComposeMoveMapData((short)(dX - 10), (short)(dY - 7), iClientH, cDir, cp); replace iSize = iComposeMoveMapData((short)(dX - 12), (short)(dY - 9), iClientH, cDir, cp); in function : :RequestInitDataHandler find:: iSize = iComposeInitMapData(m_pClientList[iClientH]->m_sX - 10, m_pClientList[iClientH]->m_sY - 7, iClientH, cp ); replace iSize = iComposeInitMapData(m_pClientList[iClientH]->m_sX - 12, m_pClientList[iClientH]->m_sY - 9, iClientH, cp ); in function ::ChatMsgHandler find:: if ( (m_pClientList[i]->m_cMapIndex == m_pClientList[iClientH]->m_cMapIndex) && (m_pClientList[i]->m_sX > m_pClientList[iClientH]->m_sX - 10) && (m_pClientList[i]->m_sX < m_pClientList[iClientH]->m_sX + 10) && (m_pClientList[i]->m_sY > m_pClientList[iClientH]->m_sY - 7) && (m_pClientList[i]->m_sY < m_pClientList[iClientH]->m_sY + 7) ) replace if ( (m_pClientList[i]->m_cMapIndex == m_pClientList[iClientH]->m_cMapIndex) && (m_pClientList[i]->m_sX > m_pClientList[iClientH]->m_sX - 12) && (m_pClientList[i]->m_sX < m_pClientList[iClientH]->m_sX + 12) && (m_pClientList[i]->m_sY > m_pClientList[iClientH]->m_sY - 9) && (m_pClientList[i]->m_sY < m_pClientList[iClientH]->m_sY + 9) ) in function : :RequestTeleportHandler find: iSize = iComposeInitMapData(m_pClientList[iClientH]->m_sX - 10, m_pClientList[iClientH]->m_sY - 7, iClientH, cp ); replace iSize = iComposeInitMapData(m_pClientList[iClientH]->m_sX - 12, m_pClientList[iClientH]->m_sY - 9, iClientH, cp ); in function :::iRequestPanningMapDataRequest(int find:: sp = (short *)cp; *sp = dX - 10; cp += 2; sp = (short *)cp; *sp = dY - 7; cp += 2; replace sp = (short *)cp; *sp = dX - 12; cp += 2; sp = (short *)cp; *sp = dY - 9; cp += 2; and still nothing, dont see players and npc and i dont know where i can fix this problem;/ if who can help me i would appreciate. Thanks!