Jump to content

Zeta

Inactive Member
  • Posts

    73
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Zeta

  1. I have some problems i compile the new binary and when i try to login it didn't work...

     

    SYSerr:

    1006 07:51:08963 :: Traceback (most recent call last):
    
    1006 07:51:08963 :: File "networkModule.py", line 205, in SetSelectCharacterPhase
    
    1006 07:51:08963 :: File "exception.py", line 28, in Abort
    
    1006 07:51:08963 :: File "exception.py", line 9, in GetExceptionString
    
    1006 07:51:08963 :: File "system.py", line 137, in __pack_import
    
    1006 07:51:08963 :: ImportError
    1006 07:51:08963 :: :
    1006 07:51:08963 :: Bad magic number in E:dasflibtraceback.pyc
    1006 07:51:08963 :: 
    • Love 1
  2. I have some problems i compile the new binary and when i try to login it didn't work...

     

    SYSerr:

    1006 07:51:08963 :: Traceback (most recent call last):
    
    1006 07:51:08963 ::   File "networkModule.py", line 205, in SetSelectCharacterPhase
    
    1006 07:51:08963 ::   File "exception.py", line 28, in Abort
    
    1006 07:51:08963 ::   File "exception.py", line 9, in GetExceptionString
    
    1006 07:51:08963 ::   File "system.py", line 137, in __pack_import
    
    1006 07:51:08963 :: ImportError
    1006 07:51:08963 :: : 
    1006 07:51:08963 :: Bad magic number in E:dasflibtraceback.pyc
    1006 07:51:08963 :: 
    
  3. solved..

     

    This was the problem:

     

    bool CActorInstance::IsPoly()
    {
    	if (TYPE_POLY==m_eActorType)
    		return true;
    
    	if (TYPE_PC==m_eActorType)
    		if (m_eRace >= MAIN_RACE_MAX_NUM)
    			return TRUE;
    
    	return false;
    }

    Increase MAIN_RACE_MAX_NUM to 9 and you will be fine

    I can't find this from where need MAIN_RACE_MAX_NUM modification game source client db?

  4.  

    I cant attack with fist ingame.. is there any check that blocks it?

     

    I guess you should create something like chr.MOTION_MODE_CLAW and use it to load there the attack motions etc..

     

    def __LoadGameWolfmanEx(race, path):
    	chrmgr.SelectRace(race)
    
    	## GENERAL MOTION MODE
    	SetGeneralMotions(chr.MOTION_MODE_GENERAL, path + "general/")
    	chrmgr.SetMotionRandomWeight(chr.MOTION_MODE_GENERAL, chr.MOTION_WAIT, 0, 70)
    	chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_GENERAL, chr.MOTION_WAIT, "wait_1.msa", 30)
    	chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_GENERAL, chr.MOTION_COMBO_ATTACK_1, "attack.msa", 50)
    	chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_GENERAL, chr.MOTION_COMBO_ATTACK_1, "attack_1.msa", 50)
    
    	chrmgr.ReserveComboAttackNew(chr.MOTION_MODE_GENERAL, COMBO_TYPE_1, 1)
    	chrmgr.RegisterComboAttackNew(chr.MOTION_MODE_GENERAL, COMBO_TYPE_1, COMBO_INDEX_1, chr.MOTION_COMBO_ATTACK_1)
  5. 1004 11:19:21900 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/damage.msa) ERROR
    1004 11:19:21900 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/damage_1.msa) ERROR
    1004 11:19:21900 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/damage_2.msa) ERROR
    1004 11:19:21900 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/damage_3.msa) ERROR
    1004 11:19:21900 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/damage_flying.msa) ERROR
    1004 11:19:21900 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/falling_stand.msa) ERROR
    1004 11:19:21904 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/back_falling_stand.msa) ERROR
    1004 11:19:21920 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/attack.msa) ERROR
    1004 11:19:21920 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc3/wolfman/general/attack_1.msa) ERROR
     
    I can't find this msa..
  6. Hi metin2dev i have a problem when compile dev:

     

    check _server.h:8: error: expected template-name before '<' token

    check _server.h:8: error: expected `{' before '<' token

    check_server.h:8: error: expected unqualified-id before '<' token

     

    check_server.h line 8:

     

    class CCheckServer : public singleton <CCheckServer> 

    #ifndef _M2_CHECK_SERVER_KEY_H_
    #define _M2_CHECK_SERVER_KEY_H_
    
    #include <string>
    #include <vector>
    #include "CheckServerKey.h"
    
    class CCheckServer : public singleton <CCheckServer> 
    {
    public:
    	CCheckServer()
    		: m_bValid(FALSE)
    	{}
    
    	FORCEINLINE void AddServerKey(const char* pServerKey) {
    		m_vKey.push_back(pServerKey);
    	}
    
    	FORCEINLINE BOOL CheckIP(const char* pIP) {
    		m_bValid = FALSE;
    
    		// 디파인 안걸리면 체크 안함
    #ifndef _USE_SERVER_KEY_
    		m_bValid = TRUE;
    		return m_bValid;
    #endif
    		for (UINT i = 0; i < m_vKey.size(); i++) {
    			// 하나라도 맞는 서버키가 있으면 ok
    			std::string errorString;
    			if (CheckServerKey(m_vKey[i].c_str(), pIP, "", errorString)) {
    				m_bValid = TRUE;
    				break;
    			}
    		}
    		return m_bValid;
    	}
    
    	FORCEINLINE BOOL IsValid() const {
    		return m_bValid;
    	}
    	
    private:
    	std::vector<std::string> m_vKey;
    	BOOL m_bValid;
    };
    
    #endif // #ifndef _M2_CHECK_SERVER_KEY_H_
    
  7.  

    Jesus Christ.

    AppendTextLine is a method of uiTooltip.Tooltip() class object.

     

    You can use two methods of TextLine to make a colored line:

    class TextLine(Window):
    	def SetFontColor(self, red, green, blue):
    		wndMgr.SetFontColor(self.hWnd, red, green, blue)
    
    	def SetPackedFontColor(self, color):
    		wndMgr.SetFontColor(self.hWnd, color)
    
    

    The packed color is that what the grp module can generate to you with the GenerateColor method.

    For example(lightgreen): packed_color = grp.GenerateColor(105./255, 1., 75./255, 1.)

     

    Usage:

    text = ui.TextLine()
    #text.SetParent(self)
    text.SetDefaultFontName()
    text.SetPosition(16, 77)
    text.SetPackedFontColor(grp.GenerateColor(105./255, 1., 75./255, 1.))
    #text.SetFontColor(105/255., 255./255, 75./255)
    text.SetText("This is a green message")
    text.Show()
    

    Thanks!!!

    • Love 1
  8. self.skill1text1 = ui.TextLine()
    self.skill1text1.SetParent(self.thin)
    self.skill1text1.SetDefaultFontName()
    self.skill1text1.SetPosition(15, 10)
    self.skill1text1.AppendTextLine("Startgebot:" + str(NewStartGebot),grp.GenerateColor( (255.00 / 255) , (200.00 / 255), (72.00 / 255), 1.0))
    self.skill1text1.SetOutline()
    self.skill1text1.Show()
     
    Like this?
     
    it didn't work
     
    'TextLine' object has no attribute 'AppendTextLine'
×
×
  • 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.