Jump to content

fmdogancan

Inactive Member
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by fmdogancan

  1. Hi guys,

    I am just add following this game is working;
     

    <ItemDef Vnum="12250" Name="HMB_Master" LocalizedName="Hayalet Maske B. Master" Type="2" SubType="1" Weight="0" Size="1" AntiFlags="262200" Flags="0" WearFlags="2" ImmuneFlags="0" Gold="20000" ShopBuyPrice="2000" LimitType0="1" LimitValue0="55" LimitType1="0" LimitValue1="0" ApplyType0="27" ApplyValue0="3" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="89" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="12251" RefineSet="1002" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="1" AddonType="0"  />

    But It does not work when I add any items from the following;

    <ItemDef Vnum="12251" Name="HMB_Grand" LocalizedName="Hayalet Maske B. Grand" Type="2" SubType="1" Weight="0" Size="1" AntiFlags="262200" Flags="0" WearFlags="2" ImmuneFlags="0" Gold="20000" ShopBuyPrice="2000" LimitType0="1" LimitValue0="60" LimitType1="0" LimitValue1="0" ApplyType0="27" ApplyValue0="5" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="99" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="12252" RefineSet="1003" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="1" AddonType="0"  />
    
    <ItemDef Vnum="12252" Name="HMB_Perfect" LocalizedName="Hayalet Maske B. Perfect" Type="2" SubType="1" Weight="0" Size="1" AntiFlags="262200" Flags="0" WearFlags="2" ImmuneFlags="0" Gold="20000" ShopBuyPrice="2000" LimitType0="1" LimitValue0="70" LimitType1="0" LimitValue1="0" ApplyType0="27" ApplyValue0="7" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="109" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="12253" RefineSet="1004" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="2" AddonType="0"  />
    
    <ItemDef Vnum="12253" Name="HMB_Pro" LocalizedName="Hayalet Maske B. Pro" Type="2" SubType="1" Weight="0" Size="1" AntiFlags="262200" Flags="0" WearFlags="2" ImmuneFlags="0" Gold="20000" ShopBuyPrice="2000" LimitType0="1" LimitValue0="80" LimitType1="0" LimitValue1="0" ApplyType0="27" ApplyValue0="10" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="119" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="2" AddonType="0"  />

    Just changed; applyvalue0, value1, limitvalue1 and gainsocketpercent

    Note: I was add SQL.

  2. I'm working on a quest file that automatically starts and ends events based on server time.I have a few points that I do not understand, what can I use with when?
    I can not find the definition of this statement in the server source code, I have at least a chance to examine where it is stored. The other problem I'm dealing with right now is;

    I did with when login, there is a logic error. Each time login is done, clear_server_timer() runs and then server_loop_timer() function is running.
    When in my_oto_event.server_loop_timer the clocks are only checked with full equality(An example time == "13.00:00") the player will never catch it,
     

    How can we follow a solution path?


    If you need to explain what I'm trying to do with a small sample code, you can look down.

    when login or enter begin -- Can we keep this part constantly ?
      clear_server_timer("my_oto_event")
      server_loop_timer("my_oto_event",1)
    end
    
    when my_oto_event.server_timer begin
      if os.date("%X") == "13:00:00" then
        game.set_event_flag("test_event1",1)
      end
      if os.date("%X") == "16:00:00" then --end
        game.set_event_flag("test_event1",0)
      end
    end

     

  3. Hi, @Syreldar I guess your kill_drop sample is wrong;

    
    Group	Metin_della_Battaglia
    {
    	Type	kill
    	mob	8003
        kill_drop 500 --** Kill 500 to be able to drop.
    	1	40	1	10 --** Spada di Bambu+0
    	2	2030	1	10 --** Arco da Battaglia+0
    	3	3030	1	10 --** Lancia del Ragno+0
    	4	4010	1	10 --** Nove Lame+0
    	5	5010	1	10 --** Campana dArgento+0
    	6	7030	1	10 --** Ventaglio della Gru+0
    	7	14040	1	10 --** Bracciale dArgento+0
    	8	15040	1	10 --** Scarpe in Legno+0
    	9	16040	1	10 --** Collana dArgento+0
    	10	17040	1	10 --** Orecchini dArgento+0
    }	

    When token is kill, buff count is 4.

    mJOgO0.png

  4. On 12/30/2017 at 9:00 PM, Syreldar said:

    .gif

     

    No, you can't freely use level_limit and kill_drop, they are bound to the Type token.

     

    case 1:

    Type limit -> you can set a level_limit check;

    Group	Metin_della_Battaglia
    {
    	Type	limit
    	mob	8003
        level_limit 15 --** Be at least level 15 to drop from this Metin.
    	1	40	1	10 --** Spada di Bambu+0
    	2	2030	1	10 --** Arco da Battaglia+0
    	3	3030	1	10 --** Lancia del Ragno+0
    	4	4010	1	10 --** Nove Lame+0
    	5	5010	1	10 --** Campana dArgento+0
    	6	7030	1	10 --** Ventaglio della Gru+0
    	7	14040	1	10 --** Bracciale dArgento+0
    	8	15040	1	10 --** Scarpe in Legno+0
    	9	16040	1	10 --** Collana dArgento+0
    	10	17040	1	10 --** Orecchini dArgento+0
    }	

     

    case 2:

    Type kill - > you can set a kill_drop check;

    Group	Metin_della_Battaglia
    {
    	Type	kill
    	mob	8003
        kill_drop 500 --** Kill 500 to be able to drop.
    	1	40	1	10 --** Spada di Bambu+0
    	2	2030	1	10 --** Arco da Battaglia+0
    	3	3030	1	10 --** Lancia del Ragno+0
    	4	4010	1	10 --** Nove Lame+0
    	5	5010	1	10 --** Campana dArgento+0
    	6	7030	1	10 --** Ventaglio della Gru+0
    	7	14040	1	10 --** Bracciale dArgento+0
    	8	15040	1	10 --** Scarpe in Legno+0
    	9	16040	1	10 --** Collana dArgento+0
    	10	17040	1	10 --** Orecchini dArgento+0
    }	

     

    That is perfect. Thank you brother for your interest.

  5. Hi guys.

    I examined mob_drop_item.txt from 40k source. Now I am developing mob_drop_item editor but I have question because this editor's you going to using soon.

    My question; Can kill_drop and level_limit be in the same group? and If kill_drop is selected, does the type value have to be kill or this same situation level_limit selected type value limit? ( I couldn't found these :/ ,  I think it's an error-free program.

     

    My program review is here:

     

    Don't worry program when finished, I going to translate to English. I will hope you like it =)

    • Metin2 Dev 1
    • Good 1
    • Love 2
  6. Hello guys,

    I am just wondering about the metin2 source code how to do release it?

    With using IDA Dissambler or not hacking YMIR Servers?

     

    If using IDA pro, this job is very troublesome. Probably, There are easy ways for this method. Do you know this?

    I don't want to be like them but I want to the develop it. (I know It was an absurd statement. :))

     

    Best 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.