Jump to content

Riner

Inactive Member
  • Posts

    30
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Riner

  1. On 8/19/2017 at 1:34 PM, Dobrescu Sebastian said:

    You have to add in a precedent quest 

    
    pc.setqf("farmer",2)

     

    Or 

     

    
    when login with pc.getqf("farmer") == 2 and pc.getqf("level_man") == 0 begin

    to

    
    when login with pc.getqf("level_man") == 0 begin

     

    I missed that I actually do it but the same thing

    the fix its you need to delete all quest index in db but

    got new problem

    when i click in the mission there is no scroll open 

    just the pic of it and the word what i put what the fix? 

  2. Hello there

    I make that quest before time

    and I didnt test it but today i test it

    there is no problem with it but the problem in the game there is no misson in the game (I reload the game  twice but :_(     )

    this is the quest (misson quest) I make it but in misson quest Im dont know alot of thing about it... so bad coding I know

    I search find some body put  set_state ...

    this is the quest(part of it)

    the fix its you need to delete all quest index in db but

    got new problem

    when i click in the mission there is no scroll open 

    just the pic of it and the word what i put what the fix? 

    	    quest leveloo begin
        state start begin
            when login begin
                send_letter("please help") 
                pc.setqf("level_man",1)
            end
            when button or info with pc.getqf("level_man") == 1 begin 
                say("hello man")
                pc.setqf("level_man",2)
                end
            end
        end
        

  3. hello there

    this problem git you cause you change that from xx.kill to kill.xxx(fix the problem when i look at it again no laugh:D)

    boss_kill2.lua:3:when doesn't have begin-end clause. (0.3911)
    this is the quest(part of the quest but that part give me the same error!!)

    	quest eifjn begin
        state start begin
            when kill.3911 begin
                say(" finally ")
                pc.setqf("flower", 10)
            end
        end
    end
    	

     

    close it #

  4. If i understand you

    there is 3 way if that equipped item if it item use (I think the type is 18 quest type -  item)

    use cmd code in quest cmd(buff12) you need to add the effect before that search on google how to add effect metin2 python part

    the lua part is just code (cmd(xxx)) the xxx is the name of variable that actually call that effect

    if you need it just armor you can see video in you tube how add effect (binary) metin2

    the second 

    you can make event like die event(when die begin) and make it like (when equipped begin)

    third

    you can make it as timer (this is the point that I didn't understand you need armor or all thing can equip?)

    and put function check that if he equip or quary that call the player item and check if he equip

    (Im have little information so if there is another and easier way let take this as try from me to help some one)

     

  5. hello there I try to put the old char select

    I delete all thing that contain to the new char select (I make it step by step)

    in the file the game stop of crash but that what happend

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    and this is the sys

    (I dont understand what it mean with this 'DecreaseSlotIndex' in official client there is no 'DecreaseSlotIndex' in cahr select or in the root)

    so pls the help 

    I lost 4 days and did not succeed with me until now

    	0814 10:01:06496 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/login_window.mp3
    0814 10:07:10892 :: Traceback (most recent call last):
    	0814 10:07:10913 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate
    	0814 10:07:10932 ::   File "networkModule.py", line 151, in __ChangePhaseWindow
    	0814 10:07:10935 ::   File "introSelect.py", line 208, in Open
    	0814 10:07:10938 ::   File "introSelect.py", line 473, in __LoadBoardDialog
    	0814 10:07:10941 :: AttributeError
    0814 10:07:10949 :: : 
    0814 10:07:10950 :: 'SelectCharacterWindow' object has no attribute 'DecreaseSlotIndex'
    0814 10:07:10950 :: 
    	
  6. 40 minutes ago, zeimpekis9 said:

    By saying to move my server on a country that this law is not applied which country/countries you mean?

    Thats what im thinking but....if they do that then what...

    China 

  7. On 7/25/2017 at 7:07 PM, Den said:

    You can use it like that for example:

    
    when 20019.chat."testing here" begin
    	say("test")
    	local npc_vid = npc.get_vid() --getting npc vid for the future use
    	if npc_vid !=0 then
    		target.vid("__TARGET__", npc_vid, "test_target") --targeting npc you've just talked to
    	end
    end
    
    when __TARGET__.target.click begin
    	say("test")
    	target.delete("__TARGET__")
    end

     

    so this is what the function do and i think its another think for kill:lol: 

    On 7/25/2017 at 8:06 PM, Dobrescu Sebastian said:

    Man you said " teleport all people "

    all people means all server. I made your quest to be adapted for all server. I didn't knew you want just a simple teleport.

    And yeah, my bad. d.new_jump_party is just for team. Never tested d.new_jump_all(), but i'm gonna do.

    Im sure you are help full for me but i say teleport all player in core or in map i thing you misunderstand me but you also help me with the quest :)

    thank you 

  8. Just now, Den said:

    So use d.new_jump_all(), it will create a new private map and teleport everyone like deviltower dungeon.

    so that true thx

    do you know what this func do?

    npc.get_vid
    On 7/23/2017 at 6:03 PM, Dobrescu Sebastian said:

    d.new_jump_all will teleport the leader and the members of a team. Just them. Special for dungeons.

     

    why you tell me this Im get shocked@@ 20 quest will change with this wrong information but thx

  9. 1 hour ago, Dobrescu Sebastian said:

    Nope :)

    I will make you one.

    
    quest event_warp begin
    	state start begin
    		when login begin
    			loop_timer("event_check",60)
    		end	
    		
    		when event_check.timer begin
    			if game.get_event_flag("start_event") == 1 then
    				pc . warp ( 1135100 , 1653000 )  
    			end
    		end		
    	end
    end

    Write on chat /e start_event 1 and wait 60 seconds.

    For close /e start_event 0

     

    Change 

    
    pc . warp ( 1135100 , 1653000 )   with d jump or d jump all and see what happens.

    I know there is quest like this and thx for it but I need to teleport all people in the map to dungeon

    and no body can meet the first people that already going to dungeon

    there is any way to do this?

  10. I crate this for you

    	quest anything begin
        state start begin
            when 20092.chat."hello" begin -- if you need it login "when login with pc.is_gm ( ) begin"
                say(" hello every body ")
                say(" you want to level up:) ")
                    local  snow = select("yes", "no")
                        if snow == 1 then
                            local a = pc.get_level()
                            local b = a - 1
                            say(" hello its mee ")
                            pc.set_level(b)
                        elseif snow == 2 then
                            say(" we are soooorry ")
                end
            end
        end
    end
    	

  11. hello there 

    Can anyone explain to me what this function do? or the job of this function

    d.new_jump_all(mapindex, x, y) --some on tell me that teleport all player in the core (all of them? like all player in map a1 and map a2)

    npc.get_vid

    d.spawn_mob(I know its spawn but I should put it in quest kill? or login in dungeon)

    d.regen_file -d.set_regen_file whats the different 

    I know its a lot  but Im try to improve my self in quest-lua in metin 2 i try to understand from source but:wacko:

     

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