berzahx 1
berzahx
Bodyguardd 1
Bodyguardd
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Best Studio 1
Best Studio
BySadoTR60 1
BySadoTR60
VictoryasHD 1
VictoryasHD
Reklam vermek için turkmmo@gmail.com

Cevaplanmadı New Pet system

Türkiye'nin ilk Cross-Platform OldSchool MOBİL & PC 1-99 Sunucusu Lamira2 6 Kasım'da Açılıyor! Büyük Açılışı Kaçırma HEMEN TIKLA!

Hello,

I added the New Pet System (from SF Ephelion) to the server and everything is working as it should. However, I'm solving a problem with auto-spawning pets after login, warp or revive.
The pet items don't have WEAR_PET (that's how it's designed), but I don't currently have a scripted way to find them and based on their existence, automatically spawn the pet on relog or other situations. Is it even logical to add some logic to the item search? Loop on max_inventory_slots for example and search for it accordingly?
Pet items are ITEM_QUEST. Unfortunately I didn't see how this SF handled spawning pets(I guess it didn't?).
Does anyone have experience with implementing this logic, or should I even bother? How should I properly check for the items and ensure that the pet automatically appears after logging in?

Spawning pets in char_item:

Thanks a lot for any advice!
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst