Jump to content

pewpew5

Inactive Member
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by pewpew5

  1. 2 minutes ago, ReFresh said:

    To fix the hair problem, just add 46039.sub file into icon/hair/ and in the .sub file edit the image name. And for the armor problem, I think you fked up client sided item_proto, probably wrongly packed or you fked up some lines in item_proto, one missing space or tab can cause the problem like you have with the armor.

    Thank you!

    Strange, i was getting pretty confident on the item proto editing, i edited and fully tested a lot of stuff on it. Gonna try to find the issue.

  2. 2 hours ago, ReFresh said:

    Show us the screenshot of the mentioned problem, but I think you did a mistake in client sided item_proto. And client sysser is clean?

    Ow i didnt notice there was an error log! Dont understand the references to icon/hair/

    image with the problem: 

    vnum of the warrior: from 46030 to 46039

    shape index is 4514

    //////////////////////////////////

    error log:

    0925 18:05:33717 :: Traceback (most recent call last):

    0925 18:05:33717 ::   File "ui.py", line 1474, in OnOverInItem

    0925 18:05:33718 ::   File "ui.py", line 87, in __call__

    0925 18:05:33719 ::   File "ui.py", line 78, in __call__

    0925 18:05:33719 ::   File "uiInventory.py", line 931, in OverInItem

    0925 18:05:33720 ::   File "uiInventory.py", line 1107, in ShowToolTip

    0925 18:05:33721 ::   File "uiToolTip.py", line 545, in SetInventoryItem

    0925 18:05:33722 ::   File "uiToolTip.py", line 876, in AddItemData

    0925 18:05:33723 ::   File "uiToolTip.py", line 1268, in __AppendHairIcon

    0925 18:05:33723 ::   File "uiToolTip.py", line 239, in ResizeToolTip

    0925 18:05:33724 ::   File "ui.py", line 1893, in SetSize

    0925 18:05:33725 :: RuntimeError
    0925 18:05:33725 :: : 
    0925 18:05:33725 :: Failed to load image (filename: icon/hair/46039.sub)
    0925 18:05:33725 :: 

    ////////////////////////////////////////////////////////

    item proto line: 

     

     

     

    Spoiler

  3. Hello!

     

    I jut added some sweet armor from this forum. The textures  load and the effects are ok. The item proto was made based on lvl66 armor and i validated on navicat all the lines and they look ok! (i added the lines via txt and not via query on navicat)

    But the problem remains, when i hover my mouse over the armor it just shows the name. When i equip it the stats that i configured in item proto enter in effect, but i cant see any stats on the armor when i hover the mouse. Cant ugrade the item and cant put stones on it (i get bugged also after i do that, cant equip or unequip anything)

    Do you guys have any tips on what can i check? i am not seeing what is wrong. ( i am gonna dump item proto again but i dont think that is the issue)

     

    (i followed this guide 

    )

  4. Ultimatly i was using the XXXX.use the wrong way.

    the anti exp ring  code that works great is this

    quest antiexpring begin
        state start begin
            when 40002.use with pc.getqf("antiexp") == 0 begin 
                local anti = pc.get_exp()
                pc.setqf("exp", anti)
                pc.setqf("antiexp", 1)
                timer("antiexptimer", 1)
                chat("Anti Exp Enabled")
            end
            when 40002.use with pc.getqf("antiexp") == 1 begin
                pc.setqf("antiexp", 0)
                chat("Anti Exp Disabled")
            end
            when kill with pc.getqf("antiexp") == 1 begin
                local exp = pc.get_exp()
                pc.give_exp2(-exp+pc.getqf("exp"))
            end
            when party_kill with pc.getqf("antiexp") == 1 begin
                local exp = pc.get_exp()
                pc.give_exp2(-exp+pc.getqf("exp"))
            end

            when antiexptimer.timer with pc.getqf("antiexp") == 1 begin
                local exp = pc.get_exp()
                pc.give_exp2(-exp+pc.getqf("exp"))
            end
        end
    end

  5. Hello sorry to bother you guys again! But can yah help me with making a file.quest that checks if an emotion mask is equipped and if so block exp gain.

    My first question is i have seen suggestions of pc.block_exp(), the input on the function is true = block and false = unblock?

    my second question is how do i check if a certain item is equipped using the functions from the function list?

     

     

     

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