Jump to content

Non Tradeable Items Effect


Recommended Posts

53 minutes ago, Mind Rapist said:

You have to replace all ANTI_SAFEBOX into ANTI_SAVE in item_proto.txt of your serverfiles :P then create new item_proto for client and it will work :P

Btw do you share new sash models?

I made a new Antiflag solved

Last problem:Inventory isn't refreshing

@safademirelSen de biliyorsan bi el at ^_^

  • Love 1
Link to comment
Share on other sites

3 hours ago, blackDragon6116 said:

I made a new Antiflag solved

Last problem:Inventory isn't refreshing

@safademirelSen de biliyorsan bi el at ^_^

try.

open: uisafebox.py

add: import shop

and edit:

in: class SafeboxWindow(ui.ScriptWindow):

dXXjnQ.png

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

  • Honorable Member
42 minutes ago, Superuser said:

try.

open: uisafebox.py

add: import shop

and edit:

in: class SafeboxWindow(ui.ScriptWindow):

dXXjnQ.png

I will try thank you:wub:

Edited by Metin2 Dev
Core X - External 2 Internal

 

Link to comment
Share on other sites

10 hours ago, Superuser said:

try.

open: uisafebox.py

add: import shop

and edit:

in: class SafeboxWindow(ui.ScriptWindow):

dXXjnQ.png

Kanka onunla alakalı değil ya safa'nın kodu client srcden safebox a da ekledim aynı şekilde

 d341c9e1cf.png

yanlış yapmışımdır diye bide bu yolla denedim sonuç aynı

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

4 hours ago, safademirel said:

def ShowWindow(self, size):

def Close(self):

def CommandCloseSafebox(self):
 

add to this methods 

        shop.RefreshInventorySafa()

 

7a0cf7e8f0.png

Thank you bro

Teşekkürler safa sorun yenilemede değilmiş ben yanlış anlamışım yenileme sorunu olsa clientte otomatik 300 saniyede bir yeniliyor(senin refresh kodla hemen tabiki;))

eninde sonunda efektin kaybolması gerekirdi ama bende hiç kaybolmuyordu bi'kaç eklenti daha yaptım en sonunda oldu:rolleyes:

@SuperuserSana da teşekkürler :D 

Spoiler

 

 

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

17 hours ago, Superuser said:

is it normal?

giphy.gif

try this

 

uiprivateshopbuilder.py

 

    def OnClose(self):
    def Open(self, title,days):
 

add to this methods

 

        shop.RefreshInventorySafa()
 

if doesn't work send your uiinventory and uiprivateshopbuilder

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

On 04.09.2016 at 1:00 PM, safademirel said:

try this

 

uiprivateshopbuilder.py

 

    def OnClose(self):
    def Open(self, title,days):
 

add to this methods

 

        shop.RefreshInventorySafa()
 

if doesn't work send your uiinventory and uiprivateshopbuilder

doesn't work

This is the hidden content, please

This is the hidden content, please

  • Love 2
Link to comment
Share on other sites

14 hours ago, Superuser said:

doesn't work

This is the hidden content, please

This is the hidden content, please

uiinventory : 

This is the hidden content, please

uiprivateshopbuilder : 

This is the hidden content, please

  • Metin2 Dev 1
  • Love 3
Link to comment
Share on other sites

0913 16:42:20868 :: Traceback (most recent call last):

0913 16:42:20868 ::   File "networkModule.py", line 247, in SetGamePhase

0913 16:42:20868 ::   File "game.py", line 103, in __init__

0913 16:42:20868 ::   File "interfaceModule.py", line 315, in MakeInterface

0913 16:42:20868 ::   File "interfaceModule.py", line 175, in __MakeWindows

0913 16:42:20868 ::   File "uiInventory.py", line 271, in __init__

0913 16:42:20868 ::   File "uiInventory.py", line 410, in __LoadWindow

0913 16:42:20868 ::   File "uiInventory.py", line 478, in SetInventoryPage

0913 16:42:20869 ::   File "uiInventory.py", line 562, in RefreshBagSlotWindow

0913 16:42:20869 :: NameError
0913 16:42:20869 :: : 
0913 16:42:20869 :: global name 'safebox' is no

Link to comment
Share on other sites

0913 19:36:47765 :: Traceback (most recent call last):

0913 19:36:47765 ::   File "networkModule.py", line 247, in SetGamePhase

0913 19:36:47765 ::   File "game.py", line 103, in __init__

0913 19:36:47765 ::   File "interfaceModule.py", line 315, in MakeInterface

0913 19:36:47765 ::   File "interfaceModule.py", line 175, in __MakeWindows

0913 19:36:47765 ::   File "uiInventory.py", line 272, in __init__

0913 19:36:47765 ::   File "uiInventory.py", line 412, in __LoadWindow

0913 19:36:47765 ::   File "uiInventory.py", line 480, in SetInventoryPage

0913 19:36:47765 ::   File "uiInventory.py", line 564, in RefreshBagSlotWindow

0913 19:36:47765 :: AttributeError
0913 19:36:47765 :: : 
0913 19:36:47765 :: 'module' object has no attribute 'isOpen'
0913 19:36:47765 :: 

0913 19:36:53561 :: Traceback (most recent call last):

0913 19:36:53561 ::   File "game.py", line 823, in RefreshInventory

0913 19:36:53561 ::   File "interfaceModule.py", line 616, in RefreshInventory

0913 19:36:53561 :: AttributeError
0913 19:36:53561 :: : 
0913 19:36:53561 :: 'NoneType' object has no attribute 'RefreshQuickSlot'
0913 19:36:53561 :: 

0913 19:36:53561 :: Traceback (most recent call last):

0913 19:36:53561 ::   File "game.py", line 823, in RefreshInventory

0913 19:36:53561 ::   File "interfaceModule.py", line 616, in RefreshInventory

0913 19:36:53561 :: AttributeError
0913 19:36:53561 :: : 
0913 19:36:53561 :: 'NoneType' object has no attribute 'RefreshQuickSlot'
0913 19:36:53561 :: 

0913 19:36:53561 :: Traceback (most recent call last):

0913 19:36:53561 ::   File "game.py", line 823, in RefreshInventory

0913 19:36:53561 ::   File "interfaceModule.py", line 616, in RefreshInventory

0913 19:36:53562 :: AttributeError
0913 19:36:53562 :: : 
0913 19:36:53562 :: 'NoneType' object has no attribute 'RefreshQuickSlot'
0913 19:36:53562 :: 

Link to comment
Share on other sites

  • 2 years 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.