Jump to content

Thorer

Banned
  • Posts

    97
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by Thorer

  1. Hi guys.

     

    I have a problem, when i wear the belt or new ring i cant see it on my inventory.

     

    I add new slots:

    {"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
    {"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
    {"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},

    And into bin i add

    #define ENABLE_NEW_EQUIPMENT_SYSTEM
    #define ENABLE_DRAGON_SOUL_SYSTEM

    But it still wont work, any ideas?

  2. I need to do something else.

     

    I found this in PythonWindows.cpp

    	void CNumberLine::SetNumber(const char * c_szNumber)
    	{
    		if (0 == m_strNumber.compare(c_szNumber))
    			return;
    
    		ClearNumber();
    
    		m_strNumber = c_szNumber;
    
    		for (DWORD i = 0; i < m_strNumber.size(); ++i)
    		{
    			char cChar = m_strNumber[i];
    			std::string strImageFileName;
    
    			if (':' == cChar)
    			{
    				strImageFileName = m_strPath + "colon.sub";
    			}
    			else if ('?' == cChar)
    			{
    				strImageFileName = m_strPath + "questionmark.sub";
    			}
    			else if ('/' == cChar)
    			{
    				strImageFileName = m_strPath + "slash.sub";
    			}
    			else if ('%' == cChar)
    			{
    				strImageFileName = m_strPath + "percent.sub";
    			}
    			else if ('+' == cChar)
    			{
    				strImageFileName = m_strPath + "plus.sub";
    			}
    			else if ('m' == cChar)
    			{
    				strImageFileName = m_strPath + "m.sub";
    			}
    			else if ('g' == cChar)
    			{
    				strImageFileName = m_strPath + "g.sub";
    			}
    			else if ('p' == cChar)
    			{
    				strImageFileName = m_strPath + "p.sub";
    			}
    			else if (cChar >= '0' && cChar <= '9')
    			{
    				strImageFileName = m_strPath;
    				strImageFileName += cChar;
    				strImageFileName += ".sub";
    			}
    			else
    				continue;
    
    			if (!CResourceManager::Instance().IsFileExist(strImageFileName.c_str()))
    				continue;
    
    			CGraphicImage * pImage = (CGraphicImage *)CResourceManager::Instance().GetResourcePointer(strImageFileName.c_str());
    
    			CGraphicImageInstance * pInstance = CGraphicImageInstance::New();
    			pInstance->SetImagePointer(pImage);
    			m_ImageInstanceVector.push_back(pInstance);
    
    			m_dwWidthSummary += pInstance->GetWidth();
    		}
    	}

    What i should edit too?

  3. Hi guys.

     

    I have a problem, i changed nothing in any game source files, but my quest function say("") stopped working.

     

    Quest window shows up only one time after reboot server, and thats all, untill reboot any other say("") dont work.

     

    In my errorlog from client:

    0615 14:09:29430 :: Source file has no content

    Anybody know how to fix it?

     

    Other functions like chat("") are working.

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