Jump to content

New type of item - bonus description

Go to solution Solved by Zoom,

Recommended Posts

Hello, i created new type of item and i have a little problem.


I have bonuses on mysql and bonuses are working but i don't see them on description (uitooltip).


I compared code of ITEM_BELT with my new item and i don't see that something is missing.


Somebody know, in which file i can looking for problem/missing part? Best regards.

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

try this in uitooltip
you can edit the vnum of items


        if itemVnum in (71135, 71136):
            table_item = {
                71135 : ["Max HP. +1000", "Against monsters +10%"],
                71136 : ["Max HP. +500", "Against monsters +5%"]}            
            for i in xrange(len(table_item[itemVnum])):
                self.AppendTextLine(table_item[itemVnum][i], self.SPECIAL_POSITIVE_COLOR)


Link to comment
Share on other sites

  • Solution
On 1/14/2021 at 9:44 PM, dattg1337 said:

@Zoom did you edit correctly applytypes in clientside item_proto ?

Yes, bonuses work perfectly.


On 1/14/2021 at 9:48 PM, Hunger said:

Show the python part.


In python i have only new class of UI in uiiinventory and functions for open this gui with button.




elif item.ITEM_TYPE_RUNE == itemType:


Uiscriptfile and that's all in python part.


Edit: I fixed my problem, thank you both of us for trying help :)


Edited by Zoom
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

  • Activity

    1. 2

      acces root denied

    2. 7

      Acce system

    3. 5

      Transmutation Reversal - bug

    4. 0

      How to compile Metin2 .py script to .pyc

    5. 2

      acces root denied

    6. 2

      VPS Choice

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