Jump to content

kingshero

Inactive Member
  • Posts

    101
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by kingshero

  1. 13 minutes ago, Fleon said:

    You have the killer mode behavior, start from that

    i make all files but i don't know how to make all character when login map can kill player like him in same Empire 

    plz help me where i begin i edit pvp.cpp and pvp.h but should be edit InstanceBese.cpp file

    here because player can kill player like him in same empire this in client part in UserInterface

    Spoiler

     

                if (IsSameEmpire(rkInstVictim))
                {
                    if (IsPVPInstance(rkInstVictim))
                        return true;

                    if (PK_MODE_REVENGE == GetPKMode())
                        if (!IAbstractPlayer::GetSingleton().IsSamePartyMember(GetVirtualID(), rkInstVictim.GetVirtualID()))
                            if (IsConflictAlignmentInstance(rkInstVictim))
                                return true;
                }
                else
                {
                    return true;
                }

     

    i edit this function in server part 

    Spoiler

    bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim) 

     

    i edit 

    Spoiler

    bool beKillerMode = false;

    to

    Spoiler

    bool beKillerMode = pkChr->GetMapIndex() == 377 ? true : false;

    but after all this player can't kill player like him in same Empire !! 

  2. 23 hours ago, Ayaka said:

    I don't know much about technical in this case but it sounds like a permission problem on windows. You are not allowed to execute cmd.exe. Maybe check administrator privileges? Control Panel > All Control Panel Items > User Accounts > Change UAC settings

    thank you same problem 

  3. 8 hours ago, kingshero said:

    i have new problem plz help me 

    0311 17:20:06073 :: 
    system.py(line:287) RunMainScript
    system.py(line:204) execfile
    prototype.py(line:4) <module>
    system.py(line:151) __hybrid_import
    system.py(line:116) _process_result
    localeInfo.py(line:2) <module>
    system.py(line:151) __hybrid_import
    system.py(line:116) _process_result
    constInfo.py(line:3) <module>

    Run - <type 'exceptions.WindowsError'>:[Error 5] Access is denied: 'C:\\WINDOWS\\system32\\cmd.exe /c %WINDIR%/system32/wbem/wmic csproduct get uuid

    up

  4. i have new problem plz help me 

    0311 17:20:06073 :: 
    system.py(line:287) RunMainScript
    system.py(line:204) execfile
    prototype.py(line:4) <module>
    system.py(line:151) __hybrid_import
    system.py(line:116) _process_result
    localeInfo.py(line:2) <module>
    system.py(line:151) __hybrid_import
    system.py(line:116) _process_result
    constInfo.py(line:3) <module>

    Run - <type 'exceptions.WindowsError'>:[Error 5] Access is denied: 'C:\\WINDOWS\\system32\\cmd.exe /c %WINDIR%/system32/wbem/wmic csproduct get uuid

  5. 10 hours ago, [007]DawisHU said:

    Line 436
    search this

      Hide contents
        def __BuildDebugInfo(self):
            self.PrintCoord = ui.TextLine()
            self.PrintCoord.SetFontName(localeInfo.UI_DEF_FONT)
            self.PrintCoord.SetPosition(wndMgr.GetScreenWidth() - 270, 0)
           
            self.FrameRate = ui.TextLine()
            self.FrameRate.SetFontName(localeInfo.UI_DEF_FONT)
            self.FrameRate.SetPosition(wndMgr.GetScreenWidth() - 270, 20)
     
            self.Pitch = ui.TextLine()
            self.Pitch.SetFontName(localeInfo.UI_DEF_FONT)
            self.Pitch.SetPosition(wndMgr.GetScreenWidth() - 270, 40)
     
            self.Splat = ui.TextLine()
            self.Splat.SetFontName(localeInfo.UI_DEF_FONT)
            self.Splat.SetPosition(wndMgr.GetScreenWidth() - 270, 60)
           
            self.PrintMousePos = ui.TextLine()
            self.PrintMousePos.SetFontName(localeInfo.UI_DEF_FONT)
            self.PrintMousePos.SetPosition(wndMgr.GetScreenWidth() - 270, 80)
     
            self.TextureNum = ui.TextLine()
            self.TextureNum.SetFontName(localeInfo.UI_DEF_FONT)
            self.TextureNum.SetPosition(wndMgr.GetScreenWidth() - 270, 100)
     
            self.ObjectNum = ui.TextLine()
            self.ObjectNum.SetFontName(localeInfo.UI_DEF_FONT)
            self.ObjectNum.SetPosition(wndMgr.GetScreenWidth() - 270, 120)
     
            self.ViewDistance = ui.TextLine()
            self.ViewDistance.SetFontName(localeInfo.UI_DEF_FONT)
            self.ViewDistance.SetPosition(0, 0)

     

     

    this is the wanted file i sayd

    but this for debug mode , show in client like this in photo

    fead0a174b36476d9cfef92a9fcc0cc9.png

  6. On 3/1/2017 at 10:47 AM, [007]DawisHU said:

    Root -> Game.py Start line 209
    search this
     

      Hide contents

            if constInfo.PVPMODE_TEST_ENABLE:
                self.testPKMode = ui.TextLine()
                self.testPKMode.SetFontName(locale.UI_DEF_FONT)
                self.testPKMode.SetPosition(0, 15)
                self.testPKMode.SetWindowHorizontalAlignCenter()
                self.testPKMode.SetHorizontalAlignCenter()
                self.testPKMode.SetFeather()
                self.testPKMode.SetOutline()
                self.testPKMode.Show()

                self.testAlignment = ui.TextLine()
                self.testAlignment.SetFontName(locale.UI_DEF_FONT)
                self.testAlignment.SetPosition(0, 35)
                self.testAlignment.SetWindowHorizontalAlignCenter()
                self.testAlignment.SetHorizontalAlignCenter()
                self.testAlignment.SetFeather()
                self.testAlignment.SetOutline()
                self.testAlignment.Show() 

    Aligment like negative pozitiv rang moving

    Next:
     

    line 583
     

      Hide contents

        def __BuildDebugInfo(self):
            ## Character Position Coordinate
            self.PrintCoord = ui.TextLine()
            self.PrintCoord.SetFontName(locale.UI_DEF_FONT)
            self.PrintCoord.SetPosition(wndMgr.GetScreenWidth() - 270, 0)

            ## Frame Rate
            self.FrameRate = ui.TextLine()
            self.FrameRate.SetFontName(locale.UI_DEF_FONT)
            self.FrameRate.SetPosition(wndMgr.GetScreenWidth() - 270, 20)

            ## Camera Pitch
            self.Pitch = ui.TextLine()
            self.Pitch.SetFontName(locale.UI_DEF_FONT)
            self.Pitch.SetPosition(wndMgr.GetScreenWidth() - 270, 40)

            ## Splat
            self.Splat = ui.TextLine()
            self.Splat.SetFontName(locale.UI_DEF_FONT)
            self.Splat.SetPosition(wndMgr.GetScreenWidth() - 270, 60)

            # TextureNum
            self.TextureNum = ui.TextLine()
            self.TextureNum.SetFontName(locale.UI_DEF_FONT)
            self.TextureNum.SetPosition(wndMgr.GetScreenWidth() - 270, 80)

            # 오브젝트 그리는 개수
            self.ObjectNum = ui.TextLine()
            self.ObjectNum.SetFontName(locale.UI_DEF_FONT)
            self.ObjectNum.SetPosition(wndMgr.GetScreenWidth() - 270, 100)

            # 시야거리
            self.ViewDistance = ui.TextLine()
            self.ViewDistance.SetFontName(locale.UI_DEF_FONT)
            self.ViewDistance.SetPosition(0, 0)

    Name and etc moving

     

    pro i don't have this in game.py

    Spoiler

       if constInfo.PVPMODE_TEST_ENABLE:
                self.testPKMode = ui.TextLine()
                self.testPKMode.SetFontName(locale.UI_DEF_FONT)
                self.testPKMode.SetPosition(0, 15)
                self.testPKMode.SetWindowHorizontalAlignCenter()
                self.testPKMode.SetHorizontalAlignCenter()
                self.testPKMode.SetFeather()
                self.testPKMode.SetOutline()
                self.testPKMode.Show()

                self.testAlignment = ui.TextLine()
                self.testAlignment.SetFontName(locale.UI_DEF_FONT)
                self.testAlignment.SetPosition(0, 35)
                self.testAlignment.SetWindowHorizontalAlignCenter()
                self.testAlignment.SetHorizontalAlignCenter()
                self.testAlignment.SetFeather()
                self.testAlignment.SetOutline()
                self.testAlignment.Show() 

    Aligment like negative pozitiv rang moving

    my game.py is

    http://pastebin.com/sM7AMibY

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.