Jump to content

TonisBoss

Inactive Member
  • Posts

    48
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by TonisBoss

  1. I got a strange bug with guild. 
    When I own guild after reboot I can't invite a player, also when I try to change leader with the item(71099),the new leader can't invite anyone else.
    guild_member and guild in Navicat are updated correctly. The only thing that make me think about the problem is guild_grade because it's empty.
    There are no syserr for the error. 
    Thank you in advance.

  2. @ TMP4 Yes I got them only in npc.txt all other files are empty.
    And also yes the bug is only in this map and only when they are imported from npc.txt. When I spawn them with command (/m) they're okay.
    Map is imported in Channel99 -> CONFIG.
    My index file @ Ace
     

    1 metin2_map_a1
    3 metin2_map_a3
    4 metin2_map_guild_01
    5 metin2_map_monkey_dungeon_11
    6 metin2_guild_village_01
    21 metin2_map_b1
    23 metin2_map_b3
    24 metin2_map_guild_02
    25 metin2_map_monkey_dungeon_12
    26 metin2_guild_village_02
    41 metin2_map_c1
    43 metin2_map_c3
    44 metin2_map_guild_03
    45 metin2_map_monkey_dungeon_13
    46 metin2_guild_village_03
    61 map_n_snowm_01
    62 metin2_map_n_flame_01
    63 metin2_map_n_desert_01
    64 map_n_threeway
    65 metin2_map_milgyo
    66 metin2_map_deviltower1
    67 metin2_map_trent
    68 metin2_map_trent02
    69 metin2_map_WL_01
    70 metin2_map_nusluck01
    71 metin2_map_spiderdungeon_02
    72 metin2_map_skipia_dungeon_01
    73 metin2_map_skipia_dungeon_02
    77 chamber_of_wisdom_dungeon
    79 plechito_halloween2020_dungeon
    81 metin2_map_wedding_01
    100 metin2_map_fielddungeon
    101 metin2_map_resources_zon
    103 metin2_map_t1
    104 metin2_map_spiderdungeon
    105 metin2_map_t2
    107 metin2_map_monkey_dungeon
    108 metin2_map_monkey_dungeon2
    109 metin2_map_monkey_dungeon3
    110 metin2_map_t3
    111 metin2_map_t4
    112 metin2_map_duel
    113 metin2_map_oxevent
    114 metin2_map_sungzi
    118 metin2_map_sungzi_flame_hill_01
    119 metin2_map_sungzi_flame_hill_02
    120 metin2_map_sungzi_flame_hill_03
    121 metin2_map_sungzi_snow
    122 metin2_map_sungzi_snow_pass01
    123 metin2_map_sungzi_snow_pass02
    124 metin2_map_sungzi_snow_pass03
    125 metin2_map_sungzi_desert_01
    126 metin2_map_sungzi_desert_hill_01
    127 metin2_map_sungzi_desert_hill_02
    128 metin2_map_sungzi_desert_hill_03
    181 metin2_map_empirewar01
    182 metin2_map_empirewar02
    183 metin2_map_empirewar03
    200 gm_guild_build
    201 metin2_map_sungzi_milgyo
    208 metin2_map_skipia_dungeon_boss
    216 metin2_map_devilcatacomb
    217 metin2_map_spiderdungeon_03
    301 Metin2_map_CapeDragonHead
    302 metin2_map_dawnmistwood
    303 metin2_map_BayBlackSand
    304 metin2_map_Mt_Thunder
    351 metin2_map_n_flame_dungeon_01
    80 metin2_map_city
  3. 22 hours ago, TMP4 said:

    There is a video on the first post, I don't have such issue.

    By the way if you want to report a bug then attach your npc.txt at least.

    Maybe you set count to 2?

    K-perny-k-p-2023-02-22-191037.png

    Sorry for that. This is my npc.txt

    //type    cx    cy    sx    sy    z    dir    time    percent    count    vnum
    //-----------------------------------------------------------------------------------
    // ¿öÇÁ
    m    128    138    0    0    0    7    1s    100    1    20016
    m    128    134    0    0    0    1    1s    100    1    20355
    m    128    132    0    0    0    5    1s    100    1    20091
    m    125    138    0    0    0    1    1s    100    1    9010
    m    128    140    0    0    0    0    1s    100    1    20023
    m    128    142    0    0    0    0    1s    100    1    20095
    m    130    138    0    0    0    8    1s    100    1    20024
    m    128    135    0    0    0    7    1s    100    1    9003
    m    126    138    0    0    0    3    1s    100    1    9002
    m    127    136    0    0    0    3    1s    100    1    9001
    m    125    137    0    0    0    1    1s    100    1    9005
    m    130    140    0    0    0    1    1s    100    1    20094
    m    125    140    0    0    0    1    1s    100    1    20008
    m    122    138    0    0    0    5    1s    100    1    9004
    m    125    135    0    0    0    5    1s    100    1    9009
    m    131    141    0    0    0    0    1s    100    1    20380
    m    132    142    0    0    0    4    1s    100    1    20009
    m    133    143    0    0    0    1    1s    100    1    20355

    https://metin2.download/picture/h2h5rdWqwdbMx5PIKru76c2fgrQpf546/.png

  4. 7 hours ago, Ulthar said:

    Try the SAME what i wrote in the tutorial, do not change anything. After if its working, you can change the ID range.

    Instancebase.cpp
    Did that as it is in itemproto etc. . Now it doesn't show shining stars and no textures too. 

  5. 3 minutes ago, xTryhard said:

    no you can do it like this

     

    quest test begin
    	state start begin
    		when login with get_quest_flag("Test") ==0 begin
    		
    		end
    	end
    end

    when you complete the task you set the quest flag "Test" to 1 and you can reset it in the database

    Sorry for bothering, but could this reset the reward and give the quest again? I want to "delete" the collect_quest_lv92 & collect_quest_lv94 from all players because many of them did the bug. For a new start.

  6. 3 minutes ago, xTryhard said:
    quest collect_quest_reset begin
    	state start begin
    		when login with pc.level >= 92 begin
    		if get_quest_state("collect_quest_lv92") == 557528158 or
    			get_quest_state("collect_quest_lv94") == 557528158 then
    			set_state(check_reset_able)
    		end
    	end
    	state check_reset_able begin
    		when 20091.chat."92LVL RESET" with pc.count_item(30318) > 0 and get_quest_state("task_done") == 1 begin
    			if pc.count_item(30318) > 0 then
    				affect.remove_collect(1, 1000)
    				affect.remove_collect(apply.DEF_GRADE_BONUS, 120)
    				affect.remove_collect(apply.ATT_GRADE_BONUS, 51)
    				local s = select(gameforge.collect_quest_lv92._220_1_select, gameforge.collect_quest_lv92._220_2_select, gameforge.collect_quest_lv92._220_3_select)
    				if 1 == s then
    					affect.add_collect(1, 1000, 60 * 60 * 24 * 365 * 60) --hp index == 1, hp + 1000
    					pc.setqf("reward", 1)
    				elseif 2 == s then
    					affect.add_collect(apply.DEF_GRADE_BONUS, 120, 60 * 60 * 24 * 365 * 60)
    					pc.setqf("reward", 2)
    				elseif 3 == s then
    					affect.add_collect(apply.ATT_GRADE_BONUS, 51, 60 * 60 * 24 * 365 * 60)
    					pc.setqf("reward", 3)
    					pc.remove_item(30318, 1)
    					set_state(check_reset_able)
    					return
    					else
    					return
    				end
    			end
    		end
    	end
    end
    when 20091.chat."94LVL RESET" with pc.count_item(30318) > 0 and get_quest_state("task_done") == 1 begin
    	if pc.count_item(30318) > 0 then
    		affect.remove_collect(1, 1100)
    		affect.remove_collect(apply.DEF_GRADE_BONUS, 140)
    		affect.remove_collect(apply.ATT_GRADE_BONUS, 60)
    		local s = select(gameforge.collect_quest_lv94._230_1_select, gameforge.collect_quest_lv94._230_2_select,  gameforge.collect_quest_lv94._230_3_select)
    		if 1 == s then
    			affect.add_collect(1, 1100, 60 * 60 * 24 * 365 * 60) --hp apply index == 1
    			pc.setqf("reward", 1)
    		elseif 2 == s then
    			affect.add_collect(apply.DEF_GRADE_BONUS, 140, 60 * 60 * 24 * 365 * 60)
    			pc.setqf("reward", 2)
    		elseif 3 == s then
    			affect.add_collect(apply.ATT_GRADE_BONUS, 60, 60 * 60 * 24 * 365 * 60)
    			pc.setqf("reward", 3)
    			pc.remove_item(30318, 1)
    			set_state(check_reset_able)
    			return
    			else
    			return
    		end
    	end
    end

    try this after the task is done you have to set the questflag "task_done" to 1

    Okay,i will test it.Thank you.
    And how could I reset the seon quests from the players at navicat to start the quests again?

  7. I have problem with Seon. I've made a quest for resetting the bonus, but you could reset before even you get the quest and at the 94 lvl you could get double bonus. Also how could I reset them from Navicat -> Quest table.
    Reset quest :
     

    quest collect_quest_reset begin
    	state start begin
    		when login with pc.level >= 92 begin
    			if tostring(get_quest_state("collect_quest_lv92")) == "557528158" or
    				tostring(get_quest_state("collect_quest_lv94")) == "557528158" then 
    				set_state( check_reset_able )
    			end
    		end
    	end
    	
    	state check_reset_able begin
    			when 20091.chat."92LVL RESET" with pc.count_item(30318) > 0  begin
    			if pc.count_item(30318) > 0 then 
    				affect.remove_collect(1, 1000)
    				affect.remove_collect(apply.DEF_GRADE_BONUS, 120)
    				affect.remove_collect(apply.ATT_GRADE_BONUS, 51)
    					local s = select(gameforge.collect_quest_lv92._220_1_select, gameforge.collect_quest_lv92._220_2_select, gameforge.collect_quest_lv92._220_3_select)
    					if 1 == s then
    						affect.add_collect(1,1000,60*60*24*365*60) -- hp index == 1, hp +1000
    						pc.setqf("reward", 1)
    					elseif 2 == s then
    						affect.add_collect(apply.DEF_GRADE_BONUS, 120, 60*60*24*365*60)
    						pc.setqf("reward", 2)
    					elseif 3 == s then 
    						affect.add_collect(apply.ATT_GRADE_BONUS, 51, 60*60*24*365*60)
    						pc.setqf("reward", 3)
    					pc.remove_item(30318, 1)
    					set_state( check_reset_able )
    				return
    				else
    				return
    				end
    			end
    		end
    		when 20091.chat."94LVL RESET" with pc.count_item(30318) > 0  begin
    			if pc.count_item(30318) > 0 then 
    				affect.remove_collect(1, 1100)
    				affect.remove_collect(apply.DEF_GRADE_BONUS, 140)
    				affect.remove_collect(apply.ATT_GRADE_BONUS, 60)
    				local s = select(gameforge.collect_quest_lv94._230_1_select, gameforge.collect_quest_lv94._230_2_select, gameforge.collect_quest_lv94._230_3_select)
    				if 1 == s then
    					affect.add_collect(1, 1100, 60*60*24*365*60) -- hp apply index == 1
    					pc.setqf("reward", 1)
    				elseif 2 == s then
    					affect.add_collect(apply.DEF_GRADE_BONUS, 140, 60*60*24*365*60) 
    					pc.setqf("reward", 2)
    				elseif 3 == s then 
    					affect.add_collect(apply.ATT_GRADE_BONUS, 60, 60*60*24*365*60) 
    					pc.setqf("reward", 3)
    					pc.remove_item(30318, 1)
    					set_state( check_reset_able )
    				return
    				else
    				return
    				end
    			end
    		end
    	end
    end

    Thanks in advance.

  8. 28 minutes ago, TMP4 said:

    Hi, I did a quick investigation:

    1. Login -> 367 magic def
    2. Strong body -> stays 367 magic def (doen't update visually, in reality we have 539 now)
    3. Uneqip shield -> 487 magic def (strong body - shield)
    4. Equip shield -> 539 magic def (strong body + shield)
    5. Wait a few mins for strong body expire -> 539 magic def (doesn't update visually, in reality we have 367 now)
    6. Uneqip shield -> 315 magic def (base - shield)

    Basicly the problem is that the magic def value in character's stat window only refresh when you equip or unequip something.
    (But it's not keep raising as you said, it just refreshes and shows the actual value.)

    I tried quicly this in 3 server and all acted the same, so I guess this was a basic bug in r40250.
    Currently I do not have a fix for this bug (since I just faced with this now), if I manage to fix this I'll update the files, or if anyone have a fix, I would be grateful if you would share.

    Also if someone have items with extra stats and do skill before he replace the items with normal items, it keeps the stats from the "extra stat" items.
    Example: 
    Sura with 100 int -> 100 def skill
    Sura with 140 int -> 140 def skill,after that he removes the 40 int and he still got 140 def.
    Is it visual like that one i said you before or is there any solution

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