so here it is i've been working on a shared source here and i cant compile it heres the problem ihope youcan help me fix it.
RanClientUILib\Interface\MiniMap.cpp(6): fatal error C1083: Cannot open include file: 'icmpapi.h': No such file or directory
so here it is i've been working on a shared source here and i cant compile it heres the problem ihope youcan help me fix it.
RanClientUILib\Interface\MiniMap.cpp(6): fatal error C1083: Cannot open include file: 'icmpapi.h': No such file or directory
try to remove that #include icmpapi.h on the source. check if it would work.
hey can i add you on facebook? it didnt work it finds some dll file can i add youon fb?
sorry my fb is private. but i can help you though. what kind of DLL? would you please post some SS?
can we do pm?
- - - Updated - - -
RanManager fatal error LNK1104: cannot open file 'icmp.lib'
MobEdit fatal error LNK1104: cannot open file 'icmp.lib'
SkillEditor fatal error LNK1104: cannot open file 'icmp.lib'
NpcAction fatal error LNK1104: cannot open file 'icmp.lib'
RanManager fatal error LNK1104: cannot open file 'icmp.lib'
AgentServer fatal error LNK1104: cannot open file 'icmp.lib'
FieldServer fatal error LNK1104: cannot open file 'icmp.lib'
Basic fatal error LNK1104: cannot open file 'icmp.lib'
Emulator fatal error LNK1104: cannot open file 'icmp.lib'
MISSING FILES on ur LIBRARY FILES. or maybe it is not compatible. try to find the icmp.lib on ur source files.
guys i want ask if which parts of source can find this fps/ping ?
LUPIN III minimap
Mustafa5 minimap.cpp only ? or all cpp? with minimap name
- - - Updated - - -
Mustafa5 minimap.cpp only ? or all cpp? with minimap name
well, let me help .
find minimap.cpp
1. add this more for
CMiniMap::CMiniMap()
2.add more forCode:, m_pFPSText(NULL) , m_fFPS (0.0f)
void CMiniMap::CreateSubControl (){
3.find thisCode:CBasicTextBox* pFPSText = new CBasicTextBox; pFPSText->CreateSub ( this, "MINIMAP_FPS_TEXT" ); pFPSText->SetFont ( pFont ); pFPSText->SetTextAlign ( TEXT_ALIGN_CENTER_X ); RegisterControl ( pFPSText ); m_pFPSText = pFPSText;
void CMiniMap::Update ( int x, int y, BYTE LB, BYTE MB, BYTE RB, int nScroll, float fElapsedTime, BOOL bFirstControl )
then add below line RotateMap ();
4. and the last code for calculator fps , add in the end of map or every where !Code:CalcFPS(); CString strText; strText.Format("%.02f FPS",m_fFPS); if ( m_fFPS <= 10 ) { m_pFPSText->SetOneLineText(strText,NS_UITEXTCOLOR::RED); } else if ( m_fFPS > 10 && m_fFPS <= 20 ) { m_pFPSText->SetOneLineText(strText,NS_UITEXTCOLOR::DARKORANGE); } else if ( m_fFPS >= 21 && m_fFPS <= 30 ) { m_pFPSText->SetOneLineText(strText,NS_UITEXTCOLOR::ORANGE); } else if ( m_fFPS >= 31 && m_fFPS <= 50 ) { m_pFPSText->SetOneLineText(strText,NS_UITEXTCOLOR::PALEGREEN); } else if ( m_fFPS >= 51 ) { m_pFPSText->SetOneLineText(strText,NS_UITEXTCOLOR::LIME); }
5... open minimap.hCode:inline float CMiniMap::CalcFPS() { static FLOAT fLastTime = 0.0f; static DWORD dwFrames = 0L; FLOAT fTime = DXUtil_Timer( TIMER_GETABSOLUTETIME ); ++dwFrames; if( fTime - fLastTime > 1.0f ) { m_fFPS = dwFrames / (fTime - fLastTime); fLastTime = fTime; dwFrames = 0L; return m_fFPS; } return m_fFPS; }
add
...rebuild source ...add this to gui : uiinnercfg01.xmlCode:private: CBasicTextBox* m_pFPSText; public: float CalcFPS();float m_fFPS;
you can edit pos to compatible with your client !Code:<CONTROL Local="Common" Id="MINIMAP_FPS_TEXT"> <WINDOW_POS X="215" Y="100" W="115" H="14" /> </CONTROL>
Sorry, i don't have " ping ". i'm looking for it too :)
hey can ew talk fb i can sharethe source
Me ? ~~~
yes bro!
What can i help you? I'm not pro about source. Hehehe
about my source i would like youto check it ..same