Jump to content

noisa

Inactive Member
  • Posts

    15
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by noisa

  1. Hello everyone.
    After I put it in. You receive the following error.

    0606 12:37:26630 :: Traceback (most recent call last):
    
    0606 12:37:26630 ::   File "ui.py", line 2206, in OnOverInItem
    
    0606 12:37:26630 ::   File "ui.py", line 120, in __call__
    
    0606 12:37:26631 ::   File "ui.py", line 111, in __call__
    
    0606 12:37:26631 ::   File "uiInventory.py", line 1006, in OverInItem
    
    0606 12:37:26631 ::   File "uiInventory.py", line 1182, in ShowToolTip
    
    0606 12:37:26631 ::   File "uiToolTip.py", line 571, in SetInventoryItem
    
    0606 12:37:26631 :: AttributeError
    0606 12:37:26631 :: : 
    0606 12:37:26631 :: 'ItemToolTip' object has no attribute 'SetCompareItem'

     

    • Metin2 Dev 2
  2. Hi!

    Help pls!

    After loading the trading house, it works.
    But error:
    After teleporting, the character's speed doubles.

    client syserr:

    Quote


    0321 19:18:04713 :: Traceback (most recent call last):

    0321 19:18:04713 ::   File "game.py", line 1489, in OnUpdate

    0321 19:18:04713 :: AttributeError
    0321 19:18:04713 :: : 
    0321 19:18:04713 :: 'NoneType' object has no attribute 'IsShow'
    0321 19:18:04713 :: 

    0321 19:18:04714 :: Traceback (most recent call last):

    0321 19:18:04714 ::   File "game.py", line 1537, in OnRender

    0321 19:18:04714 :: AttributeError
    0321 19:18:04714 :: : 
    0321 19:18:04714 :: 'NoneType' object has no attribute 'Console'
    0321 19:18:04714 :: 


    Normal client, no tradehause ok.
    What?

     

     

    :(

  3.  

    To open it from NPC, edit game.py -> def Teleport(self, getString) function :

    def Teleport(self, getString): 
    	if getString.find("index") != -1: 
    		self.teleport.UpdateIndex(int(getString.split("x")[1])) 
    	else if getString.find("open") != -1:
    		self.teleport.Open()
    	else: 
    		constInfo.SendString = str(self.teleport.SendToServer) 
    		constInfo.CApiSetHide = 1  
    

    Now open the quest and add the chat statement:

    when NPC_CODE.chat."Teleport GUI" begin
    	cmdchat("Teleport open")
    end
    

    Thank you! 

  4. player no have permission for view eq ....

    only in gm work -.-

    u have acmd for player ?

    cmd_general.cpp

    ACMD(do_view_equip)
    {
    	//if (ch->GetGMLevel() <= GM_PLAYER)
    		//return;
    
    	char arg1[256];
    	one_argument(argument, arg1, sizeof(arg1));
    
    	if (*arg1)
    	{
    		DWORD vid = 0;
    		str_to_number(vid, arg1);
    		LPCHARACTER tch = CHARACTER_MANAGER::instance().Find(vid);
    
    		if (!tch)
    			return;
    
    		if (!tch->IsPC())
    			return;
    		/*
    		   int iSPCost = ch->GetMaxSP() / 3;
    
    		   if (ch->GetSP() < iSPCost)
    		   {
    		   ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("정신력이 부족하여 다른 사람의 장비를 볼 수 없습니다."));
    		   return;
    		   }
    		   ch->PointChange(POINT_SP, -iSPCost);
    		 */
    		tch->SendEquipment(ch);
    	}
    }
    
    • Love 3
×
×
  • 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.