kezdő szint quest

Indította gyertya, 2017-03-08, 18:40:28

Sziasztok, tudom van kereső használtam is de nem találom sehol :(

Szóval volt egy olyan quest régebben ami kezdéskor fel dobot max szintre, ha valaki tudja hol ez a téma linkelje létszives

[spoiler]quest give_basic_weapon begin
   state start begin
      when login begin
         if pc.getqf("basic_weapon") == 0 then
            pc.setqf("basic_weapon", 1)
            say_title("SZERVERED NEVE - A kezdetek...")
            say("")
            say("Üdvözöllek a szerveren kedves "..pc.get_name().."!")
            say("Reméljük rengeteg csodás percet elfogsz még tölteni")
            say("itt nálunk. Ne csalj, játssz tisztességesen,")
            say("szerezz új barátokat, alapíts céhet,")
            say("légy te a legjobb!Probléma esetén vedd fel velünk a")
            say("kapcsolatot játékban a barátlistánál megtalálható ")
            say("csapat felületen, jegyrendszeren.")
            say("")
            say("")
            say_reward("A kezdő felszerelésedet megkaptad.")
            notice_all("Egy új játékost köszönthetünk a szerveren, üdvözlünk kedves "..pc.get_name().."!")
                        
                        if pc.get_job() == 0 then -- Warrior
                                        pc.give_item2("299")
                              pc.give_item2("3219")
                                        pc.give_item2("11239")
                                        pc.give_item2("12209")
                              pc.give_item2("13029")
                              horse.set_level(1)
                              pc.give_item2("50051")
                              pc.give_item2("72702")
                              pc.give_item2("70038",200)
                              pc.give_item2("70038",200)
                              pc.give_item2("14009")
                              pc.give_item2("15009")
                              pc.give_item2("16009")
                              pc.give_item2("17009")
                              pc.give_item2("27003",200)
                              pc.give_item2("27003",200)
                              pc.give_item2("27006",200)   
                              pc.give_item2("27102",50)
                              pc.give_item2("27105",50)                                 
                              pc.set_level(SZINT)
                              pc.change_money(5000000)
                        elseif pc.get_job() == 1 then -- Assassin
                                        pc.give_item2("1179")
                              pc.give_item2("2159")
                                        pc.give_item2("11439")
                                        pc.give_item2("12349")
                              pc.give_item2("8000",200)
                              pc.give_item2("13029")
                              horse.set_level(1)
                              pc.give_item2("50051")
                              pc.give_item2("72702")
                              pc.give_item2("70038",200)
                              pc.give_item2("70038",200)
                              pc.give_item2("14009")
                              pc.give_item2("15009")
                              pc.give_item2("16009")
                              pc.give_item2("17009")
                              pc.give_item2("27003",200)
                              pc.give_item2("27003",200)
                              pc.give_item2("27006",200)   
                              pc.give_item2("71050",200)   
                              pc.set_level(SZINT)
                              pc.change_money(5000000)
                        elseif pc.get_job() == 2 then -- Sura
                                        pc.give_item2("299")
                                        pc.give_item2("11639")
                                        pc.give_item2("12489")
                              pc.give_item2("13029")
                              horse.set_level(1)
                              pc.give_item2("50051")
                              pc.give_item2("72702")
                              pc.give_item2("70038",200)
                              pc.give_item2("70038",200)
                              pc.give_item2("14009")
                              pc.give_item2("15009")
                              pc.give_item2("16009")
                              pc.give_item2("17009")
                              pc.give_item2("27003",200)
                              pc.give_item2("27003",200)
                              pc.give_item2("27006",200)   
                              pc.give_item2("71050",200)   
                              pc.set_level(SZINT)
                              pc.change_money(5000000)
                                elseif pc.get_job() == 3 then -- Mage
                              pc.give_item2("5119")
                                        pc.give_item2("7009")
                                        pc.give_item2("11839")
                                        pc.give_item2("12629")
                              pc.give_item2("13029")
                              horse.set_level(1)
                              pc.give_item2("50051")
                              pc.give_item2("72702")
                              pc.give_item2("70038",200)
                              pc.give_item2("70038",200)
                              pc.give_item2("14009")
                              pc.give_item2("15009")
                              pc.give_item2("16009")
                              pc.give_item2("17009")
                              pc.give_item2("27003",200)
                              pc.give_item2("27003",200)
                              pc.give_item2("27006",200)   
                              pc.give_item2("71050",200)   
                              pc.set_level(SZINT)
                              pc.change_money(5000000)
                              
         
            end
         end
      end
   end
end[/spoiler]
Ha nem adná meg a beírt szintet,akkor tedd a quest.functions aljára ezt: pc.set_level
UI: Kicsit kiegészítettem a dolgokat,és a (SZINT) hez írd a kívánt szinet :)
Nem vagyok profi,de amiben tudok segítek!

Köszi ezt meg oldottam, esetleg valakinek freemetin lélekkő questje nincs meg?

nem alap kell, freemetinbe nem ez volt (SF)

Nekem az kel ami egyből P re viszi az összes sklit

Lehet, de nekem akkor sem ez kell, FREEMETIN SF be volt ez a quest ami 5 percenként engedte váltani

ügyes vagy nyomd el magad

Ahogy a mai aktív szerverkészítők 98%-ának SE! :-X

Ott a pont ;) :)
Nem vagyok profi,de amiben tudok segítek!

nehéz a felfogásod ugye?
egy bizonyos questet keresek....

keressél keressél mert magadtól nem tudsz semmit megoldani csak mások dolgait felhasználva :D

ha nem tudod, minek írsz? :O

Gondolkodjunk mások helyett első rész.:
gyertya beírja a keresőbe, hogy freemetin2 és megkeresi a szerverfájlt amiben a quest is megtalálható.
Köszönjük, hogy velünk tartottak.

Drága kenyér...:D
Idézhttp://freemetin.dyndns.org/public/quests/
Itt van...!!! A neve: training_grandmaster_skill.quest
De tessék még ezt a questet is ide rakom neked hogy "BIZTOSAN RÁ TALÁLJ"
[spoiler]quest training_grandmaster_skill begin
    state start begin
   when login with pc.get_skill_group() == 0 begin
      syschat("Használd a lélekkövet hogy kitanuld a készségeket.")
   end
      function skill_level(f,g)
         local m = {[2] = "M",
                  [3] = "G",
                  [4] = "P"
         }
         if f == 4 then
            t = m[f]
         else
            t = m[f]..g+1
         end
         return t
      end
      when 50513.use begin
      local d = -1
         if pc.job == 0 then
            local s=select("Testi Harcos","Mentális Harcos","Egyedi képességek",locale.cancel)
            if s == 4 then
               return
            end
               if s==1 then
                  p = 1
               elseif s == 2 then
                  p = 2
               elseif s == 3 then
                  if pc.get_skill_group() == 0 then
                     say("Előbb tanuld ki a skilleket")
                     return
                  elseif pc.get_skill_group() == 1 then
                     b = select("Háromirányú vágás","Forgó kard","Harci Mámor","A kard aurája","Száguldás")
                  elseif pc.get_skill_group() == 2 then
                     b = select("Áthatolás","Heves csapás","Dübörgés","Erős test","Kard Ütés")+15
                  end
                  c = select("M","G","P")+1
                  if c == 4 then
                     d = 0
                  else
                     while d < 0 or d > 9 do
                        say("adj meg egy számot 1 és 10 között")
                        say("1=m1/g1  10=m10/g10")
                        d = tonumber(input())-1
                     end
                  end
                  
                  local level = tonumber(c..d)
                  -- say("level: "..level)
                  say(locale.GM_SKILL_NAME_DICT.." "..training_grandmaster_skill.skill_level(c,d))
                  wait()
                  pc.set_skill_level (b,level)
                  return
               end
               if get_time() < pc.getqf("lelekko") then
                  chat("Csak "..string.format("%.2f", ( pc.getqf("lelekko") - get_time() ) / 60 ).." perc mulva használhatod")
                  return
               else
                  pc.set_skill_group(p)
                  if p == 1 then
                     affect.remove(19)
                     pc.set_skill_level (1,59)
                     pc.set_skill_level (2,59)
                     pc.set_skill_level (3,59)
                     pc.set_skill_level (4,59)
                     pc.set_skill_level (5,59)
                  else
                     affect.remove(3)
                     affect.remove(4)
                     pc.set_skill_level (16,59)
                     pc.set_skill_level (17,59)
                     pc.set_skill_level (18,59)
                     pc.set_skill_level (19,59)
                     pc.set_skill_level (20,59)
                  end
                     pc.set_skill_level (122,2)
                     pc.set_skill_level (121,59)
                     pc.set_skill_level (137,59)
                     pc.set_skill_level (138,59)
                     pc.set_skill_level (139,59)
                     pc.set_skill_level (140,59)
                     pc.set_skill_level (125,59)
                     pc.set_skill_level (124,59)
                     pc.set_skill_level (129,59)
                     pc.set_skill_level (131,10)
                     pc.set_skill_level (126,59)
                     pc.set_skill_level (127,59)   
                     pc.set_skill_level (128,59)   
                     pc.setqf("lelekko", get_time() + 60 * 5)                  
               end         
         elseif pc.job == 1 then
            local s=select("Tőr Nindzsa","Ijjász Nindzsa","Egyedi képességek",locale.cancel)
            if s == 4 then
               return
            end
               if s==1 then
                  p = 1
               elseif s == 2 then
                  p = 2
               elseif s == 3 then
                  if pc.get_skill_group() == 0 then
                     say("Előbb tanuld ki a skilleket")
                     return
                  elseif pc.get_skill_group() == 1 then
                     b = select("Leshely","Villám csapás","Kardforgatag","Álcázás","Méregfelhő ")+30
                  elseif pc.get_skill_group() == 2 then
                     b = select("Ismételt lövés","Nyíl Eső ","Tüzes Nyíl","Pehelykönnyű lépések","Mérgezett nyíl")+45
                  end
                  c = select("M","G","P")+1
                  if c == 4 then
                     d = 0
                  else
                     while d < 0 or d > 9 do
                        say("adj meg egy számot 1 és 10 között")
                        say("1=m1/g1  10=m10/g10")
                        d = tonumber(input())-1
                     end
                  end
                  
                  level = tonumber(c..d)
                  say(locale.GM_SKILL_NAME_DICT.." "..training_grandmaster_skill.skill_level(c,d))
                  wait()
                  pc.set_skill_level (b,level)
                  return
               end
               if get_time() < pc.getqf("lelekko") then
                  chat("Csak "..string.format("%.2f", ( pc.getqf("lelekko") - get_time() ) / 60 ).." perc mulva használhatod")
                  return
               else
                  pc.set_skill_group(p)
                  if p == 1 then
                     affect.remove(49)
                     pc.set_skill_level (31,59)
                     pc.set_skill_level (32,59)
                     pc.set_skill_level (33,59)
                     pc.set_skill_level (34,59)
                     pc.set_skill_level (35,59)
                  else
                     affect.remove(34)
                     pc.set_skill_level (46,59)
                     pc.set_skill_level (47,59)
                     pc.set_skill_level (48,59)
                     pc.set_skill_level (49,59)
                     pc.set_skill_level (50,59)
                  end
                  pc.set_skill_level (122,2)
                  pc.set_skill_level (121,59)
                  pc.set_skill_level (137,59)
                  pc.set_skill_level (138,59)
                  pc.set_skill_level (139,59)
                  pc.set_skill_level (140,59)
                  pc.set_skill_level (125,59)
                  pc.set_skill_level (124,59)
                  pc.set_skill_level (129,59)   
                  pc.set_skill_level (131,10)
                  pc.set_skill_level (126,59)
                  pc.set_skill_level (127,59)   
                  pc.set_skill_level (128,59)   
                  pc.setqf("lelekko", get_time() + 60 * 5)            
               end
         elseif pc.job ==2 then
            local s=select("Kard Sura","BM Sura","Egyedi képességek",locale.cancel)
            if s == 4 then
               return
            end
               if s==1 then
                  p = 1
               elseif s == 2 then
                  p = 2
               elseif s == 3 then
                  if pc.get_skill_group() == 0 then
                     say("Előbb tanuld ki a skilleket")
                     return
                  elseif pc.get_skill_group() == 1 then
                     b = select("Ujjcsapás","Sárkány örvény","Elvarázsolt penge","Félelem","Elvarázsolt vértezés","Varázslat kioltás")+60
                  elseif pc.get_skill_group() == 2 then
                     b = select("Sötét támadás","Láng Csapás","Láng lelke","Sötét védelem","Szellem csapás","Sötét kő ")+75
                  end
                  c = select("M","G","P")+1
                  if c == 4 then
                     d = 0
                  else
                     while d < 0 or d > 9 do
                        say("adj meg egy számot 1 és 10 között")
                        say("1=m1/g1  10=m10/g10")
                        d = tonumber(input())-1
                     end
                  end
                  
                  level = tonumber(c..d)
                  say(locale.GM_SKILL_NAME_DICT.." "..training_grandmaster_skill.skill_level(c,d))
                  wait()
                  pc.set_skill_level (b,level)
                  return
               end
               if get_time() < pc.getqf("lelekko") then
                  chat("Csak "..string.format("%.2f", ( pc.getqf("lelekko") - get_time() ) / 60 ).." perc mulva használhatod")
                  return
               else
                  pc.set_skill_group(p)
                  if p == 1 then
                     affect.remove(78)
                     affect.remove(79)
                     pc.set_skill_level (61,59)
                     pc.set_skill_level (62,59)
                     pc.set_skill_level (63,59)
                     pc.set_skill_level (64,59)
                     pc.set_skill_level (65,59)
                     pc.set_skill_level (66,59)
                  else
                     affect.remove(63)
                     affect.remove(64)
                     affect.remove(65)
                     pc.set_skill_level (76,59)
                     pc.set_skill_level (77,59)
                     pc.set_skill_level (78,59)
                     pc.set_skill_level (79,59)
                     pc.set_skill_level (80,59)
                     pc.set_skill_level (81,59)
                  end
                  pc.set_skill_level (122,2)
                  pc.set_skill_level (121,59)
                  pc.set_skill_level (137,59)
                  pc.set_skill_level (138,59)
                  pc.set_skill_level (139,59)
                  pc.set_skill_level (140,59)
                  pc.set_skill_level (125,59)
                  pc.set_skill_level (124,59)
                  pc.set_skill_level (129,59)
                  pc.set_skill_level (131,10)                  
                  pc.set_skill_level (126,59)
                  pc.set_skill_level (127,59)
                  pc.set_skill_level (128,59)   
                  pc.setqf("lelekko", get_time() + 60 * 5)               
               end         
         elseif pc.job == 3 then
            local s=select("Sárkány Sámán","Gyógyító sámán","Egyedi képességek",locale.cancel)
            if s == 4 then
               return
            end
               if s==1 then
                  p = 1
               elseif s == 2 then
                  p = 2
               elseif s == 3 then
                  if pc.get_skill_group() == 0 then
                     say("Előbb tanuld ki a skilleket")
                     return
                  elseif pc.get_skill_group() == 1 then
                     b = select("Repülő talizmán","Sárkánylövés","Sárkány Ordítás","Áldás","Visszaverni","Sárkány Segítsége")+90
                  elseif pc.get_skill_group() == 2 then
                     b = select("Villám hajítás","Villám Könyörgés","Villám Karom","Kezelés","Gyorsaság","Támadás+")+105
                  end
                  c = select("M","G","P")+1
                  if c == 4 then
                     d = 0
                  else
                     while d < 0 or d > 9 do
                        say("adj meg egy számot 1 és 10 között")
                        say("1=m1/g1  10=m10/g10")
                        d = tonumber(input())-1
                     end
                  end
                  
                  level = tonumber(c..d)
                  say(locale.GM_SKILL_NAME_DICT.." "..training_grandmaster_skill.skill_level(c,d))
                  wait()
                  pc.set_skill_level (b,level)
                  return
               end
               if get_time() < pc.getqf("lelekko") then
                  chat("Csak "..string.format("%.2f", ( pc.getqf("lelekko") - get_time() ) / 60 ).." perc mulva használhatod")
                  return
               else
               pc.set_skill_group(p)
               if p == 1 then
                  pc.set_skill_level (91,59)
                  pc.set_skill_level (92,59)
                  pc.set_skill_level (93,59)
                  pc.set_skill_level (94,59)
                  pc.set_skill_level (95,59)
                  pc.set_skill_level (96,59)
               else
                  pc.set_skill_level (106,59)
                  pc.set_skill_level (107,59)
                  pc.set_skill_level (108,59)
                  pc.set_skill_level (109,59)
                  pc.set_skill_level (110,59)
                  pc.set_skill_level (111,59)
               end
               pc.set_skill_level (122,2)
               pc.set_skill_level (121,59)
               pc.set_skill_level (137,59)
               pc.set_skill_level (138,59)
               pc.set_skill_level (139,59)
               pc.set_skill_level (140,59)
               pc.set_skill_level (125,59)
               pc.set_skill_level (124,59)
               pc.set_skill_level (129,59)
               pc.set_skill_level (131,10)                  
               pc.set_skill_level (126,59)
               pc.set_skill_level (127,59)   
               pc.set_skill_level (128,59)   
               pc.setqf("lelekko", get_time() + 60 * 5)         
            end
         end
      end
    end
end
[/spoiler]
Nem vagyok profi,de amiben tudok segítek!

IdézAz a vicc, hogy én ezt fentebb elküldtem neki, és azt mondta hogy "EZZZZZZ NEMMMMMM AZZZZZZZZ"  mondom xDDD
Star mit vársz ez m2h :D