Jump to content

Itachi

Banned
  • Posts

    72
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Itachi

  1. On 5/9/2020 at 3:30 PM, xGetHigh said:

    I have the same problem.

    'module' object has no attribute '_PickMoneyDialog__ConvertMoneyText'

    
    'module' object has no attribute '_PickMoneyDialog__ConvertMoneyText'

    Can you tell me how to solve it?

    BTW The "system" is interesting

    uipickmoney.py
    
    search:
    
    moneyValue = min(constInfo.__ConvertMoneyText(text), self.maxValue)
    
    replace
    
    moneyValue = min(constInfo.ConvertMoneyText(text), self.maxValue)
    
    open constinfo.py
    
    search:
    
    def ConvertMoneyText(self, text, powers = dict(k = 10**3, m = 10**6, b = 10**9)):
    
    replace:
    
    def ConvertMoneyText(text, powers = dict(k = 10**3, m = 10**6, b = 10**9)):
    
    add: 
    import re


    problems solved?

    • Good 1
    • Love 2
  2. Severity Code Description Project Project category File Line Status deleted
    Error C1047 The object or library file '.. \ .. \ extern \ lib \ libconfig ++. Lib' was created with a previous compiler to other objects; recompile libraries and old objects UserInterface 3 ? \ new base \ client \ Srcs \ Client \ UserInterface \ LINK 1

    Following the tutorial this is the error that gives first hand.

  3. En 9/11/2017 a las 13:04, Galet dijo:

    Dude at least read the code, you just had to remove one tab (same for the if condition) instead of posting a screen here. Just look at the original code

    metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]# <!> globalSlotNumber may be different <!>

    globalSlotNumber
    replace

    slotNumber

  4. I have an error placing the item description code


    1114 14: 57: 39854 :: Traceback (most recent call last):

    1114 14: 57: 39854 :: File "game.py", line 1390, in SetPCTargetBoard

    1114 14: 57: 39854 :: File "uiTarget.py", line 604, in Open

    1114 14: 57: 39854 :: File "uiTarget.py", line 681, in ResetTargetBoard

    1114 14: 57: 39854 :: AttributeError
    1114 14: 57: 39854 :::
    1114 14: 57: 39854 :: 'TargetBoard' object has not attribute 'elementImageToolTip'
    1114 14: 57: 39854 ::

    this says it is not found

    self.elementImageToolTip = uiToolTip.ToolTip ()
    self.elementImageToolTip.ClearToolTip ()

    they are within the definition
    if you put it in initializate
    the sysser disappears
    but it does not work

  5. good afternoon developer community

    I encountered the following problem

    and I have not found the solution

    It consists of packet error

    or that tells me the sysser

    Channel is not turned off and does not generate game.core
     

    SYSERR: Oct  8 11:26:07 :: pid_init: 
    Start of pid: 21551
    
    SYSERR: Oct  8 11:26:10 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 0 mob 3596 skill 257
    SYSERR: Oct  8 11:26:10 :: LoadSkillMotion: Motion: Skill exist but no motion data for index 1 mob 3596 skill 258
    SYSERR: Oct  8 11:26:10 :: LoadMotion: cannot find accumulation data in file 'data/monster/metinstone_egg/loop.msa'
    SYSERR: Oct  8 11:26:10 :: LoadMotion: Motion: Load failed vnum(34009) motion(2) file(data/monster/pwahuang1_2/walk.msa)
    SYSERR: Oct  8 11:27:58 :: Analyze: login phase does not handle this packet! header 80

     

    I have read all the code and I do not find the error

    Anyone have the faintest idea where I can look?

  6. hace 1 hora, riku11 dijo:

    I think I found the hitch :

     

    
    	eAcce = eAcce + 65536;
    		// __ClearAcceRefineEffect(); // Clear the previous effect
    		// m_acceEffect = EFFECT_REFINED + EFFECT_ACCE_SPECIAL;
    		// __EffectContainer_AttachEffect(m_acceEffect);
    	m_GraphicThingInstance.AttachAcce(eAcce, 0, CRaceData::PART_ACCE);
    
    	if (!eAcce)
    	{
    		__ClearAcceRefineEffect();
    		m_GraphicThingInstance.SetScale(1.0f, 1.0f, 1.0f);
    		m_GraphicThingInstance.SetScalePosition(0.0f, 0.0f, 0.0f);
    		m_awPart[CRaceData::PART_ACCE] = 0;
    	}
    
    
    if(!eAcce) it not possible because eAcce = eAcce + 65536; -> eAcce is never 0 so..
    
    replace this part with 
    
    	eAcce = eAcce + 65536;
    		// __ClearAcceRefineEffect(); // Clear the previous effect
    		// m_acceEffect = EFFECT_REFINED + EFFECT_ACCE_SPECIAL;
    		// __EffectContainer_AttachEffect(m_acceEffect);
    	m_GraphicThingInstance.AttachAcce(eAcce, 0, CRaceData::PART_ACCE);
    
    	if ( eAcce  == 65536)
    	{
    		__ClearAcceRefineEffect();
    		m_GraphicThingInstance.SetScale(1.0f, 1.0f, 1.0f);
    		m_GraphicThingInstance.SetScalePosition(0.0f, 0.0f, 0.0f);
    		m_awPart[CRaceData::PART_ACCE] = 0;
    	}

     

    you are right with it is solved the refresh error
    :wub:
    sorry the annoyance has any idea how to attach a definition
    for various effects?:)

  7. hace 6 horas, riku11 dijo:

    I want to see this func : 

    
    __ClearAcceRefineEffect
    void CInstanceBase::__ClearAcceRefineEffect()
    {
    	if (!m_acceEffect)
    		return;
    	
    	__EffectContainer_DetachEffect(m_acceEffect);
    	m_acceEffect = 0;
    }


     

     

    hace 12 horas, xDiiZeRx dijo:

    Hello! I have a problem too, and i fixed. Change SASH with ACCE

    In InstanceBase.h, Search:

    And change this:

    With this Example 31:

    And Playersettingmodule.py change what you did:

     

    is not correct the topic is not the visualization of the efect
    but refreshing

    of equipment or not

    try to define it differently and how it should be correctly and does not take the functions

  8. I have the following problem of not working correctly the effect when equipping the costumee
    continuous effect permanently equipped or not costumee
    effect disappears only when dying


     

    bool CInstanceBase::SetAcce(DWORD eAcce)
    {
    	if (IsPoly())
    		return false;
    
    	if (__IsShapeAnimalWear())
    		return false;
    
    	eAcce = eAcce + 65536;
    	m_GraphicThingInstance.AttachAcce(eAcce, 0, CRaceData::PART_ACCE);
    
    	if (!eAcce)
    	{
    		__ClearAcceRefineEffect();
    		m_GraphicThingInstance.SetScale(1.0f, 1.0f, 1.0f);
    		m_GraphicThingInstance.SetScalePosition(0.0f, 0.0f, 0.0f);
    		m_awPart[CRaceData::PART_ACCE] = 0;
    	}
    	else
    	{
    		CItemData * pItemData;
    		TItemPos Cell;
    		Cell.cell = c_Costume_Slot_Acce-1;
    		if (CItemManager::Instance().GetItemDataPointer(eAcce, &pItemData))
    		{
    			__EffectContainer_AttachEffect(m_acceEffect);
    			m_acceEffect = EFFECT_REFINED+EFFECT_ACCE_SPECIAL;
    			__EffectContainer_AttachEffect(m_acceEffect);
    
    			DWORD Race = GetRace();
    			DWORD Job = RaceToJob(Race);
    			DWORD Sex = RaceToSex(Race);
    			m_GraphicThingInstance.SetScaleNew(pItemData->GetItemScale(Job, Sex));
    			if(IsMountingHorse())
    			{
    				D3DXVECTOR3 pos = pItemData->GetItemScalePosition(Job, Sex);
    				if (Sex == 1)
    					pos.z = pos.z + 15.0f;
    				else
    					pos.z = pos.z + 10.0f;
    					
    				m_GraphicThingInstance.SetScalePosition(pos);
    			}
    			else
    			{
    				m_GraphicThingInstance.SetScalePosition(pItemData->GetItemScalePosition(Job, Sex));				
    			}
    			m_awPart[CRaceData::PART_ACCE] = eAcce;
    		}
    	}
    
    	return true;
    }

    other methods none works

    bool CInstanceBase::SetAcce(DWORD eAcce)
    {
    	if (IsPoly())
    		return false;
    
    	if (__IsShapeAnimalWear())
    		return false;
    	
    	eAcce = eAcce + 65536;
    		// __ClearAcceRefineEffect(); // Clear the previous effect
    		// m_acceEffect = EFFECT_REFINED + EFFECT_ACCE_SPECIAL;
    		// __EffectContainer_AttachEffect(m_acceEffect);
    	m_GraphicThingInstance.AttachAcce(eAcce, 0, CRaceData::PART_ACCE);
    
    	if (!eAcce)
    	{
    		__ClearAcceRefineEffect();
    		m_GraphicThingInstance.SetScale(1.0f, 1.0f, 1.0f);
    		m_GraphicThingInstance.SetScalePosition(0.0f, 0.0f, 0.0f);
    		m_awPart[CRaceData::PART_ACCE] = 0;
    	}
    	else
    	{
    		CItemData * pItemData;
    		TItemPos Cell;
    		Cell.cell = c_Costume_Slot_Acce-1;
    		if (CItemManager::Instance().GetItemDataPointer(eAcce, &pItemData))
    		{
    			DWORD Race = GetRace();
    			DWORD Job = RaceToJob(Race);
    			DWORD Sex = RaceToSex(Race);
    			m_GraphicThingInstance.SetScaleNew(pItemData->GetItemScale(Job, Sex));	
    			if(IsMountingHorse())
    			{
    				D3DXVECTOR3 pos = pItemData->GetItemScalePosition(Job, Sex);
    				if (Sex == 1)
    					pos.z = pos.z + 15.0f;
    				else
    					pos.z = pos.z + 10.0f;
    					
    				m_GraphicThingInstance.SetScalePosition(pos);
    			}
    			else
    			{
    				m_GraphicThingInstance.SetScalePosition(pItemData->GetItemScalePosition(Job, Sex));				
    			}
    			m_awPart[CRaceData::PART_ACCE] = eAcce;
    			__GetRefinedEffect(pItemData);		
    		}
    		else
    			__ClearAcceRefineEffect();		
    	}
    
        return true;
    }
    
    
    
    	case CItemData::ITEM_TYPE_COSTUME:
    		__ClearAcceRefineEffect();
    
    		if (pItem->GetSubType() == CItemData::COSTUME_ACCE)
    		{
    			case CItemData::COSTUME_ACCE:
    			{
    				m_acceEffect = EFFECT_REFINED + EFFECT_ACCE_SPECIAL;
    				break;
    			}
    		if (m_acceEffect)
    			m_acceEffect = __AttachEffect(m_acceEffect);
    		break;
    		}



    kind regards

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