Jump to content

Sort Inventory


Recommended Posts

  • 3 months later...

@Mali61 i have a problem with v2

error:

Spoiler

0607 23:00:06787 :: ui:2291: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0607 23:00:06789 :: 
uiInventory.py(line:519) __LoadWindow
uiToolTip.py(line:514) AppendTextLine
uiToolTip.py(line:207) AppendTextLine
uiToolTip.py(line:243) ResizeToolTip
ui.py(line:2291) SetSize

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.RuntimeError'>:Not yet select item data

0607 23:00:06789 :: ============================================================================================================
0607 23:00:06789 :: Abort!!!!

 

 

code:

Spoiler

MN5RJ7X.png

syserr codes:
 

Spoiler

Stm7Vf3.png

-

2Yh7CqU.png

what did I do wrong?

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1

tenor.gif

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • Premium
1 hour ago, nonnorulez said:

Ty, but now i have a new problem ?.

sysser say:

image.thumb.png.40ef34f6091e1431783b63c3cc4d6c5a.png

And this is my uiinventory.py

uiinventory.py

Someone can help me? Ty

 

 

Change

    def Close(self):
        self.Hide()
        if app.ENABLE_SORT_INVEN:
            def ClickYenileButton(self):
                if app.IsPressed(app.DIK_LALT):
                    net.SortInven(2)
                elif app.IsPressed(app.DIK_LCONTROL):
                    net.SortInven(3)
                else:
                    net.SortInven(1)

to

	def Close(self):
		self.Hide()
		
	if app.ENABLE_SORT_INVEN:
		def ClickYenileButton(self):
			if app.IsPressed(app.DIK_LALT):
				net.SortInven(2)
			elif app.IsPressed(app.DIK_LCONTROL):
				net.SortInven(3)
			else:
				net.SortInven(1)

 

  • Love 1
Link to comment
Share on other sites

1 hour ago, CHMarvin said:

Change


    def Close(self):
        self.Hide()
        if app.ENABLE_SORT_INVEN:
            def ClickYenileButton(self):
                if app.IsPressed(app.DIK_LALT):
                    net.SortInven(2)
                elif app.IsPressed(app.DIK_LCONTROL):
                    net.SortInven(3)
                else:
                    net.SortInven(1)

to


	def Close(self):
		self.Hide()
		
	if app.ENABLE_SORT_INVEN:
		def ClickYenileButton(self):
			if app.IsPressed(app.DIK_LALT):
				net.SortInven(2)
			elif app.IsPressed(app.DIK_LCONTROL):
				net.SortInven(3)
			else:
				net.SortInven(1)

 

Ty man, i took your advice and the syserrs now say: 

image.thumb.png.530c372b4ab3c2421c99d7315b2e5e36.png

I tryed to write "import uiToolTip"  on uiinventory.py

But i have this error:

image.png.52dc24d67f7a2c033bdf0d7bc4b4f657.png

 

How can i solve?  Thanks to everyone for advice and availability . 

Link to comment
Share on other sites

On 6/7/2019 at 11:18 PM, cjunior2011 said:

@Mali61 i have a problem with v2

error:

  Reveal hidden contents


0607 23:00:06787 :: ui:2291: RuntimeWarning: tp_compare didn't return -1 or -2 for exception

0607 23:00:06789 :: 
uiInventory.py(line:519) __LoadWindow
uiToolTip.py(line:514) AppendTextLine
uiToolTip.py(line:207) AppendTextLine
uiToolTip.py(line:243) ResizeToolTip
ui.py(line:2291) SetSize

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.RuntimeError'>:Not yet select item data

0607 23:00:06789 :: ============================================================================================================
0607 23:00:06789 :: Abort!!!!

 

 

up

tenor.gif

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
Am 21.7.2019 um 17:29 schrieb nonnorulez:

Ty man, i took your advice and the syserrs now say: 

image.thumb.png.530c372b4ab3c2421c99d7315b2e5e36.png

I tryed to write "import uiToolTip"  on uiinventory.py

But i have this error:

image.png.52dc24d67f7a2c033bdf0d7bc4b4f657.png

 

How can i solve?  Thanks to everyone for advice and availability . 

 

Same problem @Mali61

Can you help please? -_-  @VegaS™ bro can you help ? mali doesnt answer :(

 

Edit: Problem solved, Vegas helped me he will post the solution :D

Link to comment
Share on other sites

  • Forum Moderator
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...
  • Active Member
On 21/7/2018 at 20:40, klars99 said:

&& it em-> GetVnu m ()! = 70057

 cher.cpp 

Prueba

sorry to revive this, but how i put this?

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 0

      We are looking for a C++ and Python programmer

    2. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    3. 111

      Ulthar SF V2 (TMP4 Base)

    4. 0

      Quest function when 102.kill definition whereabouts help

    5. 5

      [M2 FILTER] Customized Client Filter

    6. 0

      [INGAME] RGB Color on chat broken

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.