Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

[Problem]Give_Basic_Weapon.Start - Nie Dostaje Item

Rekomendowane odpowiedzi

Opublikowano

Witam. A otoz wgralem do pliczkow taki ,,quest"

Aby zobaczyc zawartosc kliknij spoiler

 

 

if pc . getqf ( "basic_weapon" ) == 0 then

pc . setqf ( "basic_weapon" , 1 )

local item = 19

if pc . job == 1 then

pc . give_exp2 ( 300 )

pc . change_money ( 100000 )

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

pc . give_item2 ( "1009" )

pc . give_item2 ("12349")

pc . give_item2 ("14209")

pc . give_item2 ("13009")

elseif pc . job == 0 then

say ( "Eq, Money, Horse :) Enjoy!" )

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

pc . change_money ( 100000 )

pc . give_exp2 ( 300 )

pc . give_item2 ( "19" )

pc . give_item2 ("12209")

pc . give_item2 ("11209")

pc . give_item2 ("13009")

elseif pc . job == 2 then

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

pc . change_money 300 )

pc . give_exp2 ( 100000 )

pc . give_item2 ( "19" )

pc . give_item2 ("11609")

pc . give_item2 ("12489")

pc . give_item2 ("13009")

elseif pc . job == 3 then

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

horse . advance (11)

pc . change_money ( 100000 )

pc . give_exp2 ( 300 )

pc . give_item2 ( "19" )

pc . give_item2 ("11809")

pc . give_item2 ("12629")

pc . give_item2 ("13009")

end

if pc . countitem ( item ) == 0 and pc . weapon ~= item then

pc . give_item2 ( item )

pc . give_item2 ( 27003 , 200 )

pc . give_item2 ( 27003 , 200 )

pc . give_item2 ( 27003 , 200 )

pc . give_item2 ( 27006 , 200 )

pc . give_item2 ( 27102 , 200 )

pc . give_item2 ( 27105 , 200 )

pc . give_item2 ( 70038 , 200 )

end

end

 

 

 

I co w nim jest nie tego?

 

Najlepiej, jak by ktos poprawil, byl bym bardzi wdzieczny

Kocham mpcforum.pl!!!

18706.png

Opublikowano

Wpisz w Virtual PC:

Raina:

cd /usr/rain/channel/share_data/locale/english/quest/

Hongkong:

cd /usr/rain/channel/share_data/locale/hongkong/quest/

potem:

./qc give_basic_weapon.quest

I restartujesz

Opublikowano

Teraz powinno działać:

if pc . getqf ( "basic_weapon" ) == 0 then
pc . setqf ( "basic_weapon" , 1 )
local item = 19
if pc . job == 1 then
pc . give_exp2 ( 300 )
pc . change_money ( 100000 )
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
pc . give_item2 ( "1009" )
pc . give_item2 ("12349")
pc . give_item2 ("14209")
pc . give_item2 ("13009")
elseif pc . job == 0 then
say ( "Eq, Money, Horse  Enjoy!" )
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
pc . change_money ( 100000 )
pc . give_exp2 ( 300 )
pc . give_item2 ( "19" )
pc . give_item2 ("12209")
pc . give_item2 ("11209")
pc . give_item2 ("13009")
elseif pc . job == 2 then
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
pc . change_money 300 )
pc . give_exp2 ( 100000 )
pc . give_item2 ( "19" )
pc . give_item2 ("11609")
pc . give_item2 ("12489")
pc . give_item2 ("13009")
elseif pc . job == 3 then
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
horse . advance (11)
pc . change_money ( 100000 )
pc . give_exp2 ( 300 )
pc . give_item2 ( "19" )
pc . give_item2 ("11809")
pc . give_item2 ("12629")
pc . give_item2 ("13009")
end
if pc . countitem ( item ) == 0 and pc . weapon ~= item then
pc . give_item2 ( item )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27102" , 200 )
pc . give_item2 ( "27105" , 200 )
pc . give_item2 ( "70038" , 200 )
end
end

 

A jak nie to użyj generatora

http://www.mpcforum.pl/topic/112308-generator-questow-beta/

Opublikowano

bym w ogóle ten quest usunął z serwera (tak jak mam na swoim) i napisał nowy... np:

 

----------------------------------------------------
-- Metin2 AnimeMt2
-- Login Quest By Bambus3k
-- First Login 
----------------------------------------------------
quest first_login begin
       state start begin
               when login begin
                       if pc.getqf("bambus3k") == 0 then
                               pc.setqf("bambus3k", 1)

                       say_reward(string.format("Witamy na P-Serwerze!"))
                       say("")
                       say_title("GameAdmin: [GA]xxx")
                       say("Raty na serwerze:")
                       say("EXP: xxx%")
                       say("DROP: xxx%")
                       say("Yang: xxx%")
                       say("A teraz zapoznaj się z serwerem !")
                       say_reward(string.format("Życzymy miłej gry."))

                       pc . give_item2 ( "14009" , 1 ) 
                       pc . give_item2 ( "15009" , 1 ) 
                       pc . give_item2 ( "13009" , 1 )
                       pc . give_item2 ( "16009" , 1 )
                       pc . give_item2 ( "17009" , 1 )
                       pc . give_item2 ( "50052" , 1 )
                       pc . give_item2 ( "71095" , 10 )
                       pc . give_item2 ( "27003" , 200 )
                       pc . give_item2 ( "27006" , 200 )


                       pc . set_skill_level ( 131 , 10 ) 
                       pc . change_money(1000000)
                       horse.set_level ( 11 )
                       horse.ride()


       if pc.job==0 then --WOJOWNIK
       pc . give_item2 ( "19" , 1 )
       pc . give_item2 ( "3009" , 1 )
       pc . give_item2 ( "11209" , 1 )
       pc . give_item2 ( "12209" , 1 )
       end
       if pc.job==1 then --NINJA
       pc . give_item2 ( "1009" , 1 )
       pc . give_item2 ( "2009" , 1 )
       pc . give_item2 ( "11409" , 1 )
       pc . give_item2 ( "12349" , 1 )
       end
       if pc.job==2 then -- SURA
       pc . give_item2 ( "19" , 1 )
       pc . give_item2 ( "11609" , 1 )
       pc . give_item2 ( "12489" , 1 )
       end
       if pc.job==3 then -- SZAMAN
       pc . give_item2 ( "5009" , 1 )
       pc . give_item2 ( "7009" , 1 )
       pc . give_item2 ( "11809" , 1 )
       pc . give_item2 ( "12629" , 1 )
       end
       clear_letter ( )
               end
   end
       end
       state Bambus3k begin
       end
end

 

 

później go tylko wgrać odpowiednio na własny serwer.

http://www.mpcforum.pl/topic/163124-tutwgrywanie-questow-na-serwer/

307681428489538142351.png

Metin2 Balmora Staff

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.