Çözüldü give_basic_weapon dosyasında değişiklik yapamıyorum

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

enesaydemir

Üye
Üye
Mesaj
149
Çözümler
4
Beğeni
50
Puan
464
Ticaret Puanı
0
Hocam ben bi filese give.basic.wepoan dosyasınında değişilk yapmasını istiyorum ama ne yaptıysam olmadı
/usr/game/share/locale/turkey/quest bu yolda ki give_basic_weapon.lua yazdım
/usr/game/share/locale/turkey/quest/object/notarget/login bu yoldaki give_basic_weapon.start yazdım reboot attım olmadı başka bir dosyada aynı isimde bulamadım. Önceden bir at verirdi şimdi hiç birşey vermiyor.
 
Çözüm
İşlemlerinizi yaptıktan sonra puttyden ..../quest/ dizinine girip ./qc dosya_adi.lua yazıp enter yaptınız mı ? Değişiklik sonrası questi tekrar okutmanız gerekiyor. Belirtmediğiniz için soruyorum.
Eğer bunu yapmadıysanız yapın ve tekrar bi kontrol edin.
Değişiklikten önce ve değişiklik sonrası kodlarınızı konuya ekler misiniz?
Kod hatası yüzünden çalışmıyor olabilir
 
aynı sorunu bende yaşıyorum kalıcı özellikler vermeye çalışıyorum fakat işlemiyor tam olarak nereye yazmamız gerekiyor kodları anlamadım da

konu açmaktansa burdan devam ettirelim sorunu

mesela baslangıc.lua ile baslangıc.start ikisinedemi aynı satıra eklememiz gerekiyor kodları
 
Ben iki dosyayada ekledim. Ama adam akıllı kod bulamadım hepsi localhost için vps için yazılacak kodu bulamadım elinde olan varsa bi onuda deneyelim
 
Eklemek istediklerinizi - weapon.start dosyasını ve varsa önceki weapon start dosyasını da gönderebilirseniz bakıp yardımcı olmaya çalışalım
 
İşlemlerinizi yaptıktan sonra puttyden ..../quest/ dizinine girip ./qc dosya_adi.lua yazıp enter yaptınız mı ? Değişiklik sonrası questi tekrar okutmanız gerekiyor. Belirtmediğiniz için soruyorum.
Eğer bunu yapmadıysanız yapın ve tekrar bi kontrol edin.
 
