Jump to content

Shisui

Former Staff
  • Posts

    977
  • Joined

  • Last visited

  • Days Won

    15
  • Feedback

    0%

Posts posted by Shisui

  1. If this method doesn't work let me know.

    UserInterface/UserInterface.cpp

    Spoiler

    Replace

    
    #pragma comment( lib, "python22.lib" )
    
    with
    
    #pragma comment( lib, "python27.lib" )

     

    ScriptLib/PythonLauncher.cpp

    Spoiler

    Replace

    
    #include <Python-2.2/frameobject.h>
    
    with
    
    #include <Python-2.7/frameobject.h>
    
    
     

    ScriptLib/PythonLauncher.h

    Spoiler

    Replace

    
    #include <Python-2.2/frameobject.h>
    
    with
    
    #include <Python-2.7/frameobject.h>
    
    
     

    ScriptLib/PythonMarshal.cpp

    Spoiler

    Replace

    
    #include <Python-2.2/longintrepr.h>
    
    with
    
    #include <Python-2.7/longintrepr.h>
    
    
     

    ScriptLib/StdAfx.h

    Spoiler

    Replace

    
    #include <Python-2.2/python.h>
    #include <Python-2.2/python.h>
    #include <Python-2.2/node.h>
    #include <Python-2.2/grammar.h>
    #include <Python-2.2/token.h>
    #include <Python-2.2/parsetok.h>
    #include <Python-2.2/errcode.h>
    #include <Python-2.2/compile.h>
    #include <Python-2.2/symtable.h>
    #include <Python-2.2/eval.h>
    #include <Python-2.2/marshal.h>
    
    with
    
    #include <Python-2.7/python.h>
    #include <Python-2.7/python.h>
    #include <Python-2.7/node.h>
    #include <Python-2.7/grammar.h>
    #include <Python-2.7/token.h>
    #include <Python-2.7/parsetok.h>
    #include <Python-2.7/errcode.h>
    #include <Python-2.7/compile.h>
    #include <Python-2.7/symtable.h>
    #include <Python-2.7/eval.h>
    #include <Python-2.7/marshal.h>
    
    
     

    This is the hidden content, please

    • Metin2 Dev 51
    • Good 13
    • Love 2
    • Love 25
  2.  

     

    uiinventory.py

     

    find this:

    self.inventoryTab.append(self.GetChild("Inventory_Tab_02"))

    and add down this:

    self.inventoryTab.append(self.GetChild("Inventory_Tab_03"))
    self.inventoryTab.append(self.GetChild("Inventory_Tab_04"))

    after that find this:

    self.inventoryTab[1].SetEvent(lambda arg=1: self.SetInventoryPage(arg))

    and add down this:

    self.inventoryTab[2].SetEvent(lambda arg=2: self.SetInventoryPage(arg))
    self.inventoryTab[3].SetEvent(lambda arg=3: self.SetInventoryPage(arg))

    find this:

    self.inventoryTab[0].Down()

    and add down this:

    self.inventoryPageIndex = 0

    now lets go to edit the SetInventoryPage function

     

    replace the SetInventoryPage function with this:

    	def SetInventoryPage(self, page):
    		self.inventoryTab[self.inventoryPageIndex].SetUp()
    		self.inventoryPageIndex = page
    		self.RefreshBagSlotWindow()

    file locale/xx/ui/inventorywindow.py:

     

    change EQUIPMENT_START_INDEX = 90 to EQUIPMENT_START_INDEX = 180

     

    after that replace the Inventory_Tab_01 and Inventory_Tab_02 with this:

    This is the hidden content, please

     

    1114 11:39:05558 :: 
    networkModule.py(line:194) SetSelectCharacterPhase
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    introSelect.py(line:28) ?
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    interfaceModule.py(line:14) ?
    system.py(line:130) __pack_import

    networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 148)

    1114 11:39:05558 :: ============================================================================================================
    1114 11:39:05558 :: Abort!!!!

    Wrong tabulations.

    • Metin2 Dev 1
    • Love 1
  3. In makefile

    # MySQL
    ifeq ($(BSD_VERSION), 7)
    INCDIR += -I../../libmysql/7.x-5.1.35
    LIBDIR += -L../../libmysql/7.x-5.1.35
    else
    INCDIR += -I../../libmysql/5.x-5.1.35
    LIBDIR += -L../../libmysql/5.x-5.1.35
    endif

    to

    # MySQL
    INCDIR += -I../../../Extern/include/mysql
    LIBS += -lmysqlclient -lz

    Try it.

    I don't know if will work, because my Extern folder might be different than yours.

  4. Can you make this function say the player name?

    CPythonCharacterManager& rkChrMgr = CPythonCharacterManager::Instance();
        CInstanceBase* pkInstMain = rkChrMgr.GetMainInstancePtr();
        if (pkInstMain){
            if (!pkInstMain->IsGoing() && pkInstMain->__CanSkipCollision()){
                CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, "Wall hack !");
                return false;
            }
        }
    • Love 1
×
×
  • 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.