Jump to content

Tacticus

Inactive Member
  • Posts

    255
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Tacticus

  1. Did you add that line what i've wrote to cmd.cpp?

    { "costume_bonus_transfer",        do_costume_bonus_transfer,            0,            POS_DEAD,    GM_PLAYER    }, 

    ahhh sry i forget it...thanks alot, now it work...but only now must fix this client syser

    some files miss in uitooltip.py i think

  2. Works for me.

    But for one thing, this tutorial missed some thing in cmd.cpp

    We need to add the new command to the list.

    search:
    struct command_info cmd_info[] =

    add to the list:

    { "costume_bonus_transfer",        do_costume_bonus_transfer,            0,            POS_DEAD,    GM_PLAYER    }, 

     

    And second, it has a little bug ingame. If we move the mouse to the bottom slot, it should display the new opt. But it doesnt:

    1010 14:47:07249 ::   File "ui.py", line 1489, in OnOverInItem
    
    1010 14:47:07263 ::   File "ui.py", line 87, in __call__
    
    1010 14:47:07264 ::   File "ui.py", line 78, in __call__
    
    1010 14:47:07264 ::   File "uibonustransfer.py", line 111, in OverInItem
    
    1010 14:47:07264 :: KeyError
    1010 14:47:07264 :: : 
    1010 14:47:07264 :: 403
    1010 14:47:07264 :: 
    
    1010 14:47:08513 :: Traceback (most recent call last):
    
    1010 14:47:08513 ::   File "ui.py", line 1489, in OnOverInItem
    
    1010 14:47:08513 ::   File "ui.py", line 87, in __call__
    
    1010 14:47:08514 ::   File "ui.py", line 78, in __call__
    
    1010 14:47:08514 ::   File "uibonustransfer.py", line 111, in OverInItem
    
    1010 14:47:08514 :: KeyError
    1010 14:47:08514 :: : 
    1010 14:47:08514 :: 403
    1010 14:47:08514 :: 
    
    1010 14:47:13601 :: Traceback (most recent call last):
    
    1010 14:47:13601 ::   File "ui.py", line 1489, in OnOverInItem
    
    1010 14:47:13601 ::   File "ui.py", line 87, in __call__
    
    1010 14:47:13602 ::   File "ui.py", line 78, in __call__
    
    1010 14:47:13602 ::   File "uibonustransfer.py", line 111, in OverInItem

     

    why i get this syser because i m sure i add all correctly?

  3. oke now i can put item, but when i try transfer costume nothing happened ingame...and i get syser:

    1010 13:57:11076 :: CPythonPlayer::SetSkillLevel(SlotIndex=8, SkillLevel=54)
    1010 13:58:19444 :: Traceback (most recent call last):

    1010 13:58:19444 ::   File "ui.py", line 1493, in OnOverInItem

    1010 13:58:19445 ::   File "ui.py", line 87, in __call__

    1010 13:58:19445 ::   File "ui.py", line 78, in __call__

    1010 13:58:19446 ::   File "uibonustransfer.py", line 111, in OverInItem

    1010 13:58:19446 :: KeyError
    1010 13:58:19446 :: : 
    1010 13:58:19446 :: 403
    1010 13:58:19446 :: 

    1010 13:58:21744 :: Traceback (most recent call last):

    1010 13:58:21744 ::   File "ui.py", line 1493, in OnOverInItem

    1010 13:58:21744 ::   File "ui.py", line 87, in __call__

    1010 13:58:21745 ::   File "ui.py", line 78, in __call__

    1010 13:58:21745 ::   File "uibonustransfer.py", line 113, in OverInItem

    1010 13:58:21746 :: KeyError
    1010 13:58:21746 :: : 
    1010 13:58:21746 :: 0
    1010 13:58:21746 :: 

    1010 13:58:23961 :: Traceback (most recent call last):

    1010 13:58:23961 ::   File "ui.py", line 1493, in OnOverInItem

    1010 13:58:23961 ::   File "ui.py", line 87, in __call__

    1010 13:58:23961 ::   File "ui.py", line 78, in __call__

    1010 13:58:23962 ::   File "uibonustransfer.py", line 113, in OverInItem

    1010 13:58:23962 :: KeyError
    1010 13:58:23962 :: : 
    1010 13:58:23962 :: 0
    1010 13:58:23962 :: 

    1010 13:58:24361 :: Traceback (most recent call last):

    1010 13:58:24361 ::   File "ui.py", line 1493, in OnOverInItem

    1010 13:58:24361 ::   File "ui.py", line 87, in __call__

    1010 13:58:24361 ::   File "ui.py", line 78, in __call__

    1010 13:58:24362 ::   File "uibonustransfer.py", line 109, in OverInItem

    1010 13:58:24362 :: AttributeError
    1010 13:58:24362 :: : 
    1010 13:58:24362 :: 'ItemToolTip' object has no attribute 'SetControledToolTip'
    1010 13:58:24362 :: 

    1010 13:58:24578 :: Traceback (most recent call last):

    1010 13:58:24578 ::   File "ui.py", line 1493, in OnOverInItem

    1010 13:58:24578 ::   File "ui.py", line 87, in __call__

    1010 13:58:24578 ::   File "ui.py", line 78, in __call__

    1010 13:58:24579 ::   File "uibonustransfer.py", line 109, in OverInItem

    1010 13:58:24579 :: AttributeError
    1010 13:58:24579 :: : 
    1010 13:58:24579 :: 'ItemToolTip' object has no attribute 'SetControledToolTip'
    1010 13:58:24579 :: 

    1010 13:58:26910 :: Traceback (most recent call last):

    1010 13:58:26910 ::   File "ui.py", line 1493, in OnOverInItem

    1010 13:58:26911 ::   File "ui.py", line 87, in __call__

    1010 13:58:26911 ::   File "ui.py", line 78, in __call__

    1010 13:58:26912 ::   File "uibonustransfer.py", line 109, in OverInItem

    1010 13:58:26912 :: AttributeError
    1010 13:58:26912 :: : 
    1010 13:58:26912 :: 'ItemToolTip' object has no attribute 'SetControledToolTip'
    1010 13:58:26912 :: 

  4. @xP3NG3Rx i use your system and it work perfect, but i have just little problem

     

    Untitled.thumb.png.d11d1047560deea0ff48c

    look, when i put item it show me red not green...how fix that? thx

    Have you added this? 

     

    Hmm, yes, I forgot the GameLib> ItemData.cpp, sorry and I'll edit the download with this:

    const char* CItemData::GetUseTypeString() const
    {
    	if (GetType() != CItemData::ITEM_TYPE_USE)
    		return "NOT_USE_TYPE";
    
    	switch (GetSubType())
    	{
    		case USE_TUNING:
    			return DEF_STR(USE_TUNING);
    		case USE_DETACHMENT:
    			return DEF_STR(USE_DETACHMENT);
    		case USE_CLEAN_SOCKET:
    			return DEF_STR(USE_CLEAN_SOCKET);
    		case USE_CHANGE_ATTRIBUTE:
    			return DEF_STR(USE_CHANGE_ATTRIBUTE);
    		case USE_ADD_ATTRIBUTE:
    			return DEF_STR(USE_ADD_ATTRIBUTE);
    		case USE_ADD_ATTRIBUTE2:
    			return DEF_STR(USE_ADD_ATTRIBUTE2);
    		case USE_ADD_ACCESSORY_SOCKET:
    			return DEF_STR(USE_ADD_ACCESSORY_SOCKET);
    		case USE_PUT_INTO_ACCESSORY_SOCKET:
    			return DEF_STR(USE_PUT_INTO_ACCESSORY_SOCKET);
    		case USE_PUT_INTO_BELT_SOCKET:
    			return DEF_STR(USE_PUT_INTO_BELT_SOCKET);
    		case USE_PUT_INTO_RING_SOCKET:
    			return DEF_STR(USE_PUT_INTO_RING_SOCKET);
    		case USE_CHANGE_COSTUME_ATTR:
    			return DEF_STR(USE_CHANGE_COSTUME_ATTR);
    		case USE_RESET_COSTUME_ATTR:
    			return DEF_STR(USE_RESET_COSTUME_ATTR);
    	}
    	return "USE_UNKNOWN_TYPE";
    }

     

     

    yes

  5. when i try login my client crash and get this syser:  

    Unknown packet header: 103, last: 48 43

     

    what can be problem??

     

    btw when try make with new char login my server crash...did i need edit anything in player.sql?

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