Çözüldü Questim farklı itemde çalışmıyor

  • Konuyu açan Konuyu açan hiqermod
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 17
  • Gösterim Gösterim 936
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ı.

hiqermod

Üye
Üye
Mesaj
124
Çözümler
14
Beğeni
39
Puan
454
Ticaret Puanı
0
Merhaba arkadaşlar kendim quest yazmaya başladım ve ilk anti exp questi yazıp thorun yüzzüğüne atadım sıkıntısız çalıştırdım
fakat daha sonra ışınlanma yüzzüğü questi yazmak istediğimde ne yaparsam yapıyım ışınlanma yüzzüğünde quest çalıştıramadım
anti exp için yazdığım questin vnum unu değiştirip ışınlanma yüzzüğüne eklediğimdede çalışmıyor yani çalışan quest bu itemde çalışmıyor
bunun sebebi ne olabilir yardım eden herkese teşekkürler...
 
Çözüm
Uzaktan bağlanarak sonra baktık. İtem type değerleri olması gerektiği gibi.
Çalışmama sebebi special_item_group.txt dosyasına şunların ekli olması
Kod:
Genişlet Daralt Kopyala
Group    이동반지          
{              
    Vnum    10031      
    Type    Quest      
    1    70058    1    1
}

Bunlar aynı questi kullanan birden fazla item için ekleniyor. Quest kodlarını şu şekilde düzenleyerek sorunu çözdük.
Lua (Quest):
Genişlet Daralt Kopyala
quest antiexp begin
    state start begin
        when login begin
            if pc.getqf("antiexp") == 1 then
                pc.block_exp()
                chat("Anti EXP Açık.")
            end
        end
        when 10031.sig_use begin
            if pc.getqf("antiexp") == 0 then
                pc.block_exp()
                pc.setqf("antiexp", 1)...
Questi tanımladığınız yüzükte, başka bir quest ekli olmadığından emin olun. Aksi halde çakışma olabilir.
Aynı questi farklı ve boş bir yüzükte deneyin.
 
Quest tanımladığınız itemin proto kodlarını verebilir misiniz?
 
Vaaay bir de tabloya eklemişsiniz.
İtem type değeri doğru gözüküyor. Acaba yazdığınız questte mi bir sıkıntı var.
İteme tıkladıktan sonra sys_log veya syserr bakabilir misiniz?
 
syserr:
Genişlet Daralt Kopyala
SYSERR: Dec  4 12:39:46 :: pid_init:
Start of pid: 7927

SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:47 :: SetShopItems: not enough shop window
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: hanma_boss have not motlist.txt vnum(6191) folder(hanma_boss)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: hanma_boss have not motlist.txt vnum(6191) folder(hanma_boss)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: hanma_boss have not motlist.txt vnum(6191) folder(hanma_boss)
SYSERR: Dec  4 12:39:53 :: LoadMotion: cannot find accumulation data in file 'data/monster/lion_white/run.msa'
SYSERR: Dec  4 12:39:53 :: LoadMotion: cannot find accumulation data in file 'data/monster/boar_2/run.msa'
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: dog_god2 have not motlist.txt vnum(20116) folder(dog_god2)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: dog_god2 have not motlist.txt vnum(20116) folder(dog_god2)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: dog_god2 have not motlist.txt vnum(20116) folder(dog_god2)
SYSERR: Dec  4 12:39:53 :: LoadMotion: cannot find accumulation data in file 'data/monster/fire_tiger_2/run.msa'
SYSERR: Dec  4 12:39:53 :: LoadMotion: cannot find accumulation data in file 'data/monster/lion_2/run.msa'
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: leechung have not motlist.txt vnum(20369) folder(leechung)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: leechung have not motlist.txt vnum(20369) folder(leechung)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: leechung have not motlist.txt vnum(20369) folder(leechung)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: spy1 have not motlist.txt vnum(20370) folder(spy1)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: spy1 have not motlist.txt vnum(20370) folder(spy1)
SYSERR: Dec  4 12:39:53 :: GetMotionFileName: Motion: spy1 have not motlist.txt vnum(20370) folder(spy1)
SYSERR: Dec  4 12:40:06 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'hint' at row 1 (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip) VALUES('CHARACTER', NOW(), 5, 471187, 955561, 0, 'LOGIN', '84.51.58.56 302 1 1 200000', '84.51.58.56') errno: 1406)
SYSERR: Dec  4 12:40:06 :: ChildLoop: AsyncSQL: query failed: Incorrect integer value: 'Y' for column `log`.`loginlog2`.`is_gm` at row 1 (query: INSERT INTO loginlog2(type, is_gm, login_time, channel, account_id, pid, ip, client_version) VALUES('INVALID', 'Y', NOW(), 1, 2, 5, inet_aton('84.51.58.56'), '') errno: 1366)
SYSERR: Dec  4 12:56:47 :: ChildLoop: AsyncSQL: query failed: Data too long for column 'hint' at row 1 (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip) VALUES('CHARACTER', NOW(), 5, 471440, 955957, 0, 'LOGIN', '84.51.58.56 302 1 1 200000', '84.51.58.56') errno: 1406)
SYSERR: Dec  4 12:56:47 :: ChildLoop: AsyncSQL: query failed: Incorrect integer value: 'Y' for column `log`.`loginlog2`.`is_gm` at row 1 (query: INSERT INTO loginlog2(type, is_gm, login_time, channel, account_id, pid, ip, client_version) VALUES('INVALID', 'Y', NOW(), 1, 2, 5, inet_aton('84.51.58.56'), '') errno: 1366)
Server tarafındaki syserrlerimde böyle quest başka itemde çalışıyor fakat o itemde çalışmıyor biraz garip
 
