Jump to content

ATAG

Active Member
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by ATAG

  1. The quest is totally wrong. Try this one:

    quest yourquest begin
    when login begin
      local boss = {101, 102, 103, 104}
      local escolha = math.random(1,1) -- math.random(1,1) is always 1... dou you really want this??
      if escolha == 1 then
       local mob = boss[number(1,table.getn(boss)]
       pc.setqf("mob", mob)
       pc.setqf("state", 20)
       q.set_counter("eventkill:", 20)
       say("kill mob"..mob_name(mob).."")
      end
    end
    
    when kill with not npc.is_pc() begin
      local mob = pc.getqf("mob")
      if mob == 0 or npc.get_race() ~= mob then return end
     
      local count = pc.getqf("state") - 1
      if count <= 20 then
       pc.setqf("state", count)
       q.set_counter("eventkill", -count)
      end
      if count == 0 then
       local itens =  {{27005, 200},{27002, 200},{27006, 100},{27003, 100}}
       local reward = number(1,table.getn(itens))
       pc.give_item2(itens[reward][1], itens[reward][2])
       pc.delqf("mob")
       pc.delqf("state")
      end
    end
    end

    I've just fixed the errors, but this quest is still a sh!t. Look at a hunting quest and modify to your needs.

    • Love 1
  2.  

    1second and i warp automatically to Grotto of Exile V2

     

     

    It sounds like a dragonlair.quest bug.

     

    when login with pc.get_map_index() >= (207*10000) begin

       if pc.getqf("payment") < 1 then

        if pc.count_item(30179) >= 3 then

         pc.remove_item(30179,3)

        else

         pc.warp(181800,1220863)

    If u use lower mapindex, it can break guild wars too.

    • Love 1
  3. I think you don't have the special_ride group in special_item_group.txt

    Group	µ¿¹°_»óÀÚ_ijœÃ
    {
    	Vnum	10030
    	1	71115	1	1	
    	2	71117	1	1	
    	3	71119	1	1	
    	4	71121	1	1	
    	5	71124	1	1	
    	6	71125	1	1	
    	7	71126	1	1	
    	8	71127	1	1	
    	9	71128	1	1	
    	10	71131	1	1	
    	11	71132	1	1	
    	12	71133	1	1	
    	13	71134	1	1	
    	14	71164	1	1
    }

    (it's from the r34083 SF)

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