Ep7 Ping/fps source

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Account Upgraded | Title Enabled! PIXEL3D is offline
    True MemberRank
    Jun 2012 Join Date
    265Posts

    Ep7 Ping/fps source

    Ep7 Ping/fps source
    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


  2. #2
    Hardcore Member Empire Game is offline
    MemberRank
    Oct 2008 Join Date
    EuropeLocation
    143Posts

    Re: Ep7 Ping/fps source

    try to remove that #include icmpapi.h on the source. check if it would work.
    EmpireGame The Next Generation

  3. #3
    Account Upgraded | Title Enabled! PIXEL3D is offline
    True MemberRank
    Jun 2012 Join Date
    265Posts

    Re: Ep7 Ping/fps source

    hey can i add you on facebook? it didnt work it finds some dll file can i add youon fb?

  4. #4
    Hardcore Member Empire Game is offline
    MemberRank
    Oct 2008 Join Date
    EuropeLocation
    143Posts

    Re: Ep7 Ping/fps source

    sorry my fb is private. but i can help you though. what kind of DLL? would you please post some SS?
    EmpireGame The Next Generation

  5. #5
    Account Upgraded | Title Enabled! PIXEL3D is offline
    True MemberRank
    Jun 2012 Join Date
    265Posts

    Re: Ep7 Ping/fps source

    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'

  6. #6
    Hardcore Member Empire Game is offline
    MemberRank
    Oct 2008 Join Date
    EuropeLocation
    143Posts

    Re: Ep7 Ping/fps source

    MISSING FILES on ur LIBRARY FILES. or maybe it is not compatible. try to find the icmp.lib on ur source files.
    EmpireGame The Next Generation

  7. #7
    Account Upgraded | Title Enabled! LUPIN III is offline
    True MemberRank
    Dec 2012 Join Date
    Ran PlanetLocation
    1,122Posts

    Re: Ep7 Ping/fps source

    guys i want ask if which parts of source can find this fps/ping ?
    Free RDP for 1 month
    https://za.gl/FreeRDPserver

  8. #8
    Back at old school Mustafa5 is offline
    True MemberRank
    Mar 2018 Join Date
    323Posts

    Re: Ep7 Ping/fps source

    LUPIN III minimap

  9. #9
    Account Upgraded | Title Enabled! LUPIN III is offline
    True MemberRank
    Dec 2012 Join Date
    Ran PlanetLocation
    1,122Posts

    Re: Ep7 Ping/fps source

    Mustafa5 minimap.cpp only ? or all cpp? with minimap name

    - - - Updated - - -

    Mustafa5 minimap.cpp only ? or all cpp? with minimap name
    Free RDP for 1 month
    https://za.gl/FreeRDPserver

  10. #10
    -sad- sadlove92 is offline
    True MemberRank
    Feb 2013 Join Date
    Earth 615 - VNLocation
    421Posts

    Re: Ep7 Ping/fps source

    well, let me help .
    find minimap.cpp
    1. add this more for
    CMiniMap::CMiniMap()
    Code:
    , m_pFPSText(NULL)
    , m_fFPS (0.0f)
    2.add more for
    void CMiniMap::CreateSubControl (){
    Code:
    CBasicTextBox* pFPSText = new CBasicTextBox;   
    pFPSText->CreateSub ( this, "MINIMAP_FPS_TEXT" );
    pFPSText->SetFont ( pFont );    
    pFPSText->SetTextAlign ( TEXT_ALIGN_CENTER_X );    
    RegisterControl ( pFPSText );    
    m_pFPSText = pFPSText;
    3.find this
    void CMiniMap::Update ( int x, int y, BYTE LB, BYTE MB, BYTE RB, int nScroll, float fElapsedTime, BOOL bFirstControl )
    then add below line
    RotateMap ();
    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);
           }
    4. and the last code for calculator fps , add in the end of map or every where !
    Code:
    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;
    }
    5... open minimap.h
    add
    Code:
    private:
    CBasicTextBox*  m_pFPSText;
    public:
    float    CalcFPS();float    m_fFPS;
    ...rebuild source ...add this to gui : uiinnercfg01.xml
    Code:
    <CONTROL Local="Common" Id="MINIMAP_FPS_TEXT">
            <WINDOW_POS X="215" Y="100" W="115" H="14" />
    </CONTROL>
    you can edit pos to compatible with your client !
    Sorry, i don't have " ping ". i'm looking for it too :)

  11. #11
    Account Upgraded | Title Enabled! PIXEL3D is offline
    True MemberRank
    Jun 2012 Join Date
    265Posts

    Re: Ep7 Ping/fps source

    hey can ew talk fb i can sharethe source

  12. #12
    -sad- sadlove92 is offline
    True MemberRank
    Feb 2013 Join Date
    Earth 615 - VNLocation
    421Posts

    Re: Ep7 Ping/fps source

    Me ? ~~~

  13. #13
    Account Upgraded | Title Enabled! PIXEL3D is offline
    True MemberRank
    Jun 2012 Join Date
    265Posts

    Re: Ep7 Ping/fps source

    yes bro!

  14. #14
    -sad- sadlove92 is offline
    True MemberRank
    Feb 2013 Join Date
    Earth 615 - VNLocation
    421Posts

    Re: Ep7 Ping/fps source

    What can i help you? I'm not pro about source. Hehehe

  15. #15
    Account Upgraded | Title Enabled! PIXEL3D is offline
    True MemberRank
    Jun 2012 Join Date
    265Posts

    Re: Ep7 Ping/fps source

    about my source i would like youto check it ..same



Page 1 of 2 12 LastLast

Advertisement