Jump to content

Metin2 - 4 Inventory Page


Recommended Posts

Hello, i am from Germany, so my English isnt so good.

 

I have the Vanilla Core 2.4.1 and the Test Client 40250

 

I have added everything in the client, and put the exe in my metin 2 file but when i start the client with Metin2-4Inv-Minimap-Fixxed.exe then this appears:

 

"(0xc000007b)"

and the syserr:

 

0211 13:04:24081 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=4, itemIndex=17479) - Failed to item data

0211 13:04:24081 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=5, itemIndex=17479) - Failed to item data

0211 13:04:24081 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=3, itemIndex=17479) - Failed to item data

0211 13:04:24082 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=6, itemIndex=17419) - Failed to item data

0211 13:04:24082 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=7, itemIndex=14419) - Failed to item data

0211 13:04:24082 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=8, itemIndex=17419) - Failed to item data

0211 13:04:25084 :: 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.
0211 13:05:16394 :: Cannot find item by 0
 

 

 

Can anyone help me??

Link to comment
Share on other sites

1AvTn8M.gif

 

Works fine. Thank you very much for the nice tutorial.  :)

What program do you use for making gif?

Whats that texture for level 70 armour?  :wub:

It's not an armor, It's a costume.

http://wiki.metin2.co.uk/index.php/Azrael%27s_Armour

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

  • 4 weeks later...
  • Premium

It's Work For me For a 4 or 5 inv

 

but 3 dont work :

syserr:

0313 12:49:52911 ::
uiInventory.py(line:293) __LoadWindow
ui.py(line:2790) LoadScriptFile

InventoryWindow.LoadWindow.LoadObject - <type 'exceptions.KeyError'>:'window'

0313 12:49:52912 :: ============================================================================================================
0313 12:49:52912 :: Abort!!!!

 

the 3 inv are not the same code for 4 - 5 inv ?

If you're going to do something, then do it right.

Link to comment
Share on other sites

Where must i change BYTE to WORD/DWORD to use 5 Inventory Pages...

I try a lot but with a gut.. 12 Slots are not work.. also Equip Slots are fail..

in inventorywindow.py i change the value to 225 (5 Inventory pages á 45 Slots)..

The last 12 Slots on page 5 does not work. Equip completli not visible in inventar/EQ slots..

 

Here you see the buggy slots: (the empty ones)

K0Pgajq.pngwygQM2s.png

 

greatz

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

  • 2 weeks later...
  • Premium

I added in my source : 

 

int iPos = s_grid1.FindBlank(1, item->GetSize());
   if (iPos >= 0)
   {
    s_grid1.Put(iPos, 1, item->GetSize());
   }
   else
   {
    iPos = s_grid2.FindBlank(1, item->GetSize());
    if (iPos >= 0)
    {
     s_grid2.Put(iPos, 1, item->GetSize());
    }
    else
    {
     iPos = s_grid3.FindBlank(1, item->GetSize());
     if (iPos >= 0)
     {
      s_grid3.Put(iPos, 1, item->GetSize());
     }
     else
     {
      iPos = s_grid4.FindBlank(1, item->GetSize());
      if (iPos >= 0)
      {
       s_grid4.Put(iPos, 1, item->GetSize());
      }
      else
      {
        return false;
       }
      }
     }
    }
return true;
}
And i get next error : 

 

 

exchange.cpp: In member function 'bool CExchange::CheckSpace()':

exchange.cpp:452: error: a function-definition is not allowed here before '{' token

exchange.cpp:642: error: expected `}' at end of input

compile input_auth.cpp

gmake: *** [OBJDIR/exchange.o] Error 1

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 4 weeks later...

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.