Jump to content

JinHan

Inactive Member
  • Posts

    112
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by JinHan

  1. use that query for that skill

    INSERT INTO `skill_proto` VALUES ('170', 0xC2F7BFAD, '6', '1', '1', '0', 0x4850, 0x2D28312E312A61746B2B28302E332A61746B2B312E352A737472292A6B29, 0x34302B3130302A6B, '', '', 0x3135, 0x2D28312E312A61746B2B28302E332A61746B2B312E352A737472292A6B29, '', 'ATTACK,USE_MELEE_DAMAGE,SPLASH', '', 0x4E4F4E45, '', '', '', '', '', '', 0x35302B3133302A6B, '0', '0', 'MELEE', '12', 0x31, '0', '200');
    • Love 1
  2. server,

    INSERT INTO `item_proto` VALUES ('71051', 0xF2D8A1A4C0E7B0A1BAF1BCAD202020202020202020202020, 0xA873B7A5C4DDA9CAB06CA55BAFB5D3442020202020202020, '3', '10', '0', '1', '33152', '24576', '0', '', '3000000', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
    INSERT INTO `item_proto` VALUES ('71052', 0xF2D8A1A4C0E7B0E6BAF1BCAD202020202020202020202020, 0xA873B7A5C4DDA9CAC2E0B4ABAFB5D3442020202020202020, '3', '10', '0', '1', '33152', '24576', '0', '', '500000', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');  
    

    Client,

            <Item vnum="71051" hashName="Gegenstand segnen" name="Gegenstand segnen" type="3" subtype="10" weight="0" size="1" antiflag="74112" flag="8196" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64848" socket2="127" socket3="65008" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" /> 
            <Item vnum="71052" hashName="Gegenstand verhexen" name="Gegenstand verhexen" type="3" subtype="10" weight="0" size="1" antiflag="74112" flag="8196" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64848" socket2="127" socket3="65008" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />  
    you must to adapt it for 40k item proto client
    
    • Love 1
  3. I don't have the name, but this is the effect of the 96th skill.

    96 skill affect GICHEON,  i try to find it in input main and char... but no result, i try to find it in all source , 3 result in 3 files, i try to find it in all vanilla source 3 results in 3 files exactly the same...

  4. i give you my source if you need it , but i don't understed what problem you got with skills.Why you don't use 6 type

    so if i put skills on type 7 i cant add points if i put on 6 i can add

    ro

    daca pun skillurile pe type 7 nu pot adauga puncte adica de exemplu cand apas pe plus sa le fac 1,2,3,4,5,6,7,8,9,10.... pana la m1.... acum ai inteles?

  5.  

    Here is my and work's

    bool CHARACTER::IsLearnableSkill(DWORD dwSkillVnum) const
    {
        const CSkillProto * pkSkill = CSkillManager::instance().Get(dwSkillVnum);
    
        if (!pkSkill)
            return false;
    
        if (GetSkillLevel(dwSkillVnum) >= SKILL_MAX_LEVEL)
            return false;
    
        if (pkSkill->dwType == 0)
        {
            if (GetSkillLevel(dwSkillVnum) >= pkSkill->bMaxLevel)
                return false;
    
            return true;
        }
    
        if (pkSkill->dwType == 5)
        {
            if (dwSkillVnum == SKILL_HORSE_WILDATTACK_RANGE && GetJob() != JOB_ASSASSIN)
                return false;
    
            return true;
        }
    
        if (GetSkillGroup() == 0)
            return false;
    
        if (pkSkill->dwType - 1 == GetJob())
            return true;
    
        if (6 == pkSkill->dwType)
        {
            if (SKILL_7_A_ANTI_TANHWAN <= dwSkillVnum && dwSkillVnum <= SKILL_7_D_ANTI_YONGBI)
            {
                for (int i=0 ; i < 4 ; i++)
                {
                    if (unsigned(SKILL_7_A_ANTI_TANHWAN + i) != dwSkillVnum)
                    {
                        if (0 != GetSkillLevel(SKILL_7_A_ANTI_TANHWAN + i))
                        {
                            return false;
                        }
                    }
                }
    
                return true;
            }
    
            if (SKILL_8_A_ANTI_GIGONGCHAM <= dwSkillVnum && dwSkillVnum <= SKILL_8_D_ANTI_BYEURAK)
            {
                for (int i=0 ; i < 4 ; i++)
                {
                    if (unsigned(SKILL_8_A_ANTI_GIGONGCHAM + i) != dwSkillVnum)
                    {
                        if (0 != GetSkillLevel(SKILL_8_A_ANTI_GIGONGCHAM + i))
                            return false;
                    }
                }
                
                return true;
            }
        }
    
        return false;
    }

    it works with type7 in skill proto?

  6. Hy everybody ,first of all, thanks for your helping anytime. now i come with two bugs,

    the first one, i can't add points to wolfman skills

    3Y2QSyA.jpgIf i click on+ nothing happens, i know from where the problem comes, from type of skill in navicat if i put type 6 i can add points, but if i put type 7 i can't add, the problems is in char_skill.cpp from islearnableskill function

    that's what i have 

    bool CHARACTER::IsLearnableSkill(DWORD dwSkillVnum) const
    {
    	const CSkillProto * pkSkill = CSkillManager::instance().Get(dwSkillVnum);
    	if (!pkSkill)
    		return false;
    
    	if (GetSkillLevel(dwSkillVnum) >= SKILL_MAX_LEVEL)
    		return false;
    
    	if (pkSkill->dwType == 0)
    	{
    		if (GetSkillLevel(dwSkillVnum) >= pkSkill->bMaxLevel)
    			return false;
    
    		return true;
    	}
    
    	if (pkSkill->dwType == 5)
    	{
    		if (dwSkillVnum == SKILL_HORSE_WILDATTACK_RANGE && GetJob() != JOB_ASSASSIN)
    			return false; 
    
    		return true;
    	}
    
    	if (GetSkillGroup() == 0)
    		return false;
    
    	if (pkSkill->dwType - 1 == GetJob())
    		return true;
    
    	if (pkSkill->dwType == 5)
    	{
    		if (SKILL_7_A_ANTI_TANHWAN <= dwSkillVnum && dwSkillVnum <= SKILL_7_D_ANTI_YONGBI)
    		{
    			for (int i = 0 ; i < 4 ; i++)
    			{
    				if (unsigned(SKILL_7_A_ANTI_TANHWAN + i) != dwSkillVnum)
    				{
    					if (0 != GetSkillLevel(SKILL_7_A_ANTI_TANHWAN + i))
    					{
    						return false;
    					}
    				}
    			}
    
    			return true;
    		}
    
    		if (SKILL_8_A_ANTI_GIGONGCHAM <= dwSkillVnum && dwSkillVnum <= SKILL_8_D_ANTI_BYEURAK)
    		{
    			for (int i = 0 ; i < 4 ; i++)
    			{
    				if (unsigned(SKILL_8_A_ANTI_GIGONGCHAM + i) != dwSkillVnum)
    				{
    					if (0 != GetSkillLevel(SKILL_8_A_ANTI_GIGONGCHAM + i))
    						return false;
    				}
    			}
    			
    			return true;
    		}
    	}
    
    	if (pkSkill->dwType == 6)
    	{
    		if (dwSkillVnum >= SKILL_CHAYEOL && dwSkillVnum <= SKILL_CHEONGRANG)
    		{
    			return true;
    		}
    	}
    
    	return false;
    }
    

    i have tried to add that 

    	if (pkSkill->dwType == 7 && GetJob() == JOB_WOLFMAN)
    	{
    		return true;
    	}	
    

    but problem has not fixed, i tried to change this

    if (pkSkill->dwType == 6)

    with this

    if (pkSkill->dwType == 7)

    but the same thing, does anybody know what i can fix that? can you help me,thanks in advance

    .the secound problem is that i have a buff after teleport which dissapear after few secounds ,there's a picture about this https://metin2.download/picture/vNHyuOMZ3EVuXY65SVd1iqoTytyu089X/.jpg         ,i am using allwip source.thanks so much

     

  7.  

    Hello, no one is forced to work for you.
    This is a section of the support and help.
     
    Try one and post the errors, problems.
     
    Do not live directly and ask how to fix.
     
    Eventually it would help if you put a picture to understand what it is exactly.

     

    so i don't force anybody to work for me, if someone want to help me , he will do, i don't need your help mr anaf.

    are you a co-moderator or co-administrator? what i did wrong? so, how i say i don't need your help, i know that you are in ymir team and you work for +12000$ , why i say ymir team? did you rememb your name on pro-..... ? ,,Ymir'' did you rememb when the first 40k was released and you said,, i have serverfiles full 40k like official ,all full systems'', and yea i am nobody. so if someone want to help me he will do , if he don't that's it.i will update the topic to make people understand better.

  8. Hy metin2 dev i have a problem with lycan skills, i can't add points  to skills, and i need lycan skill proto for navicat just 170 171 172 173 174 175 because 174 and 175 skills (buff skills) have a bug , they don't give the bonus that they must to .

    Can you help me?

    Thanks in advance!

    A better explain for the first problem

    3Y2QSyA.jpg

    When i click to + nothing happens  the skill do not upgrade

    For the secound problem.

    When i use skill 174 175 it must to give me an bigger dmg than normal , but it;s not

  9.  

     

    Bugs;

     

    Server and Client Affect enums missmatch + skill_proto(setAffectFlag) need to be redone than it worked  :) i do it also

     

    Shops not corrected, inventory with some problems.

     

    After walking/mount for senconds the class going to back (all characters),

     

    All characters have at login in the map the shaman buff and when attacking something other skills from other characters appear.

     

    All characters can't see the effects of skills after doing it (like failed skill).

     

     

    FIX for inventory correct size:

    https://mega.co.nz/#!eZUX1SiA!t4hlPYHyaRgSU7FAejjuQflXM32JPP-yLgUIKE3cIi8

     

    you have resolved the effects of wolf?

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