Jump to content

Metin2 - 4 Inventory Page


Recommended Posts

 

any have compile binary with?:

pls dl link

Log in mainline_released/mainline_sg/Srcs/Client/Userinterface after open GameType.h after search this
?
1
const DWORD c_Inventory_Page_Count = 2;
Replace to
?
1
const DWORD c_Inventory_Page_Count = 4;

 

@Added ;)

 

Best Regards

HaveBeen

  • Love 1

Plain logic saves lives.

Link to comment
Share on other sites

 

 

any have compile binary with?:

pls dl link

Log in mainline_released/mainline_sg/Srcs/Client/Userinterface after open GameType.h after search this
?
1
const DWORD c_Inventory_Page_Count = 2;
Replace to
?
1
const DWORD c_Inventory_Page_Count = 4;

 

@Added ;)

 

Best Regards

HaveBeen

 

 

Next problem, WHY? XD

 

LOLjpg_enrhpxe.jpg

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

 

 

any have compile binary with?:

pls dl link

Log in mainline_released/mainline_sg/Srcs/Client/Userinterface after open GameType.h after search this
?
1
const DWORD c_Inventory_Page_Count = 2;
Replace to
?
1
const DWORD c_Inventory_Page_Count = 4;

 

@Added ;)

 

Best Regards

HaveBeen

 

 

Next problem, WHY? XD

 

LOLjpg_enrhpxe.jpg

 

 

Are you sure you are make part of python? Because i test it and it's work correctly :)

 

Best Regards

HaveBeen

Edited by Metin2 Dev
Core X - External 2 Internal

Plain logic saves lives.

Link to comment
Share on other sites

 

 

 

 

any have compile binary with?:

pls dl link

Log in mainline_released/mainline_sg/Srcs/Client/Userinterface after open GameType.h after search this
?
1
const DWORD c_Inventory_Page_Count = 2;
Replace to
?
1
const DWORD c_Inventory_Page_Count = 4;

 

@Added ;)

 

Best Regards

HaveBeen

 

 

Next problem, WHY? XD

 

LOLjpg_enrhpxe.jpg

 

 

Are you sure you are make part of python? Because i test it and it's work correctly :)

 

Best Regards

HaveBeen

 

 

 

try to fix it, maybe I made a mistake ;p

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 4 weeks later...

can erveryone help me ?

 

0603 21:55:28585 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0603 21:56:52669 :: 
uiInventory.py(line:304) __LoadWindow
ui.py(line:2715) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Inventory_Tab_03'

0603 21:56:52670 :: ============================================================================================================
0603 21:56:52670 :: Abort!!!!


0603 21:56:52670 :: filename=exception.py, name=Abort
0603 21:56:52670 :: filename=uiInventory.py, name=__LoadWindow
0603 21:56:52670 :: filename=uiInventory.py, name=__init__
0603 21:56:52670 :: filename=interfaceModule.py, name=__MakeWindows
0603 21:56:52670 :: filename=interfaceModule.py, name=MakeInterface
0603 21:56:52670 :: filename=game.py, name=__init__
0603 21:56:52671 :: filename=networkModule.py, name=SetGamePhase
0603 21:56:52671 :: filename=prototype.py, name=RunApp
0603 21:56:52671 :: filename=prototype.py, name=<module>
0603 21:56:52671 :: filename=system.py, name=Run
0603 21:56:52671 :: filename=system.py, name=execfile
0603 21:56:52671 :: filename=system.py, name=RunMainScript
0603 21:56:52671 :: filename=system.py, name=<module>
0603 21:56:52671 :: filename=<string>, name=<module>
Link to comment
Share on other sites

For me it not works.

 

If i input this:

def SetInventoryPage(self, page):
   self.inventoryTab[self.inventoryPageIndex].SetUp()
   self.inventoryPageIndex = page
   self.inventoryTab[self.inventoryPageIndex].Down()
   self.RefreshBagSlotWindow()
 
into the uiinventory.py the game stops at the end of the loadingscreen.
 
In my syserr is this:

0606 13:32:18440 :: Traceback (most recent call last):
 
0606 13:32:18440 ::   File "networkModule.py", line 239, in SetGamePhase
 
0606 13:32:18440 ::   File "game.py", line 107, in __init__
 
0606 13:32:18440 ::   File "interfaceModule.py", line 286, in MakeInterface
 
0606 13:32:18440 ::   File "interfaceModule.py", line 170, in __MakeWindows
 
0606 13:32:18441 ::   File "uiInventory.py", line 262, in __init__
 
0606 13:32:18441 ::   File "uiInventory.py", line 399, in __LoadWindow
 
0606 13:32:18441 ::   File "uiInventory.py", line 469, in SetInventoryPage
 
0606 13:32:18441 :: AttributeError
0606 13:32:18441 :: : 
0606 13:32:18441 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
0606 13:32:18441 :: 
 
0606 13:32:59601 :: Traceback (most recent call last):
 
0606 13:32:59601 ::   File "game.py", line 788, in RefreshInventory
 
0606 13:32:59601 ::   File "interfaceModule.py", line 562, in RefreshInventory
 
0606 13:32:59601 :: AttributeError
0606 13:32:59601 :: : 
0606 13:32:59601 :: 'NoneType' object has no attribute 'RefreshQuickSlot'

 
I hope someone can help me. :)

 

Link to comment
Share on other sites

syserr :

0608 23:12:17987 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR


0608 23:12:19051 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0608 23:12:26345 :: Traceback (most recent call last):

0608 23:12:26345 ::   File "networkModule.py", line 239, in SetGamePhase

0608 23:12:26346 ::   File "game.py", line 105, in __init__

0608 23:12:26346 ::   File "interfaceModule.py", line 287, in MakeInterface

0608 23:12:26346 ::   File "interfaceModule.py", line 171, in __MakeWindows

0608 23:12:26346 ::   File "uiInventory.py", line 253, in __init__

0608 23:12:26347 ::   File "uiInventory.py", line 390, in __LoadWindow

0608 23:12:26347 ::   File "uiInventory.py", line 454, in SetInventoryPage

0608 23:12:26347 :: AttributeError
0608 23:12:26347 :: :
0608 23:12:26347 :: 'InventoryWindow' object has no attribute 'inventoryPageIndex'
0608 23:12:26347 ::

0608 23:13:57585 :: Traceback (most recent call last):

0608 23:13:57585 ::   File "game.py", line 791, in RefreshInventory

0608 23:13:57586 ::   File "interfaceModule.py", line 567, in RefreshInventory

0608 23:13:57586 :: AttributeError
0608 23:13:57586 :: :
0608 23:13:57586 :: 'NoneType' object has no attribute 'RefreshQuickSlot'
0608 23:13:57586 ::

 

any help`?

Link to comment
Share on other sites

:( when i start the Client close this back

0609 11:39:00649 :: ui:2825: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0609 11:39:00652 :: 
introLogin.py(line:512) __LoadScript
ui.py(line:2818) LoadScriptFile
ui.py(line:3008) LoadChildren
ui.py(line:3008) LoadChildren
ui.py(line:2825) LoadChildren

LoginWindow.__LoadScript.LoadObject - <type 'exceptions.OverflowError'>:Python int too large to convert to C long

0609 11:39:00652 :: ============================================================================================================
0609 11:39:00652 :: Abort!!!!


0609 11:39:00676 :: ============================================================================================================
0609 11:39:00677 :: Abort!!!!


Link to comment
Share on other sites

exchange.cpp


for (i = 0; i < INVENTORY_MAX_NUM / 4; ++i)
    {
        if (!(item = victim->GetInventoryItem(i)))
            continue;
 
        s_grid1.Put(i, 1, item->GetSize());
    }
    for (i = INVENTORY_MAX_NUM / 4; i < ( INVENTORY_MAX_NUM / 4 ) * 2; ++i)
    {
        if (!(item = victim->GetInventoryItem(i)))
            continue;
 
        s_grid2.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize());
    }
 
    for (i = ( INVENTORY_MAX_NUM / 4 ) * 2; i < ( INVENTORY_MAX_NUM / 4 ) * 3; ++i)
    {
        if (!(item = victim->GetInventoryItem(i)))
            continue;
 
        s_grid3.Put(i - ( INVENTORY_MAX_NUM / 4 ) * 2, 1, item->GetSize());
    }
    for (i = ( INVENTORY_MAX_NUM / 4 ) * 3; i < ( INVENTORY_MAX_NUM / 4 ) * 4; ++i)
    {
        if (!(item = victim->GetInventoryItem(i)))
            continue;
 
        s_grid4.Put(i - ( INVENTORY_MAX_NUM / 4 ) * 3, 1, item->GetSize());
    }

This should fix the error when trading ( Not enought Inventory space ) and Grid 1&amp;2 are full.&nbsp;

  • Love 1
Link to comment
Share on other sites

Announcements



×
×
  • 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.