Jump to content

Xerneas

Inactive Member
  • Posts

    84
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Xerneas

  1. vor 19 Minuten schrieb Kingsman:

    Why you don't use Great offline-shop?

    Ken offline-shop have more bugs and it's hard to solve all, i have Ken offline-shop and i regret it.

    I bought from Great offline-shop and search-offline-shop and i don't use this offline-shop.

    Maybe you want, i leave link to download in this post: 

    This is the hidden content, please

    Enjoy!

    You use great shop? If yes can i write a you a pm? Have a question for this

  2. vor 55 Minuten schrieb wezt:

    Probably it's too late for an answer, but still it could be helpful for someone ;)

    This problem appears because in original files from Mijago exists some small mistakes (look at marked rows):

      Unsichtbaren Inhalt anzeigen

    VhCAn.png

     

    Next changes fixed errors for me:

      Unsichtbaren Inhalt anzeigen

    yFtTh.png

     

    Regards.

    Helpfully thanks!

  3. Good Evening,

     

    
        0330 18:32:02716 :: Traceback (most recent call last):
        0330 18:32:02716 ::   File "uiInventory.py", line 557, in OnUpdate
        0330 18:32:02716 :: AttributeError
        0330 18:32:02716 :: : 
        0330 18:32:02716 :: 'int' object has no attribute 'DisableSlotCoverImage'
        0330 18:32:02716 :: 

     

    Code:

     

    
    		def OnUpdate(self):
    			# self.RefreshBagSlotWindow()
    			for i in xrange(player.INVENTORY_PAGE_SIZE):
    				GlobalSlot = self.__InventoryLocalSlotPosToGlobalSlotPos(i)
    			if player.GetItemLook(GlobalSlot):
    				self.wndItem.EnableSlotCoverImage(i)
    			else:
    				self.wndItem.DisableSlotCoverImage(i)
    			if player.FindActivedChangeLookSlot(0) == GlobalSlot or player.FindActivedChangeLookSlot(1) == GlobalSlot:
    				self.wndItem.ActivateChangeLookSlot(i)
    			else:
    				self.wndItem.DeactivateChangeLookSlot(i)

    I´ve checked the code, but i didnt found the error..

    Any Ideas? o_O

  4. Hey, i´ve tried to increase the max_exp value from DWORD (4200000000) to long long,

    but i think i failed something. Whic parts i edited?

    char.h:

    long long		GetNextExp() const;
    
    long long			GetExp() const		{ return m_points.exp;	}
    
    
    void			SetExp(long long exp)	{ m_points.exp = exp;	}

    char.cpp

     

    case POINT_EXP:
    			{
    				DWORD exp = GetExp();  // i dont if this necesessary
    				long long next_exp = GetNextExp();
    
    				// û¼Ò³âº¸È£
    				if (LC_IsNewCIBN())
    				{
    					if (IsOverTime(OT_NONE))
    					{
    						dev_log(LOG_DEB0, "<EXP_LOG> %s = NONE", GetName());
    					}
    					else if (IsOverTime(OT_3HOUR))
    					{
    						amount = (amount / 2);
    						dev_log(LOG_DEB0, "<EXP_LOG> %s = 3HOUR", GetName());
    					}
    					else if (IsOverTime(OT_5HOUR))
    					{
    						amount = 0;
    						dev_log(LOG_DEB0, "<EXP_LOG> %s = 5HOUR", GetName());
    					}
    				}
    
    				// exp°¡ 0 ÀÌÇÏ·Î °¡Áö ¾Êµµ·Ï ÇÑ´Ù
    				if (amount < 0 && exp < -amount)
    				{
    					sys_log(1, "%s AMOUNT < 0 %d, CUR EXP: %d", GetName(), -amount, exp);
    					amount = -exp;
    
    					SetExp(exp + amount);
    					val = GetExp();
    				}
    				else
    				{
    					if (gPlayerMaxLevel <= GetLevel())
    						return;
    					
    					if (block_exp && amount > 0)
    						{
    							return;
    						}
    
    					if (test_server)
    						ChatPacket(CHAT_TYPE_INFO, "You have gained %d exp.", amount);
    
    					DWORD iExpBalance = 0;
    
    					// ·¹º§ ¾÷!
    					if (exp + amount >= next_exp)
    					{
    						iExpBalance = (exp + amount) - next_exp;
    						amount = next_exp - exp;
    
    						SetExp(0);
    						exp = next_exp;
    					}
    					else
    					{
    						SetExp(exp + amount);
    						exp = GetExp();
    					}
    
    					long long q = (long long)(next_exp / 4.0f);
    					int iLevStep = GetRealPoint(POINT_LEVEL_STEP);
    
    					// iLevStepÀÌ 4 ÀÌ»óÀÌ¸é ·¹º§ÀÌ ¿Ã¶ú¾î¾ß ÇϹǷΠ¿©±â¿¡ ¿Ã ¼ö ¾ø´Â °ªÀÌ´Ù.
    					if (iLevStep >= 4)
    					{
    						sys_err("%s LEVEL_STEP bigger than 4! (%d)", GetName(), iLevStep);
    						iLevStep = 4;
    					}
    
    					if (exp >= next_exp && iLevStep < 4)
    					{
    						for (int i = 0; i < 4 - iLevStep; ++i)
    							PointChange(POINT_LEVEL_STEP, 1, false, true);
    					}
    					else if (exp >= q * 3 && iLevStep < 3)
    					{
    						for (int i = 0; i < 3 - iLevStep; ++i)
    							PointChange(POINT_LEVEL_STEP, 1, false, true);
    					}
    					else if (exp >= q * 2 && iLevStep < 2)
    					{
    						for (int i = 0; i < 2 - iLevStep; ++i)
    							PointChange(POINT_LEVEL_STEP, 1, false, true);
    					}
    					else if (exp >= q && iLevStep < 1)
    						PointChange(POINT_LEVEL_STEP, 1);
    
    					if (iExpBalance)
    					{
    						PointChange(POINT_EXP, iExpBalance);
    					}
    
    					val = GetExp();
    				}
    			}
    			break;

    binary:

    PyObject * playerGetEXP(PyObject* poSelf, PyObject* poArgs)
    {
    	long long dwEXP = CPythonPlayer::Instance().GetStatus(POINT_EXP);
    	return Py_BuildValue("K", dwEXP);
    }

    and some parts in uitaskbar and uicharacter... but i dont works, how much i miss? What did i failed?

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