Jump to content

avertuss

Inactive Member
  • Posts

    480
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by avertuss

  1. 42 minutes ago, ZenkoKXO. said:
    
    quest blokada5 begin
    	state start begin
    		when kill with not npc.is_pc() and pc.get_map_index() == 273 and pc.get_level() >= 95 begin
    			if pc.get_exp() >= 1 then 
    				pc.give_exp2(-pc.get_exp())
    			end
    			chat("|cFF00ff33[Informacja]|h|cFFFFFFFF|h Masz za duży poziom aby zdobywać tu doświadczenie! ")
    		end
    		
    		when login with pc.get_map_index() == 273 and pc.get_level() >= 95 begin
    			chat("Ustawiłem QF na wartość: "..pc.get_exp())
    			chat("|cFF00ff33[Informacja]|h|cFFFFFFFF|h Masz za duży poziom aby zdobywać tu doświadczenie! ")
    		end
    	end
    end

     

    Same. Maybe I need to change in the exp functions of int to long long if I made the max gold? Like this

    http://pastebin.com/2sNSGfai

  2. 17 minutes ago, Shang said:

    To ban sashes in guildstorage put the vnums of sashed inside this table in quest:

    local blackListItem = {50821,50822,50823,50824,50825,50826,51002}

    And replace def OverInItem with this:

    def OverInItem(self, index):
            items = constInfo.GUILDSTORAGE["slots"]["TAB"+str(self.tab)]
            attrs = [(items[index][8],items[index][9]),(items[index][10],items[index][11]),(items[index][12],items[index][13]),(items[index][14],items[index][15]),(items[index][16],items[index][17]),(items[index][18],items[index][19]),(items[index][20],items[index][21])]
            attrs += [(0,0)]*8
            self.toolTip.ClearToolTip()
            self.toolTip.AddRefineItemData(items[index][0], [items[index][2],items[index][3],items[index][4],items[index][5],items[index][6],items[index][7]], attrs)

    Tell if works.

    It's working. Thank you so much 

    • Love 1
  3. Hi, i have little problem. I can't see item info in guild storage. syserr

    0521 15:22:41872 :: Traceback (most recent call last):

    0521 15:22:41872 :: File "ui.py", line 1504, in OnOverInItem

    0521 15:22:41872 :: File "ui.py", line 87, in __call__

    0521 15:22:41872 :: File "ui.py", line 78, in __call__

    0521 15:22:41872 :: File "uiguildstorage.py", line 218, in OverInItem

    0521 15:22:41872 :: File "uiToolTip.py", line 1004, in AddRefineItemData

    0521 15:22:41872 :: File "uiToolTip.py", line 1122, in AddItemData

    0521 15:22:41872 :: File "uiToolTip.py", line 1537, in __AdjustMaxWidth

    0521 15:22:41873 :: File "uiToolTip.py", line 1549, in __AdjustAttrMaxWidth

    0521 15:22:41873 :: IndexError
    0521 15:22:41873 :: : 
    0521 15:22:41873 :: list index out of range
    0521 15:22:41873 :: 

     

     

    guildstorage http://pastebin.com/32CYeCzT
    tooltip http://pastebin.com/mvx8yY6b

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