Vaaay bir de tabloya eklemişsiniz.
İtem type değeri doğru gözüküyor. Acaba yazdığınız questte mi bir sıkıntı var.
İteme tıkladıktan sonra sys_log veya syserr bakabilir misiniz?
sys_log:
Genişlet Daralt Kopyala
1204 16:02:17947 :: CANNOT_FIND_PACK_FILE [sound/ejin/stand00.mss]
1204 16:02:17948 :: CANNOT_FIND_PACK_FILE [sound/ejin/stand01.mss]
1204 16:02:17960 :: CResourceManager::GetResourcePointer: File not exist season1\npc\yejin\season1\npc\yejin\yejin.dds
1204 16:02:17960 :: CANNOT_FIND_PACK_FILE [season1/npc/yejin/season1/npc/yejin/yejin.dds]
1204 16:02:18048 :: Unknown Server Command depozit_index 25 | depozit_index
1204 16:02:18064 :: Unknown Server Command teleporter_index 121 | teleporter_index
1204 16:02:55051 :: granny_shared_vbs:
1204 16:02:55051 ::     0: 40
1204 16:02:55051 ::     1: 20
1204 16:02:55051 ::     2: 20
1204 16:02:55051 ::     3: 40
1204 16:02:55051 ::     4: 3
1204 16:02:55051 ::     5: 20
1204 16:02:55051 ::     6: 1
1204 16:02:55051 ::     7: 0
1204 16:02:55051 ::     8: 0

galiba sorunun kaynağı
1204 16:02:18064 :: Unknown Server Command teleporter_index 121 | teleporter_index
 
Yok onların hiçbiri değil. Son çare olarak quest kodlarınızı paylaşır mısınız?
 
Lua (Quest):
Genişlet Daralt Kopyala
quest antiexp begin
    state start begin
        when login begin
            if pc.getqf("antiexp") == 1 then
                pc.block_exp()
                chat("Anti EXP Açık.")
            end
        end
        when 70058.use begin
            if pc.getqf("antiexp") == 0 then
                pc.block_exp()
                pc.setqf("antiexp", 1)
                chat("Anti EXP Açıldı.")
            elseif pc.getqf("antiexp") == 1 then
                pc.unblock_exp()
                pc.setqf("antiexp", 0)
                chat("Anti EXP Kapatıldı.")
            end
        end
    end
end
bu quest thorun yüzzüğündeyken çalışıyor yani vnum 40003 olduğunda fakat bu haliyle çalışmıyor diğer questlerle çakışıyormu diye hepsini kaldırdım fakat yinede çalıştıramadım acaba databasedeki protolardamı bi sıkıntı var
 
En son bir moderatör tarafından düzenlenmiş:
Teamviewer kullanıyorsanız özelden bakabilirim isterseniz
 
Kodları eklediğiniz için teşekkürler. Kodlarda bi sıkıntı göremedim ben nedense.
İsterseniz sh make.sh çekerek tüm questleri baştan derletin. Belki çakışma vs olabilir.
 
Kodları eklediğiniz için teşekkürler. Kodlarda bi sıkıntı göremedim ben nedense.
İsterseniz sh make.sh çekerek tüm questleri baştan derletin. Belki çakışma vs olabilir.
herşey denendi diğer questleri kaldırıp sadece o questi çalıştırdım ama yinede yok başka itemde çalışıyor o itemde çalışmıyor malesef çözüm bulunamadı
 
Çok merak ettim şimdi. İsterseniz uzaktan bağlanıp bakabiliriz beraber
 
Uzaktan bağlanarak sonra baktık. İtem type değerleri olması gerektiği gibi.
Çalışmama sebebi special_item_group.txt dosyasına şunların ekli olması
Kod:
Genişlet Daralt Kopyala
Group    이동반지          
{              
    Vnum    10031      
    Type    Quest      
    1    70058    1    1
}

Bunlar aynı questi kullanan birden fazla item için ekleniyor. Quest kodlarını şu şekilde düzenleyerek sorunu çözdük.
Lua (Quest):
Genişlet Daralt Kopyala
quest antiexp begin
    state start begin
        when login begin
            if pc.getqf("antiexp") == 1 then
                pc.block_exp()
                chat("Anti EXP Açık.")
            end
        end
        when 10031.sig_use begin
            if pc.getqf("antiexp") == 0 then
                pc.block_exp()
                pc.setqf("antiexp", 1)
                chat("Anti EXP Açıldı.")
            elseif pc.getqf("antiexp") == 1 then
                pc.unblock_exp()
                pc.setqf("antiexp", 0)
                chat("Anti EXP Kapatıldı.")
            end
        end
    end
end
 
Çözüm
çözüm.png

Konu Çözüldü Teşekkür Ederiz Whistle!!!
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Üst