Son düzenleme:
Çözüm
Hocam bu benim give_basic_weapon.lua dosyam
Lua (Quest):
if pc . getqf ( "basic_weapon" ) == 0 then
pc . setqf ( "basic_weapon" , 1 )
say_title ( "RespectMT2" )
say ( "Oyunumuza Hosgeldiniz." )
say ( "Iyi Eglenceler Dileriz.!" )
say ( "respectmt2.net" )
say ( "Hile kullanımın ban sebebi olduğunu unutma!" )
pc . give_exp2 (300)
pc . give_exp2 (800)
pc . give_exp2 (1500)
pc . give_exp2 (2500)
pc . give_exp2 (4300)
pc . give_exp2 (7200)
pc . give_exp2 (11000)
pc . give_exp2 (17000)
pc . give_exp2 (24000)
pc . give_exp2 (33000)
pc . give_exp2 (43000)
pc . give_exp2 (58000)
pc . give_exp2 (76000)
pc . give_exp2 (10000)
pc . give_exp2 (130000)
pc . give_exp2 (169000)
pc . give_exp2 (219000)
pc . give_exp2 (283000)
pc . give_exp2 (365000)
pc . give_exp2 (472000)
pc . give_exp2 (61000)
pc . give_exp2 (705000)
pc . give_exp2 (813000)
pc . give_exp2 (937000)
pc . give_exp2 (2007000785)
set_quest_state ( "levelup" , "run" )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "50059" , 1 )
pc . give_item2 ( "71050" , 200 )
pc . give_item2 ( "72702" , 1 )
pc . give_item2 ( "50053" , 1 )
pc . give_gold ( "5000000")
horse . unride ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . ride ( )
say_reward ( "60 Level Oldunuz" )
say_reward ( "5 M Para Aldınız" )
say_reward ( "İyi Eglenceler Dileriz" )
clear_letter ( )
set_state ( "__COMPLETE__" )
if pc . job == 0 then
pc . give_item2 ( "11269" , 1 )
pc . give_item2 ( "3099" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17129" , 1 )
pc . give_item2 ( "15149" , 1 )
pc . give_item2 ( "13049" , 1 ) SAVASCI ITEM KODLARI
pc . give_item2 ( "12229" , 1 )
pc . give_item2 ( "74005" , 1 )-
pc . give_item2 ( "74009" , 1 )-
pc . give_item2 ( "75005" , 1 )-
pc . give_item2 ( "75013" , 1 )-
say_reward ( "Savasci İtemlerin Verildi.!" )
elseif pc . job == 1 then
pc . give_item2 ( "1069" , 1 )
pc . give_item2 ( "2099" , 1 )
pc . give_item2 ( "8009" , 200 )
pc . give_item2 ( "8008" , 200 )
pc . give_item2 ( "8007" , 200 )
pc . give_item2 ( "8006" , 200 )
pc . give_item2 ( "11469" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17129" , 1 )
pc . give_item2 ( "15149" , 1 )NINJA ITEM KODLARI
pc . give_item2 ( "13049" , 1 )
pc . give_item2 ( "12369" , 1 )
pc . give_item2 ( "75207" , 1 )
pc . give_item2 ( "75203" , 1 )
pc . give_item2 ( "73253" , 1 )
pc . give_item2 ( "73260" , 1 )
say_reward ( "Ninja İtemlerin Verildi." )
elseif pc . job == 2 then
pc . give_item2 ( "109" , 1 )
pc . give_item2 ( "11669" , 1 )
pc . give_item2 ( "12509" , 1 )
pc . give_item2 ( "13049" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17129" , 1 )SURA ITEM KODLARI
pc . give_item2 ( "15149" , 1 )
pc . give_item2 ( "74507" , 1 )
pc . give_item2 ( "74511" , 1 )
pc . give_item2 ( "75404" , 1 )
pc . give_item2 ( "75411" , 1 )
say_reward ( "Sura İtemlerin Verildi." )
elseif pc . job == 3 then
pc . give_item2 ( "5059" , 1 )
pc . give_item2 ( "7099" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "17129" , 1 )
pc . give_item2 ( "15149" , 1 )
pc . give_item2 ( "13049" , 1 )
pc . give_item2 ( "12649" , 1 )
pc . give_item2 ( "11869" , 1 )SAMAN ITEM KODLARI
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "75602" , 1 )
pc . give_item2 ( "75609" , 1 )
pc . give_item2 ( "74752" , 1 )
pc . give_item2 ( "74761" , 1 )
say_reward ( "Saman İtemlerin Verildi." )


end
end
Buda benim give_basic_weapon.start dosyam
Lua (Quest):
if pc . getqf ( "basic_weapon" ) == 0 then
pc . setqf ( "basic_weapon" , 1 )
say_title ( "RespectMT2" )
say ( "Oyunumuza Hosgeldiniz." )
say ( "Iyi Eglenceler Dileriz.!" )
say ( "respectmt2.net" )
say ( "Hile kullanımın ban sebebi olduğunu unutma!" )
pc . give_exp2 (300)
pc . give_exp2 (800)
pc . give_exp2 (1500)
pc . give_exp2 (2500)
pc . give_exp2 (4300)
pc . give_exp2 (7200)
pc . give_exp2 (11000)
pc . give_exp2 (17000)
pc . give_exp2 (24000)
pc . give_exp2 (33000)
pc . give_exp2 (43000)
pc . give_exp2 (58000)
pc . give_exp2 (76000)
pc . give_exp2 (10000)
pc . give_exp2 (130000)
pc . give_exp2 (169000)
pc . give_exp2 (219000)
pc . give_exp2 (283000)
pc . give_exp2 (365000)
pc . give_exp2 (472000)
pc . give_exp2 (61000)
pc . give_exp2 (705000)
pc . give_exp2 (813000)
pc . give_exp2 (937000)
pc . give_exp2 (2007000785)
set_quest_state ( "levelup" , "run" )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "50059" , 1 )
pc . give_item2 ( "71050" , 200 )
pc . give_item2 ( "72702" , 1 )
pc . give_item2 ( "50053" , 1 )
pc . give_gold ( "5000000")
horse . unride ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . advance ( )
horse . ride ( )
say_reward ( "60 Level Oldunuz" )
say_reward ( "5 M Para Aldınız" )
say_reward ( "İyi Eglenceler Dileriz" )
clear_letter ( )
set_state ( "__COMPLETE__" )
if pc . job == 0 then
pc . give_item2 ( "11269" , 1 )
pc . give_item2 ( "3099" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17129" , 1 )
pc . give_item2 ( "15149" , 1 )
pc . give_item2 ( "13049" , 1 ) SAVASCI ITEM KODLARI
pc . give_item2 ( "12229" , 1 )
pc . give_item2 ( "74005" , 1 )-
pc . give_item2 ( "74009" , 1 )-
pc . give_item2 ( "75005" , 1 )-
pc . give_item2 ( "75013" , 1 )-
say_reward ( "Savasci İtemlerin Verildi.!" )
elseif pc . job == 1 then
pc . give_item2 ( "1069" , 1 )
pc . give_item2 ( "2099" , 1 )
pc . give_item2 ( "8009" , 200 )
pc . give_item2 ( "8008" , 200 )
pc . give_item2 ( "8007" , 200 )
pc . give_item2 ( "8006" , 200 )
pc . give_item2 ( "11469" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17129" , 1 )
pc . give_item2 ( "15149" , 1 )NINJA ITEM KODLARI
pc . give_item2 ( "13049" , 1 )
pc . give_item2 ( "12369" , 1 )
pc . give_item2 ( "75207" , 1 )
pc . give_item2 ( "75203" , 1 )
pc . give_item2 ( "73253" , 1 )
pc . give_item2 ( "73260" , 1 )
say_reward ( "Ninja İtemlerin Verildi." )
elseif pc . job == 2 then
pc . give_item2 ( "109" , 1 )
pc . give_item2 ( "11669" , 1 )
pc . give_item2 ( "12509" , 1 )
pc . give_item2 ( "13049" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "17129" , 1 )SURA ITEM KODLARI
pc . give_item2 ( "15149" , 1 )
pc . give_item2 ( "74507" , 1 )
pc . give_item2 ( "74511" , 1 )
pc . give_item2 ( "75404" , 1 )
pc . give_item2 ( "75411" , 1 )
say_reward ( "Sura İtemlerin Verildi." )
elseif pc . job == 3 then
pc . give_item2 ( "5059" , 1 )
pc . give_item2 ( "7099" , 1 )
pc . give_item2 ( "14049" , 1 )
pc . give_item2 ( "17129" , 1 )
pc . give_item2 ( "15149" , 1 )
pc . give_item2 ( "13049" , 1 )
pc . give_item2 ( "12649" , 1 )
pc . give_item2 ( "11869" , 1 )SAMAN ITEM KODLARI
pc . give_item2 ( "16129" , 1 )
pc . give_item2 ( "75602" , 1 )
pc . give_item2 ( "75609" , 1 )
pc . give_item2 ( "74752" , 1 )
pc . give_item2 ( "74761" , 1 )
say_reward ( "Saman İtemlerin Verildi." )


end
end
Her iki dosya kodlarıda aynı
Bunların .lua yı quest dosyasına attım .start da login dosyasın
Bunları attıktan sonra reboot attım
Not: Bu dosyalarda eksiklerde var reis ben lvl bailangıcını 98 yapmak istiyorum ama oda olmuyor
 
Hocam puttyq gelip .qc yaptığım zaman böyle oluyor Hata resmi altta bakabilir misniz
 

Dosya Eklentileri

  • 12222.png
    12222.png
    4,5 KB · Gösterim: 169
Hocam onu yapmasak bile reboot atmamız yeterli olmaz mı

hocam bunu kimse söylemedi ki denedikten sonra yazacağım
Keşke eğitim serisinin 4. ünitesine baksaydınız. İnsanlar faydalansın diye o videoları yayınlıyorum. Ben zamanımı ayırıp bunları çekiyorum ve adsl hattının sunduğu 0.80kbps hız işe yüklemeye çalışıyorum. Eğer insanlar server işleri ile uğraşmak isteyip ders videolarını izlemeye, öğrenmeye üşeniyorsa en iyi seçenek videoları youtube genelinden kaldırmak ve başka platforma geçirmek olabilir. En azından öğrenme niyetinde olanlar faydalanır.
Anlattığım şeylerle ilgili tekrar tekrar sorular gelince üzülüyorum doğrusu


Sizler için önereceğim en iyi tavsiye bulabileceğiniz kaynaklar ile kendisi questler konusunda geliştiriniz. En fazla 1 haftanızı alır
 
hocam 12.videodayım zaten izleyerek ilerlemeye çalışıyorum da şu olay çok kafamı karıştırdı 1 tane daha var onun için sonradan konu açacağım :)
 
Hocam 4.üniteye baktım zaten quest ekleme ile alakalı videoyu izledim yaptığınızın aynısınıda yapmaya çalıştım ancak puutyden gördüğüm hata ortada.Neyse hocam teşekkür ederim sorunu çözdüm konu kapatılabilir.
 
Questlerde değişiklik yaptığınız zaman .qc yapmanız gerekiyor. .start tarzı dosyaları düzenlemeye gerek yok. Eğitim videolarımda yaptığım gibi yapabilirsiniz. Hata alırsanız soru sormaktan çekinmeyin.
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst